selectStaff.axml 1.8 KB

12345678910111213141516171819202122232425262728293031
  1. <view class="all-date">
  2. <view class="data-tier" catchTap="onClose"></view>
  3. <view class="staff-header {{isShow?'showPop':''}}">
  4. <view class="search flex-box flex-v-ce">
  5. <image mode="scaleToFill" src="../../../image/ss.png"/>
  6. <input placeholder="请输入姓名搜索" onInput="bindKeyInput"/>
  7. </view>
  8. <scroll-view class="staff-ul" scroll-y="{{true}}">
  9. <checkbox-group class="radio-group" onChange="radioChange">
  10. <view class="flex-box flex-v-ce userItem" a:for="{{userList}}">
  11. <label class="flex-box flex-v-ce flex-1">
  12. <image a:if="{{item.img_url}}" class="img-url" style="width:70rpx;height:70rpx;" src="{{item.img_url}}"/>
  13. <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>
  14. <text style="margin-left:20rpx;" class="flex-1">{{item.name}}</text>
  15. <checkbox value="{{item}}" checked="{{item.checked}}" name="{{item.id}}"/>
  16. </label>
  17. </view>
  18. </checkbox-group>
  19. </scroll-view>
  20. <view class="flex-box flex-v-ce selectUsers" a:if="{{selectUserId.length>0}}">
  21. <view a:for="{{selectUserId}}" style="margin-right:10rpx;height:70rpx;">
  22. <image a:if="{{item.img_url}}" class="img-url" style="width:70rpx;height:70rpx;" src="{{item.img_url}}"/>
  23. <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>
  24. </view>
  25. </view>
  26. <view class="flex-box date-btn">
  27. <view class="flex-1" catchTap="onClose">取消</view>
  28. <view class="flex-1" catchTap="onConfirm">确定</view>
  29. </view>
  30. </view>
  31. </view>