You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
2.6 KiB

<view class="assign-order-page data-v-38f3c378"><u-navbar vue-id="34f5a6e4-1" is-back="{{true}}" title="分配订单" background="{{$root.a0}}" title-color="#fff" border-bottom="{{false}}" class="data-v-38f3c378" bind:__l="__l"></u-navbar><view class="b-border data-v-38f3c378"></view><view class="nurse-list data-v-38f3c378"><view class="section-title data-v-38f3c378">选择护工</view><view class="search-box data-v-38f3c378"><u-search vue-id="34f5a6e4-2" placeholder="搜索护工姓名" value="{{searchKeyword}}" data-event-opts="{{[['^search',[['searchNurse']]],['^custom',[['searchNurse']]],['^input',[['__set_model',['','searchKeyword','$event',[]]]]]]}}" bind:search="__e" bind:custom="__e" bind:input="__e" class="data-v-38f3c378" bind:__l="__l"></u-search></view><scroll-view style="height:400rpx;" scroll-y="{{true}}" data-event-opts="{{[['scrolltolower',[['loadMoreNurses',['$event']]]]]}}" bindscrolltolower="__e" class="data-v-38f3c378"><block wx:if="{{hasNurseList}}"><view class="nurse-items data-v-38f3c378"><block wx:for="{{$root.l0}}" wx:for-item="nurse" wx:for-index="__i0__" wx:key="id"><view data-event-opts="{{[['tap',[['selectNurse',['$0'],[[['nurseList','id',nurse.$orig.id]]]]]]]}}" class="{{['data-v-38f3c378','nurse-item',[(selectedNurseId===nurse.$orig.id)?'active':'']]}}" bindtap="__e"><view class="nurse-avatar data-v-38f3c378"><u-avatar vue-id="{{'34f5a6e4-3-'+__i0__}}" src="{{nurse.m0}}" size="80" class="data-v-38f3c378" bind:__l="__l"></u-avatar></view><view class="nurse-info data-v-38f3c378"><view class="nurse-name data-v-38f3c378">{{nurse.$orig.name}}</view><view class="nurse-phone data-v-38f3c378">{{nurse.$orig.mobile}}</view></view><view class="nurse-select data-v-38f3c378"><block wx:if="{{selectedNurseId===nurse.$orig.id}}"><u-icon vue-id="{{'34f5a6e4-4-'+__i0__}}" name="checkmark-circle" color="#1479ff" size="40" class="data-v-38f3c378" bind:__l="__l"></u-icon></block></view></view></block></view></block><block wx:else><view class="empty-state data-v-38f3c378"><u-empty vue-id="34f5a6e4-5" mode="list" text="暂无护工" class="data-v-38f3c378" bind:__l="__l"></u-empty></view></block><block wx:if="{{hasNurseList}}"><u-loadmore vue-id="34f5a6e4-6" margin-top="{{20}}" margin-bottom="{{40}}" status="{{loadStatus}}" class="data-v-38f3c378" bind:__l="__l"></u-loadmore></block></scroll-view></view><view class="assign-btn-wrapper data-v-38f3c378"><u-button class="assign-btn data-v-38f3c378" vue-id="34f5a6e4-7" type="primary" shape="circle" disabled="{{!selectedNurseId}}" data-event-opts="{{[['^click',[['assignOrder']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}"> 确认分配 </u-button></view></view>