three_yards.wxml 5.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <wxs src="../../utils/util/util.wxs" module="util" />
  2. <!-- {{international.Name_Visitor[language]}} -->
  3. <!-- 健康码 -->
  4. <view wx:if="{{util.indexOf(threeCodeList,'1')>-1}}">
  5. <van-cell border="{{ false }}" class="label-sm" wx:if="{{form.jkm}}">
  6. <view slot="title">
  7. {{international.HealthStatus[language]}}
  8. <van-icon name="checked" style="color:#2dcb92" size="30rpx" wx:if="{{form.jkm=='绿码'}}" />
  9. <van-icon name="clear" style="color:#ff5552" size="30rpx" wx:else />
  10. </view>
  11. <text class="color333">{{form.jkm}}</text>
  12. </van-cell>
  13. <view class="cu-form-group" wx:else>
  14. <view class="title font-size"><text class="{{form.jkmPhoto?'text-green':'text-red'}}">*</text><text>{{international.uploadHealth[language]}}</text>
  15. </view>
  16. <view wx:if="{{form.jkmPhoto}}" class="img_box">
  17. <image src="{{form.jkmPhoto}}" class="img" bindtap="previewImg" data-src="{{form.jkmPhoto}}"></image>
  18. <image src="../../static/images/delete_img.png" class="DelImg" catchtap="DelImg" data-type="jkmPhoto"></image>
  19. </view>
  20. <image bindtap="getValue" class="upload" wx:else data-type="jkmPhoto" src="../../static/images/default_img.png"></image>
  21. </view>
  22. </view>
  23. <!-- 核酸 -->
  24. <view wx:if="{{util.indexOf(threeCodeList,'2')>-1}}">
  25. <view class="newnucleate" wx:if="{{form.hs}}">
  26. <view class="left font-size">{{international.LatestTests[language]}}
  27. <van-icon name="checked" style="color:#2dcb92" size="30rpx" wx:if="{{form.unqualifiedHS }}" />
  28. <van-icon name="clear" style="color:#ff5552" size="30rpx" wx:else />
  29. </view>
  30. <view class="right font-size">
  31. <!-- <view class="color333"><text class="color2F8EFF">【采样时间】</text> 2022-08-09 06:25:42</view> -->
  32. <view class="color333">
  33. <!-- <text class="color2F8EFF">【{{international.ReportTime[language]}}】</text> -->
  34. {{form.hsResultTime}}</view>
  35. <view class="color333"> {{form.hs}}</view>
  36. </view>
  37. </view>
  38. <view class="cu-form-group marginTop" wx:else>
  39. <view class="title"><text class="{{form.hsPhoto?'text-green':'text-red'}}">*</text><text>{{international.UploadScreenshot[language]}}{{'('+hsHour+'小时内)'}}</text>
  40. </view>
  41. <view wx:if="{{form.hsPhoto}}" class="img_box">
  42. <image src="{{form.hsPhoto}}" class="img" bindtap="previewImg" data-src="{{form.hsPhoto}}"></image>
  43. <image src="../../static/images/delete_img.png" class="DelImg" catchtap="DelImg" data-type="hsPhoto"></image>
  44. </view>
  45. <image bindtap="getValue" class="upload" wx:else data-type="hsPhoto" src="../../static/images/default_img.png"></image>
  46. </view>
  47. </view>
  48. <!-- 行程码 -->
  49. <view wx:if="{{util.indexOf(threeCodeList,'3')>-1}}">
  50. <view class="line"></view>
  51. <!-- 手机号验证码 -->
  52. <view class="cu-form-group" wx:if="{{!form.xc}}">
  53. <view class="title"><text class="{{form.xcPhone?'text-green':'text-red'}}">*</text><text>{{international.Phone[language]}}</text>
  54. </view>
  55. <input class="phone" type="text" value="{{form.xcPhone}}" bindinput="getValue" data-type="xcPhone" type="number" maxlength="11" />
  56. <button class="get-code" bindtap="getCode" disabled="{{moDisabled}}">{{moCodeMsg}}</button>
  57. </view>
  58. <view class="cu-form-group poisition" wx:if="{{!form.xc}}">
  59. <view class="title"><text class="text-red">*</text><text>{{international.VerificationCode[language]}}</text>
  60. </view>
  61. <block wx:for="{{codeLength}}" wx:key="item">
  62. <input class="Sho_box7 {{inputCodeFocus[index]?'orange':'blue'}}" type="number" focus="{{false}}" cursor-spacing="{{30}}" bindtap="tapInput" value="{{codeVal[index]}}" disabled="{{true}}"></input>
  63. </block>
  64. <view><input class="hidden-input" cursor-spacing="{{30}}" focus="{{focus}}" maxlength="{{codeLength}}" type="number" bindinput="inputVal" bindblur="blurInput" bindlongpress="longPressInput" /></view>
  65. </view>
  66. <!-- 行程码 -->
  67. <van-cell border="{{ false }}" class="label-sm" wx:if="{{form.xc}}">
  68. <view slot="title">
  69. {{international.TravelInformation[language]}}<image class="icon" src="../../static/images/{{(form.xc==1||form.xcPhoto)?'green':'red'}}.png"></image>
  70. </view>
  71. <text class="color333">{{form.xc==1?'未去过高风险地区':form.xc==2?'去过高风险地区':'未知,请上传行程卡截图'}}</text>
  72. </van-cell>
  73. <view class="cu-form-group" wx:if="{{form.xc==3}}">
  74. <view class="title"><text class="{{form.xcPhoto?'text-green':'text-red'}}">*</text><text>{{international.UploadTrip[language]}}</text>
  75. </view>
  76. <view wx:if="{{form.xcPhoto}}" class="img_box">
  77. <image src="{{form.xcPhoto}}" class="img" bindtap="previewImg" data-src="{{form.xcPhoto}}"></image>
  78. <image src="../../static/images/delete_img.png" class="DelImg" catchtap="DelImg" data-type="xcPhoto"></image>
  79. </view>
  80. <image bindtap="getValue" class="upload" wx:else data-type="xcPhoto" src="../../static/images/default_img.png"></image>
  81. </view>
  82. </view>