selectStaff.axml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <view class="all-date">
  2. <view class="data-tier" catchTap="onClose"></view>
  3. <view class="staff-header {{isShow?'showPop':''}}">
  4. <form onReset="onReset">
  5. <view class="search flex-box flex-v-ce">
  6. <image mode="scaleToFill" src="../../../image/ss.png"/>
  7. <input placeholder="请输入姓名搜索" onInput="bindKeyInput" class="flex-1"/>
  8. <button a:if="{{isVal}}" class="delVal" formType="reset">×</button>
  9. </view>
  10. </form>
  11. <scroll-view class="staff-ul" scroll-y="{{true}}">
  12. <!-- <checkbox-group class="radio-group" onChange="radioChange"> -->
  13. <view class="flex-box flex-v-ce userItem" a:for="{{userList}}" a:if="{{item.name.indexOf(keyVal)>= 0}}">
  14. <label class="flex-box flex-v-ce flex-1">
  15. <img-box name="{{item.name}}" imgUrl="{{item.img_url}}" height="70rpx" width="70rpx"></img-box>
  16. <text style="margin-left:20rpx;" class="flex-1">{{item.name}}</text>
  17. <checkbox onChange="radioChange" data-index="{{index}}" data-item="{{item}}" checked="{{item.checked}}" name="{{item.id}}" value="{{item}}"/>
  18. </label>
  19. </view>
  20. <!-- </checkbox-group> -->
  21. <view a:if="{{userList.length==0}}" class="fontColorF" style="margin-top:200rpx;text-align: center;">
  22. <view>暂无相关人员</view>
  23. </view>
  24. </scroll-view>
  25. <view class="flex-box flex-v-ce selectUsers" a:if="{{selectUserId.length>0}}">
  26. <view a:for="{{selectUserId}}" style="margin-right:10rpx;height:70rpx;">
  27. <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>
  28. <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>
  29. <!-- <img-box name="{{item.name}}" imgUrl="{{item.img_url}}" height="70rpx" width="70rpx"></img-box> -->
  30. </view>
  31. </view>
  32. <view class="flex-box date-btn">
  33. <view class="flex-1" catchTap="onClose">取消</view>
  34. <view class="flex-1" catchTap="onConfirm">确定</view>
  35. </view>
  36. </view>
  37. <view class="meng" catchTap="onClose"></view>
  38. </view>