index.axml 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. <import-sjs from='../../utils/index/utils.sjs' name='util'>
  2. <view class="{{showFaceScan?'page white':'page'}}" onTap="clickAudio">
  3. <view class="main">
  4. <top-title ref="saveRef" countdown="{{timer}}" onFinish="finish" showTitText="{{true}}" />
  5. <!-- 请刷身份证 -->
  6. <view a:if="{{ result=='刷身份证' ||result=='首页刷证' }}">
  7. <view class="tit">请刷身份证</view>
  8. <view class="idcard">
  9. <view a:if="{{ brushingCardUserIInfo.name }}" class="name">
  10. {{ util.desensitization(brushingCardUserIInfo.name, 1, 2)}}
  11. </view>
  12. <view class="sex">{{brushingCardUserIInfo.sex}}</view>
  13. <view class="nation">{{brushingCardUserIInfo.nation}}</view>
  14. <view class="year">{{brushingCardUserIInfo.year}}</view>
  15. <view class="month">{{brushingCardUserIInfo.month}}</view>
  16. <view class="day">{{brushingCardUserIInfo.day}}</view>
  17. <view a:if="{{ brushingCardUserIInfo.address }}" class="address">
  18. {{ util.desensitization(brushingCardUserIInfo.address, 3, 10)}}
  19. </view>
  20. <view a:if="{{ brushingCardUserIInfo.idNum }}" class="idNum">
  21. {{util.desensitization(brushingCardUserIInfo.idNum, 6, 14)}}
  22. </view>
  23. <!--<image class="photoBase64" mode="scaleToFill" src="https://tx.hz-hanghui.com:8088/yx-fyzd/file/upload/imagesnew/static/home/center-four.png" /> -->
  24. <image class="photoBase64" mode="scaleToFill" src="data:image/png;base64,{{brushingCardUserIInfo.photoBase64}}" />
  25. </view>
  26. </view>
  27. <!-- 登记成功 -->
  28. <view a:if="{{ result=='登记成功' }}">
  29. <view class="tit">
  30. 登记成功{{printVisitorList?',正在打印访客单~':''}}
  31. </view>
  32. <image
  33. mode="scaleToFill"
  34. src="https://tx.hz-hanghui.com:8088/yx-fyzd/file/upload/imagesnew/static/result/sign-off.png"
  35. class="sign-off icon"
  36. />
  37. </view>
  38. <!-- 登记失败 -->
  39. <view a:if="{{ result=='登记失败' }}">
  40. <view class="tit">登记失败~</view>
  41. <image
  42. mode="scaleToFill"
  43. src="https://tx.hz-hanghui.com:8088/yx-fyzd/file/upload/imagesnew/static/result/sign-off-lose.png"
  44. class="sign-off icon"
  45. />
  46. </view>
  47. <!-- 联网查询 -->
  48. <view a:if="{{ result=='联网查询' }}">
  49. <view class="tip">
  50. <view>
  51. 1、查询身份信息大约5-10秒,请耐心等待。
  52. </view>
  53. <view>
  54. 2、如提示“未获取到公安网照片”,可重试一次。
  55. </view>
  56. </view>
  57. <image
  58. mode="scaleToFill"
  59. src="https://tx.hz-hanghui.com:8088/yx-fyzd/file/upload/imagesnew/static/result/network-query.png"
  60. class="network-query icon"
  61. />
  62. </view>
  63. <!-- 逃犯 有前科-->
  64. <view a:if="{{ result=='逃犯'||result=='有前科' }}">
  65. <view class="tit">系统故障!!!</view>
  66. <image
  67. mode="scaleToFill"
  68. src="https://tx.hz-hanghui.com:8088/yx-fyzd/file/upload/imagesnew/static/result/{{result=='逃犯'?'guzhang-red':'guzhang-yellow'}}.png"
  69. class="sign-off icon"
  70. />
  71. </view>
  72. <!-- 扫码签离 -->
  73. <view a:if="{{ result=='扫码签离' }}">
  74. <view class="tit m-t">请将二维码对准扫码窗进行签离~</view>
  75. <view class="flex1 m-t1">
  76. <image
  77. mode="scaleToFill"
  78. src="https://tx.hz-hanghui.com:8088/yx-fyzd/file/upload/imagesnew/static/result/qrcode.png"
  79. class="qrcode"
  80. />
  81. <image
  82. mode="scaleToFill"
  83. src="https://tx.hz-hanghui.com:8088/yx-fyzd/file/upload/imagesnew/static/result/fkj.png"
  84. class="fkj"
  85. />
  86. </view>
  87. </view>
  88. <!-- 签离失败 -->
  89. <view a:if="{{ result=='签离失败' }}">
  90. <view class="tit">签离失败~</view>
  91. <image
  92. mode="scaleToFill"
  93. src="https://tx.hz-hanghui.com:8088/yx-fyzd/file/upload/imagesnew/static/result/sign-off-lose.png"
  94. class="sign-off icon"
  95. />
  96. </view>
  97. <!-- 签离成功 -->
  98. <view a:if="{{ result=='签离成功' }}">
  99. <view class="tit">签离成功~</view>
  100. <view class="sign-off-box">
  101. <image
  102. mode="scaleToFill"
  103. src="https://tx.hz-hanghui.com:8088/yx-fyzd/file/upload/imagesnew/static/result/sign-off.png"
  104. class="sign-off"
  105. />
  106. <view class="success-msg">
  107. <image
  108. mode="scaleToFill"
  109. src="https://tx.hz-hanghui.com:8088/yx-fyzd/file/upload/imagesnew/static/result/sign-off.png"
  110. class="avatar"
  111. />
  112. <view class="msg">
  113. <view>{{util.desensitization(signOffUserInfo.name,1,2)}}</view>
  114. <view> {{util.desensitization(signOffUserInfo.idNumber,6,14)}}</view>
  115. <view>{{util.desensitization(signOffUserInfo.phone,3,7)}}</view>
  116. <view>
  117. 受访人:{{util.desensitization(signOffUserInfo.visiteeXm,1,2)}}
  118. </view>
  119. </view>
  120. </view>
  121. </view>
  122. </view>
  123. <!-- 二维码获取失败 -->
  124. <view a:if="{{ result.indexOf('获取失败')>-1 }}">
  125. <view class="tit">{{result}},请联系管理员或关闭此功能</view>
  126. <image
  127. mode="scaleToFill"
  128. src="https://tx.hz-hanghui.com:8088/yx-fyzd/file/upload/imagesnew/static/result/sign-off-lose.png"
  129. class="sign-off icon"
  130. />
  131. </view>
  132. <!-- 结果页超时 -->
  133. <view a:if="{{ result=='结果页超时' }}">
  134. <view class="tit">{{resultText}}</view>
  135. <image
  136. mode="scaleToFill"
  137. src="https://tx.hz-hanghui.com:8088/yx-fyzd/file/upload/imagesnew/static/result/sign-off-lose.png"
  138. class="sign-off icon"
  139. />
  140. <view
  141. a:if="{{isShowRetry&& clickRetryNum==0 }}"
  142. class="try-btn"
  143. onTap="retryFun"
  144. >
  145. 重试
  146. </view>
  147. </view>
  148. <bottom-parnel
  149. suerName="{{(result=='刷身份证'&&brushingCardUserIInfo.name)||result=='首页刷证' ||result=='联网查询' ?'':'退出'}}"
  150. logoutName=""
  151. onSure="sure"
  152. />
  153. <!-- 刷脸页面 -->
  154. <view a:if="{{ showFaceScan }}" class="bgc">
  155. </view>
  156. </view>
  157. </view>