pass.wxml 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <!-- pass.wxml -->
  2. <view class="mycontainer" style="padding:0rpx;">
  3. <view class="picker-item">
  4. <view class="my-row my-align-c">
  5. <view class="desc-t desc-c">选择人员</view>
  6. </view>
  7. <view class="my-row my-align-c">
  8. <picker value="{{value}}" mode='multiSelector' range="{{userArray}}" bindchange="bindUserChange" bindcolumnchange='columnChange'>
  9. <view class="desc-t">
  10. {{userArray[0][value[0]]}}{{userArray[1][value[1]]}}{{userArray[2][value[2]]}}
  11. </view>
  12. </picker>
  13. <image src="/images/jiantou-bottom.png" class="icon-bottom"></image>
  14. </view>
  15. </view>
  16. <view class="picker-item">
  17. <view class="my-row my-align-c">
  18. <view class="desc-t desc-c">选择设备</view>
  19. </view>
  20. <view class="my-row my-align-c">
  21. <picker value="{{deviceIndex}}" range="{{deviceArray}}" bindchange="bindDeviceChange">
  22. <view class="desc-t">
  23. {{deviceArray[deviceIndex]}}
  24. </view>
  25. </picker>
  26. <image src="/images/jiantou-bottom.png" class="icon-bottom"></image>
  27. </view>
  28. </view>
  29. <view class="picker-item">
  30. <view class="my-row my-align-c">
  31. <view class="desc-t desc-c">选择时间</view>
  32. </view>
  33. <view class="my-row my-align-c">
  34. <picker mode="date" value="{{startDate}}" start="2000-01-01" end="2099-12-31" bindchange="bindStartDateChange">
  35. <view class="desc-t">
  36. {{startDate}}至
  37. </view>
  38. </picker>
  39. <picker mode="date" value="{{endDate}}" start="2000-01-01" end="2099-12-31" bindchange="bindendDateChange">
  40. <view class="desc-t">
  41. {{endDate}}
  42. </view>
  43. </picker>
  44. <image src="/images/jiantou-bottom.png" class="icon-bottom"></image>
  45. </view>
  46. </view>
  47. <scroll-view scroll-y='true'>
  48. <block wx:for='{{list}}'>
  49. <view class="list-item" hover-class="myhover" hover-start-time="50" hover-stay-time="50">
  50. <image src="{{item.headImage?apiTotal+item.headImage:'/images/default-urser.png'}}" class="head-img"></image>
  51. <view class="my-column my-flex-sb" style="height:150rpx;">
  52. <view class="name">{{item.displayName}}</view>
  53. <view class="address">
  54. <image src="/images/clock.png" class="address-img"></image>
  55. <view class="create-time">{{item.openTime}}</view>
  56. <view class="normal" wx:if='{{item.state==1}}'>进入</view>
  57. <view class="normal" wx:if='{{item.state==2}}'>外出</view>
  58. </view>
  59. <view class="address">
  60. <image src="/images/dizhi.png" class="address-img"></image>
  61. <view class="create-time">{{item.address?item.address:'洛阳测试中心'}}</view>
  62. </view>
  63. </view>
  64. </view>
  65. </block>
  66. </scroll-view>
  67. </view>