selectStaff.axml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435
  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. <img-box name="{{item.name}}" imgUrl="{{item.img_url}}" height="70rpx" width="70rpx"></img-box>
  13. <text style="margin-left:20rpx;" class="flex-1">{{item.name}}</text>
  14. <checkbox value="{{item}}" checked="{{item.checked}}" name="{{item.id}}"/>
  15. </label>
  16. </view>
  17. </checkbox-group>
  18. <view a:if="{{userList.length==0}}" class="fontColorF" style="margin-top:200rpx;text-align: center;">
  19. <view>暂无相关人员</view>
  20. </view>
  21. </scroll-view>
  22. <view class="flex-box flex-v-ce selectUsers" a:if="{{selectUserId.length>0}}">
  23. <view a:for="{{selectUserId}}" style="margin-right:10rpx;height:70rpx;">
  24. <image a:if="{{item.img_url}}" class="img-url" style="width:70rpx;height:70rpx;display: inline-block; position: relative;top: 6rpx;" src="{{item.img_url}}"></image>
  25. <view a:else style="width: 70rpx;height: 70rpx;border-radius: 100%;background: #26A2FF;color: #fff;text-align: center;line-height: 70rpx;font-size: 24rpx;">{{item.name.substr(item.name.length-2)}}</view>
  26. <!-- <img-box name="{{item.name}}" imgUrl="{{item.img_url}}" height="70rpx" width="70rpx"></img-box> -->
  27. </view>
  28. </view>
  29. <view class="flex-box date-btn">
  30. <view class="flex-1" catchTap="onClose">取消</view>
  31. <view class="flex-1" catchTap="onConfirm">确定</view>
  32. </view>
  33. </view>
  34. <view class="meng" catchTap="onClose"></view>
  35. </view>