three_yards.axml 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  1. <view class='three_yards-three_yards {{className}}' style='{{style}}' ref='saveChildRef0'>
  2. <import-sjs from='../../utils/util/util.sjs' name='util'>
  3. </import-sjs>
  4. <view a:if="{{util.indexOf(threeCodeList,'1')>-1}}">
  5. <van-cell a:if='{{form.jkm}}' border='{{ false }}' class='label-sm' ref='saveChildRef1'>
  6. <view slot='title'>
  7. {{international.HealthStatus[language]}}
  8. <van-icon
  9. a:if="{{form.jkm=='绿码'}}"
  10. name='checked'
  11. style='color:#2dcb92'
  12. size='30rpx'
  13. ref='saveChildRef2'
  14. >
  15. </van-icon>
  16. <van-icon
  17. a:else
  18. name='clear'
  19. style='color:#ff5552'
  20. size='30rpx'
  21. ref='saveChildRef3'
  22. >
  23. </van-icon>
  24. </view>
  25. <text class='color333'>
  26. {{form.jkm}}
  27. </text>
  28. </van-cell>
  29. <view a:else class='cu-form-group'>
  30. <view class='title font-size'>
  31. <text class="{{form.jkmPhoto?'text-green':'text-red'}}">
  32. *
  33. </text>
  34. <text>
  35. {{international.uploadHealth[language]}}
  36. </text>
  37. </view>
  38. <view a:if='{{form.jkmPhoto}}' class='img_box'>
  39. <image
  40. src='{{form.jkmPhoto}}'
  41. class='img'
  42. data-src='{{form.jkmPhoto}}'
  43. onTap='antmoveAction'
  44. data-antmove-tap='previewImg'
  45. >
  46. </image>
  47. <image
  48. src='/static/images/delete_img.png'
  49. class='DelImg'
  50. data-type='jkmPhoto'
  51. catchTap='antmoveAction'
  52. data-antmove-tap='DelImg'
  53. >
  54. </image>
  55. </view>
  56. <image
  57. a:else
  58. class='upload'
  59. data-type='jkmPhoto'
  60. src='/static/images/default_img.png'
  61. onTap='antmoveAction'
  62. data-antmove-tap='getValue'
  63. >
  64. </image>
  65. </view>
  66. </view>
  67. <view a:if="{{util.indexOf(threeCodeList,'2')>-1}}">
  68. <view a:if='{{form.hs}}' class='newnucleate'>
  69. <view class='left font-size'>
  70. {{international.LatestTests[language]}}
  71. <van-icon
  72. a:if='{{form.unqualifiedHS }}'
  73. name='checked'
  74. style='color:#2dcb92'
  75. size='30rpx'
  76. ref='saveChildRef4'
  77. >
  78. </van-icon>
  79. <van-icon
  80. a:else
  81. name='clear'
  82. style='color:#ff5552'
  83. size='30rpx'
  84. ref='saveChildRef5'
  85. >
  86. </van-icon>
  87. </view>
  88. <view class='right font-size'>
  89. <view class='color333'>
  90. {{form.hsResultTime}}
  91. </view>
  92. <view class='color333'>
  93. {{form.hs}}
  94. </view>
  95. </view>
  96. </view>
  97. <view a:else class='cu-form-group marginTop'>
  98. <view class='title'>
  99. <text class="{{form.hsPhoto?'text-green':'text-red'}}">
  100. *
  101. </text>
  102. <text>
  103. {{international.UploadScreenshot[language]}}{{'('+hsHour+'小时内)'}}
  104. </text>
  105. </view>
  106. <view a:if='{{form.hsPhoto}}' class='img_box'>
  107. <image
  108. src='{{form.hsPhoto}}'
  109. class='img'
  110. data-src='{{form.hsPhoto}}'
  111. onTap='antmoveAction'
  112. data-antmove-tap='previewImg'
  113. >
  114. </image>
  115. <image
  116. src='/static/images/delete_img.png'
  117. class='DelImg'
  118. data-type='hsPhoto'
  119. catchTap='antmoveAction'
  120. data-antmove-tap='DelImg'
  121. >
  122. </image>
  123. </view>
  124. <image
  125. a:else
  126. class='upload'
  127. data-type='hsPhoto'
  128. src='/static/images/default_img.png'
  129. onTap='antmoveAction'
  130. data-antmove-tap='getValue'
  131. >
  132. </image>
  133. </view>
  134. </view>
  135. <view a:if="{{util.indexOf(threeCodeList,'3')>-1}}">
  136. <view class='line'>
  137. </view>
  138. <view a:if='{{!form.xc}}' class='cu-form-group'>
  139. <view class='title'>
  140. <text class="{{form.xcPhone?'text-green':'text-red'}}">
  141. *
  142. </text>
  143. <text>
  144. {{international.Phone[language]}}
  145. </text>
  146. </view>
  147. <custom-input
  148. class='phone'
  149. type='text'
  150. value='{{form.xcPhone}}'
  151. data-type='xcPhone'
  152. maxlength='11'
  153. onInput='getValue'
  154. >
  155. </custom-input>
  156. <btn
  157. class='get-code'
  158. disabled='{{moDisabled}}'
  159. onTap='antmoveAction'
  160. data-antmove-tap='getCode'
  161. >
  162. {{moCodeMsg}}
  163. </btn>
  164. </view>
  165. <view a:if='{{!form.xc}}' class='cu-form-group poisition'>
  166. <view class='title'>
  167. <text class='text-red'>
  168. *
  169. </text>
  170. <text>
  171. {{international.VerificationCode[language]}}
  172. </text>
  173. </view>
  174. <block a:for='{{codeLength}}' a:key='{{item}}' ref-numbers='{{codeLength}}'>
  175. <custom-input
  176. class="Sho_box7 {{inputCodeFocus[index]?'orange':'blue'}}"
  177. type='number'
  178. focus='{{false}}'
  179. value='{{codeVal[index]}}'
  180. disabled='{{true}}'
  181. onTap='antmoveAction'
  182. data-antmove-tap='tapInput'
  183. >
  184. </custom-input>
  185. </block>
  186. <view>
  187. <custom-input
  188. class='hidden-input'
  189. focus='{{focus}}'
  190. maxlength='{{codeLength}}'
  191. type='number'
  192. onInput='inputVal'
  193. onBlur='blurInput'
  194. onLongTap='antmoveAction'
  195. data-antmove-longpress='longPressInput'
  196. >
  197. </custom-input>
  198. </view>
  199. </view>
  200. <van-cell a:if='{{form.xc}}' border='{{ false }}' class='label-sm' ref='saveChildRef6'>
  201. <view slot='title'>
  202. {{international.TravelInformation[language]}}
  203. <image class='icon' src="../../static/images/{{(form.xc==1||form.xcPhoto)?'green':'red'}}.png">
  204. </image>
  205. </view>
  206. <text class='color333'>
  207. {{form.xc==1?'未去过高风险地区':form.xc==2?'去过高风险地区':'未知,请上传行程卡截图'}}
  208. </text>
  209. </van-cell>
  210. <view a:if='{{form.xc==3}}' class='cu-form-group'>
  211. <view class='title'>
  212. <text class="{{form.xcPhoto?'text-green':'text-red'}}">
  213. *
  214. </text>
  215. <text>
  216. {{international.UploadTrip[language]}}
  217. </text>
  218. </view>
  219. <view a:if='{{form.xcPhoto}}' class='img_box'>
  220. <image
  221. src='{{form.xcPhoto}}'
  222. class='img'
  223. data-src='{{form.xcPhoto}}'
  224. onTap='antmoveAction'
  225. data-antmove-tap='previewImg'
  226. >
  227. </image>
  228. <image
  229. src='/static/images/delete_img.png'
  230. class='DelImg'
  231. data-type='xcPhoto'
  232. catchTap='antmoveAction'
  233. data-antmove-tap='DelImg'
  234. >
  235. </image>
  236. </view>
  237. <image
  238. a:else
  239. class='upload'
  240. data-type='xcPhoto'
  241. src='/static/images/default_img.png'
  242. onTap='antmoveAction'
  243. data-antmove-tap='getValue'
  244. >
  245. </image>
  246. </view>
  247. </view>
  248. </view>