weapps-plugin-jingtong-verify 1.6.1 → 1.6.2-beta.2

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 (184) hide show
  1. package/README.md +1 -2
  2. package/app.json +33 -33
  3. package/package.json +20 -20
  4. package/sdk.js +313 -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 +865 -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/request.js +1 -1
  182. package/weapps-plugin-jingtong-verify/utils/rules.js +301 -301
  183. package/weapps-plugin-jingtong-verify/utils/tifadmin_config.js +61 -61
  184. package/weapps-plugin-jingtong-verify/utils/validate.js +772 -772
@@ -1,142 +1,142 @@
1
- <!--weapps-plugin-jingtong-verify/pages/user-info/user-info.wxml-->
2
- <view wx:if="{{ showPage }}">
3
- <page-container show="{{ showPage }}" position="center" duration="{{ false }}" overlay="{{ false }}" custom-style="height:100vh;overflow-y:scroll;" bind:beforeleave="onBeforeLeave" catch:touchmove="preventSwipe">
4
- <view>
5
- <view class="top-box">
6
- <text class="title">基础信息</text>
7
- <image src="{{ showEye ? '../../images/preview-open.png' : '../../images/preview-close.png' }}" mode="" class="icon" catchtap="changeEye"/>
8
- </view>
9
- <view class="content-box">
10
- <view class="cell">
11
- <view class="cell-flex">
12
- <text class="label">姓名</text>
13
- <image src="../../images/question.png" mode="widthFix" catch:tap="showTip" />
14
- </view>
15
- <text class="content">{{ showEye ? name : star_name }}</text>
16
- </view>
17
-
18
- <!-- 只限港澳/台通行证、华侨护照和外国护照四类证件可以补填 -->
19
- <view wx:if="{{ fourTypeCert }}">
20
- <view class="cell">
21
- <text class="label">性别</text>
22
- <view class="content">
23
- <picker bindchange="bindSexChange" range="{{ sexRangeZH }}" mode="selector" range-key="name" value="{{ sexIndex }}">
24
- <view>
25
- <text class="to-full" wx:if="{{ sex === '未知' }}">去完善</text>
26
- <text wx:else>{{ sex }}</text>
27
- <image src="../../images/Vector.png" mode="" class="img" />
28
- </view>
29
- </picker>
30
- </view>
31
- </view>
32
- <view class="cell">
33
- <text class="label">出生日期</text>
34
- <view class="content">
35
- <picker bindchange="bindBirthChange" mode="date" value="{{ birthday }}">
36
- <view>
37
- <text class="to-full" wx:if="{{ !birthday }}">去完善</text>
38
- <text wx:else>{{ birthday }}</text>
39
- <image src="../../images/Vector.png" mode="" class="img" />
40
- </view>
41
- </picker>
42
- </view>
43
- </view>
44
- </view>
45
-
46
- <view class="cell" wx:else>
47
- <text class="label">性别</text>
48
- <text class="content">
49
- <text>{{ sex }}</text>
50
- </text>
51
- </view>
52
-
53
- <view class="cell" wx:if="{{ cid_type === '700' }}">
54
- <text class="label">出生日期</text>
55
- <text class="content">
56
- <text>{{ birthday }}</text>
57
- </text>
58
- </view>
59
-
60
- <view class="cell">
61
- <view class="cell-flex">
62
- <text class="label">证件号码</text>
63
- <image src="../../images/question.png" mode="widthFix" catch:tap="showTip" />
64
- </view>
65
- <text class="content">{{ showEye ? cid : star_cid }}</text>
66
- </view>
67
-
68
- <view class="cell">
69
- <text class="label">换绑手机号</text>
70
- <view class="content" catchtap="showPhoneModal">
71
- <text>{{ showEye ? phone : star_phone }}</text>
72
- <image src="../../images/Vector.png" mode="" class="img" wx:if="{{ phone }}"/>
73
- </view>
74
- </view>
75
- </view>
76
- <view class="bottom-box" wx:if="{{ fourTypeCert }}">
77
- <button class="btn" bindtap="toSave" wx:if="{{ canSave }}">保存</button>
78
- <button class="btn btn-disabled" wx:else>保存</button>
79
- </view>
80
- </view>
81
- </page-container>
82
- </view>
83
-
84
- <!-- 绑定手机号码 -->
85
- <my-modal
86
- title="提示"
87
- Confirm="true"
88
- confirmColor="#ce0022"
89
- Cancel="true"
90
- visible="{{ phoneModal }}"
91
- bind:ConfirmBtn="confirmPhoneModal"
92
- bind:CancelBtn="confirmPhoneModal"
93
- confirmOpenType="getPhoneNumber"
94
- bind:getPhoneNumberFun="getPhoneNumberFun">
95
- <view>
96
- 您修改的是统一身份认证平台绑定的手机号: <text style="color: #ce0022">{{ phone }}</text>
97
- </view>
98
- </my-modal>
99
-
100
- <!-- 姓名、证件号码提示弹窗 -->
101
- <tip-modal
102
- visible="{{ showTipModal }}"
103
- bind:cancel="handleCloseModal"
104
- desc1="1、如果您在公安局变更了您的姓名或证件号码等信息,请您退出京通小程序后填写变更后的身份信息重新登录。"
105
- desc2="2、如果当前显示为他人信息(亲属/朋友等),请您退出京通小程序后使用本人身份信息重新登录。"
106
- ></tip-modal>
107
-
108
- <!-- 完善信息弹窗 -->
109
- <tip-modal
110
- visible="{{ showFullInfoModal }}"
111
- bind:cancel="handleFullInfoModalOk"
112
- xAlign="center"
113
- desc1="为了您更便捷使用京通服务,请完善 个人信息并确保信息的真实有效"
114
- ></tip-modal>
115
-
116
- <!-- 完善性别、出生日期弹窗 -->
117
- <tip-modal
118
- visible="{{ showSBModal }}"
119
- xAlign="center"
120
- bind:cancel="handleCloseModal"
121
- desc1="{{ sbDesc }}"
122
- desc2="需补充后才能保存"
123
- ></tip-modal>
124
-
125
- <!-- 离开页面未保存提示弹窗 -->
126
- <my-modal
127
- title="温馨提示"
128
- Confirm="true"
129
- Cancel="true"
130
- ConfirmText="去保存"
131
- CancelText="直接离开"
132
- confirmColor="#ce0022"
133
- cancelColor="#999"
134
- visible="{{ showLeaveModal }}"
135
- bindConfirmBtn="stopBack"
136
- bindCancelBtn="toBack">
137
- <view class="leave-modal">
138
- <view>您已修改的信息尚未保存,</view>
139
- <view>确定直接离开吗?</view>
140
- </view>
141
- </my-modal>
142
-
1
+ <!--weapps-plugin-jingtong-verify/pages/user-info/user-info.wxml-->
2
+ <view wx:if="{{ showPage }}">
3
+ <page-container show="{{ showPage }}" position="center" duration="{{ false }}" overlay="{{ false }}" custom-style="height:100vh;overflow-y:scroll;" bind:beforeleave="onBeforeLeave" catch:touchmove="preventSwipe">
4
+ <view>
5
+ <view class="top-box">
6
+ <text class="title">基础信息</text>
7
+ <image src="{{ showEye ? '../../images/preview-open.png' : '../../images/preview-close.png' }}" mode="" class="icon" catchtap="changeEye"/>
8
+ </view>
9
+ <view class="content-box">
10
+ <view class="cell">
11
+ <view class="cell-flex">
12
+ <text class="label">姓名</text>
13
+ <image src="../../images/question.png" mode="widthFix" catch:tap="showTip" />
14
+ </view>
15
+ <text class="content">{{ showEye ? name : star_name }}</text>
16
+ </view>
17
+
18
+ <!-- 只限港澳/台通行证、华侨护照和外国护照四类证件可以补填 -->
19
+ <view wx:if="{{ fourTypeCert }}">
20
+ <view class="cell">
21
+ <text class="label">性别</text>
22
+ <view class="content">
23
+ <picker bindchange="bindSexChange" range="{{ sexRangeZH }}" mode="selector" range-key="name" value="{{ sexIndex }}">
24
+ <view>
25
+ <text class="to-full" wx:if="{{ sex === '未知' }}">去完善</text>
26
+ <text wx:else>{{ sex }}</text>
27
+ <image src="../../images/Vector.png" mode="" class="img" />
28
+ </view>
29
+ </picker>
30
+ </view>
31
+ </view>
32
+ <view class="cell">
33
+ <text class="label">出生日期</text>
34
+ <view class="content">
35
+ <picker bindchange="bindBirthChange" mode="date" value="{{ birthday }}">
36
+ <view>
37
+ <text class="to-full" wx:if="{{ !birthday }}">去完善</text>
38
+ <text wx:else>{{ birthday }}</text>
39
+ <image src="../../images/Vector.png" mode="" class="img" />
40
+ </view>
41
+ </picker>
42
+ </view>
43
+ </view>
44
+ </view>
45
+
46
+ <view class="cell" wx:else>
47
+ <text class="label">性别</text>
48
+ <text class="content">
49
+ <text>{{ sex }}</text>
50
+ </text>
51
+ </view>
52
+
53
+ <view class="cell" wx:if="{{ cid_type === '700' }}">
54
+ <text class="label">出生日期</text>
55
+ <text class="content">
56
+ <text>{{ birthday }}</text>
57
+ </text>
58
+ </view>
59
+
60
+ <view class="cell">
61
+ <view class="cell-flex">
62
+ <text class="label">证件号码</text>
63
+ <image src="../../images/question.png" mode="widthFix" catch:tap="showTip" />
64
+ </view>
65
+ <text class="content">{{ showEye ? cid : star_cid }}</text>
66
+ </view>
67
+
68
+ <view class="cell">
69
+ <text class="label">换绑手机号</text>
70
+ <view class="content" catchtap="showPhoneModal">
71
+ <text>{{ showEye ? phone : star_phone }}</text>
72
+ <image src="../../images/Vector.png" mode="" class="img" wx:if="{{ phone }}"/>
73
+ </view>
74
+ </view>
75
+ </view>
76
+ <view class="bottom-box" wx:if="{{ fourTypeCert }}">
77
+ <button class="btn" bindtap="toSave" wx:if="{{ canSave }}">保存</button>
78
+ <button class="btn btn-disabled" wx:else>保存</button>
79
+ </view>
80
+ </view>
81
+ </page-container>
82
+ </view>
83
+
84
+ <!-- 绑定手机号码 -->
85
+ <my-modal
86
+ title="提示"
87
+ Confirm="true"
88
+ confirmColor="#ce0022"
89
+ Cancel="true"
90
+ visible="{{ phoneModal }}"
91
+ bind:ConfirmBtn="confirmPhoneModal"
92
+ bind:CancelBtn="confirmPhoneModal"
93
+ confirmOpenType="getPhoneNumber"
94
+ bind:getPhoneNumberFun="getPhoneNumberFun">
95
+ <view>
96
+ 您修改的是统一身份认证平台绑定的手机号: <text style="color: #ce0022">{{ phone }}</text>
97
+ </view>
98
+ </my-modal>
99
+
100
+ <!-- 姓名、证件号码提示弹窗 -->
101
+ <tip-modal
102
+ visible="{{ showTipModal }}"
103
+ bind:cancel="handleCloseModal"
104
+ desc1="1、如果您在公安局变更了您的姓名或证件号码等信息,请您退出京通小程序后填写变更后的身份信息重新登录。"
105
+ desc2="2、如果当前显示为他人信息(亲属/朋友等),请您退出京通小程序后使用本人身份信息重新登录。"
106
+ ></tip-modal>
107
+
108
+ <!-- 完善信息弹窗 -->
109
+ <tip-modal
110
+ visible="{{ showFullInfoModal }}"
111
+ bind:cancel="handleFullInfoModalOk"
112
+ xAlign="center"
113
+ desc1="为了您更便捷使用京通服务,请完善 个人信息并确保信息的真实有效"
114
+ ></tip-modal>
115
+
116
+ <!-- 完善性别、出生日期弹窗 -->
117
+ <tip-modal
118
+ visible="{{ showSBModal }}"
119
+ xAlign="center"
120
+ bind:cancel="handleCloseModal"
121
+ desc1="{{ sbDesc }}"
122
+ desc2="需补充后才能保存"
123
+ ></tip-modal>
124
+
125
+ <!-- 离开页面未保存提示弹窗 -->
126
+ <my-modal
127
+ title="温馨提示"
128
+ Confirm="true"
129
+ Cancel="true"
130
+ ConfirmText="去保存"
131
+ CancelText="直接离开"
132
+ confirmColor="#ce0022"
133
+ cancelColor="#999"
134
+ visible="{{ showLeaveModal }}"
135
+ bindConfirmBtn="stopBack"
136
+ bindCancelBtn="toBack">
137
+ <view class="leave-modal">
138
+ <view>您已修改的信息尚未保存,</view>
139
+ <view>确定直接离开吗?</view>
140
+ </view>
141
+ </my-modal>
142
+
@@ -1,111 +1,111 @@
1
- /* weapps-plugin-jingtong-verify/pages/user-info/user-info.wxss */
2
- .top-box {
3
- padding-left: 38rpx;
4
- margin-top: 42rpx;
5
- margin-bottom: 30rpx;
6
- }
7
- .icon {
8
- float: right;
9
- width: 48rpx;
10
- height: 48rpx;
11
- margin-right: 36rpx;
12
- }
13
- .title {
14
- font-size: 32rpx;
15
- font-weight: 700;
16
- }
17
- .title::before {
18
- content: '';
19
- display: inline-block;
20
- width: 8rpx;
21
- height: 28rpx;
22
- border-radius: 2rpx;
23
- background: #ce0022;
24
- margin-right: 12rpx;
25
- vertical-align: middle;
26
- margin-bottom: 2rpx;
27
- }
28
- .content-box {
29
- display: flex;
30
- justify-content: center;
31
- align-items: center;
32
- flex-direction: column;
33
- width: 100%;
34
- box-sizing: border-box;
35
- }
36
- .cell {
37
- display: flex;
38
- justify-content: space-between;
39
- align-items: center;
40
- width: 686rpx;
41
- padding: 32rpx 0;
42
- border-bottom: 2rpx solid #EDEDED;
43
- }
44
- .label {
45
- color: #62667A;
46
- font-size: 32rpx;
47
- }
48
- .img {
49
- width: 12rpx;
50
- height: 24rpx;
51
- margin-left: 16rpx;
52
- }
53
-
54
- .cell-flex {
55
- display: flex;
56
- flex-direction: row;
57
- justify-content: flex-start;
58
- align-items: center;
59
- }
60
-
61
- .cell-flex image {
62
- width: 40rpx;
63
- height: 40rpx;
64
- margin-left: 16rpx;
65
- }
66
-
67
- .content {
68
- font-size: 28rpx;
69
- color: #27282E;
70
- }
71
-
72
- .to-full {
73
- color: #B8BECC;
74
- }
75
-
76
- .bottom-box {
77
- width: 100%;
78
- height: 196rpx;
79
- position: fixed;
80
- left: 0;
81
- right: 0;
82
- bottom: 0;
83
- background: #FFFFFF;
84
- box-shadow: 0rpx 8rpx 32rpx 0rpx rgba(46,48,51,0.25);
85
- padding: 32rpx 32rpx 68rpx;
86
- box-sizing: border-box;
87
- }
88
-
89
- .btn {
90
- width: 100% !important;
91
- height: 100% !important;
92
- display: flex;
93
- justify-content: center;
94
- align-items: center;
95
- border-radius: 16rpx;
96
- background: #ce0022;
97
- box-shadow: 0rpx 24rpx 48rpx 0rpx rgba(206,0,34,0.1);
98
- color: #ffffff;
99
- font-size: 34rpx;
100
- }
101
-
102
- .btn-disabled {
103
- background: rgba(206,0,34,0.2);
104
- }
105
-
106
- .leave-modal {
107
- text-align: center;
108
- font-size: 34rpx;
109
- color: #62667A;
110
- line-height: 48rpx;
1
+ /* weapps-plugin-jingtong-verify/pages/user-info/user-info.wxss */
2
+ .top-box {
3
+ padding-left: 38rpx;
4
+ margin-top: 42rpx;
5
+ margin-bottom: 30rpx;
6
+ }
7
+ .icon {
8
+ float: right;
9
+ width: 48rpx;
10
+ height: 48rpx;
11
+ margin-right: 36rpx;
12
+ }
13
+ .title {
14
+ font-size: 32rpx;
15
+ font-weight: 700;
16
+ }
17
+ .title::before {
18
+ content: '';
19
+ display: inline-block;
20
+ width: 8rpx;
21
+ height: 28rpx;
22
+ border-radius: 2rpx;
23
+ background: #ce0022;
24
+ margin-right: 12rpx;
25
+ vertical-align: middle;
26
+ margin-bottom: 2rpx;
27
+ }
28
+ .content-box {
29
+ display: flex;
30
+ justify-content: center;
31
+ align-items: center;
32
+ flex-direction: column;
33
+ width: 100%;
34
+ box-sizing: border-box;
35
+ }
36
+ .cell {
37
+ display: flex;
38
+ justify-content: space-between;
39
+ align-items: center;
40
+ width: 686rpx;
41
+ padding: 32rpx 0;
42
+ border-bottom: 2rpx solid #EDEDED;
43
+ }
44
+ .label {
45
+ color: #62667A;
46
+ font-size: 32rpx;
47
+ }
48
+ .img {
49
+ width: 12rpx;
50
+ height: 24rpx;
51
+ margin-left: 16rpx;
52
+ }
53
+
54
+ .cell-flex {
55
+ display: flex;
56
+ flex-direction: row;
57
+ justify-content: flex-start;
58
+ align-items: center;
59
+ }
60
+
61
+ .cell-flex image {
62
+ width: 40rpx;
63
+ height: 40rpx;
64
+ margin-left: 16rpx;
65
+ }
66
+
67
+ .content {
68
+ font-size: 28rpx;
69
+ color: #27282E;
70
+ }
71
+
72
+ .to-full {
73
+ color: #B8BECC;
74
+ }
75
+
76
+ .bottom-box {
77
+ width: 100%;
78
+ height: 196rpx;
79
+ position: fixed;
80
+ left: 0;
81
+ right: 0;
82
+ bottom: 0;
83
+ background: #FFFFFF;
84
+ box-shadow: 0rpx 8rpx 32rpx 0rpx rgba(46,48,51,0.25);
85
+ padding: 32rpx 32rpx 68rpx;
86
+ box-sizing: border-box;
87
+ }
88
+
89
+ .btn {
90
+ width: 100% !important;
91
+ height: 100% !important;
92
+ display: flex;
93
+ justify-content: center;
94
+ align-items: center;
95
+ border-radius: 16rpx;
96
+ background: #ce0022;
97
+ box-shadow: 0rpx 24rpx 48rpx 0rpx rgba(206,0,34,0.1);
98
+ color: #ffffff;
99
+ font-size: 34rpx;
100
+ }
101
+
102
+ .btn-disabled {
103
+ background: rgba(206,0,34,0.2);
104
+ }
105
+
106
+ .leave-modal {
107
+ text-align: center;
108
+ font-size: 34rpx;
109
+ color: #62667A;
110
+ line-height: 48rpx;
111
111
  }
@@ -1,14 +1,14 @@
1
- /* 改变页面背景颜色 */
2
- .page {
3
- min-height: 100vh;
4
- background-image: linear-gradient(180deg,#f5f6fd,#dde5eb);
5
- background-repeat: no-repeat;
6
- }
7
- .success-container {
8
- min-height: 100vh;
9
- box-sizing: border-box;
10
- padding: 60rpx 0rpx 60rpx;
11
- text-align: center;
12
- background: linear-gradient(180deg, #DFF0FF 0%, #F2F6FA 10%, #eef0f4 20%);
13
- background-repeat: no-repeat;
1
+ /* 改变页面背景颜色 */
2
+ .page {
3
+ min-height: 100vh;
4
+ background-image: linear-gradient(180deg,#f5f6fd,#dde5eb);
5
+ background-repeat: no-repeat;
6
+ }
7
+ .success-container {
8
+ min-height: 100vh;
9
+ box-sizing: border-box;
10
+ padding: 60rpx 0rpx 60rpx;
11
+ text-align: center;
12
+ background: linear-gradient(180deg, #DFF0FF 0%, #F2F6FA 10%, #eef0f4 20%);
13
+ background-repeat: no-repeat;
14
14
  }