weapps-plugin-jingtong-verify 1.4.6 → 1.4.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (223) hide show
  1. package/app.json +41 -33
  2. package/package.json +20 -20
  3. package/sdk.js +289 -289
  4. package/weapps-plugin-jingtong-verify/components/card-modal/card-modal.js +31 -31
  5. package/weapps-plugin-jingtong-verify/components/card-modal/card-modal.json +3 -3
  6. package/weapps-plugin-jingtong-verify/components/card-modal/card-modal.wxml +9 -9
  7. package/weapps-plugin-jingtong-verify/components/card-modal/card-modal.wxss +65 -65
  8. package/weapps-plugin-jingtong-verify/components/custom-steps/custom-steps.js +41 -0
  9. package/weapps-plugin-jingtong-verify/components/custom-steps/custom-steps.json +4 -0
  10. package/weapps-plugin-jingtong-verify/components/custom-steps/custom-steps.wxml +20 -0
  11. package/weapps-plugin-jingtong-verify/components/custom-steps/custom-steps.wxss +112 -0
  12. package/weapps-plugin-jingtong-verify/components/face-error-modal/face-error-modal.js +37 -37
  13. package/weapps-plugin-jingtong-verify/components/face-error-modal/face-error-modal.json +3 -3
  14. package/weapps-plugin-jingtong-verify/components/face-error-modal/face-error-modal.wxml +30 -30
  15. package/weapps-plugin-jingtong-verify/components/face-error-modal/face-error-modal.wxss +79 -79
  16. package/weapps-plugin-jingtong-verify/components/face-modal/face-modal.js +32 -32
  17. package/weapps-plugin-jingtong-verify/components/face-modal/face-modal.json +3 -3
  18. package/weapps-plugin-jingtong-verify/components/face-modal/face-modal.wxml +16 -16
  19. package/weapps-plugin-jingtong-verify/components/face-modal/face-modal.wxss +57 -57
  20. package/weapps-plugin-jingtong-verify/components/gsd-lib/anim/anim.min.js +1 -1
  21. package/weapps-plugin-jingtong-verify/components/gsd-lib/crypto/crypto.js +37 -37
  22. package/weapps-plugin-jingtong-verify/components/gsd-lib/crypto/index.js +44 -44
  23. package/weapps-plugin-jingtong-verify/components/gsd-lib/dayjs/index.js +351 -351
  24. package/weapps-plugin-jingtong-verify/components/gsd-lib/event/index.js +117 -117
  25. package/weapps-plugin-jingtong-verify/components/gsd-lib/index.js +63 -63
  26. package/weapps-plugin-jingtong-verify/components/gsd-lib/map/index.js +10 -10
  27. package/weapps-plugin-jingtong-verify/components/gsd-lib/map/qmap.js +6 -6
  28. package/weapps-plugin-jingtong-verify/components/gsd-lib/storage/index.js +114 -114
  29. package/weapps-plugin-jingtong-verify/components/gsd-lib/utils/index.js +218 -218
  30. package/weapps-plugin-jingtong-verify/components/gsd-ui/behaviors/formCheck.js +72 -72
  31. package/weapps-plugin-jingtong-verify/components/gsd-ui/behaviors/formController.js +47 -47
  32. package/weapps-plugin-jingtong-verify/components/gsd-ui/behaviors/icon.js +11 -11
  33. package/weapps-plugin-jingtong-verify/components/gsd-ui/behaviors/list.js +16 -16
  34. package/weapps-plugin-jingtong-verify/components/gsd-ui/behaviors/navigator.js +33 -33
  35. package/weapps-plugin-jingtong-verify/components/gsd-ui/behaviors/primarySecondButton.js +18 -18
  36. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-agree/index.js +12 -12
  37. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-agree/index.json +5 -5
  38. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-agree/index.wxml +15 -15
  39. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-badge/index.js +47 -47
  40. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-badge/index.json +3 -3
  41. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-badge/index.wxml +13 -13
  42. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-button-group/index.js +44 -44
  43. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-button-group/index.json +5 -5
  44. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-button-group/index.wxml +28 -28
  45. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-cell/index.js +30 -30
  46. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-cell/index.json +6 -6
  47. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-cell/index.wxml +42 -42
  48. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-cell/index.wxss +1 -1
  49. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-date-picker-en/index.js +418 -418
  50. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-date-picker-en/index.json +5 -5
  51. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-date-picker-en/index.wxml +29 -29
  52. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-dropdown/index.js +11 -11
  53. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-dropdown/index.json +3 -3
  54. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-dropdown/index.wxml +4 -4
  55. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form/index.js +182 -179
  56. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form/index.json +6 -6
  57. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form/index.wxml +16 -16
  58. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form-cell/index.js +92 -92
  59. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form-cell/index.json +6 -6
  60. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form-cell/index.wxml +12 -12
  61. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form-cell/index.wxss +2 -2
  62. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form-item/index.js +49 -49
  63. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form-item/index.json +3 -3
  64. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form-item/index.wxml +14 -14
  65. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-icon/index.js +33 -33
  66. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-icon/index.json +3 -3
  67. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-icon/index.wxml +2 -2
  68. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-index-list/index.js +108 -108
  69. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-index-list/index.json +6 -6
  70. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-index-list/index.wxml +53 -53
  71. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-input/index.js +241 -236
  72. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-input/index.json +8 -8
  73. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-input/index.wxml +49 -49
  74. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-picker/index.js +328 -328
  75. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-picker/index.json +6 -6
  76. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-picker/index.wxml +26 -26
  77. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-popover/index.js +159 -159
  78. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-popover/index.json +3 -3
  79. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-popover/index.wxml +10 -10
  80. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-search/index.js +112 -112
  81. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-search/index.json +5 -5
  82. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-search/index.wxml +21 -21
  83. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-switch/index.js +21 -21
  84. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-switch/index.json +7 -7
  85. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-switch/index.wxml +16 -16
  86. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-tips/index.js +50 -50
  87. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-tips/index.json +5 -5
  88. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-tips/index.wxml +27 -27
  89. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/image/add.svg +13 -13
  90. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/image/arrow.svg +14 -14
  91. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/image/delete.svg +16 -16
  92. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/image/preview.svg +21 -21
  93. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/image/user.svg +13 -13
  94. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-agree.wxss +147 -147
  95. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-badge.wxss +41 -41
  96. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-button-group.wxss +244 -244
  97. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-cell.wxss +220 -220
  98. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-dropdown.wxss +115 -115
  99. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-form-cell.wxss +101 -101
  100. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-form-item.wxss +174 -174
  101. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-form.wxss +101 -101
  102. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-icon.wxss +268 -268
  103. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-index-list.wxss +206 -206
  104. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-input.wxss +214 -206
  105. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-picker.wxss +139 -139
  106. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-popover.wxss +129 -129
  107. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-search.wxss +171 -171
  108. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-switch.wxss +176 -176
  109. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-tips.wxss +173 -173
  110. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/icon/iconfont.wxss +160 -160
  111. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/main.wxss +283 -283
  112. package/weapps-plugin-jingtong-verify/components/gsd-ui/utils/helper.js +55 -55
  113. package/weapps-plugin-jingtong-verify/components/gsd-ui/utils/validType.js +117 -117
  114. package/weapps-plugin-jingtong-verify/components/gsd-ui/utils/validator.js +106 -106
  115. package/weapps-plugin-jingtong-verify/components/lock-face-modal/lock-face-modal.js +32 -32
  116. package/weapps-plugin-jingtong-verify/components/lock-face-modal/lock-face-modal.json +3 -3
  117. package/weapps-plugin-jingtong-verify/components/lock-face-modal/lock-face-modal.wxml +8 -8
  118. package/weapps-plugin-jingtong-verify/components/lock-face-modal/lock-face-modal.wxss +57 -57
  119. package/weapps-plugin-jingtong-verify/components/modal/modal.js +32 -32
  120. package/weapps-plugin-jingtong-verify/components/modal/modal.json +3 -3
  121. package/weapps-plugin-jingtong-verify/components/modal/modal.wxml +28 -28
  122. package/weapps-plugin-jingtong-verify/components/modal/modal.wxss +84 -84
  123. package/weapps-plugin-jingtong-verify/components/my-modal/my-modal.js +82 -82
  124. package/weapps-plugin-jingtong-verify/components/my-modal/my-modal.json +3 -3
  125. package/weapps-plugin-jingtong-verify/components/my-modal/my-modal.wxml +18 -18
  126. package/weapps-plugin-jingtong-verify/components/my-modal/my-modal.wxss +72 -72
  127. package/weapps-plugin-jingtong-verify/components/tip-modal/tip-modal.js +47 -39
  128. package/weapps-plugin-jingtong-verify/components/tip-modal/tip-modal.json +3 -3
  129. package/weapps-plugin-jingtong-verify/components/tip-modal/tip-modal.wxml +11 -9
  130. package/weapps-plugin-jingtong-verify/components/tip-modal/tip-modal.wxss +51 -51
  131. package/weapps-plugin-jingtong-verify/components/to-other-modal/to-other-modal.js +73 -0
  132. package/weapps-plugin-jingtong-verify/components/to-other-modal/to-other-modal.json +4 -0
  133. package/weapps-plugin-jingtong-verify/components/to-other-modal/to-other-modal.wxml +19 -0
  134. package/weapps-plugin-jingtong-verify/components/to-other-modal/to-other-modal.wxss +72 -0
  135. package/weapps-plugin-jingtong-verify/i18n/index.js +7 -7
  136. package/weapps-plugin-jingtong-verify/i18n/logout.js +10 -10
  137. package/weapps-plugin-jingtong-verify/i18n/rules.js +374 -262
  138. package/weapps-plugin-jingtong-verify/images/bank-card-verify.png +0 -0
  139. package/weapps-plugin-jingtong-verify/images/chek_right.png +0 -0
  140. package/weapps-plugin-jingtong-verify/images/chevron-down.png +0 -0
  141. package/weapps-plugin-jingtong-verify/images/chevron-up.png +0 -0
  142. package/weapps-plugin-jingtong-verify/pages/bank-card-login/bank-card-login.js +488 -0
  143. package/weapps-plugin-jingtong-verify/pages/bank-card-login/bank-card-login.json +7 -0
  144. package/weapps-plugin-jingtong-verify/pages/bank-card-login/bank-card-login.wxml +73 -0
  145. package/weapps-plugin-jingtong-verify/pages/bank-card-login/bank-card-login.wxss +205 -0
  146. package/weapps-plugin-jingtong-verify/pages/bank-card-login-forgot-face-setting/bank-card-login-forgot-face-setting.js +1218 -0
  147. package/weapps-plugin-jingtong-verify/pages/bank-card-login-forgot-face-setting/bank-card-login-forgot-face-setting.json +10 -0
  148. package/weapps-plugin-jingtong-verify/pages/bank-card-login-forgot-face-setting/bank-card-login-forgot-face-setting.wxml +254 -0
  149. package/weapps-plugin-jingtong-verify/pages/bank-card-login-forgot-face-setting/bank-card-login-forgot-face-setting.wxss +389 -0
  150. package/weapps-plugin-jingtong-verify/pages/bank-card-login-forgot-sms-setting/bank-card-login-forgot-sms-setting.js +66 -0
  151. package/weapps-plugin-jingtong-verify/pages/bank-card-login-forgot-sms-setting/bank-card-login-forgot-sms-setting.wxml +2 -0
  152. package/weapps-plugin-jingtong-verify/pages/bank-card-login-pwd-setting/bank-card-login-pwd-setting.js +461 -0
  153. package/weapps-plugin-jingtong-verify/pages/bank-card-login-pwd-setting/bank-card-login-pwd-setting.json +8 -0
  154. package/weapps-plugin-jingtong-verify/pages/bank-card-login-pwd-setting/bank-card-login-pwd-setting.wxml +67 -0
  155. package/weapps-plugin-jingtong-verify/pages/bank-card-login-pwd-setting/bank-card-login-pwd-setting.wxss +231 -0
  156. package/weapps-plugin-jingtong-verify/pages/bank-card-verify/bank-card-verify.js +477 -0
  157. package/weapps-plugin-jingtong-verify/pages/bank-card-verify/bank-card-verify.json +12 -0
  158. package/weapps-plugin-jingtong-verify/pages/bank-card-verify/bank-card-verify.wxml +120 -0
  159. package/weapps-plugin-jingtong-verify/pages/bank-card-verify/bank-card-verify.wxss +217 -0
  160. package/weapps-plugin-jingtong-verify/pages/bind-phone/bind-phone.js +86 -86
  161. package/weapps-plugin-jingtong-verify/pages/bind-phone/bind-phone.json +6 -6
  162. package/weapps-plugin-jingtong-verify/pages/bind-phone/bind-phone.wxml +20 -20
  163. package/weapps-plugin-jingtong-verify/pages/bind-phone/bind-phone.wxss +51 -51
  164. package/weapps-plugin-jingtong-verify/pages/confirm-phone/confirm-phone.js +167 -167
  165. package/weapps-plugin-jingtong-verify/pages/confirm-phone/confirm-phone.json +3 -3
  166. package/weapps-plugin-jingtong-verify/pages/confirm-phone/confirm-phone.wxml +30 -30
  167. package/weapps-plugin-jingtong-verify/pages/confirm-phone/confirm-phone.wxss +91 -91
  168. package/weapps-plugin-jingtong-verify/pages/face-error-reason/face-error-reason.js +79 -79
  169. package/weapps-plugin-jingtong-verify/pages/face-error-reason/face-error-reason.json +5 -5
  170. package/weapps-plugin-jingtong-verify/pages/face-error-reason/face-error-reason.wxml +19 -19
  171. package/weapps-plugin-jingtong-verify/pages/face-error-reason/face-error-reason.wxss +44 -44
  172. package/weapps-plugin-jingtong-verify/pages/face-verify/face-verify.js +1687 -1548
  173. package/weapps-plugin-jingtong-verify/pages/face-verify/face-verify.json +17 -17
  174. package/weapps-plugin-jingtong-verify/pages/face-verify/face-verify.wxml +516 -504
  175. package/weapps-plugin-jingtong-verify/pages/face-verify/face-verify.wxss +185 -133
  176. package/weapps-plugin-jingtong-verify/pages/log-off/log-off.js +127 -127
  177. package/weapps-plugin-jingtong-verify/pages/log-off/log-off.json +5 -5
  178. package/weapps-plugin-jingtong-verify/pages/log-off/log-off.wxml +36 -36
  179. package/weapps-plugin-jingtong-verify/pages/log-off/log-off.wxss +60 -60
  180. package/weapps-plugin-jingtong-verify/pages/login-help/login-help.js +147 -0
  181. package/weapps-plugin-jingtong-verify/pages/login-help/login-help.json +4 -0
  182. package/weapps-plugin-jingtong-verify/pages/login-help/login-help.wxml +48 -0
  183. package/weapps-plugin-jingtong-verify/pages/login-help/login-help.wxss +166 -0
  184. package/weapps-plugin-jingtong-verify/pages/login-manage/login-manage.js +106 -106
  185. package/weapps-plugin-jingtong-verify/pages/login-manage/login-manage.json +3 -3
  186. package/weapps-plugin-jingtong-verify/pages/login-manage/login-manage.wxml +29 -29
  187. package/weapps-plugin-jingtong-verify/pages/login-manage/login-manage.wxss +68 -68
  188. package/weapps-plugin-jingtong-verify/pages/login-manage-setting/login-manage-setting.js +156 -0
  189. package/weapps-plugin-jingtong-verify/pages/login-manage-setting/login-manage-setting.json +4 -0
  190. package/weapps-plugin-jingtong-verify/pages/login-manage-setting/login-manage-setting.wxml +19 -0
  191. package/weapps-plugin-jingtong-verify/pages/login-manage-setting/login-manage-setting.wxss +69 -0
  192. package/weapps-plugin-jingtong-verify/pages/logoff-success/logoff-success.js +24 -24
  193. package/weapps-plugin-jingtong-verify/pages/logoff-success/logoff-success.json +3 -3
  194. package/weapps-plugin-jingtong-verify/pages/logoff-success/logoff-success.wxml +12 -12
  195. package/weapps-plugin-jingtong-verify/pages/logoff-success/logoff-success.wxss +33 -33
  196. package/weapps-plugin-jingtong-verify/pages/nation-list/nation-list.js +110 -110
  197. package/weapps-plugin-jingtong-verify/pages/nation-list/nation-list.json +6 -6
  198. package/weapps-plugin-jingtong-verify/pages/nation-list/nation-list.wxml +9 -9
  199. package/weapps-plugin-jingtong-verify/pages/nation-list/nation-list.wxss +1 -1
  200. package/weapps-plugin-jingtong-verify/pages/passport-verify/passport-verify.js +854 -854
  201. package/weapps-plugin-jingtong-verify/pages/passport-verify/passport-verify.json +11 -11
  202. package/weapps-plugin-jingtong-verify/pages/passport-verify/passport-verify.wxml +162 -162
  203. package/weapps-plugin-jingtong-verify/pages/passport-verify/passport-verify.wxss +64 -64
  204. package/weapps-plugin-jingtong-verify/pages/setting/setting.js +331 -328
  205. package/weapps-plugin-jingtong-verify/pages/setting/setting.json +5 -5
  206. package/weapps-plugin-jingtong-verify/pages/setting/setting.wxml +91 -91
  207. package/weapps-plugin-jingtong-verify/pages/setting/setting.wxss +69 -69
  208. package/weapps-plugin-jingtong-verify/pages/user-info/user-info.js +306 -306
  209. package/weapps-plugin-jingtong-verify/pages/user-info/user-info.json +7 -7
  210. package/weapps-plugin-jingtong-verify/pages/user-info/user-info.wxml +142 -142
  211. package/weapps-plugin-jingtong-verify/pages/user-info/user-info.wxss +110 -110
  212. package/weapps-plugin-jingtong-verify/style/page.wxss +13 -13
  213. package/weapps-plugin-jingtong-verify/utils/QDTrackerNew/QDTracker.js +15 -15
  214. package/weapps-plugin-jingtong-verify/utils/QDTrackerNew/QDTrackerMain.js +59 -59
  215. package/weapps-plugin-jingtong-verify/utils/constantVal.js +75 -0
  216. package/weapps-plugin-jingtong-verify/utils/country.js +209 -209
  217. package/weapps-plugin-jingtong-verify/utils/index.js +306 -306
  218. package/weapps-plugin-jingtong-verify/utils/jsencrypt.min.js +1 -1
  219. package/weapps-plugin-jingtong-verify/utils/md5.js +184 -0
  220. package/weapps-plugin-jingtong-verify/utils/request.js +604 -1
  221. package/weapps-plugin-jingtong-verify/utils/rules.js +387 -301
  222. package/weapps-plugin-jingtong-verify/utils/tifadmin_config.js +61 -61
  223. package/weapps-plugin-jingtong-verify/utils/validate.js +894 -772
@@ -0,0 +1,10 @@
1
+ {
2
+ "usingComponents": {
3
+ "custom-steps": "../../components/custom-steps/custom-steps",
4
+ "g-form": "../../components/gsd-ui/g-form/index",
5
+ "g-input": "../../components/gsd-ui/g-input/index",
6
+ "tip-modal": "../../components/tip-modal/tip-modal",
7
+ "to-other-modal": "../../components/to-other-modal/to-other-modal"
8
+ },
9
+ "navigationBarTitleText": "设置密码"
10
+ }
@@ -0,0 +1,254 @@
1
+ <!-- <view wx:if="showCustomTips" class="custom-tips">
2
+ <g-tips position="fixed" is-show="{{showCustomTips}}" status="warn" closeable catch:close="handleTipsClose">
3
+ {{customTipsMsg}}
4
+ </g-tips>
5
+ </view> -->
6
+ <view class="{{ language == 'en' ? 'en-page' : ''}}">
7
+ <view class="top-box">
8
+ <view class="img-box">
9
+ <image src="../../images/Frame.png" mode="aspectFit" class="img"></image>
10
+ </view>
11
+ <view class="title">{{ language == 'zh_CN' ? '设置新登录密码' : 'Set new login password' }}</view>
12
+ <view class="title_describe">{{ language == 'zh_CN' ? '保护您个人信息更安全' : 'Protect your personal information more securely' }}</view>
13
+ </view>
14
+ <view class="content-box" wx:if="{{ language === 'zh_CN' }}">
15
+ <!-- 完整配置 -->
16
+ <custom-steps
17
+ steps="{{ steps }}"
18
+ active="{{ currentStep }}"
19
+ active-color="#ce0022"
20
+ inactive-color="#ccc"
21
+ bind:stepTap="onStepTap"
22
+ />
23
+ <!-- 根据当前步骤显示不同内容 -->
24
+ <view class="step-content">
25
+ <!-- 第一步:信息确认 -->
26
+ <view wx:if="{{ currentStep === 0 }}" class="step-panel">
27
+ <g-form
28
+ id="form"
29
+ model="{{ formData }}"
30
+ rules="{{ rules }}"
31
+ validateType="{{ validateType }}"
32
+ primary-text="开始人脸识别"
33
+ bind:submit="handleFormSubmit"
34
+ >
35
+ <!-- 姓名 -->
36
+ <view class="form-item-wrap">
37
+ <g-input
38
+ id="name"
39
+ label="姓名"
40
+ placeholder="请输入本人姓名"
41
+ value="{{ formData.name }}"
42
+ clearable="{{false}}"
43
+ class="readonly-input"
44
+ bind:change="handleChange"
45
+ />
46
+ </view>
47
+ <view class="form-item-wrap">
48
+ <g-input
49
+ id="id_card_number"
50
+ data-star="strCid"
51
+ label="证件号码"
52
+ placeholder="请输入本人证件号码"
53
+ value="{{ formData.strCid || formData.id_card_number }}"
54
+ showEye="{{ formData.id_card_number }}"
55
+ isOpen="{{ !formData.strCid }}"
56
+ clearable="{{ false }}"
57
+ class="readonly-input"
58
+ isOpen="{{ !formData.strCid }}"
59
+ showQuestion="{{ true }}"
60
+ bind:showQuestionTip="showQuestionTip"
61
+ bind:openEye="openEye"
62
+ />
63
+ </view>
64
+ </g-form>
65
+ <!-- 其他方式 start -->
66
+ <view class="other-way">
67
+ <view class="other-way-btn" bind:tap="handletoOther">
68
+ 其他方式
69
+ </view>
70
+ </view>
71
+ </view>
72
+ <!-- 第二步:安全验证 -->
73
+ <view wx:if="{{ currentStep === 1 }}" class="step-panel">
74
+ <g-form
75
+ id="formSafe"
76
+ model="{{ formSafeData }}"
77
+ rules="{{ safeRules }}"
78
+ validateType="{{ validateSafeType }}"
79
+ primary-text="下一步"
80
+ bind:submit="handleSafeFormSubmit"
81
+ >
82
+ <view class="form-item-wrap">
83
+ <!-- <g-input
84
+ id="id_card_number"
85
+ data-star="strCid"
86
+ label="身份证号码"
87
+ placeholder="请输入本人证件号码"
88
+ value="{{ formSafeData.strCid || formSafeData.id_card_number }}"
89
+ clearable="{{ false }}"
90
+ class="readonly-input"
91
+ isOpen="{{ !formSafeData.strCid }}"
92
+ bind:change="handleSafeChange"
93
+ showQuestion="{{ true }}"
94
+ bind:showQuestionTip="showQuestionTip"
95
+ /> -->
96
+
97
+ <!-- isOpen="{{ !formData.strCid }}" -->
98
+ <!-- bind:openEye="openEye" -->
99
+ <!-- showEye="{{ formData.id_card_number }}" -->
100
+ <g-input
101
+ id="id_card_number"
102
+ data-star="strCid"
103
+ label="身份证号码"
104
+ placeholder="请输入本人证件号码"
105
+ value="{{ formSafeData.strCid || formSafeData.id_card_number }}"
106
+ clearable="{{ false }}"
107
+ bind:change="handleSafeChange"
108
+ showQuestion="{{ true }}"
109
+ bind:showQuestionTip="showQuestionTip"
110
+ bind:blur="getTailNumber"
111
+ />
112
+ </view>
113
+ <!-- 手机号码 -->
114
+ <view class="form-item-wrap">
115
+ <g-input
116
+ id="phone_number"
117
+ label="手机号码"
118
+ placeholder="{{ '请输入您的手机号码' + phoneNumberEndTitle }}"
119
+ value="{{ formSafeData.phone_number }}"
120
+ clearable="true"
121
+ bind:change="handleSafeChange"
122
+ />
123
+ </view>
124
+ <!-- 验证码 -->
125
+ <view class="form-item-wrap">
126
+ <g-input
127
+ id="verification_code"
128
+ label="验证码"
129
+ placeholder="请填写短信验证码"
130
+ value="{{ formSafeData.verification_code }}"
131
+ clearable="true"
132
+ bind:change="handleSafeChange"
133
+ append="true"
134
+ >
135
+ <view
136
+ slot="append"
137
+ class="verification-btn {{ isCountingDown ? 'disabled' : '' }}"
138
+ bind:tap="sendVerificationCode"
139
+ >
140
+ {{ verificationText }}
141
+ </view>
142
+ </g-input>
143
+ </view>
144
+ <!-- 收不到验证码 -->
145
+ <view class="form-item-wrap">
146
+ <view class="not_get_verification_code" bind:tap="handleNotVerificationTipModal">
147
+ 收不到验证码?
148
+ </view>
149
+ </view>
150
+ </g-form>
151
+ </view>
152
+ <!-- 第三步:重置密码 -->
153
+ <view wx:if="{{ currentStep === 2 }}" class="step-panel">
154
+ <view class="describe-box" style="margin-top: 5rpx">
155
+ <view class="special-describe-box" >
156
+ <view>请注意:</view>
157
+ <view>密码为8~20位字符,需含数字、大写字母、小写字母、特殊字符中的两种及以上。</view>
158
+ </view>
159
+ </view>
160
+ <g-form
161
+ id="formPwd"
162
+ model="{{ formPwdData }}"
163
+ rules="{{ pwdRules }}"
164
+ validateType="{{ validatePwdType }}"
165
+ primary-text="确认"
166
+ bind:submit="handlePwdFormSubmit"
167
+ >
168
+ <!-- 设置登录密码 -->
169
+ <view class="form-item-wrap">
170
+ <view class="form-item-header">
171
+ <text class="form-label">设置新密码*</text>
172
+ <view class="password-strength-indicator">
173
+ <view class="strength-bar">
174
+ <view class="strength-segment weak {{ passwordStrength >= 1 ? 'active' : '' }}"></view>
175
+ <view class="strength-segment medium {{ passwordStrength >= 2 ? 'active' : '' }}"></view>
176
+ <view class="strength-segment strong {{ passwordStrength >= 3 ? 'active' : '' }}"></view>
177
+ </view>
178
+ <view class="strength-text {{ passwordStrength >= 3 ? 'strong' : passwordStrength >= 2 ? 'medium' : 'weak' }}">
179
+ {{ passwordStrengthText }}
180
+ </view>
181
+ </view>
182
+ </view>
183
+ <g-input
184
+ id="bank_card_password"
185
+ placeholder="请输入新登录密码"
186
+ value="{{ formPwdData.bank_card_password }}"
187
+ clearable="true"
188
+ password="true"
189
+ maxlength="20"
190
+ bind:change="handlePwdChange"
191
+ bind:input="handlePwdChange"
192
+ bind:blur="handlePwdStrongChange"
193
+ />
194
+ </view>
195
+ <!-- 确认登录密码 -->
196
+ <view class="form-item-wrap">
197
+ <g-input
198
+ id="bank_card_pwd_password"
199
+ label="确认登录密码"
200
+ placeholder="请再次输入新登录密码"
201
+ value="{{ formPwdData.bank_card_pwd_password }}"
202
+ clearable="true"
203
+ password="true"
204
+ maxlength="20"
205
+ bind:change="handlePwdChange"
206
+ bind:input="handlePwdChange"
207
+ bind:blur="handlePwdChange"
208
+ />
209
+ </view>
210
+ </g-form>
211
+ </view>
212
+ </view>
213
+ </view>
214
+ </view>
215
+
216
+ <!-- 收不到验证码弹窗 -->
217
+ <tip-modal
218
+ visible="{{ showNotGetVerificationCodeTipModal }}"
219
+ bind:cancel="handleNotGetVerificationCodeTipModalCancel"
220
+ xAlign="left"
221
+ desc1="1、短信验证码会发送至您已在京通绑定的手机号。"
222
+ desc2="2、请确认当前手机信号良好并已关闭飞行模式。"
223
+ desc3="3、请检查短信是否被手机安全软件拦截。"
224
+ desc4="4、如仍收不到短信验证码,请尝试使用人脸识别方式验证。"
225
+ ></tip-modal>
226
+ <!-- 姓名、证件号码提示弹窗 -->
227
+ <tip-modal
228
+ visible="{{ showTipModal }}"
229
+ bind:cancel="handleModalOk"
230
+ desc1="1、如果您在公安局变更了您的姓名或证件号码等信息,请您填写变更后的身份信息进行登录。"
231
+ desc2="2、如果当前显示为他人信息(亲属/朋友等),请您删除后使用本人身份信息进行登录。"
232
+ ></tip-modal>
233
+ <!-- 人脸认证弹窗 -->
234
+ <to-other-modal
235
+ title="提示"
236
+ Confirm="true"
237
+ Cancel="true"
238
+ ConfirmText="银行卡验证"
239
+ CancelText="取消"
240
+ confirmColor="#ce0022"
241
+ cancelColor="#999"
242
+ visible="{{ showToOtherModal }}"
243
+ bindConfirmBtn="handleToBankCard"
244
+ bindCancelBtn="handleToCancel">
245
+ <view class="leave-modal">
246
+ <view style="color: #666666;">因您多次人脸识别验证未能通过,为保障账户安全,人脸识别的验证方式已暂时锁定,锁定期间您可使用银行卡方式进行验证或待锁定时效(10 分钟)结束后,重新尝试人脸识别验证。</view>
247
+ </view>
248
+ </to-other-modal>
249
+ <!-- 人脸认证弹窗 -->
250
+ <tip-modal
251
+ visible="{{ showTipFaceModal }}"
252
+ bind:cancel="handleFaceModalOk"
253
+ desc1="因您多次人脸识别验证未能通过,为保障账户安全,人脸识别的验证方式已暂时锁定,待锁定时效(10分钟)结束后,重新尝试人脸识别验证。"
254
+ ></tip-modal>
@@ -0,0 +1,389 @@
1
+ @import '../../components/gsd-ui/static/style/main';
2
+
3
+ .top-box {
4
+ display: flex;
5
+ justify-content: center;
6
+ align-items: center;
7
+ flex-direction: column;
8
+ }
9
+
10
+ .title {
11
+ font-size: 44rpx;
12
+ text-align: center;
13
+ }
14
+ .title_describe{
15
+ font-size: 32rpx;
16
+ margin-bottom: 44rpx;
17
+ margin-top: 30rpx;
18
+ text-align: center;
19
+ color: #62667A;
20
+ }
21
+ .en-page .title {
22
+ font-size: 36rpx;
23
+ }
24
+
25
+ .info {
26
+ margin-top: 28rpx;
27
+ color: #999999;
28
+ }
29
+
30
+ .agree-box {
31
+ font-size: 28rpx;
32
+ color: #979797;
33
+ padding: 0 40rpx 0;
34
+ }
35
+
36
+ .agree-box text {
37
+ line-height: 40rpx;
38
+ }
39
+ .describe-box {
40
+ display: flex;
41
+ align-items: center;
42
+ justify-content: center;
43
+ padding-left: 20px;
44
+ padding-right: 20px;
45
+ }
46
+
47
+ .special-describe-box {
48
+ display: flex;
49
+ background: #9096a41a;
50
+ flex-direction: column;
51
+ border-radius: 8px;
52
+ padding: 12px;
53
+ flex: 1 0 0;
54
+ color: #ce0022;
55
+ font-family: "PingFang SC";
56
+ font-size: 14px;
57
+ font-style: normal;
58
+ font-weight: 500;
59
+ line-height: 24px;
60
+ }
61
+
62
+ .img-box {
63
+ width: 160rpx;
64
+ height: 160rpx;
65
+ margin: 56rpx 0 52rpx;
66
+ }
67
+
68
+ .img {
69
+ width: 160rpx;
70
+ height: 160rpx;
71
+ }
72
+
73
+ .link {
74
+ color: #ce0022;
75
+ }
76
+
77
+ .content-box {
78
+ padding-bottom: 60rpx;
79
+ }
80
+
81
+ .form-tip {
82
+ /* border: 1px solid red; */
83
+ border-radius: 24rpx;
84
+ background: linear-gradient(180deg, #f1f4f9ff 0%, #faf8f700 100%);
85
+ padding: 32rpx 36rpx 0;
86
+ display: flex;
87
+ flex-direction: row;
88
+ justify-content: flex-start;
89
+ align-items: flex-start;
90
+ margin-top: -2rpx;
91
+ }
92
+ .space-block {
93
+ width: 6rpx;
94
+ height: 20rpx;
95
+ background: #ce0022;
96
+ margin-right: 8rpx;
97
+ flex-shrink: 0;
98
+ margin-top: 10rpx;
99
+ }
100
+ .tip-desc {
101
+ color: #27282eff;
102
+ font-size: 14px;
103
+ }
104
+ .form-options {
105
+ width: 750rpx;
106
+ background: linear-gradient( #F5FAFF 0%, #F1F7FF 100%);
107
+ padding: 0 20rpx 20rpx;
108
+ box-sizing: border-box;
109
+ }
110
+
111
+ .foreign-tip {
112
+ display: flex;
113
+ flex-direction: row;
114
+ justify-content: space-between;
115
+ align-items: center;
116
+ margin: -12rpx 32rpx 0;
117
+ background: #EEF2F6;
118
+ border-radius: 8rpx;
119
+ padding: 24rpx 16rpx 24rpx 24rpx;
120
+ position: relative;
121
+ }
122
+ .foreign-tip::before {
123
+ content: '';
124
+ position: absolute;
125
+ /* border-left: 17rpx solid transparent; */
126
+ border-top: 17rpx solid transparent;
127
+ border-bottom: 17rpx solid #EEF2F6;
128
+ border-right: 17rpx solid transparent;
129
+ top: -30rpx;
130
+ right: 18rpx;
131
+
132
+ }
133
+ .foreign-tip text {
134
+ font-weight: 500;
135
+ font-size: 26rpx;
136
+ color: #62667A;
137
+ line-height: 30rpx;
138
+ }
139
+ .foreign-tip image {
140
+ width: 40rpx;
141
+ height: 40rpx;
142
+ flex-shrink: 0;
143
+ }
144
+
145
+ .form-item__status-message--warn {
146
+ color: #f13939;
147
+ font-size: 30rpx;
148
+ line-height: 40rpx;
149
+ margin-top: 10rpx;
150
+ padding-left: 40rpx;
151
+ padding-right: 40rpx;
152
+ }
153
+
154
+ .custom-tips {
155
+ position: fixed;
156
+ z-index: 905;
157
+ box-sizing: border-box;
158
+ top: 0rpx;
159
+ width: 100%;
160
+ }
161
+ .forgot-password {
162
+ color: #CE0022;
163
+ font-size: 32rpx;
164
+ white-space: nowrap;
165
+ padding: 0 10rpx;
166
+ cursor: pointer;
167
+ transition: opacity 0.2s ease; /* 过渡效果 */
168
+ }
169
+
170
+ .forgot-password:active {
171
+ opacity: 0.6; /* 点击时透明度变化 */
172
+ }
173
+
174
+ /* 如果需要下划线效果 */
175
+ .forgot-password.underlined {
176
+ text-decoration: underline;
177
+ }
178
+
179
+ .other-way{
180
+ display: flex;
181
+ align-items: center;
182
+ justify-content: center;
183
+ padding-left:40rpx;
184
+ padding-right: 40rpx;
185
+ padding-top: 30rpx;
186
+ }
187
+
188
+ .other-way-btn{
189
+ width: 100%;
190
+ height: 76rpx;
191
+ border: 1px solid #CE0022;
192
+ display: flex;
193
+ align-items: center;
194
+ justify-content: center;
195
+ border-radius: 10rpx;
196
+ color: #CE0022;
197
+ }
198
+
199
+ /* 步骤条以及内容 */
200
+ .step-content {
201
+ margin-top: 5rpx;
202
+ }
203
+
204
+ .step-panel {
205
+ /* background: #fff; */
206
+ border-radius: 20rpx;
207
+ /* padding: 20rpx; */
208
+ /* box-shadow: 0 4rpx 20rpx rgba(0,0,0,0.1); */
209
+ }
210
+
211
+ .panel-title {
212
+ font-size: 36rpx;
213
+ font-weight: bold;
214
+ color: #333;
215
+ margin-bottom: 40rpx;
216
+ text-align: center;
217
+ }
218
+
219
+ .form-item {
220
+ margin-bottom: 30rpx;
221
+ }
222
+
223
+ .label {
224
+ font-size: 28rpx;
225
+ color: #666;
226
+ margin-right: 20rpx;
227
+ }
228
+
229
+ .value {
230
+ font-size: 28rpx;
231
+ color: #333;
232
+ }
233
+
234
+ .verify-methods {
235
+ display: flex;
236
+ justify-content: space-around;
237
+ margin-bottom: 40rpx;
238
+ }
239
+
240
+ .method-item {
241
+ display: flex;
242
+ flex-direction: column;
243
+ align-items: center;
244
+ padding: 30rpx;
245
+ border: 2rpx solid #eee;
246
+ border-radius: 20rpx;
247
+ background: #f9f9f9;
248
+ }
249
+
250
+ .method-icon {
251
+ font-size: 60rpx;
252
+ margin-bottom: 20rpx;
253
+ }
254
+
255
+ .method-text {
256
+ font-size: 28rpx;
257
+ color: #333;
258
+ }
259
+
260
+ .btn-primary {
261
+ width: 100%;
262
+ height: 88rpx;
263
+ background: #ce0022;
264
+ color: #fff;
265
+ border-radius: 44rpx;
266
+ font-size: 32rpx;
267
+ margin-top: 40rpx;
268
+ }
269
+
270
+ .btn-primary:disabled {
271
+ background: #ccc;
272
+ }
273
+
274
+ /* 短信验证码 */
275
+ /* 验证码按钮样式 */
276
+ .verification-btn {
277
+ display: inline-flex;
278
+ align-items: center;
279
+ justify-content: center;
280
+ height: 64rpx; /* 胶囊高度 */
281
+ padding: 0 28rpx; /* 左右内边距 */
282
+ background: #ce0022; /* 红底 */
283
+ color: #ffffff; /* 白字 */
284
+ font-size: 28rpx;
285
+ white-space: nowrap;
286
+ border-radius: 40rpx; /* 圆角形成胶囊 */
287
+ transition: opacity 0.2s ease;
288
+ cursor: pointer;
289
+ box-shadow: 0 4rpx 12rpx rgba(206, 0, 34, 0.18);
290
+ }
291
+
292
+ /* 倒计时状态样式 */
293
+ .verification-btn.disabled {
294
+ background: #E6E6E6; /* 灰底 */
295
+ color: #999999; /* 灰字 */
296
+ box-shadow: none;
297
+ cursor: not-allowed;
298
+ }
299
+
300
+ /* 点击效果 */
301
+ .verification-btn:active:not(.disabled) {
302
+ opacity: 0.85;
303
+ }
304
+
305
+ /* 收不到验证码 */
306
+ .not_get_verification_code{
307
+ padding:40rpx; color: #ce0022;
308
+ font-family: "PingFang SC";
309
+ font-size: 34rpx;
310
+ font-style: normal;
311
+ font-weight: 500;
312
+ line-height: normal;
313
+ letter-spacing: -0.3px;
314
+ padding: 40rpx;
315
+ }
316
+
317
+ /* 设置密码强度样式 */
318
+ .form-item-header {
319
+ display: flex;
320
+ align-items: center;
321
+ justify-content: space-between;
322
+ margin-top: 40rpx;
323
+ margin-bottom: -30rpx;
324
+ padding: 0 40rpx;
325
+ }
326
+
327
+ .form-label {
328
+ font-size: 30rpx;
329
+ line-height: 40rpx;
330
+ margin-bottom: 6rpx;
331
+ }
332
+
333
+ .password-strength-indicator {
334
+ display: flex;
335
+ align-items: center;
336
+ gap: 50rpx;
337
+ }
338
+
339
+ .strength-bar {
340
+ display: flex;
341
+ gap: 4rpx;
342
+ }
343
+
344
+ .strength-segment {
345
+ width: 60rpx;
346
+ height: 10rpx;
347
+ border-radius: 4rpx;
348
+ background-color: #e5e5e5;
349
+ transition: background-color 0.3s ease;
350
+ }
351
+
352
+ .strength-segment.weak.active {
353
+ background-color: #ff4757;
354
+ }
355
+
356
+ .strength-segment.medium.active {
357
+ background-color: #ffa502;
358
+ }
359
+
360
+ .strength-segment.strong.active {
361
+ background-color: #2ed573;
362
+ }
363
+
364
+ .strength-text {
365
+ font-size: 28rpx;
366
+ font-weight: bold;
367
+ }
368
+
369
+ .strength-text.weak {
370
+ color: #ff4757;
371
+ }
372
+
373
+ .strength-text.medium {
374
+ color: #ffa502;
375
+ }
376
+
377
+ .strength-text.strong {
378
+ color: #2ed573;
379
+ }
380
+
381
+ .readonly-input input {
382
+ pointer-events: none !important;
383
+ color: #333 !important;
384
+ }
385
+
386
+ /* 保持图标可点击 */
387
+ .readonly-input .input__icon__container {
388
+ pointer-events: auto !important;
389
+ }
@@ -0,0 +1,66 @@
1
+ // weapps-plugin-jingtong-verify/pages/bank-card-login-forgot-sms-setting/bank-card-login-forgot-sms-setting.js
2
+ Page({
3
+
4
+ /**
5
+ * 页面的初始数据
6
+ */
7
+ data: {
8
+
9
+ },
10
+
11
+ /**
12
+ * 生命周期函数--监听页面加载
13
+ */
14
+ onLoad(options) {
15
+
16
+ },
17
+
18
+ /**
19
+ * 生命周期函数--监听页面初次渲染完成
20
+ */
21
+ onReady() {
22
+
23
+ },
24
+
25
+ /**
26
+ * 生命周期函数--监听页面显示
27
+ */
28
+ onShow() {
29
+
30
+ },
31
+
32
+ /**
33
+ * 生命周期函数--监听页面隐藏
34
+ */
35
+ onHide() {
36
+
37
+ },
38
+
39
+ /**
40
+ * 生命周期函数--监听页面卸载
41
+ */
42
+ onUnload() {
43
+
44
+ },
45
+
46
+ /**
47
+ * 页面相关事件处理函数--监听用户下拉动作
48
+ */
49
+ onPullDownRefresh() {
50
+
51
+ },
52
+
53
+ /**
54
+ * 页面上拉触底事件的处理函数
55
+ */
56
+ onReachBottom() {
57
+
58
+ },
59
+
60
+ /**
61
+ * 用户点击右上角分享
62
+ */
63
+ onShareAppMessage() {
64
+
65
+ }
66
+ })