<view class="container"><view class="uni-padding-wrap uni-common-mt"><uni-segmented-control vue-id="630f0299-1" current="{{current}}" values="{{items}}" style-type="{{styleType}}" active-color="{{activeColor}}" data-event-opts="{{[['^clickItem',[['onClickItem']]]]}}" bind:clickItem="__e" bind:__l="__l"></uni-segmented-control></view><block wx:if="{{current==0}}"><view><uni-card class="addUser" vue-id="630f0299-2" bind:__l="__l" vue-slots="{{['default']}}"><uni-list vue-id="{{('630f0299-3')+','+('630f0299-2')}}" border="{{false}}" bind:__l="__l" vue-slots="{{['default']}}"><uni-list-item vue-id="{{('630f0299-4')+','+('630f0299-3')}}" 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="630f0299-5" 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="{{('630f0299-6-'+index)+','+('630f0299-5')}}" avatar="{{item.avatar||'/static/user1.png'}}" title="{{item.name}}" note="{{item.phone}}" badge-positon="left" bind:__l="__l"></uni-list-chat><uni-icons class="del compose" vue-id="{{('630f0299-7-'+index)+','+('630f0299-5')}}" 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="{{('630f0299-8-'+index)+','+('630f0299-5')}}" 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></block><block wx:if="{{current==1}}"><view><uni-list vue-id="630f0299-9" 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="{{('630f0299-10-'+index)+','+('630f0299-9')}}" avatar="{{item.avatar||'/static/user1.png'}}" title="{{item.name}}" note="{{item.phone}}" badge-positon="left" bind:__l="__l" vue-slots="{{['default']}}"><text class="chat-custom-text">{{item&&item.status}}</text></uni-list-chat><uni-icons class="del compose" vue-id="{{('630f0299-11-'+index)+','+('630f0299-9')}}" 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="{{('630f0299-12-'+index)+','+('630f0299-9')}}" 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></block></view>