workbench.wxml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <!--pages/workbench/workbench.wxml-->
  2. <view class="work-content wh">
  3. <view class="notice">当前已获得{{deviceName}}检测车权限</view>
  4. <view class="account-info ittflex-jcs">
  5. <view class="left half ittflex-jcs">
  6. <view class="head-img">
  7. <image class="wh" src="{{headImg}}"></image>
  8. </view>
  9. <view class="userinfo">
  10. <view class="username">{{userName}}</view>
  11. <view class="usernum">{{workerId}}</view>
  12. </view>
  13. </view>
  14. <view class="right half">
  15. <view class="itt-btn reauth-btn" data-type="1" bindtap="handleWXScanDevice">获取新车权限</view>
  16. </view>
  17. </view>
  18. <view class="main-scan">
  19. <view class="scanicon" data-type="0" bindtap="handleWxScanUser">
  20. <image class="wh" src="../../images/saoma@2x.png"></image>
  21. </view>
  22. <view class="tips">核销用户检测次数</view>
  23. </view>
  24. <view class="overlay wh" wx:if="{{overlayShow}}">
  25. <view class="modal">
  26. <view class="title">用户信息</view>
  27. <view class="username info">
  28. <text>姓名:</text>
  29. <text class="codename">{{personName}}</text>
  30. </view>
  31. <view class="info sex">
  32. <text>性别:</text>
  33. <text>{{personSex ? '男' : '女'}}</text>
  34. </view>
  35. <view class="info day">
  36. <text>出生年月:</text>
  37. <text>{{birthday}}</text>
  38. </view>
  39. <view class="info age">
  40. <text>年龄:</text>
  41. <text>{{age}}岁</text>
  42. </view>
  43. <view class="info count">
  44. <text>剩余次数:</text>
  45. <text class="bold"></text>
  46. <text>{{useNum}}次</text>
  47. </view>
  48. <view class="btn ittflex-jcs">
  49. <view class="itt-btn cancel" bindtap="handlecancel">取消</view>
  50. <view class="itt-btn submit" bindtap="handlesubmit">确认检测</view>
  51. </view>
  52. </view>
  53. </view>
  54. </view>