weapps-plugin-jingtong-verify 1.6.0 → 1.6.2-beta

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 (224) hide show
  1. package/README.md +1 -1
  2. package/app.json +33 -41
  3. package/package.json +21 -21
  4. package/sdk.js +309 -320
  5. package/weapps-plugin-jingtong-verify/components/card-modal/card-modal.js +31 -31
  6. package/weapps-plugin-jingtong-verify/components/card-modal/card-modal.json +3 -3
  7. package/weapps-plugin-jingtong-verify/components/card-modal/card-modal.wxml +9 -9
  8. package/weapps-plugin-jingtong-verify/components/card-modal/card-modal.wxss +65 -65
  9. package/weapps-plugin-jingtong-verify/components/face-error-modal/face-error-modal.js +37 -37
  10. package/weapps-plugin-jingtong-verify/components/face-error-modal/face-error-modal.json +3 -3
  11. package/weapps-plugin-jingtong-verify/components/face-error-modal/face-error-modal.wxml +30 -30
  12. package/weapps-plugin-jingtong-verify/components/face-error-modal/face-error-modal.wxss +79 -79
  13. package/weapps-plugin-jingtong-verify/components/face-modal/face-modal.js +32 -32
  14. package/weapps-plugin-jingtong-verify/components/face-modal/face-modal.json +3 -3
  15. package/weapps-plugin-jingtong-verify/components/face-modal/face-modal.wxml +16 -16
  16. package/weapps-plugin-jingtong-verify/components/face-modal/face-modal.wxss +57 -57
  17. package/weapps-plugin-jingtong-verify/components/gsd-lib/anim/anim.min.js +1 -1
  18. package/weapps-plugin-jingtong-verify/components/gsd-lib/crypto/crypto.js +37 -37
  19. package/weapps-plugin-jingtong-verify/components/gsd-lib/crypto/index.js +44 -44
  20. package/weapps-plugin-jingtong-verify/components/gsd-lib/dayjs/index.js +351 -351
  21. package/weapps-plugin-jingtong-verify/components/gsd-lib/event/index.js +117 -117
  22. package/weapps-plugin-jingtong-verify/components/gsd-lib/index.js +63 -63
  23. package/weapps-plugin-jingtong-verify/components/gsd-lib/map/index.js +10 -10
  24. package/weapps-plugin-jingtong-verify/components/gsd-lib/map/qmap.js +6 -6
  25. package/weapps-plugin-jingtong-verify/components/gsd-lib/storage/index.js +114 -114
  26. package/weapps-plugin-jingtong-verify/components/gsd-lib/utils/index.js +218 -218
  27. package/weapps-plugin-jingtong-verify/components/gsd-ui/behaviors/formCheck.js +72 -72
  28. package/weapps-plugin-jingtong-verify/components/gsd-ui/behaviors/formController.js +47 -47
  29. package/weapps-plugin-jingtong-verify/components/gsd-ui/behaviors/icon.js +11 -11
  30. package/weapps-plugin-jingtong-verify/components/gsd-ui/behaviors/list.js +16 -16
  31. package/weapps-plugin-jingtong-verify/components/gsd-ui/behaviors/navigator.js +33 -33
  32. package/weapps-plugin-jingtong-verify/components/gsd-ui/behaviors/primarySecondButton.js +18 -18
  33. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-agree/index.js +12 -12
  34. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-agree/index.json +5 -5
  35. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-agree/index.wxml +15 -15
  36. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-badge/index.js +47 -47
  37. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-badge/index.json +3 -3
  38. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-badge/index.wxml +13 -13
  39. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-button-group/index.js +44 -44
  40. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-button-group/index.json +5 -5
  41. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-button-group/index.wxml +28 -28
  42. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-cell/index.js +30 -30
  43. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-cell/index.json +6 -6
  44. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-cell/index.wxml +42 -42
  45. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-cell/index.wxss +1 -1
  46. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-date-picker-en/index.js +418 -418
  47. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-date-picker-en/index.json +5 -5
  48. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-date-picker-en/index.wxml +29 -29
  49. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-dropdown/index.js +11 -11
  50. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-dropdown/index.json +3 -3
  51. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-dropdown/index.wxml +4 -4
  52. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form/index.js +179 -182
  53. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form/index.json +6 -6
  54. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form/index.wxml +16 -16
  55. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form-cell/index.js +92 -92
  56. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form-cell/index.json +6 -6
  57. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form-cell/index.wxml +12 -12
  58. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form-cell/index.wxss +2 -2
  59. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form-item/index.js +49 -49
  60. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form-item/index.json +3 -3
  61. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-form-item/index.wxml +14 -14
  62. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-icon/index.js +33 -33
  63. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-icon/index.json +3 -3
  64. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-icon/index.wxml +2 -2
  65. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-index-list/index.js +108 -108
  66. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-index-list/index.json +6 -6
  67. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-index-list/index.wxml +53 -53
  68. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-input/index.js +236 -241
  69. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-input/index.json +8 -8
  70. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-input/index.wxml +49 -49
  71. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-picker/index.js +328 -328
  72. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-picker/index.json +6 -6
  73. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-picker/index.wxml +26 -26
  74. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-popover/index.js +159 -159
  75. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-popover/index.json +3 -3
  76. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-popover/index.wxml +10 -10
  77. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-search/index.js +112 -112
  78. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-search/index.json +5 -5
  79. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-search/index.wxml +21 -21
  80. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-switch/index.js +21 -21
  81. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-switch/index.json +7 -7
  82. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-switch/index.wxml +16 -16
  83. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-tips/index.js +50 -50
  84. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-tips/index.json +5 -5
  85. package/weapps-plugin-jingtong-verify/components/gsd-ui/g-tips/index.wxml +27 -27
  86. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/image/add.svg +13 -13
  87. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/image/arrow.svg +14 -14
  88. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/image/delete.svg +16 -16
  89. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/image/preview.svg +21 -21
  90. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/image/user.svg +13 -13
  91. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-agree.wxss +147 -147
  92. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-badge.wxss +41 -41
  93. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-button-group.wxss +244 -244
  94. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-cell.wxss +220 -220
  95. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-dropdown.wxss +115 -115
  96. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-form-cell.wxss +101 -101
  97. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-form-item.wxss +174 -174
  98. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-form.wxss +101 -101
  99. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-icon.wxss +268 -268
  100. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-index-list.wxss +206 -206
  101. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-input.wxss +206 -214
  102. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-picker.wxss +139 -139
  103. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-popover.wxss +129 -129
  104. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-search.wxss +171 -171
  105. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-switch.wxss +176 -176
  106. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/components/g-tips.wxss +173 -173
  107. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/icon/iconfont.wxss +160 -160
  108. package/weapps-plugin-jingtong-verify/components/gsd-ui/static/style/main.wxss +283 -283
  109. package/weapps-plugin-jingtong-verify/components/gsd-ui/utils/helper.js +55 -55
  110. package/weapps-plugin-jingtong-verify/components/gsd-ui/utils/validType.js +117 -117
  111. package/weapps-plugin-jingtong-verify/components/gsd-ui/utils/validator.js +106 -106
  112. package/weapps-plugin-jingtong-verify/components/lock-face-modal/lock-face-modal.js +32 -32
  113. package/weapps-plugin-jingtong-verify/components/lock-face-modal/lock-face-modal.json +3 -3
  114. package/weapps-plugin-jingtong-verify/components/lock-face-modal/lock-face-modal.wxml +8 -8
  115. package/weapps-plugin-jingtong-verify/components/lock-face-modal/lock-face-modal.wxss +57 -57
  116. package/weapps-plugin-jingtong-verify/components/modal/modal.js +32 -32
  117. package/weapps-plugin-jingtong-verify/components/modal/modal.json +3 -3
  118. package/weapps-plugin-jingtong-verify/components/modal/modal.wxml +28 -28
  119. package/weapps-plugin-jingtong-verify/components/modal/modal.wxss +84 -84
  120. package/weapps-plugin-jingtong-verify/components/my-modal/my-modal.js +82 -82
  121. package/weapps-plugin-jingtong-verify/components/my-modal/my-modal.json +3 -3
  122. package/weapps-plugin-jingtong-verify/components/my-modal/my-modal.wxml +18 -18
  123. package/weapps-plugin-jingtong-verify/components/my-modal/my-modal.wxss +72 -72
  124. package/weapps-plugin-jingtong-verify/components/tip-modal/tip-modal.js +39 -47
  125. package/weapps-plugin-jingtong-verify/components/tip-modal/tip-modal.json +3 -3
  126. package/weapps-plugin-jingtong-verify/components/tip-modal/tip-modal.wxml +9 -11
  127. package/weapps-plugin-jingtong-verify/components/tip-modal/tip-modal.wxss +51 -51
  128. package/weapps-plugin-jingtong-verify/i18n/index.js +7 -7
  129. package/weapps-plugin-jingtong-verify/i18n/logout.js +10 -10
  130. package/weapps-plugin-jingtong-verify/i18n/rules.js +262 -403
  131. package/weapps-plugin-jingtong-verify/pages/bind-phone/bind-phone.js +86 -86
  132. package/weapps-plugin-jingtong-verify/pages/bind-phone/bind-phone.json +6 -6
  133. package/weapps-plugin-jingtong-verify/pages/bind-phone/bind-phone.wxml +20 -20
  134. package/weapps-plugin-jingtong-verify/pages/bind-phone/bind-phone.wxss +51 -51
  135. package/weapps-plugin-jingtong-verify/pages/confirm-phone/confirm-phone.js +167 -167
  136. package/weapps-plugin-jingtong-verify/pages/confirm-phone/confirm-phone.json +3 -3
  137. package/weapps-plugin-jingtong-verify/pages/confirm-phone/confirm-phone.wxml +30 -30
  138. package/weapps-plugin-jingtong-verify/pages/confirm-phone/confirm-phone.wxss +91 -91
  139. package/weapps-plugin-jingtong-verify/pages/face-error-reason/face-error-reason.js +79 -79
  140. package/weapps-plugin-jingtong-verify/pages/face-error-reason/face-error-reason.json +5 -5
  141. package/weapps-plugin-jingtong-verify/pages/face-error-reason/face-error-reason.wxml +19 -19
  142. package/weapps-plugin-jingtong-verify/pages/face-error-reason/face-error-reason.wxss +44 -44
  143. package/weapps-plugin-jingtong-verify/pages/face-verify/face-verify.js +1558 -1812
  144. package/weapps-plugin-jingtong-verify/pages/face-verify/face-verify.json +17 -17
  145. package/weapps-plugin-jingtong-verify/pages/face-verify/face-verify.wxml +504 -522
  146. package/weapps-plugin-jingtong-verify/pages/face-verify/face-verify.wxss +133 -185
  147. package/weapps-plugin-jingtong-verify/pages/log-off/log-off.js +127 -127
  148. package/weapps-plugin-jingtong-verify/pages/log-off/log-off.json +5 -5
  149. package/weapps-plugin-jingtong-verify/pages/log-off/log-off.wxml +36 -36
  150. package/weapps-plugin-jingtong-verify/pages/log-off/log-off.wxss +60 -60
  151. package/weapps-plugin-jingtong-verify/pages/login-manage/login-manage.js +106 -106
  152. package/weapps-plugin-jingtong-verify/pages/login-manage/login-manage.json +3 -3
  153. package/weapps-plugin-jingtong-verify/pages/login-manage/login-manage.wxml +29 -29
  154. package/weapps-plugin-jingtong-verify/pages/login-manage/login-manage.wxss +68 -68
  155. package/weapps-plugin-jingtong-verify/pages/logoff-success/logoff-success.js +24 -24
  156. package/weapps-plugin-jingtong-verify/pages/logoff-success/logoff-success.json +3 -3
  157. package/weapps-plugin-jingtong-verify/pages/logoff-success/logoff-success.wxml +12 -12
  158. package/weapps-plugin-jingtong-verify/pages/logoff-success/logoff-success.wxss +33 -33
  159. package/weapps-plugin-jingtong-verify/pages/nation-list/nation-list.js +120 -110
  160. package/weapps-plugin-jingtong-verify/pages/nation-list/nation-list.json +6 -6
  161. package/weapps-plugin-jingtong-verify/pages/nation-list/nation-list.wxml +9 -9
  162. package/weapps-plugin-jingtong-verify/pages/nation-list/nation-list.wxss +1 -1
  163. package/weapps-plugin-jingtong-verify/pages/passport-verify/passport-verify.js +864 -854
  164. package/weapps-plugin-jingtong-verify/pages/passport-verify/passport-verify.json +11 -11
  165. package/weapps-plugin-jingtong-verify/pages/passport-verify/passport-verify.wxml +162 -162
  166. package/weapps-plugin-jingtong-verify/pages/passport-verify/passport-verify.wxss +64 -64
  167. package/weapps-plugin-jingtong-verify/pages/setting/setting.js +328 -331
  168. package/weapps-plugin-jingtong-verify/pages/setting/setting.json +5 -5
  169. package/weapps-plugin-jingtong-verify/pages/setting/setting.wxml +91 -91
  170. package/weapps-plugin-jingtong-verify/pages/setting/setting.wxss +69 -69
  171. package/weapps-plugin-jingtong-verify/pages/user-info/user-info.js +306 -306
  172. package/weapps-plugin-jingtong-verify/pages/user-info/user-info.json +7 -7
  173. package/weapps-plugin-jingtong-verify/pages/user-info/user-info.wxml +142 -142
  174. package/weapps-plugin-jingtong-verify/pages/user-info/user-info.wxss +110 -110
  175. package/weapps-plugin-jingtong-verify/style/page.wxss +13 -13
  176. package/weapps-plugin-jingtong-verify/utils/QDTrackerNew/QDTracker.js +15 -15
  177. package/weapps-plugin-jingtong-verify/utils/QDTrackerNew/QDTrackerMain.js +59 -59
  178. package/weapps-plugin-jingtong-verify/utils/country.js +209 -209
  179. package/weapps-plugin-jingtong-verify/utils/index.js +306 -306
  180. package/weapps-plugin-jingtong-verify/utils/jsencrypt.min.js +1 -1
  181. package/weapps-plugin-jingtong-verify/utils/request.js +1 -670
  182. package/weapps-plugin-jingtong-verify/utils/rules.js +301 -405
  183. package/weapps-plugin-jingtong-verify/utils/tifadmin_config.js +61 -61
  184. package/weapps-plugin-jingtong-verify/utils/validate.js +772 -910
  185. package/weapps-plugin-jingtong-verify/components/custom-steps/custom-steps.js +0 -41
  186. package/weapps-plugin-jingtong-verify/components/custom-steps/custom-steps.json +0 -4
  187. package/weapps-plugin-jingtong-verify/components/custom-steps/custom-steps.wxml +0 -20
  188. package/weapps-plugin-jingtong-verify/components/custom-steps/custom-steps.wxss +0 -112
  189. package/weapps-plugin-jingtong-verify/components/to-other-modal/to-other-modal.js +0 -73
  190. package/weapps-plugin-jingtong-verify/components/to-other-modal/to-other-modal.json +0 -4
  191. package/weapps-plugin-jingtong-verify/components/to-other-modal/to-other-modal.wxml +0 -19
  192. package/weapps-plugin-jingtong-verify/components/to-other-modal/to-other-modal.wxss +0 -72
  193. package/weapps-plugin-jingtong-verify/images/bank-card-verify.png +0 -0
  194. package/weapps-plugin-jingtong-verify/images/chek_right.png +0 -0
  195. package/weapps-plugin-jingtong-verify/images/chevron-down.png +0 -0
  196. package/weapps-plugin-jingtong-verify/images/chevron-up.png +0 -0
  197. package/weapps-plugin-jingtong-verify/pages/bank-card-login/bank-card-login.js +0 -506
  198. package/weapps-plugin-jingtong-verify/pages/bank-card-login/bank-card-login.json +0 -8
  199. package/weapps-plugin-jingtong-verify/pages/bank-card-login/bank-card-login.wxml +0 -79
  200. package/weapps-plugin-jingtong-verify/pages/bank-card-login/bank-card-login.wxss +0 -212
  201. package/weapps-plugin-jingtong-verify/pages/bank-card-login-forgot-face-setting/bank-card-login-forgot-face-setting.js +0 -1392
  202. package/weapps-plugin-jingtong-verify/pages/bank-card-login-forgot-face-setting/bank-card-login-forgot-face-setting.json +0 -10
  203. package/weapps-plugin-jingtong-verify/pages/bank-card-login-forgot-face-setting/bank-card-login-forgot-face-setting.wxml +0 -247
  204. package/weapps-plugin-jingtong-verify/pages/bank-card-login-forgot-face-setting/bank-card-login-forgot-face-setting.wxss +0 -397
  205. package/weapps-plugin-jingtong-verify/pages/bank-card-login-forgot-sms-setting/bank-card-login-forgot-sms-setting.js +0 -66
  206. package/weapps-plugin-jingtong-verify/pages/bank-card-login-forgot-sms-setting/bank-card-login-forgot-sms-setting.wxml +0 -2
  207. package/weapps-plugin-jingtong-verify/pages/bank-card-login-pwd-setting/bank-card-login-pwd-setting.js +0 -463
  208. package/weapps-plugin-jingtong-verify/pages/bank-card-login-pwd-setting/bank-card-login-pwd-setting.json +0 -8
  209. package/weapps-plugin-jingtong-verify/pages/bank-card-login-pwd-setting/bank-card-login-pwd-setting.wxml +0 -69
  210. package/weapps-plugin-jingtong-verify/pages/bank-card-login-pwd-setting/bank-card-login-pwd-setting.wxss +0 -232
  211. package/weapps-plugin-jingtong-verify/pages/bank-card-verify/bank-card-verify.js +0 -984
  212. package/weapps-plugin-jingtong-verify/pages/bank-card-verify/bank-card-verify.json +0 -12
  213. package/weapps-plugin-jingtong-verify/pages/bank-card-verify/bank-card-verify.wxml +0 -157
  214. package/weapps-plugin-jingtong-verify/pages/bank-card-verify/bank-card-verify.wxss +0 -258
  215. package/weapps-plugin-jingtong-verify/pages/login-help/login-help.js +0 -147
  216. package/weapps-plugin-jingtong-verify/pages/login-help/login-help.json +0 -4
  217. package/weapps-plugin-jingtong-verify/pages/login-help/login-help.wxml +0 -48
  218. package/weapps-plugin-jingtong-verify/pages/login-help/login-help.wxss +0 -166
  219. package/weapps-plugin-jingtong-verify/pages/login-manage-setting/login-manage-setting.js +0 -189
  220. package/weapps-plugin-jingtong-verify/pages/login-manage-setting/login-manage-setting.json +0 -4
  221. package/weapps-plugin-jingtong-verify/pages/login-manage-setting/login-manage-setting.wxml +0 -19
  222. package/weapps-plugin-jingtong-verify/pages/login-manage-setting/login-manage-setting.wxss +0 -69
  223. package/weapps-plugin-jingtong-verify/utils/constantVal.js +0 -75
  224. package/weapps-plugin-jingtong-verify/utils/md5.js +0 -184
@@ -1,186 +1,134 @@
1
- /* weapps-plugin-jingtong-verify/pages/face-verify/index.wxss */
2
- @import '../../components/gsd-ui/static/style/main';
3
-
4
- .top-box {
5
- display: flex;
6
- justify-content: center;
7
- align-items: center;
8
- flex-direction: column;
9
- }
10
-
11
- .title {
12
- font-size: 44rpx;
13
- margin-bottom: 44rpx;
14
- text-align: center;
15
- }
16
-
17
- .en-page .title {
18
- font-size: 36rpx;
19
- }
20
-
21
- .info {
22
- margin-top: 28rpx;
23
- color: #999999;
24
- }
25
-
26
- .agree-box {
27
- font-size: 28rpx;
28
- color: #979797;
29
- padding: 0 40rpx 0;
30
- }
31
-
32
- .agree-box text {
33
- line-height: 40rpx;
34
- }
35
-
36
- .img-box {
37
- width: 160rpx;
38
- height: 160rpx;
39
- margin: 46rpx 0 32rpx;
40
- }
41
-
42
- .img {
43
- width: 160rpx;
44
- height: 160rpx;
45
- }
46
-
47
- .link {
48
- color: #ce0022;
49
- }
50
-
51
- .content-box {
52
- padding-bottom: 60rpx;
53
- }
54
-
55
- .form-tip {
56
- /* border: 1px solid red; */
57
- border-radius: 24rpx;
58
- background: linear-gradient(180deg, #f1f4f9ff 0%, #faf8f700 100%);
59
- padding: 32rpx 36rpx 0;
60
- display: flex;
61
- flex-direction: row;
62
- justify-content: flex-start;
63
- align-items: flex-start;
64
- margin-top: -2rpx;
65
- }
66
- .space-block {
67
- width: 6rpx;
68
- height: 20rpx;
69
- background: #ce0022;
70
- margin-right: 8rpx;
71
- flex-shrink: 0;
72
- margin-top: 10rpx;
73
- }
74
- .tip-desc {
75
- color: #27282eff;
76
- font-size: 14px;
77
- }
78
- .form-options {
79
- width: 750rpx;
80
- background: linear-gradient( #F5FAFF 0%, #F1F7FF 100%);
81
- padding: 0 20rpx 20rpx;
82
- box-sizing: border-box;
83
- }
84
-
85
- .foreign-tip {
86
- display: flex;
87
- flex-direction: row;
88
- justify-content: space-between;
89
- align-items: center;
90
- margin: -12rpx 32rpx 0;
91
- background: #EEF2F6;
92
- border-radius: 8rpx;
93
- padding: 24rpx 16rpx 24rpx 24rpx;
94
- position: relative;
95
- }
96
- .foreign-tip::before {
97
- content: '';
98
- position: absolute;
99
- border-left: 17rpx solid transparent;
100
- border-top: 17rpx solid transparent;
101
- border-bottom: 17rpx solid #EEF2F6;
102
- border-right: 17rpx solid transparent;
103
- top: -30rpx;
104
- right: 18rpx;
105
-
106
- }
107
- .foreign-tip text {
108
- font-weight: 500;
109
- font-size: 26rpx;
110
- color: #62667A;
111
- line-height: 30rpx;
112
- }
113
- .foreign-tip image {
114
- width: 40rpx;
115
- height: 40rpx;
116
- flex-shrink: 0;
117
- }
118
-
119
- .form-item__status-message--warn {
120
- color: #f13939;
121
- font-size: 30rpx;
122
- line-height: 40rpx;
123
- margin-top: 10rpx;
124
- padding-left: 40rpx;
125
- padding-right: 40rpx;
126
- }
127
-
128
- .custom-tips {
129
- position: fixed;
130
- z-index: 905;
131
- box-sizing: border-box;
132
- top: 0rpx;
133
- width: 100%;
134
- }
135
-
136
- .other-way{
137
- display: flex;
138
- align-items: center;
139
- justify-content: center;
140
- padding-left:40rpx;
141
- padding-right: 40rpx;
142
- padding-top: 30rpx;
143
- }
144
-
145
- .other-way-btn{
146
- width: 100%;
147
- height: 96rpx;
148
- border: 1px solid;
149
- display: flex;
150
- align-items: center;
151
- justify-content: center;
152
- border-radius: 10rpx;
153
- border: 1px solid #CE0022;
154
- color: #ce0022;
155
- text-align: center;
156
- font-family: "PingFang SC";
157
- font-size: 17px;
158
- font-style: normal;
159
- font-weight: 500;
160
- line-height: normal;
161
- }
162
-
163
- .login-help{
164
- display: flex;
165
- align-items: center;
166
- justify-content: center;
167
- padding-left:40rpx;
168
- padding-right: 40rpx;
169
- padding-top: 30rpx;
170
- }
171
-
172
- .login-help-btn{
173
- width: 100%;
174
- height: 76rpx;
175
- display: flex;
176
- align-items: center;
177
- justify-content: center;
178
- border-radius: 10rpx;
179
- color: #62667a;
180
- text-align: center;
181
- font-family: "PingFang SC";
182
- font-size: 17px;
183
- font-style: normal;
184
- font-weight: 500;
185
- line-height: normal;
1
+ /* weapps-plugin-jingtong-verify/pages/face-verify/index.wxss */
2
+ @import '../../components/gsd-ui/static/style/main';
3
+
4
+ .top-box {
5
+ display: flex;
6
+ justify-content: center;
7
+ align-items: center;
8
+ flex-direction: column;
9
+ }
10
+
11
+ .title {
12
+ font-size: 44rpx;
13
+ margin-bottom: 44rpx;
14
+ text-align: center;
15
+ }
16
+
17
+ .en-page .title {
18
+ font-size: 36rpx;
19
+ }
20
+
21
+ .info {
22
+ margin-top: 28rpx;
23
+ color: #999999;
24
+ }
25
+
26
+ .agree-box {
27
+ font-size: 28rpx;
28
+ color: #979797;
29
+ padding: 0 40rpx 0;
30
+ }
31
+
32
+ .agree-box text {
33
+ line-height: 40rpx;
34
+ }
35
+
36
+ .img-box {
37
+ width: 160rpx;
38
+ height: 160rpx;
39
+ margin: 56rpx 0 52rpx;
40
+ }
41
+
42
+ .img {
43
+ width: 160rpx;
44
+ height: 160rpx;
45
+ }
46
+
47
+ .link {
48
+ color: #ce0022;
49
+ }
50
+
51
+ .content-box {
52
+ padding-bottom: 60rpx;
53
+ }
54
+
55
+ .form-tip {
56
+ /* border: 1px solid red; */
57
+ border-radius: 24rpx;
58
+ background: linear-gradient(180deg, #f1f4f9ff 0%, #faf8f700 100%);
59
+ padding: 32rpx 36rpx 0;
60
+ display: flex;
61
+ flex-direction: row;
62
+ justify-content: flex-start;
63
+ align-items: flex-start;
64
+ margin-top: -2rpx;
65
+ }
66
+ .space-block {
67
+ width: 6rpx;
68
+ height: 20rpx;
69
+ background: #ce0022;
70
+ margin-right: 8rpx;
71
+ flex-shrink: 0;
72
+ margin-top: 10rpx;
73
+ }
74
+ .tip-desc {
75
+ color: #27282eff;
76
+ font-size: 14px;
77
+ }
78
+ .form-options {
79
+ width: 750rpx;
80
+ background: linear-gradient( #F5FAFF 0%, #F1F7FF 100%);
81
+ padding: 0 20rpx 20rpx;
82
+ box-sizing: border-box;
83
+ }
84
+
85
+ .foreign-tip {
86
+ display: flex;
87
+ flex-direction: row;
88
+ justify-content: space-between;
89
+ align-items: center;
90
+ margin: -12rpx 32rpx 0;
91
+ background: #EEF2F6;
92
+ border-radius: 8rpx;
93
+ padding: 24rpx 16rpx 24rpx 24rpx;
94
+ position: relative;
95
+ }
96
+ .foreign-tip::before {
97
+ content: '';
98
+ position: absolute;
99
+ border-left: 17rpx solid transparent;
100
+ border-top: 17rpx solid transparent;
101
+ border-bottom: 17rpx solid #EEF2F6;
102
+ border-right: 17rpx solid transparent;
103
+ top: -30rpx;
104
+ right: 18rpx;
105
+
106
+ }
107
+ .foreign-tip text {
108
+ font-weight: 500;
109
+ font-size: 26rpx;
110
+ color: #62667A;
111
+ line-height: 30rpx;
112
+ }
113
+ .foreign-tip image {
114
+ width: 40rpx;
115
+ height: 40rpx;
116
+ flex-shrink: 0;
117
+ }
118
+
119
+ .form-item__status-message--warn {
120
+ color: #f13939;
121
+ font-size: 30rpx;
122
+ line-height: 40rpx;
123
+ margin-top: 10rpx;
124
+ padding-left: 40rpx;
125
+ padding-right: 40rpx;
126
+ }
127
+
128
+ .custom-tips {
129
+ position: fixed;
130
+ z-index: 905;
131
+ box-sizing: border-box;
132
+ top: 0rpx;
133
+ width: 100%;
186
134
  }
@@ -1,128 +1,128 @@
1
- const jingtongVerifyRequest = require('../../utils/request')
2
- const utils = require("../../utils/index")
3
- const { flow } = require("@wecity/weda-plugin-utils")
4
- import { SDKTrack } from '../../utils/QDTrackerNew/QDTrackerMain'
5
-
6
- const dict = {
7
- showLoading: {
8
- zh_CN: '认证中...',
9
- en: 'Authenticating...'
10
- }
11
- }
12
- const {
13
- language
14
- } = wx.getSystemInfoSync()
15
-
16
- Page({
17
-
18
- /**
19
- * 页面的初始数据
20
- */
21
- data: {
22
- showModal: false,
23
- sessinInfo: {},
24
- verify_result: ''
25
- },
26
-
27
- onLoad(options) {
28
- wx.hideShareMenu()
29
-
30
- let sessinInfo = JSON.parse(options.sessionInfo)
31
- console.log('sessinInfo', sessinInfo)
32
- let verify_result = options.verify_result || ''
33
- this.setData({
34
- sessinInfo,
35
- verify_result
36
- })
37
- },
38
-
39
- // 弹框确认函数
40
- async Confirm() {
41
- wx.showLoading({
42
- mask: true,
43
- title: `${dict.showLoading[language]}`
44
- })
45
-
46
- let { sessinInfo, verify_result } = this.data
47
- let { name = '', cid = '', cid_type = '' } = sessinInfo
48
-
49
- // 上报事件
50
- SDKTrack('function_btn_click', {
51
- item_type: '8', // 业务分类
52
- item_code: '110000000000511111993404900000', // 事项ID
53
- item_access: '', // 业务入口
54
- })
55
-
56
- const [logOffErr, logOffRes] = await utils.awaitTo(jingtongVerifyRequest.logOff({
57
- id_card_number: cid,
58
- name,
59
- verify_result
60
- }))
61
-
62
- if (logOffErr) {
63
- console.log(logOffErr, '账号注销err')
64
- wx.showToast({
65
- title: JSON.parse(logOffErr).errmsg || '账号注销失败,请稍后再试',
66
- icon: 'none',
67
- duration: 2000
68
- })
69
- this.setData({
70
- showModal: false
71
- })
72
- return
73
- }
74
-
75
- // 埋点 - 个人用户实体全属性上报
76
- let user_date_of_birth = ''
77
- if (cid_type === '111') {
78
- user_date_of_birth = utils.getBirthByIDCard(cid) || ''
79
- }
80
- const params = Object.assign(sessinInfo, {
81
- user_status: '2',
82
- last_login_time: wx.getStorageSync('tif.lastLoginTime') || '',
83
- user_date_of_birth
84
- })
85
- await utils.awaitTo(jingtongVerifyRequest.userEntityReport(params))
86
-
87
- // 删除缓存信息
88
- wx.removeStorageSync('tif.sid')
89
- wx.removeStorageSync('tif.uid')
90
- wx.removeStorageSync('tif.formDataSuccess')
91
- wx.removeStorageSync('tif.phone')
92
- wx.removeStorageSync('tif.realPhone')
93
- wx.removeStorageSync('tif.caPhone')
94
- wx.removeStorageSync('tif.has_phone')
95
- wx.removeStorageSync('tif.tel_confirm_time')
96
- wx.removeStorageSync('tif.faceTimeStamp')
97
- wx.removeStorageSync('tif.CAUniqueId')
98
- wx.removeStorageSync('tif.lastLoginTime')
99
- wx.removeStorageSync('tif.hideForeignTip')
100
-
101
- flow.navigateTo({
102
- url: '../logoff-success/logoff-success',
103
- })
104
-
105
- this.setData({
106
- showModal: false
107
- })
108
- },
109
-
110
- // 关闭弹窗
111
- Cancel() {
112
- this.setData({
113
- showModal: false
114
- })
115
- },
116
-
117
- // 显示注销弹框
118
- logOff() {
119
- this.setData({
120
- showModal: true
121
- })
122
- },
123
-
124
- // 返回上一级页面
125
- back() {
126
- wx.navigateBack()
127
- }
1
+ const jingtongVerifyRequest = require('../../utils/request')
2
+ const utils = require("../../utils/index")
3
+ const { flow } = require("@wecity/weda-plugin-utils")
4
+ import { SDKTrack } from '../../utils/QDTrackerNew/QDTrackerMain'
5
+
6
+ const dict = {
7
+ showLoading: {
8
+ zh_CN: '认证中...',
9
+ en: 'Authenticating...'
10
+ }
11
+ }
12
+ const {
13
+ language
14
+ } = wx.getSystemInfoSync()
15
+
16
+ Page({
17
+
18
+ /**
19
+ * 页面的初始数据
20
+ */
21
+ data: {
22
+ showModal: false,
23
+ sessinInfo: {},
24
+ verify_result: ''
25
+ },
26
+
27
+ onLoad(options) {
28
+ wx.hideShareMenu()
29
+
30
+ let sessinInfo = JSON.parse(options.sessionInfo)
31
+ console.log('sessinInfo', sessinInfo)
32
+ let verify_result = options.verify_result || ''
33
+ this.setData({
34
+ sessinInfo,
35
+ verify_result
36
+ })
37
+ },
38
+
39
+ // 弹框确认函数
40
+ async Confirm() {
41
+ wx.showLoading({
42
+ mask: true,
43
+ title: `${dict.showLoading[language]}`
44
+ })
45
+
46
+ let { sessinInfo, verify_result } = this.data
47
+ let { name = '', cid = '', cid_type = '' } = sessinInfo
48
+
49
+ // 上报事件
50
+ SDKTrack('function_btn_click', {
51
+ item_type: '8', // 业务分类
52
+ item_code: '110000000000511111993404900000', // 事项ID
53
+ item_access: '', // 业务入口
54
+ })
55
+
56
+ const [logOffErr, logOffRes] = await utils.awaitTo(jingtongVerifyRequest.logOff({
57
+ id_card_number: cid,
58
+ name,
59
+ verify_result
60
+ }))
61
+
62
+ if (logOffErr) {
63
+ console.log(logOffErr, '账号注销err')
64
+ wx.showToast({
65
+ title: JSON.parse(logOffErr).errmsg || '账号注销失败,请稍后再试',
66
+ icon: 'none',
67
+ duration: 2000
68
+ })
69
+ this.setData({
70
+ showModal: false
71
+ })
72
+ return
73
+ }
74
+
75
+ // 埋点 - 个人用户实体全属性上报
76
+ let user_date_of_birth = ''
77
+ if (cid_type === '111') {
78
+ user_date_of_birth = utils.getBirthByIDCard(cid) || ''
79
+ }
80
+ const params = Object.assign(sessinInfo, {
81
+ user_status: '2',
82
+ last_login_time: wx.getStorageSync('tif.lastLoginTime') || '',
83
+ user_date_of_birth
84
+ })
85
+ await utils.awaitTo(jingtongVerifyRequest.userEntityReport(params))
86
+
87
+ // 删除缓存信息
88
+ wx.removeStorageSync('tif.sid')
89
+ wx.removeStorageSync('tif.uid')
90
+ wx.removeStorageSync('tif.formDataSuccess')
91
+ wx.removeStorageSync('tif.phone')
92
+ wx.removeStorageSync('tif.realPhone')
93
+ wx.removeStorageSync('tif.caPhone')
94
+ wx.removeStorageSync('tif.has_phone')
95
+ wx.removeStorageSync('tif.tel_confirm_time')
96
+ wx.removeStorageSync('tif.faceTimeStamp')
97
+ wx.removeStorageSync('tif.CAUniqueId')
98
+ wx.removeStorageSync('tif.lastLoginTime')
99
+ wx.removeStorageSync('tif.hideForeignTip')
100
+
101
+ flow.navigateTo({
102
+ url: '../logoff-success/logoff-success',
103
+ })
104
+
105
+ this.setData({
106
+ showModal: false
107
+ })
108
+ },
109
+
110
+ // 关闭弹窗
111
+ Cancel() {
112
+ this.setData({
113
+ showModal: false
114
+ })
115
+ },
116
+
117
+ // 显示注销弹框
118
+ logOff() {
119
+ this.setData({
120
+ showModal: true
121
+ })
122
+ },
123
+
124
+ // 返回上一级页面
125
+ back() {
126
+ wx.navigateBack()
127
+ }
128
128
  })
@@ -1,6 +1,6 @@
1
- {
2
- "usingComponents": {
3
- "my-modal": "../../components/my-modal/my-modal"
4
- },
5
- "navigationBarTitleText": "账号注销"
1
+ {
2
+ "usingComponents": {
3
+ "my-modal": "../../components/my-modal/my-modal"
4
+ },
5
+ "navigationBarTitleText": "账号注销"
6
6
  }
@@ -1,36 +1,36 @@
1
- <!--weapps-plugin-jingtong-verify/pages/log-off/log-off.wxml-->
2
- <view>
3
- <view class="top-box">
4
- <text class="title">账号注销须知</text>
5
- </view>
6
- <view class="text-content">
7
- <view class="content">1、账号注销后,您将无法再次登录京通,在京通产生的所有数据将无法查看;</view>
8
- <view class="content">2、账号注销后,已授权使用的第三方服务全部解除授权且无法继续使用;</view>
9
- <view class="content">3、账号注销后,您的个人空间(包括收藏、消息、证照、业务办理事项相关信息等)将会被删除,京通不保留数据信息;</view>
10
- <view class="content">4、账号注销后,您曾通过该账号登录、使用的京通与服务下的所有内容、信息、数据、记录将无法再检索、访问、获取、继续使用和找回;</view>
11
- <view class="content">5、账号注销后,该手机号码与您的实名认证信息将会解除,同时系统会自动删除您的实名信息;</view>
12
- <view class="content">6、如需要注销统一身份认证平台,请登录北京市政务服务网,进入个人中心,进行注销操作。</view>
13
- </view>
14
-
15
- <view class="bottom-box">
16
- <button class="confirm" bindtap="logOff">我已知晓,确认注销</button>
17
- <view class="cancel" bindtap="back">
18
- 我再想想
19
- </view>
20
- </view>
21
-
22
- <my-modal
23
- title="提示"
24
- Confirm="true"
25
- Cancel="true"
26
- ConfirmText="确认注销"
27
- confirmColor="#ce0022"
28
- cancelColor="#27282E"
29
- visible="{{ showModal }}"
30
- bindConfirmBtn="Confirm"
31
- bindCancelBtn="Cancel">
32
- <view>
33
- 账号注销后不可恢复,请确认为本人操作并注销?
34
- </view>
35
- </my-modal>
36
- </view>
1
+ <!--weapps-plugin-jingtong-verify/pages/log-off/log-off.wxml-->
2
+ <view>
3
+ <view class="top-box">
4
+ <text class="title">账号注销须知</text>
5
+ </view>
6
+ <view class="text-content">
7
+ <view class="content">1、账号注销后,您将无法再次登录京通,在京通产生的所有数据将无法查看;</view>
8
+ <view class="content">2、账号注销后,已授权使用的第三方服务全部解除授权且无法继续使用;</view>
9
+ <view class="content">3、账号注销后,您的个人空间(包括收藏、消息、证照、业务办理事项相关信息等)将会被删除,京通不保留数据信息;</view>
10
+ <view class="content">4、账号注销后,您曾通过该账号登录、使用的京通与服务下的所有内容、信息、数据、记录将无法再检索、访问、获取、继续使用和找回;</view>
11
+ <view class="content">5、账号注销后,该手机号码与您的实名认证信息将会解除,同时系统会自动删除您的实名信息;</view>
12
+ <view class="content">6、如需要注销统一身份认证平台,请登录北京市政务服务网,进入个人中心,进行注销操作。</view>
13
+ </view>
14
+
15
+ <view class="bottom-box">
16
+ <button class="confirm" bindtap="logOff">我已知晓,确认注销</button>
17
+ <view class="cancel" bindtap="back">
18
+ 我再想想
19
+ </view>
20
+ </view>
21
+
22
+ <my-modal
23
+ title="提示"
24
+ Confirm="true"
25
+ Cancel="true"
26
+ ConfirmText="确认注销"
27
+ confirmColor="#ce0022"
28
+ cancelColor="#27282E"
29
+ visible="{{ showModal }}"
30
+ bindConfirmBtn="Confirm"
31
+ bindCancelBtn="Cancel">
32
+ <view>
33
+ 账号注销后不可恢复,请确认为本人操作并注销?
34
+ </view>
35
+ </my-modal>
36
+ </view>