workbench.wxml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <!--pages/workbench/workbench.wxml-->
  2. <view class="work-content wh">
  3. <view class="account-info ittflex-jcs">
  4. <view class="left half ittflex-jcs">
  5. <view class="head-img">
  6. <image class="wh" src="{{headImg}}"></image>
  7. </view>
  8. <view class="userinfo">
  9. <view class="username">{{userName}}</view>
  10. <view class="usernum">{{workerId}}</view>
  11. </view>
  12. </view>
  13. <view class="right half">
  14. <view class="text">
  15. <view class="basetext">当前已获得</view>
  16. <view class="basetext">{{deviceName}}检测车权限</view>
  17. </view>
  18. <view class="arror">
  19. <image class="wh" src="../../images/you.png"></image>
  20. </view>
  21. </view>
  22. </view>
  23. <view class="tips">核销用户检测次数</view>
  24. <view class="camera">
  25. <camera device-position="back" flash="off" mode="scanCode" bindscancode="bindscancode" binderror="bindscanerror" style="width: 100%; height: 100%;"></camera>
  26. </view>
  27. <view class="overlay wh" wx:if="{{overlayShow}}">
  28. <view class="modal">
  29. <view class="title">用户信息</view>
  30. <view class="username info">
  31. <text>姓名:</text>
  32. <text class="codename">{{personName}}</text>
  33. </view>
  34. <view class="info sex">
  35. <text>性别:</text>
  36. <text>{{personSex ? '男' : '女'}}</text>
  37. </view>
  38. <view class="info day">
  39. <text>出生年月:</text>
  40. <text>{{birthday}}</text>
  41. </view>
  42. <view class="info age">
  43. <text>年龄:</text>
  44. <text>22岁</text>
  45. </view>
  46. <view class="info count">
  47. <text>剩余次数:</text>
  48. <text class="bold">5</text>
  49. <text>次</text>
  50. </view>
  51. <view class="btn ittflex-jcs">
  52. <view class="itt-btn cancel" bindtap="handlecancel">取消</view>
  53. <view class="itt-btn submit" bindtap="handlesubmit">确认检测</view>
  54. </view>
  55. </view>
  56. </view>
  57. </view>