index.wxml 2.0 KB

1
  1. <view class="container"><uni-card class="addUser" vue-id="5a6b9428-1" bind:__l="__l" vue-slots="{{['default']}}"><uni-list vue-id="{{('5a6b9428-2')+','+('5a6b9428-1')}}" border="{{false}}" bind:__l="__l" vue-slots="{{['default']}}"><uni-list-item vue-id="{{('5a6b9428-3')+','+('5a6b9428-2')}}" showExtraIcon="{{true}}" extra-icon="{{extraIcon}}" title="添加成员" clickable="{{true}}" data-event-opts="{{[['^click',[['onClick']]]]}}" bind:click="__e" bind:__l="__l"></uni-list-item></uni-list></uni-card><uni-list vue-id="5a6b9428-4" border="{{true}}" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="delBox" id="{{item&&item.residentId}}" data-event-opts="{{[['touchstart',[['touchStart',['$event']]]],['touchend',[['touchEnd',['$event']]]]]}}" bindtouchstart="__e" bindtouchend="__e"><uni-list-chat class="{{['item',(isId==item.residentId)?'left':'']}}" vue-id="{{('5a6b9428-5-'+index)+','+('5a6b9428-4')}}" avatar="{{item.avatar||'/static/user1.png'}}" title="{{item.name}}" note="{{item.phone}}" badge-positon="left" bind:__l="__l" vue-slots="{{['default']}}"><view class="chat-custom-right"><text class="chat-custom-text">{{item&&item.status==0?'未检':'已检'}}</text><button type="primary" size="mini" disabled="{{item&&item.status==1}}" data-event-opts="{{[['tap',[['filing',['$0'],[[['list','',index]]]]]]]}}" bindtap="__e">报备</button></view></uni-list-chat><uni-icons class="del compose" vue-id="{{('5a6b9428-6-'+index)+','+('5a6b9428-4')}}" color="#fff" type="compose" size="28" data-event-opts="{{[['^click',[['userbtn',['$0'],[[['list','',index]]]]]]]}}" bind:click="__e" bind:__l="__l"></uni-icons><uni-icons class="{{['del',(isId!==item.residentId)?'left':'']}}" vue-id="{{('5a6b9428-7-'+index)+','+('5a6b9428-4')}}" color="#fff" type="trash-filled" size="28" data-event-opts="{{[['^click',[['delbtn',['$0'],[[['list','',index]]]]]]]}}" bind:click="__e" bind:__l="__l"></uni-icons></view></block></uni-list></view>