weapps-plugin-jingtong-verify 1.6.1 → 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 (183) hide show
  1. package/README.md +1 -2
  2. package/app.json +33 -33
  3. package/package.json +20 -20
  4. package/sdk.js +309 -289
  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 -179
  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 -236
  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 -206
  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 -39
  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 -9
  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 -262
  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 +1557 -1547
  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 -504
  146. package/weapps-plugin-jingtong-verify/pages/face-verify/face-verify.wxss +133 -133
  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 -120
  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 -328
  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/rules.js +301 -301
  182. package/weapps-plugin-jingtong-verify/utils/tifadmin_config.js +61 -61
  183. package/weapps-plugin-jingtong-verify/utils/validate.js +772 -772
@@ -1,31 +1,31 @@
1
-
2
- Component({
3
- /**
4
- * 组件的属性列表
5
- */
6
- properties: {
7
- visible: {
8
- type: Boolean,
9
- value: false
10
- }
11
- },
12
-
13
- /**
14
- * 组件的初始数据
15
- */
16
- data: {
17
- content: ''
18
- },
19
-
20
- /**
21
- * 组件的方法列表
22
- */
23
- methods: {
24
- handleOk() {
25
- this.triggerEvent('ok')
26
- },
27
- handleCancel() {
28
- this.triggerEvent('cancel')
29
- }
30
- }
31
- })
1
+
2
+ Component({
3
+ /**
4
+ * 组件的属性列表
5
+ */
6
+ properties: {
7
+ visible: {
8
+ type: Boolean,
9
+ value: false
10
+ }
11
+ },
12
+
13
+ /**
14
+ * 组件的初始数据
15
+ */
16
+ data: {
17
+ content: ''
18
+ },
19
+
20
+ /**
21
+ * 组件的方法列表
22
+ */
23
+ methods: {
24
+ handleOk() {
25
+ this.triggerEvent('ok')
26
+ },
27
+ handleCancel() {
28
+ this.triggerEvent('cancel')
29
+ }
30
+ }
31
+ })
@@ -1,4 +1,4 @@
1
- {
2
- "component": true,
3
- "usingComponents": {}
1
+ {
2
+ "component": true,
3
+ "usingComponents": {}
4
4
  }
@@ -1,10 +1,10 @@
1
- <view wx:if="{{ visible }}" class="modal-view">
2
- <view class="modal-box">
3
- <view class="content">
4
- <view class="title">温馨提示</view>
5
- <view class="desc">当前认证方式维护中,您可使用【银行卡认证方式】继续登录,感谢您的理解。</view>
6
- <view class="btn btn-know" catch:tap="handleOk">使用银行卡认证方式登录</view>
7
- <view class="btn btn-cancel" catch:tap="handleCancel">取消</view>
8
- </view>
9
- </view>
1
+ <view wx:if="{{ visible }}" class="modal-view">
2
+ <view class="modal-box">
3
+ <view class="content">
4
+ <view class="title">温馨提示</view>
5
+ <view class="desc">当前认证方式维护中,您可使用【银行卡认证方式】继续登录,感谢您的理解。</view>
6
+ <view class="btn btn-know" catch:tap="handleOk">使用银行卡认证方式登录</view>
7
+ <view class="btn btn-cancel" catch:tap="handleCancel">取消</view>
8
+ </view>
9
+ </view>
10
10
  </view>
@@ -1,66 +1,66 @@
1
- /* weapps-plugin-jingtong-verify/components/my-modal/my-modal.wxss */
2
- .modal-view {
3
- position: fixed;
4
- top: 0;
5
- bottom: 0;
6
- left: 0;
7
- right: 0;
8
- background: rgba(39, 40, 46, 0.6);
9
- display: flex;
10
- justify-content: center;
11
- align-items: center;
12
- z-index: 9999;
13
- }
14
-
15
- .modal-box {
16
- box-sizing: border-box;
17
- width: 560rpx;
18
- /* height: 796rpx; */
19
- border-radius: 4rpx;
20
- background: #FFF;
21
- }
22
-
23
- .content {
24
- padding: 40rpx 48rpx;
25
- }
26
-
27
- .title {
28
- color: #000;
29
- font-size: 36rpx;
30
- font-weight: 500;
31
- text-align: center;
32
- margin-bottom: 32rpx;
33
- }
34
-
35
- .desc {
36
- color: #62667a;
37
- text-align: justify;
38
- font-size: 30rpx;
39
- font-weight: 500;
40
- line-height: 48rpx;
41
- margin-bottom: 48rpx;
42
- }
43
-
44
- .btn {
45
- width: 464rpx;
46
- height: 96rpx;
47
- box-sizing: border-box;
48
- padding: 24rpx 44rpx 24rpx 46rpx;
49
- border-radius: 16rpx;
50
- font-size: 34rpx;
51
- font-weight: 700;
52
- box-shadow: 0 24rpx 48rpx 0 #ce00221a;
53
- text-align: center;
54
- }
55
-
56
- .btn-know {
57
- background: #CE0022;
58
- color: #ffffff;
59
- margin-bottom: 32rpx;
60
- }
61
-
62
- .btn-cancel {
63
- background: transparent;
64
- border: 2rpx solid #CE0022;
65
- color: #ce0022;
1
+ /* weapps-plugin-jingtong-verify/components/my-modal/my-modal.wxss */
2
+ .modal-view {
3
+ position: fixed;
4
+ top: 0;
5
+ bottom: 0;
6
+ left: 0;
7
+ right: 0;
8
+ background: rgba(39, 40, 46, 0.6);
9
+ display: flex;
10
+ justify-content: center;
11
+ align-items: center;
12
+ z-index: 9999;
13
+ }
14
+
15
+ .modal-box {
16
+ box-sizing: border-box;
17
+ width: 560rpx;
18
+ /* height: 796rpx; */
19
+ border-radius: 4rpx;
20
+ background: #FFF;
21
+ }
22
+
23
+ .content {
24
+ padding: 40rpx 48rpx;
25
+ }
26
+
27
+ .title {
28
+ color: #000;
29
+ font-size: 36rpx;
30
+ font-weight: 500;
31
+ text-align: center;
32
+ margin-bottom: 32rpx;
33
+ }
34
+
35
+ .desc {
36
+ color: #62667a;
37
+ text-align: justify;
38
+ font-size: 30rpx;
39
+ font-weight: 500;
40
+ line-height: 48rpx;
41
+ margin-bottom: 48rpx;
42
+ }
43
+
44
+ .btn {
45
+ width: 464rpx;
46
+ height: 96rpx;
47
+ box-sizing: border-box;
48
+ padding: 24rpx 44rpx 24rpx 46rpx;
49
+ border-radius: 16rpx;
50
+ font-size: 34rpx;
51
+ font-weight: 700;
52
+ box-shadow: 0 24rpx 48rpx 0 #ce00221a;
53
+ text-align: center;
54
+ }
55
+
56
+ .btn-know {
57
+ background: #CE0022;
58
+ color: #ffffff;
59
+ margin-bottom: 32rpx;
60
+ }
61
+
62
+ .btn-cancel {
63
+ background: transparent;
64
+ border: 2rpx solid #CE0022;
65
+ color: #ce0022;
66
66
  }
@@ -1,37 +1,37 @@
1
- // weapps-plugin-jingtong-verify/components/my-modal/my-modal.js
2
-
3
- Component({
4
- /**
5
- * 组件的属性列表
6
- */
7
- properties: {
8
- visible: {
9
- type: Boolean,
10
- value: false
11
- },
12
- faceErrorType: {
13
- type: String,
14
- value: ''
15
- }
16
- },
17
-
18
- /**
19
- * 组件的初始数据
20
- */
21
- data: {
22
-
23
- },
24
-
25
- /**
26
- * 组件的方法列表
27
- */
28
- methods: {
29
- ConfirmClick(e) {
30
- this.triggerEvent('ConfirmBtn', e)
31
- },
32
-
33
- CancelClick(e) {
34
- this.triggerEvent('CancelBtn')
35
- }
36
- }
37
- })
1
+ // weapps-plugin-jingtong-verify/components/my-modal/my-modal.js
2
+
3
+ Component({
4
+ /**
5
+ * 组件的属性列表
6
+ */
7
+ properties: {
8
+ visible: {
9
+ type: Boolean,
10
+ value: false
11
+ },
12
+ faceErrorType: {
13
+ type: String,
14
+ value: ''
15
+ }
16
+ },
17
+
18
+ /**
19
+ * 组件的初始数据
20
+ */
21
+ data: {
22
+
23
+ },
24
+
25
+ /**
26
+ * 组件的方法列表
27
+ */
28
+ methods: {
29
+ ConfirmClick(e) {
30
+ this.triggerEvent('ConfirmBtn', e)
31
+ },
32
+
33
+ CancelClick(e) {
34
+ this.triggerEvent('CancelBtn')
35
+ }
36
+ }
37
+ })
@@ -1,4 +1,4 @@
1
- {
2
- "component": true,
3
- "usingComponents": {}
1
+ {
2
+ "component": true,
3
+ "usingComponents": {}
4
4
  }
@@ -1,31 +1,31 @@
1
- <view class="modal-view" wx:if="{{ visible }}" >
2
- <view class="modal-box">
3
- <view class="title">扫脸失败温馨提示</view>
4
-
5
- <!-- 1: 未办理过身份证/新办理身份证的 -->
6
- <view class="content" wx:if="{{ faceErrorType == '1' }}">
7
- <text>发现您扫脸失败,可能是因为以下原因: </text>
8
- <text>1.尚未办理身份证</text>
9
- <text>2.新办理身份证,但扫脸失败</text>
10
- </view>
11
- <!-- 2: 刷脸没刷过,60岁以下的 -->
12
- <view class="content" wx:if="{{ faceErrorType == '2' }}">
13
- <text>发现您扫脸失败,可能是因为以下原因:</text>
14
- <text>1.认证时提示光线、镜头模糊</text>
15
- <text>2.因年老、手术、留胡等情况导致人脸变化较大</text>
16
- <text>3.人脸识别显示通过后,并没有成功登录或者是需要再次人脸识别</text>
17
- </view>
18
- <!-- 3: 刷脸没刷过,60岁以上的 -->
19
- <view class="content" wx:if="{{ faceErrorType == '3' }}">
20
- <text>发现您扫脸失败,可能是因为以下原因:</text>
21
- <text>1.因年老、手术、留胡等情况导致人脸变化较大</text>
22
- <text>2.认证时提示光线、镜头模糊</text>
23
- <text>3.人脸识别显示通过后,并没有成功登录或者是需要再次人脸识别</text>
24
- </view>
25
-
26
- <view class="button">
27
- <button class="cancel-btn" bindtap="CancelClick">取消</button>
28
- <button class="confirm-btn" bindtap="ConfirmClick">查看解决方案</button>
29
- </view>
30
- </view>
1
+ <view class="modal-view" wx:if="{{ visible }}" >
2
+ <view class="modal-box">
3
+ <view class="title">扫脸失败温馨提示</view>
4
+
5
+ <!-- 1: 未办理过身份证/新办理身份证的 -->
6
+ <view class="content" wx:if="{{ faceErrorType == '1' }}">
7
+ <text>发现您扫脸失败,可能是因为以下原因: </text>
8
+ <text>1.尚未办理身份证</text>
9
+ <text>2.新办理身份证,但扫脸失败</text>
10
+ </view>
11
+ <!-- 2: 刷脸没刷过,60岁以下的 -->
12
+ <view class="content" wx:if="{{ faceErrorType == '2' }}">
13
+ <text>发现您扫脸失败,可能是因为以下原因:</text>
14
+ <text>1.认证时提示光线、镜头模糊</text>
15
+ <text>2.因年老、手术、留胡等情况导致人脸变化较大</text>
16
+ <text>3.人脸识别显示通过后,并没有成功登录或者是需要再次人脸识别</text>
17
+ </view>
18
+ <!-- 3: 刷脸没刷过,60岁以上的 -->
19
+ <view class="content" wx:if="{{ faceErrorType == '3' }}">
20
+ <text>发现您扫脸失败,可能是因为以下原因:</text>
21
+ <text>1.因年老、手术、留胡等情况导致人脸变化较大</text>
22
+ <text>2.认证时提示光线、镜头模糊</text>
23
+ <text>3.人脸识别显示通过后,并没有成功登录或者是需要再次人脸识别</text>
24
+ </view>
25
+
26
+ <view class="button">
27
+ <button class="cancel-btn" bindtap="CancelClick">取消</button>
28
+ <button class="confirm-btn" bindtap="ConfirmClick">查看解决方案</button>
29
+ </view>
30
+ </view>
31
31
  </view>
@@ -1,79 +1,79 @@
1
- .modal-view {
2
- position: fixed;
3
- top: 0;
4
- bottom: 0;
5
- left: 0;
6
- right: 0;
7
- background: rgba(39, 40, 46, 0.6);
8
- display: flex;
9
- justify-content: center;
10
- align-items: center;
11
- z-index: 9995;
12
- }
13
- .modal-box {
14
- width: 560rpx;
15
- border-radius: 24rpx;
16
- background: #ffffff;
17
- display: flex;
18
- align-items: center;
19
- flex-direction: column;
20
- }
21
- .title {
22
- margin-top: 40rpx;
23
- font-size: 36rpx;
24
- color: #333;
25
- font-weight: bold;
26
- }
27
- .content {
28
- font-size: 30rpx;
29
- line-height: 42rpx;
30
- margin-top: 20rpx;
31
- margin-bottom: 38rpx;
32
- color: #333;
33
- text-align: justify;
34
- display: flex;
35
- flex-direction: column;
36
- justify-content: flex-start;
37
- align-items: flex-start;
38
- padding: 0 40rpx 0 30rpx;
39
- }
40
- .button {
41
- position: relative;
42
- bottom: 0;
43
- width: 560rpx;
44
- height: 98rpx;
45
- border-top: 1rpx solid #e4e4e4;
46
- display: flex;
47
- }
48
-
49
- .confirm-btn,
50
- .cancel-btn {
51
- flex: 1;
52
- cursor: pointer;
53
- padding: 0;
54
- margin: 0;
55
- font-size: 36rpx;
56
- text-align: center;
57
- font-weight: normal;
58
- }
59
-
60
- .button > button {
61
- background-color: #fff !important;
62
- border: none !important;
63
- }
64
- .button > button:first-child {
65
- border-radius: 0 0 0 24rpx !important;
66
- }
67
- .button > button:last-child {
68
- border-radius: 0 0 24rpx 0 !important;
69
- border-left: 1rpx solid #e4e4e4 !important;
70
- }
71
-
72
- .confirm-btn {
73
- font-weight: bold;
74
- color: #ce0022;
75
- }
76
-
77
- .cancel-btn {
78
- color: #1d1f24;
79
- }
1
+ .modal-view {
2
+ position: fixed;
3
+ top: 0;
4
+ bottom: 0;
5
+ left: 0;
6
+ right: 0;
7
+ background: rgba(39, 40, 46, 0.6);
8
+ display: flex;
9
+ justify-content: center;
10
+ align-items: center;
11
+ z-index: 9995;
12
+ }
13
+ .modal-box {
14
+ width: 560rpx;
15
+ border-radius: 24rpx;
16
+ background: #ffffff;
17
+ display: flex;
18
+ align-items: center;
19
+ flex-direction: column;
20
+ }
21
+ .title {
22
+ margin-top: 40rpx;
23
+ font-size: 36rpx;
24
+ color: #333;
25
+ font-weight: bold;
26
+ }
27
+ .content {
28
+ font-size: 30rpx;
29
+ line-height: 42rpx;
30
+ margin-top: 20rpx;
31
+ margin-bottom: 38rpx;
32
+ color: #333;
33
+ text-align: justify;
34
+ display: flex;
35
+ flex-direction: column;
36
+ justify-content: flex-start;
37
+ align-items: flex-start;
38
+ padding: 0 40rpx 0 30rpx;
39
+ }
40
+ .button {
41
+ position: relative;
42
+ bottom: 0;
43
+ width: 560rpx;
44
+ height: 98rpx;
45
+ border-top: 1rpx solid #e4e4e4;
46
+ display: flex;
47
+ }
48
+
49
+ .confirm-btn,
50
+ .cancel-btn {
51
+ flex: 1;
52
+ cursor: pointer;
53
+ padding: 0;
54
+ margin: 0;
55
+ font-size: 36rpx;
56
+ text-align: center;
57
+ font-weight: normal;
58
+ }
59
+
60
+ .button > button {
61
+ background-color: #fff !important;
62
+ border: none !important;
63
+ }
64
+ .button > button:first-child {
65
+ border-radius: 0 0 0 24rpx !important;
66
+ }
67
+ .button > button:last-child {
68
+ border-radius: 0 0 24rpx 0 !important;
69
+ border-left: 1rpx solid #e4e4e4 !important;
70
+ }
71
+
72
+ .confirm-btn {
73
+ font-weight: bold;
74
+ color: #ce0022;
75
+ }
76
+
77
+ .cancel-btn {
78
+ color: #1d1f24;
79
+ }
@@ -1,32 +1,32 @@
1
-
2
- Component({
3
- /**
4
- * 组件的属性列表
5
- */
6
- properties: {
7
- visible: {
8
- type: Boolean,
9
- value: false
10
- },
11
- isKidsOrOld: {
12
- type: Boolean,
13
- value: false
14
- }
15
- },
16
-
17
- /**
18
- * 组件的初始数据
19
- */
20
- data: {
21
- content: ''
22
- },
23
-
24
- /**
25
- * 组件的方法列表
26
- */
27
- methods: {
28
- handleOk() {
29
- this.triggerEvent('ok')
30
- }
31
- }
32
- })
1
+
2
+ Component({
3
+ /**
4
+ * 组件的属性列表
5
+ */
6
+ properties: {
7
+ visible: {
8
+ type: Boolean,
9
+ value: false
10
+ },
11
+ isKidsOrOld: {
12
+ type: Boolean,
13
+ value: false
14
+ }
15
+ },
16
+
17
+ /**
18
+ * 组件的初始数据
19
+ */
20
+ data: {
21
+ content: ''
22
+ },
23
+
24
+ /**
25
+ * 组件的方法列表
26
+ */
27
+ methods: {
28
+ handleOk() {
29
+ this.triggerEvent('ok')
30
+ }
31
+ }
32
+ })
@@ -1,4 +1,4 @@
1
- {
2
- "component": true,
3
- "usingComponents": {}
1
+ {
2
+ "component": true,
3
+ "usingComponents": {}
4
4
  }
@@ -1,17 +1,17 @@
1
- <view wx:if="{{ visible }}" class="modal-view">
2
- <view class="modal-box">
3
- <view class="content">
4
- <view class="title">温馨提示</view>
5
- <view class="mb50">
6
- <view>为确保人脸识别结果准确,请注意:</view>
7
- <view>1.请<text class="desc-red">正面对准摄像头</text>进行人脸识别</view>
8
- <view>2.请确保周围<text class="desc-red">环境光线充足</text></view>
9
- <view>3.请<text class="desc-red">勿佩戴遮挡脸部物品</text>,包括口罩/墨镜等</view>
10
- <view>4.请确保<text class="desc-red">摄像头清洁且避免被遮挡</text></view>
11
- </view>
12
- <view class="mb50"><text class="desc-red">您已连续认证失败{{ isKidsOrOld ? '6' : '3' }}次</text>,请您检查人脸识别时是否有上述情况,若确认无误可再次尝试进行人脸识别。</view>
13
- <view class="desc-red">注:如您连续认证失败{{ isKidsOrOld ? '18' : '6' }}次,将临时锁定您的权限,请您切换至京通小程序支付宝或百度端进行尝试,或您可以明天再进行尝试。</view>
14
- </view>
15
- <view class="btn-view" catch:tap="handleOk">我知道了</view>
16
- </view>
1
+ <view wx:if="{{ visible }}" class="modal-view">
2
+ <view class="modal-box">
3
+ <view class="content">
4
+ <view class="title">温馨提示</view>
5
+ <view class="mb50">
6
+ <view>为确保人脸识别结果准确,请注意:</view>
7
+ <view>1.请<text class="desc-red">正面对准摄像头</text>进行人脸识别</view>
8
+ <view>2.请确保周围<text class="desc-red">环境光线充足</text></view>
9
+ <view>3.请<text class="desc-red">勿佩戴遮挡脸部物品</text>,包括口罩/墨镜等</view>
10
+ <view>4.请确保<text class="desc-red">摄像头清洁且避免被遮挡</text></view>
11
+ </view>
12
+ <view class="mb50"><text class="desc-red">您已连续认证失败{{ isKidsOrOld ? '6' : '3' }}次</text>,请您检查人脸识别时是否有上述情况,若确认无误可再次尝试进行人脸识别。</view>
13
+ <view class="desc-red">注:如您连续认证失败{{ isKidsOrOld ? '18' : '6' }}次,将临时锁定您的权限,请您切换至京通小程序支付宝或百度端进行尝试,或您可以明天再进行尝试。</view>
14
+ </view>
15
+ <view class="btn-view" catch:tap="handleOk">我知道了</view>
16
+ </view>
17
17
  </view>