index.wxml 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. <view class="container">
  2. <view class="container_title">
  3. <view>个人信息</view>
  4. <view>Personal Information</view>
  5. </view>
  6. <!-- 表单 -->
  7. <view class="container_dataForm">
  8. <!-- 表单项 -->
  9. <view class="container_dataForm_item">
  10. <view class="container_dataForm_item_property"><span>* </span>选择身份/Status:</view>
  11. <view class="container_dataForm_item_vlaue container_dataForm_item_vlaue-picker">
  12. <!-- 非其他身份 -->
  13. <picker value="{{ statusOptions[dataForm.status].id }}" range="{{ statusOptions }}" range-key="{{ 'value' }}" bindchange="changeStatusOptions" disabled="{{isSign}}" >
  14. <view class="picker">{{ statusOptions[dataForm.status].value }}</view>
  15. </picker>
  16. <image mode="widthFix" src="../../../images/invitation/down_24x24.png" role="img"></image>
  17. <!-- 其他身份 -->
  18. <input maxlength="30" confirm-type="done" value="{{ dataForm.statusOther }}" data-inputType="status" bindinput="changeInput" wx:if="{{ dataForm.status === 5 }}" disabled="{{isSign}}"/>
  19. </view>
  20. </view>
  21. <view class="container_dataForm_item">
  22. <view class="container_dataForm_item_property"><span>* </span>真实姓名/Real Name:</view>
  23. <view class="container_dataForm_item_value">
  24. <input maxlength="20" confirm-type="done" value="{{ dataForm.realName }}" data-inputType="realName" bindinput="changeInput" disabled="{{isSign}}"/>
  25. </view>
  26. </view>
  27. <view class="container_dataForm_item">
  28. <view class="container_dataForm_item_property"><span>* </span>证件类型/ID Type:</view>
  29. <view class="container_dataForm_item_vlaue container_dataForm_item_vlaue-picker">
  30. <picker value="{{ idTypeOptions[dataForm.idType].id }}" range="{{ idTypeOptions }}" range-key="{{ 'value' }}" bindchange="changeIdTypeOptions" disabled="{{isSign}}">
  31. <view class="picker">{{ idTypeOptions[dataForm.idType].value }}</view>
  32. </picker>
  33. <image mode="widthFix" src="../../../images/invitation/down_24x24.png" role="img"></image>
  34. </view>
  35. </view>
  36. <view class="container_dataForm_item">
  37. <view class="container_dataForm_item_property"><span>* </span>证件号/ID Number:</view>
  38. <view class="container_dataForm_item_vlaue">
  39. <input maxlength="30" confirm-type="done" value="{{ dataForm.idNumber }}" data-inputType="idNumber" bindinput="changeInput" disabled="{{isSign}}" />
  40. </view>
  41. </view>
  42. <view class="container_dataForm_item">
  43. <view class="container_dataForm_item_property"><span>* </span>国家/Country:</view>
  44. <view class="container_dataForm_item_vlaue container_dataForm_item_vlaue-picker">
  45. <picker value="{{ countryOptions[dataForm.country].id }}" range="{{ countryOptions }}" range-key="{{ 'value' }}" bindchange="changeCountryOptions" disabled="{{isSign}}">
  46. <view class="picker">{{ countryOptions[dataForm.country].value }}</view>
  47. </picker>
  48. <image mode="widthFix" src="../../../images/invitation/down_24x24.png" role="img"></image>
  49. </view>
  50. </view>
  51. <view class="container_dataForm_item">
  52. <view class="container_dataForm_item_property"><span>* </span>居住城市/Live City:</view>
  53. <view class="container_dataForm_item_vlaue">
  54. <!-- 国家为中国时 -->
  55. <picker value="{{ dataForm.liveCity }}" bindchange="changeLiveCityOptions" mode="region" wx:if="{{ isChinesePeople }}" disabled="{{isSign}}">
  56. <view class="picker">{{ dataForm.liveCity[0] }}{{ dataForm.liveCity[1] }}{{ dataForm.liveCity[2] }}</view>
  57. </picker>
  58. <!-- 国家为外籍时 -->
  59. <input maxlength="50" wx:if="{{ !isChinesePeople }}" value="{{ dataForm.liveCityNotChina }}" confirm-type="done" data-inputType="liveCity" bindinput="changeInput" wx:if="{{ dataForm.country === 1 }}" disabled="{{isSign}}" />
  60. </view>
  61. </view>
  62. <view class="container_dataForm_item">
  63. <view class="container_dataForm_item_property"><span>* </span>性别/Gender:</view>
  64. <view class="container_dataForm_item_vlaue container_dataForm_item_vlaue-picker">
  65. <picker value="{{ genderOptions[dataForm.gender].id }}" range="{{ genderOptions }}" range-key="{{ 'value' }}" bindchange="changeGenderOptions" disabled="{{isSign}}">
  66. <view class="picker">{{ genderOptions[dataForm.gender].value }}</view>
  67. </picker>
  68. <image mode="widthFix" src="../../../images/invitation/down_24x24.png" role="img"></image>
  69. </view>
  70. </view>
  71. <view class="container_dataForm_item">
  72. <view class="container_dataForm_item_property" style="padding-left: 22rpx;">邮箱/Email Address:</view>
  73. <view class="container_dataForm_item_vlaue">
  74. <input maxlength="30" confirm-type="done" value="{{ dataForm.emailAddress }}" data-inputType="emailAddress" bindinput="changeInput" disabled="{{isSign}}" />
  75. </view>
  76. </view>
  77. <view class="container_dataForm_item">
  78. <view class="container_dataForm_item_property"><span>* </span>公司/Company:</view>
  79. <view class="container_dataForm_item_vlaue">
  80. <input maxlength="50" confirm-type="done" value="{{ dataForm.company }}" data-inputType="company" bindinput="changeInput" disabled="{{isSign}}" />
  81. </view>
  82. </view>
  83. <view class="container_dataForm_item">
  84. <view class="container_dataForm_item_property"><span>* </span>职位/Position:</view>
  85. <view class="container_dataForm_item_vlaue">
  86. <input maxlength="20" confirm-type="done" value="{{ dataForm.position }}" data-inputType="position" bindinput="changeInput" disabled="{{isSign}}" />
  87. </view>
  88. </view>
  89. </view>
  90. <!-- 填写须知 -->
  91. <view class="container_protocol">
  92. <view class="container_protocol_item">
  93. <view style="color: #F56C6C;">根据疫情防控政策,请填写真实信息,</view>
  94. <view style="color: #F56C6C;">以确保届时顺利核验入场。</view>
  95. <view style="color: #F56C6C;">According to the epidemic prevention and control requirements, please fill in the true and effective information to ensure a successful entrance.</view>
  96. </view>
  97. <view class="container_protocol_item">
  98. <view>外籍人士需满足完成14+7隔离期,</view>
  99. <view>需提供48小时核酸检测报告。</view>
  100. <view>Foreigners are required to complete the 14+7 quarantine period and a 48 hour nucleic acid test report shall be provided.</view>
  101. </view>
  102. <view class="container_protocol_item">
  103. <view>14天离沪返沪来沪人员需提供48小时内核酸。</view>
  104. <view>People returning from Shanghai within 14 days shall provide nucleic acid test report within 48 hours.</view>
  105. </view>
  106. <view class="container_protocol_item">
  107. <view>途径中高风险地区人员禁止入场。</view>
  108. <view>People in high-risk areas of the route are not allowed to enter.</view>
  109. </view>
  110. </view>
  111. <!-- 同意按钮 -->
  112. <view class="container_agree-btn" bindtap="submitDataForm" wx:if="{{!isSign}}">
  113. <view>提交/Submit</view>
  114. </view>
  115. </view>