weapps-plugin-jingtong-verify 1.4.6 → 1.4.7

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 (222) 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/request.js +604 -1
  220. package/weapps-plugin-jingtong-verify/utils/rules.js +387 -301
  221. package/weapps-plugin-jingtong-verify/utils/tifadmin_config.js +61 -61
  222. package/weapps-plugin-jingtong-verify/utils/validate.js +894 -772
@@ -1,4 +1,4 @@
1
- {
2
- "usingComponents": {},
3
- "navigationBarTitleText": "选择登录方式"
1
+ {
2
+ "usingComponents": {},
3
+ "navigationBarTitleText": "选择登录方式"
4
4
  }
@@ -1,29 +1,29 @@
1
- <!--weapps-plugin-jingtong-verify/pages/login-manage/login-manage.wxml-->
2
- <view>
3
- <view class="top-box">
4
- <text class="title">请选择默认登录方式</text>
5
- </view>
6
- <view class="content-box">
7
- <radio-group bindchange="radioChange">
8
- <label wx:for="{{ loginDayArr }}" wx:key="index">
9
- <view class="cell">
10
- <radio value="{{ item.value }}" color="{{ color }}" checked="{{ item.checked }}"/>
11
- <text class="name">{{ item.name }}</text>
12
- <view class="tips-style inTips">{{ item.tips }}</view>
13
- </view>
14
- </label>
15
- </radio-group>
16
- <!-- <view class="outTips">
17
- <view>
18
- <image src="../../images/tips.png" mode="" class="img"/>
19
- <text class="tipsTitle">温馨提示:</text>
20
- </view>
21
- <view class="tipsInfo tips-style">
22
- 若退出登录,则需重新进行人脸识别验证
23
- </view>
24
- </view> -->
25
- </view>
26
- <view class="bottom-box">
27
- <button class="btn" bindtap="confirm">确认</button>
28
- </view>
29
- </view>
1
+ <!--weapps-plugin-jingtong-verify/pages/login-manage/login-manage.wxml-->
2
+ <view>
3
+ <view class="top-box">
4
+ <text class="title">请选择默认登录方式</text>
5
+ </view>
6
+ <view class="content-box">
7
+ <radio-group bindchange="radioChange">
8
+ <label wx:for="{{ loginDayArr }}" wx:key="index">
9
+ <view class="cell">
10
+ <radio value="{{ item.value }}" color="{{ color }}" checked="{{ item.checked }}"/>
11
+ <text class="name">{{ item.name }}</text>
12
+ <view class="tips-style inTips">{{ item.tips }}</view>
13
+ </view>
14
+ </label>
15
+ </radio-group>
16
+ <!-- <view class="outTips">
17
+ <view>
18
+ <image src="../../images/tips.png" mode="" class="img"/>
19
+ <text class="tipsTitle">温馨提示:</text>
20
+ </view>
21
+ <view class="tipsInfo tips-style">
22
+ 若退出登录,则需重新进行人脸识别验证
23
+ </view>
24
+ </view> -->
25
+ </view>
26
+ <view class="bottom-box">
27
+ <button class="btn" bindtap="confirm">确认</button>
28
+ </view>
29
+ </view>
@@ -1,69 +1,69 @@
1
- /* weapps-plugin-jingtong-verify/pages/login-manage/login-manage.wxss */
2
- .top-box {
3
- margin-left: 32rpx;
4
- margin-top: 32rpx;
5
- margin-bottom: 80rpx;
6
- }
7
- .title {
8
- font-size: 32rpx;
9
- font-weight: 700;
10
- }
11
- .title::before {
12
- content: '';
13
- display: inline-block;
14
- width: 8rpx;
15
- height: 28rpx;
16
- border-radius: 2rpx;
17
- background: #ce0022;
18
- margin-right: 12rpx;
19
- }
20
- .cell {
21
- border-bottom: 1px solid #EDEDED;
22
- margin: 0 32rpx 40rpx;
23
- }
24
- .name {
25
- margin-left: 32rpx;
26
- vertical-align: middle;
27
- }
28
- .bottom-box {
29
- margin: 40rpx auto 0;
30
- width: 686rpx;
31
- height: 96rpx;
32
- }
33
- .btn {
34
- width: 100% !important;
35
- height: 100% !important;
36
- display: flex;
37
- justify-content: center;
38
- align-items: center;
39
- background: #ce0022;
40
- color: #ffffff;
41
- font-size: 34rpx;
42
- box-shadow: 0 24rpx 48rpx 0 rgba(206,0,34,0.15);
43
- }
44
- .tips-style {
45
- color: #62667A;
46
- font-size: 28rpx;
47
- }
48
- .inTips {
49
- margin-left: 88rpx;
50
- margin-bottom: 40rpx;
51
- margin-top: 16rpx;
52
- }
53
- .img {
54
- width: 32rpx;
55
- height: 32rpx;
56
- margin-left: 32rpx;
57
- margin-right: 16rpx;
58
- vertical-align: middle;
59
- }
60
- .tipsTitle {
61
- color: #ce0022;
62
- font-size: 28rpx;
63
- line-height: 32rpx;
64
- }
65
- .tipsInfo {
66
- margin-left: 32rpx;
67
- margin-top: 12rpx;
68
- margin-bottom: 80rpx;
1
+ /* weapps-plugin-jingtong-verify/pages/login-manage/login-manage.wxss */
2
+ .top-box {
3
+ margin-left: 32rpx;
4
+ margin-top: 32rpx;
5
+ margin-bottom: 80rpx;
6
+ }
7
+ .title {
8
+ font-size: 32rpx;
9
+ font-weight: 700;
10
+ }
11
+ .title::before {
12
+ content: '';
13
+ display: inline-block;
14
+ width: 8rpx;
15
+ height: 28rpx;
16
+ border-radius: 2rpx;
17
+ background: #ce0022;
18
+ margin-right: 12rpx;
19
+ }
20
+ .cell {
21
+ border-bottom: 1px solid #EDEDED;
22
+ margin: 0 32rpx 40rpx;
23
+ }
24
+ .name {
25
+ margin-left: 32rpx;
26
+ vertical-align: middle;
27
+ }
28
+ .bottom-box {
29
+ margin: 40rpx auto 0;
30
+ width: 686rpx;
31
+ height: 96rpx;
32
+ }
33
+ .btn {
34
+ width: 100% !important;
35
+ height: 100% !important;
36
+ display: flex;
37
+ justify-content: center;
38
+ align-items: center;
39
+ background: #ce0022;
40
+ color: #ffffff;
41
+ font-size: 34rpx;
42
+ box-shadow: 0 24rpx 48rpx 0 rgba(206,0,34,0.15);
43
+ }
44
+ .tips-style {
45
+ color: #62667A;
46
+ font-size: 28rpx;
47
+ }
48
+ .inTips {
49
+ margin-left: 88rpx;
50
+ margin-bottom: 40rpx;
51
+ margin-top: 16rpx;
52
+ }
53
+ .img {
54
+ width: 32rpx;
55
+ height: 32rpx;
56
+ margin-left: 32rpx;
57
+ margin-right: 16rpx;
58
+ vertical-align: middle;
59
+ }
60
+ .tipsTitle {
61
+ color: #ce0022;
62
+ font-size: 28rpx;
63
+ line-height: 32rpx;
64
+ }
65
+ .tipsInfo {
66
+ margin-left: 32rpx;
67
+ margin-top: 12rpx;
68
+ margin-bottom: 80rpx;
69
69
  }
@@ -0,0 +1,156 @@
1
+ const jingtongVerifyRequest = require('../../utils/request')
2
+ const { flow } = require("@wecity/weda-plugin-utils");
3
+ import { SDKTrack, setAccountInfo } from '../../utils/QDTrackerNew/QDTrackerMain'
4
+ Page({
5
+
6
+ /**
7
+ * 页面的初始数据
8
+ */
9
+ data: {
10
+ formData: {
11
+ strName: "",
12
+ name: "",
13
+ strCid: "",
14
+ id_card_number: "",
15
+ cid_type: "",
16
+ verify_expire_time: ""
17
+ },
18
+ loginWay:'',
19
+ loginTimeRange: {
20
+ 24: '1天免登录',
21
+ 168: '7天免登录',
22
+ 720: '30天免登录'
23
+ }
24
+ },
25
+
26
+ /**
27
+ * 生命周期函数--监听页面加载
28
+ */
29
+ onLoad(options) {
30
+ // 初始化操作,回填证件类型为身份证的身份信息
31
+ this.initUserInfo()
32
+ },
33
+ // 初始化操作,回填证件类型为身份证的身份信息
34
+ initUserInfo() {
35
+ // 默认身份证号码
36
+ // cidType = '111'
37
+
38
+ wx.showLoading({
39
+ title: '加载中…',
40
+ })
41
+ // 清空本地Temp数据
42
+ wx.setStorageSync('tif.formDataTemp', '')
43
+
44
+ jingtongVerifyRequest.getSession({
45
+ success: res => {
46
+ let { cid_type, cid, name, star_name, star_cid, verify_expire_time } = res
47
+
48
+ // 设置用户账号信息
49
+ setAccountInfo(res.openid)
50
+
51
+ if (cid_type === '111' && cid && name) {
52
+ let { formData, loginWay, loginTimeRange } = this.data
53
+ formData.strName = star_name
54
+ formData.name = name
55
+ formData.strCid = star_cid
56
+ formData.id_card_number = cid
57
+ formData.cid_type = cid_type
58
+ formData.verify_expire_time = verify_expire_time || ''
59
+ loginWay = loginTimeRange[verify_expire_time] || ''
60
+ // 回填身份证类型
61
+ this.setData({
62
+ formData: formData,
63
+ loginWay: loginWay
64
+ })
65
+ }
66
+ // if (cid_type === '516') {
67
+ // this.setData({
68
+ // exitHmSession: true,
69
+ // HmSession: res
70
+ // })
71
+ // console.log('HmSession', this.data.HmSession)
72
+ // } else {
73
+ // this.setData({
74
+ // exitHmSession: false
75
+ // })
76
+ // }
77
+ wx.hideLoading()
78
+ },
79
+ fail: fail => {
80
+ console.log('getSession-fail', fail)
81
+ wx.hideLoading()
82
+ }
83
+ })
84
+ },
85
+ // 跳转登录管理页面
86
+ goToLoginWag() {
87
+ // 上报事件
88
+ SDKTrack('function_btn_click', {
89
+ item_type: '8', // 业务分类
90
+ item_code: '110000000000511111993403700000', // 事项ID
91
+ item_access: '', // 业务入口
92
+ })
93
+
94
+ flow.navigateTo({
95
+ url: '../../pages/login-manage/login-manage'
96
+ })
97
+ // flow.navigateTo({
98
+ // url: '../../pages/login-manage-setting/login-manage-setting'
99
+ // })
100
+ },
101
+ goToUpdatePwd() {
102
+ console.log('忘记密码')
103
+ const { name, id_card_number, strCid, cid_type, verify_expire_time } = this.data.formData
104
+ wx.navigateTo({
105
+ url: '/weapps-plugin-jingtong-verify/pages/bank-card-login-forgot-face-setting/bank-card-login-forgot-face-setting?name=' + name + '&idCardNumber=' + id_card_number + '&strCid=' + strCid + '&cid_type=' + cid_type + '&verify_expire_time=' + verify_expire_time,
106
+ })
107
+ },
108
+ /**
109
+ * 生命周期函数--监听页面初次渲染完成
110
+ */
111
+ onReady() {
112
+
113
+ },
114
+
115
+ /**
116
+ * 生命周期函数--监听页面显示
117
+ */
118
+ onShow() {
119
+
120
+ },
121
+
122
+ /**
123
+ * 生命周期函数--监听页面隐藏
124
+ */
125
+ onHide() {
126
+
127
+ },
128
+
129
+ /**
130
+ * 生命周期函数--监听页面卸载
131
+ */
132
+ onUnload() {
133
+
134
+ },
135
+
136
+ /**
137
+ * 页面相关事件处理函数--监听用户下拉动作
138
+ */
139
+ onPullDownRefresh() {
140
+
141
+ },
142
+
143
+ /**
144
+ * 页面上拉触底事件的处理函数
145
+ */
146
+ onReachBottom() {
147
+
148
+ },
149
+
150
+ /**
151
+ * 用户点击右上角分享
152
+ */
153
+ onShareAppMessage() {
154
+
155
+ }
156
+ })
@@ -0,0 +1,4 @@
1
+ {
2
+ "usingComponents": {},
3
+ "navigationBarTitleText": "登录管理"
4
+ }
@@ -0,0 +1,19 @@
1
+ <view>
2
+ <view class="top-box">
3
+ <view class="cell">
4
+ <text class="label">默认登录方式</text>
5
+ <view class="content" catchtap="goToLoginWag">
6
+ <text>{{ loginWay }}</text>
7
+ <image src="../../images/Vector.png" mode="" class="img" wx:if="{{ loginWay }}"/>
8
+ </view>
9
+ </view>
10
+ <view class="cell" catchtap="goToUpdatePwd">
11
+ <view class="label">
12
+ 修改登录密码
13
+ </view>
14
+ <view class="content">
15
+ <image src="../../images/Vector.png" mode="" class="img"/>
16
+ </view>
17
+ </view>
18
+ </view>
19
+ </view>
@@ -0,0 +1,69 @@
1
+ page {
2
+ background-color: #F6F8FA;
3
+ padding-bottom: 60rpx;
4
+ }
5
+ .top-box {
6
+ margin-top: 24rpx;
7
+ background: #ffffff;
8
+ display: flex;
9
+ align-items: center;
10
+ flex-direction: column;
11
+ margin-bottom: 32rpx;
12
+ }
13
+ .cell {
14
+ display: flex;
15
+ justify-content: space-between;
16
+ width: 686rpx;
17
+ height: 78rpx;
18
+ border-bottom: 2rpx solid #EDEDED;
19
+ margin-bottom: 32rpx;
20
+ }
21
+ .cell:first-child {
22
+ margin-top: 48rpx;
23
+ }
24
+ .cell:last-child, .no-border{
25
+ margin-bottom: 0rpx;
26
+ border-bottom: 1px solid transparent;
27
+ }
28
+ .no-border {
29
+ height: 60rpx;
30
+ }
31
+ .label {
32
+ color: #62667a;
33
+ font-size: 32rpx;
34
+ }
35
+ .img {
36
+ width: 12rpx;
37
+ height: 24rpx;
38
+ margin-left: 16rpx;
39
+ }
40
+ .center-box {
41
+ display: flex;
42
+ align-items: center;
43
+ flex-direction: column;
44
+ background: #ffffff;
45
+ margin-bottom: 80rpx;
46
+ }
47
+ .tips {
48
+ font-size: 24rpx;
49
+ color: #62667A;
50
+ width: 686rpx;
51
+ margin-bottom: 32rpx;
52
+ }
53
+ .bottom-box {
54
+ width: 686rpx;
55
+ height: 96rpx;
56
+ margin: 0 auto;
57
+ }
58
+ .btn {
59
+ width: 100% !important;
60
+ height: 100% !important;
61
+ display: flex;
62
+ justify-content: center;
63
+ align-items: center;
64
+ border-radius: 16rpx;
65
+ background: #ce0022;
66
+ box-shadow: 0 24rpx 48rpx 0 rgba(206, 0, 34, 0.15);
67
+ color: #ffffff;
68
+ font-size: 34rpx;
69
+ }
@@ -1,25 +1,25 @@
1
- // weapps-plugin-jingtong-verify/pages/logoff-success/logoff-success.js
2
- const { flow } = require("@wecity/weda-plugin-utils");
3
-
4
- Page({
5
-
6
- /**
7
- * 页面的初始数据
8
- */
9
- data: {
10
-
11
- },
12
-
13
- toBack() {
14
- flow.resolve({
15
- hasLogOff: true
16
- })
17
- },
18
-
19
- /**
20
- * 生命周期函数--监听页面显示
21
- */
22
- onShow() {
23
- wx.hideShareMenu()
24
- },
1
+ // weapps-plugin-jingtong-verify/pages/logoff-success/logoff-success.js
2
+ const { flow } = require("@wecity/weda-plugin-utils");
3
+
4
+ Page({
5
+
6
+ /**
7
+ * 页面的初始数据
8
+ */
9
+ data: {
10
+
11
+ },
12
+
13
+ toBack() {
14
+ flow.resolve({
15
+ hasLogOff: true
16
+ })
17
+ },
18
+
19
+ /**
20
+ * 生命周期函数--监听页面显示
21
+ */
22
+ onShow() {
23
+ wx.hideShareMenu()
24
+ },
25
25
  })
@@ -1,4 +1,4 @@
1
- {
2
- "usingComponents": {},
3
- "navigationBarTitleText": "账号注销"
1
+ {
2
+ "usingComponents": {},
3
+ "navigationBarTitleText": "账号注销"
4
4
  }
@@ -1,12 +1,12 @@
1
- <!--weapps-plugin-jingtong-verify/pages/logoff-success/logoff-success.wxml-->
2
- <view class="main">
3
- <view class="center-box">
4
- <image src="../../images/success.png" mode="" class="img"/>
5
- <view class="title">您的账号已注销!</view>
6
- <view class="tips">
7
- <text>感谢使用,我们一直在努力做到更好,</text>
8
- <text> 有空常回来看看呦!</text>
9
- </view>
10
- <button class="bottom-btn" catchtap="toBack">关闭</button>
11
- </view>
12
- </view>
1
+ <!--weapps-plugin-jingtong-verify/pages/logoff-success/logoff-success.wxml-->
2
+ <view class="main">
3
+ <view class="center-box">
4
+ <image src="../../images/success.png" mode="" class="img"/>
5
+ <view class="title">您的账号已注销!</view>
6
+ <view class="tips">
7
+ <text>感谢使用,我们一直在努力做到更好,</text>
8
+ <text> 有空常回来看看呦!</text>
9
+ </view>
10
+ <button class="bottom-btn" catchtap="toBack">关闭</button>
11
+ </view>
12
+ </view>
@@ -1,34 +1,34 @@
1
- /* weapps-plugin-jingtong-verify/pages/logoff-success/logoff-success.wxss */
2
- .center-box {
3
- display: flex;
4
- align-items: center;
5
- flex-direction: column;
6
- }
7
- .img {
8
- width: 326rpx;
9
- height: 310rpx;
10
- margin-top: 180rpx;
11
- }
12
- .title {
13
- color: #27282E;
14
- font-size: 40rpx;
15
- font-weight: 700;
16
- margin-top: 86rpx;
17
- }
18
- .tips {
19
- color: #62667A;
20
- font-size: 32rpx;
21
- font-weight: 400;
22
- padding: 0 102rpx 0 104rpx;
23
- text-align: center;
24
- margin-top: 26rpx;
25
- }
26
- .bottom-btn {
27
- margin-top: 240rpx;
28
- margin-bottom: 40rpx;
29
- background-color: #ce0022;
30
- color: #fff;
31
- font-size: 36rpx;
32
- width: 478rpx !important;
33
- line-height: 66rpx !important;
1
+ /* weapps-plugin-jingtong-verify/pages/logoff-success/logoff-success.wxss */
2
+ .center-box {
3
+ display: flex;
4
+ align-items: center;
5
+ flex-direction: column;
6
+ }
7
+ .img {
8
+ width: 326rpx;
9
+ height: 310rpx;
10
+ margin-top: 180rpx;
11
+ }
12
+ .title {
13
+ color: #27282E;
14
+ font-size: 40rpx;
15
+ font-weight: 700;
16
+ margin-top: 86rpx;
17
+ }
18
+ .tips {
19
+ color: #62667A;
20
+ font-size: 32rpx;
21
+ font-weight: 400;
22
+ padding: 0 102rpx 0 104rpx;
23
+ text-align: center;
24
+ margin-top: 26rpx;
25
+ }
26
+ .bottom-btn {
27
+ margin-top: 240rpx;
28
+ margin-bottom: 40rpx;
29
+ background-color: #ce0022;
30
+ color: #fff;
31
+ font-size: 36rpx;
32
+ width: 478rpx !important;
33
+ line-height: 66rpx !important;
34
34
  }