<view><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['goDetail',['$0'],[[['list','',index]]]]]]]}}" class="data" bindtap="__e"><view class="top"><view class="left"><view class="title flex align-center justify-center"><block wx:if="{{item.serverUserFaceImage.imageUri}}"><image style="width:60rpx;height:60rpx;border-radius:calc(8rpx);" src="{{'http://139.9.103.171:8888/'+item.serverUserFaceImage.imageUri}}" data-event-opts="{{[['tap',[['preview',['$0'],[[['list','',index]]]]]]]}}" catchtap="__e"></image></block><block wx:else><u-icon vue-id="{{'3db0344b-1-'+index}}" name="man-add-fill" size="34" color="#50baca" bind:__l="__l"></u-icon></block><text class="padding-left-10">{{"姓名："+item.name}}</text><view class="padding-left-50"><text>人脸状态：</text><block wx:if="{{item.faceEnable==-1}}"><text class="text-orange">未上传</text></block><block wx:else><block wx:if="{{item.faceEnable==1}}"><text class="text-green">已下发</text></block><block wx:else><block wx:if="{{item.faceEnable==2}}"><text class="text-red ">已禁用</text></block></block></block></view></view></view><view data-event-opts="{{[['tap',[['del',['$0'],[[['list','',index,'id']]]]]]]}}" class="right" bindtap="__e"><text class="cuIcon-deletefill text-red padding-left-50" style="font-size:40rpx;"></text></view></view><view class="item"><view class="left"><view style="padding:0 30rpx;"><view class="content flex"><block wx:if="{{item.sex==1}}"><u-icon vue-id="{{'3db0344b-2-'+index}}" name="man" size="30" color="#fdb524" bind:__l="__l"></u-icon></block><block wx:else><u-icon vue-id="{{'3db0344b-3-'+index}}" name="woman" size="30" color="#fdb524" bind:__l="__l"></u-icon></block><text class="text-bold  padding-left-10">性别：</text><text>{{item.sex==1?'男':'女'}}</text></view><view class="content flex"><u-icon vue-id="{{'3db0344b-4-'+index}}" name="bookmark" size="30" color="#5ca8f0" bind:__l="__l"></u-icon><text class="text-bold padding-left-10">人员类型：</text><block wx:if="{{item.type==0}}"><text>保安</text></block><block wx:else><block wx:if="{{item.type==1}}"><text>快递</text></block><block wx:else><block wx:if="{{item.type==2}}"><text>外卖</text></block><block wx:else><block wx:if="{{item.type==3}}"><text>保洁</text></block><block wx:else><block wx:if="{{item.type==4}}"><text>其他</text></block></block></block></block></block></view><view class="content flex align-center"><u-icon vue-id="{{'3db0344b-5-'+index}}" name="xiaoqu" custom-prefix="custom-icon" size="30" color="#2fc500" bind:__l="__l"></u-icon><text class="text-bold padding-left-10" style="width:25%;">所属小区：</text><text style="line-height:42rpx;">{{item.residentialName}}</text></view><view class="content flex"><text class="cuIcon-mobile" style="color:#007AFF;font-size:32rpx;"></text><text class="text-bold padding-left-10">联系方式：</text><text class="text-bold" style="padding-top:6rpx;">{{item.tel}}</text><text data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" data-event-params="{{({item})}}" class="padding-left-10 text-blue" style="text-decoration:underline;" bindtap="__e">拨打</text></view></view></view></view><view class="bottom flex"><view data-event-opts="{{[['tap',[['openAccess',['$0'],[[['list','',index]]]]]]]}}" class="cu-btn  sm round line-blue" style="margin:0 10rpx;" catchtap="__e">开门权限</view><block wx:if="{{item.faceEnable==1}}"><view data-event-opts="{{[['tap',[['operFace',['$0',5],[[['list','',index,'id']]]]]]]}}" class="cu-btn  sm round bg-red" style="margin:0 10rpx;" catchtap="__e">人脸禁用</view></block><block wx:if="{{item.faceEnable==2}}"><view data-event-opts="{{[['tap',[['operFace',['$0',3],[[['list','',index,'id']]]]]]]}}" class="cu-btn  sm round bg-base" style="margin:0 10rpx;" catchtap="__e">人脸启用</view></block></view></view></block></view>