12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <view class="all">
- <image mode="scaleToFill" catchTap="onClose" class="close" src="../../../image/close.png"/>
- <view class="search flex-box flex-v-ce">
- <image mode="scaleToFill" src="../../../image/ss.png"/>
- <input placeholder="请输入姓名搜索" onInput="bindKeyInput"/>
- </view>
- <view class="content">
- <view class="flex-box flex-v-ce shu" a:if="{{terr.length>1}}">
- <view a:for="{{terr}}" class="flex-box flex-v-ce" data-index="{{index}}" catchTap="activeItem" data-item="{{item}}">
- <image mode="scaleToFill" src="../../../image/right.png" style="width:20rpx;height:20rpx;margin:0 6rpx;" a:if="{{index!=0}}"/>{{item.name}}
- </view>
- </view>
- <scroll-view class="staff-ul" scroll-y="{{true}}" style="{{terr.length>1? 'height: calc(100vh - 390rpx);':'height: calc(100vh - 320rpx);'}}">
- <block a:if="{{isItem}}">
- <view class="ul2">
- <view class="flex-box flex-v-ce li" a:for="{{rule_tree}}">
- <view class="flex-box flex-v-ce flex-1" data-item="{{item}}" catchTap="changeSection">
- <image mode="scaleToFill" style="width:50rpx;height:50rpx; margin:0 10rpx;" src="../../../image/BM.png"/> {{item.name}}
- </view>
- <view class="xia" a:if="{{item._child.length>0}}" data-item="{{item}}" catchTap="openDown">| 下级</view>
- </view>
- </view>
- <radio-group class="radio-group" onChange="radioChange">
- <view class="flex-box flex-v-ce userItem" a:for="{{userList}}">
- <label class="flex-box flex-v-ce flex-1">
- <image a:if="{{item.img_url}}" class="img-url" style="width:70rpx;height:70rpx;" src="{{item.img_url}}"/>
- <view a:else style="width: 70rpx;height: 70rpx;border-radius: 100%;background: #26A2FF;color: #fff;text-align: center;line-height: 64rpx;font-size: 24rpx;">{{item.name}}</view>
- <text style="margin-left:20rpx;" class="flex-1">{{item.name}}</text>
- <radio value="{{item}}" checked="{{item.checked}}"/>
- </label>
- </view>
- </radio-group>
- </block>
- <radio-group class="radio-group" onChange="radioChange" a:else>
- <view class="flex-box flex-v-ce userItem" a:for="{{searchVal}}">
- <label class="flex-box flex-v-ce flex-1">
- <image a:if="{{item.img_url}}" class="img-url" style="width:70rpx;height:70rpx;" src="{{item.img_url}}"/>
- <view a:else style="width: 70rpx;height: 70rpx;border-radius: 100%;background: #26A2FF;color: #fff;text-align: center;line-height: 64rpx;font-size: 24rpx;">{{item.name}}</view>
- <text style="margin-left:20rpx;" class="flex-1">{{item.name}}</text>
- <radio value="{{item}}" checked="{{item.checked}}"/>
- </label>
- </view>
- </radio-group>
- </scroll-view>
- </view>
- <view class="StaffFooter flex-box flex-v-ce">
- <view class="flex-1 f-left flex-box flex-v-ce">
- <view a:for="{{selectUserId}}" style="margin-right:10rpx;">
- <image a:if="{{item.img_url}}" class="img-url" style="width:70rpx;height:70rpx;display: inline-block;" src="{{item.img_url}}"/>
- <view a:else style="width: 70rpx;height: 70rpx;border-radius: 100%;background: #26A2FF;color: #fff;text-align: center;line-height: 64rpx;font-size: 24rpx;">{{item.name}}</view>
- </view>
- </view>
- <view class="staffBtn" onTap="onConfirm">确定</view>
- </view>
- </view>
|