index.axml 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  1. <view class="page">
  2. <view
  3. class="{{isShowInterviewee||isShowVisitorLog?'mask':''}} {{isPortraitScreen?'portrait-main':'main'}}"
  4. catchTap="closeMask"
  5. >
  6. <top-title urlPath='../../../' titleText="高级设置" />
  7. <view class="advanced-content">
  8. <view class="form-box">
  9. <text>使用时间期限</text>
  10. <input class="form-input" value="{{form.expirationDate}}" disabled="{{true}}" />
  11. </view>
  12. <view class="form-box">
  13. <text>启用支付宝刷脸登记</text>
  14. <view
  15. class="cus-switch"
  16. data-checked="{{form.useAlipayFace}}"
  17. data-fieldKey="useAlipayFace"
  18. onTap="onSwitchChange"
  19. >
  20. <view class="switch-main {{form.useAlipayFace?'checked':''}} capsule">
  21. </view>
  22. </view>
  23. </view>
  24. <view class="form-box">
  25. <text>启用刷身份证登记</text>
  26. <view
  27. class="cus-switch"
  28. data-checked="{{form.useIdcard}}"
  29. data-fieldKey="useIdcard"
  30. onTap="onSwitchChange"
  31. >
  32. <view class="switch-main {{form.useIdcard?'checked':''}} capsule">
  33. </view>
  34. </view>
  35. </view>
  36. <view a:if="{{form.useIdcard}}" class="form-box">
  37. <text>刷证是否人证比对</text>
  38. <view class="radio-group">
  39. <view
  40. a:for="{{chooseObj['usePersonCard'].chooseItem}}"
  41. a:for-index="radioBoxIndex"
  42. a:for-item="radioBoxItem"
  43. class="radio"
  44. data-item="{{radioBoxItem}}"
  45. data-index="{{radioBoxIndex}}"
  46. data-fieldKey="usePersonCard"
  47. onTap="onRadioChange"
  48. >
  49. <view class="{{radioBoxItem.checked ? 'radioBox-checked':'radioBox-unchecked'}}" />
  50. <text class="radioBox-text">{{radioBoxItem.name}}</text>
  51. </view>
  52. </view>
  53. </view>
  54. <view a:else class="form-box">
  55. </view>
  56. <view class="form-box">
  57. <text>启用无证登记</text>
  58. <view
  59. class="cus-switch"
  60. data-checked="{{form.noIdcardRegister}}"
  61. data-fieldKey="noIdcardRegister"
  62. onTap="onSwitchChange"
  63. >
  64. <view class="switch-main {{form.noIdcardRegister?'checked':''}} capsule">
  65. </view>
  66. </view>
  67. </view>
  68. <view a:if="{{form.noIdcardRegister}}" class="form-box">
  69. <text>无证是否输入手机号</text>
  70. <view class="radio-group">
  71. <view
  72. a:for="{{chooseObj['noIdcardInputPhone'].chooseItem}}"
  73. a:for-index="radioBoxIndex"
  74. a:for-item="radioBoxItem"
  75. class="radio"
  76. data-item="{{radioBoxItem}}"
  77. data-index="{{radioBoxIndex}}"
  78. data-fieldKey="noIdcardInputPhone"
  79. onTap="onRadioChange"
  80. >
  81. <view class="{{radioBoxItem.checked ? 'radioBox-checked':'radioBox-unchecked'}}" />
  82. <text class="radioBox-text">{{radioBoxItem.name}}</text>
  83. </view>
  84. </view>
  85. </view>
  86. <view a:else class="form-box">
  87. </view>
  88. <view class="form-box">
  89. <text>启用微信扫码登记</text>
  90. <view
  91. class="cus-switch"
  92. data-checked="{{form.wxScanRegister}}"
  93. data-fieldKey="wxScanRegister"
  94. onTap="onSwitchChange"
  95. >
  96. <view class="switch-main {{form.wxScanRegister?'checked':''}} capsule">
  97. </view>
  98. </view>
  99. </view>
  100. <view a:if="{{ form.wxScanRegister }}" class="form-box wid">
  101. <text>微信二维码地址</text>
  102. <input
  103. class="form-input"
  104. onInput="getVal"
  105. data-key="wxQrcodeUrl"
  106. value="{{form.wxQrcodeUrl}}"
  107. />
  108. <view class="more-box" catchTap="openChoose" data-key="wxQrcodeUrl">
  109. <image
  110. mode="scaleToFill"
  111. src="https://tx.hz-hanghui.com:8088/yx-fyzd/file/upload/imagesnew/static/settings/more.png"
  112. class="more-icon"
  113. />
  114. </view>
  115. <view a:if="{{ isShowWx}}" class="select-area">
  116. <view
  117. a:for="{{ WXList }}"
  118. class="{{WXList.length<=index+1?'item ':'item border'}}"
  119. onTap="getVal"
  120. data-key="wxQrcodeUrl"
  121. data-name="{{item}}"
  122. >
  123. {{item}}
  124. </view>
  125. </view>
  126. </view>
  127. <view class=" form-box wid">
  128. <text>启用支付宝扫码登记</text>
  129. <view
  130. class="cus-switch"
  131. data-checked="{{form.zfbScanRegister}}"
  132. data-fieldKey="zfbScanRegister"
  133. onTap="onSwitchChange"
  134. >
  135. <view class="switch-main {{form.zfbScanRegister?'checked':''}} capsule">
  136. </view>
  137. </view>
  138. </view>
  139. <view
  140. a:if="{{form.zfbScanRegister}}"
  141. class="form-box wid {{isPortraitScreen ? 'flex-column-start detail-box':''}}"
  142. >
  143. <text>支付宝二维码地址</text>
  144. <input
  145. class="form-input"
  146. onInput="getVal"
  147. data-key="zfbQrcodeUrl"
  148. value="{{form.zfbQrcodeUrl}}"
  149. />
  150. <view class="more-box" catchTap="openChoose" data-key="zfbQrcodeUrl">
  151. <image
  152. mode="scaleToFill"
  153. src="https://tx.hz-hanghui.com:8088/yx-fyzd/file/upload/imagesnew/static/settings/more.png"
  154. class="more-icon"
  155. />
  156. </view>
  157. <view a:if="{{ isShowZfb}}" class="select-area">
  158. <view
  159. a:for="{{ ZFBList }}"
  160. class="{{ZFBList.length<=index+1?'item ':'item border'}}"
  161. onTap="getVal"
  162. data-key="zfbQrcodeUrl"
  163. data-name="{{item}}"
  164. >
  165. {{item}}
  166. </view>
  167. </view>
  168. </view>
  169. <view class="form-box wid" a:if="{{form.transitPushSwitch}}">
  170. <text>访客记录推送地址</text>
  171. <input
  172. class="form-input"
  173. onInput="getVal"
  174. data-key="transitPushUrl"
  175. value="{{form.transitPushUrl}}"
  176. />
  177. <view class="more-box" catchTap="openChoose" data-key="transitPushUrl">
  178. <image
  179. mode="scaleToFill"
  180. src="https://tx.hz-hanghui.com:8088/yx-fyzd/file/upload/imagesnew/static/settings/more.png"
  181. class="more-icon"
  182. />
  183. </view>
  184. <view a:if="{{ isShowVisitorLog}}" class="select-area">
  185. <view
  186. a:for="{{ VisitorLogList }}"
  187. class="{{VisitorLogList.length<=index+1?'item ':'item border'}}"
  188. onTap="getVal"
  189. data-key="transitPushUrl"
  190. data-name="{{item}}"
  191. >
  192. {{item}}
  193. </view>
  194. </view>
  195. </view>
  196. <view class="form-box wid">
  197. <text>获取受访人列表地址</text>
  198. <input
  199. class="form-input"
  200. onInput="getVal"
  201. data-key="visiteeUrl"
  202. value="{{form.visiteeUrl}}"
  203. />
  204. <view class="more-box" catchTap="openChoose" data-key="visiteeUrl">
  205. <image
  206. mode="scaleToFill"
  207. src="https://tx.hz-hanghui.com:8088/yx-fyzd/file/upload/imagesnew/static/settings/more.png"
  208. class="more-icon"
  209. />
  210. </view>
  211. <view a:if="{{ isShowInterviewee}}" class="select-area">
  212. <view
  213. a:for="{{ IntervieweeList }}"
  214. class="{{IntervieweeList.length<=index+1?'item ':'item border'}}"
  215. onTap="getVal"
  216. data-key="visiteeUrl"
  217. data-name="{{item}}"
  218. >
  219. {{item}}
  220. </view>
  221. </view>
  222. </view>
  223. <bottom-parnel suerName="{{'确定'}}" onSure="sure" logOut="/pages/settings/index/index" />
  224. </view>
  225. </view>