rlxf_pass.wxml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <!--pages/wx_airport/rlxf_pass/rlxf_pass.wxml-->
  2. <wxs src="../../../utils/util/util.wxs" module="util" />
  3. <view class="content">
  4. <!-- 基本信息 -->
  5. <view class="top">
  6. <view class="btn">
  7. <button bindtap="back">切换用户</button>
  8. </view>
  9. <view class="basic">
  10. <view class="info">
  11. <text>{{util.desensitization(machineInfo_FKJ.username, 1, 2) || '***'}}</text>
  12. <text>手机号:{{util.desensitization(machineInfo_FKJ.phone, 3, 7) ||'********'}}</text>
  13. <text>身份证:{{util.desensitization(machineInfo_FKJ.idNumber, 6, 14) || '********'}}</text>
  14. </view>
  15. <view class="avatar">
  16. <image wx:if="{{machineInfo_FKJ.avatar}}" src="{{machineInfo_FKJ.avatar}}" bindtap="preview"></image>
  17. <image wx:else src="../../../static/images/avator.png" bindtap="preview"></image>
  18. </view>
  19. </view>
  20. <view class="other-msg-item">
  21. <text>所在单位:</text>
  22. <text>{{machineInfo_FKJ.workPlace || '***'}}</text>
  23. </view>
  24. <view class="other-msg-item">
  25. <text>车牌号:</text>
  26. <text>{{machineInfo_FKJ.carNumber || '***'}}</text>
  27. </view>
  28. </view>
  29. <!-- 二维码 -->
  30. <view class="center">
  31. <view >
  32. <image class="qr-code" src="{{qrCode}}"></image>
  33. <!--创建一个画布,将它移出屏幕外看不到的地方-->
  34. <canvas class="canvas-code" canvas-id="myQrcode" style="background:#fff;width: 200px;height: 200px; display:block; left:-800rpx;position:absolute;" />
  35. </view>
  36. <view class="tip">
  37. <text>刷此码即可快速登记(二维码30s自动刷新)</text>
  38. </view>
  39. </view>
  40. </view>