index.wxml 1.9 KB

1
  1. <view class="{{[$root.g0.tmVuetify.black?'black':' ']}}" style="{{'min-height:'+(sys.windowHeight+'px')+';'}}"><tm-menubars vue-id="1d2fef76-1" title="用户新增/切换" shadow="{{0}}" showback="{{true}}" bind:__l="__l"></tm-menubars><view class="zhuti _div"><block wx:for="{{userList}}" wx:for-item="item" wx:for-index="index"><tm-sheet class="kuang" vue-id="{{'1d2fef76-2-'+index}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="mt-2 flex-between flex-center dingwei pt-20 pb-20"><view data-event-opts="{{[['tap',[['bianji',['$0'],[[['userList','',index]]]]]]]}}" class="touxiang" bindtap="__e"><block wx:if="{{index==0}}"><image class="ml-20" style="vertical-align:middle;" src="/static/img/53.png" mode="widthFix"></image></block><block wx:else><image class="ml-20" style="vertical-align:middle;" src="/static/img/61.png" mode="widthFix"></image></block><text class="text-size-g text-white" style="vertical-align:middle;">{{item.username}}</text></view><view data-event-opts="{{[['tap',[['qiehuanFun',['$0'],[[['userList','',index]]]]]]]}}" bindtap="__e"><block wx:if="{{item.checked==1}}"><text class="text-size-g you" style="vertical-align:middle;">(当前用户)</text></block><tm-checkbox bind:input="__e" class="you" vue-id="{{('1d2fef76-3-'+index)+','+('1d2fef76-2-'+index)}}" label value="{{item.checked}}" data-event-opts="{{[['^input',[['__set_model',['$0','checked','$event',[]],[[['userList','',index]]]]]]]}}" bind:__l="__l"></tm-checkbox></view></view></tm-sheet></block><tm-sheet class="kuang" vue-id="1d2fef76-4" bind:__l="__l" vue-slots="{{['default']}}"><view class="mt-2 flex-between flex-center dingwei pt-20 pb-20"><view data-event-opts="{{[['tap',[['tianjia',['$event']]]]]}}" class="touxiang" bindtap="__e"><image class="ml-20" style="vertical-align:middle;" src="/static/img/54.png" mode="widthFix"></image><text class="text-size-g text-white" style="vertical-align:middle;">新增家庭成员</text></view></view></tm-sheet></view></view>