workbench.wxml 1.8 KB

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