rlxf_pass.wxml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <!--pages/wx_airport/rlxf_pass/rlxf_pass.wxml-->
  2. <view class="content">
  3. <!-- 基本信息 -->
  4. <view class="top">
  5. <view class="btn">
  6. <button bindtap="back">{{isMachine?'切换用户':'重新认证'}}</button>
  7. </view>
  8. <view class="basic">
  9. <view class="info">
  10. <text wx:if="{{userInfo.username}}">{{userInfo.username }}</text>
  11. <text wx:if="{{!isMachine && userInfo.phone}}">手机号:{{userInfo.phone}}</text>
  12. <text wx:if="{{userInfo.idNumber}}">身份证:{{userInfo.idNumber}}</text>
  13. <text wx:if="{{userInfo.cardIdEx}}">定位卡号:{{userInfo.cardIdEx}}</text>
  14. <text wx:if="{{!isMachine && userInfo.org}}">通行区域:{{userInfo.org}}</text>
  15. </view>
  16. <view class="avatar">
  17. <image wx:if="{{userInfo.avatar}}" src="{{userInfo.avatar}}" bindtap="preview"></image>
  18. <image wx:if="{{!userInfo.avatar}}" src="../../../static/images/avator.png" bindtap="preview"></image>
  19. </view>
  20. </view>
  21. <view class="time">
  22. <text>有效期至:</text>
  23. <text class="letter-sapce">{{userInfo.createTime || '****-**-** **:**:**'}}</text>
  24. </view>
  25. </view>
  26. <!-- 功能栏 -->
  27. <view class="function-bar" wx:if="{{authFlag.showDisinfect||authFlag.showProblemReport}}" >
  28. <view class="flex" wx:if="{{item.isShow}}" wx:for="{{functionList}}" wx:key="index" bindtap="clickFun" data-item="{{item}}">
  29. <image src="{{item.img}}" alt=""/>
  30. <view class="tit">{{item.tit}}</view>
  31. </view>
  32. </view>
  33. <!-- 点击申报 -->
  34. <view class="center">
  35. <view class=" click {{isMachine?'machine-click':''}} {{timeCount > 0?' click-stop':''}}" bindtap="{{isMachine?'doPassMachine':'doPass'}}">
  36. <text>点击申报<block wx:if="{{timeCount > 0}}">({{timeCount}}s)</block></text>
  37. <image wx:if="{{timeCount == 0}}" src="../../../static/images/hand.gif"></image>
  38. </view>
  39. <view class="tip">
  40. <text>
  41. 申报后,可刷脸快速通行
  42. {{userInfo.org}}区域的闸机
  43. </text>
  44. </view>
  45. </view>
  46. </view>