@uxda/appkit 4.0.3 → 4.0.14

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 (116) hide show
  1. package/.eslintrc.mjs +7 -7
  2. package/README.md +187 -187
  3. package/babel.config.js +12 -12
  4. package/package.json +75 -80
  5. package/project.config.json +15 -15
  6. package/project.tt.json +13 -13
  7. package/rollup.config.mjs +56 -56
  8. package/src/Appkit.ts +65 -65
  9. package/src/balance/api/endpoints.ts +126 -126
  10. package/src/balance/api/index.ts +82 -82
  11. package/src/balance/components/AccountView.vue +748 -748
  12. package/src/balance/components/BalanceCard.vue +205 -209
  13. package/src/balance/components/BalanceReminder.vue +85 -85
  14. package/src/balance/components/ConsumptionFilter.vue +218 -218
  15. package/src/balance/components/ConsumptionRules.vue +68 -68
  16. package/src/balance/components/DateFilter.vue +227 -226
  17. package/src/balance/components/DateRange.vue +78 -0
  18. package/src/balance/components/ListFilter.vue +64 -0
  19. package/src/balance/components/ListFilterPicker.vue +187 -0
  20. package/src/balance/components/SecondBalance.vue +71 -71
  21. package/src/balance/components/Tip.vue +45 -45
  22. package/src/balance/components/index.ts +13 -9
  23. package/src/balance/types.ts +91 -90
  24. package/src/components/bt-cropper/index.vue +774 -774
  25. package/src/components/bt-cropper/utils/calcCropper.js +42 -42
  26. package/src/components/bt-cropper/utils/calcImagePosition.js +23 -23
  27. package/src/components/bt-cropper/utils/calcImageSize.js +37 -37
  28. package/src/components/bt-cropper/utils/calcPointDistance.js +12 -12
  29. package/src/components/bt-cropper/utils/calcRightAndBottom.js +7 -7
  30. package/src/components/bt-cropper/utils/ratio.js +3 -3
  31. package/src/components/bt-cropper/utils/tools.js +25 -25
  32. package/src/components/dd-area/index.vue +225 -225
  33. package/src/components/dd-icon/doc.md +21 -21
  34. package/src/components/dd-icon/index.vue +23 -23
  35. package/src/components/dd-notice-bar/index.vue +78 -78
  36. package/src/components/dd-search/doc.md +34 -34
  37. package/src/components/dd-search/index.vue +168 -168
  38. package/src/components/dd-selector/index.vue +124 -124
  39. package/src/components/dd-skeleton/doc.md +19 -19
  40. package/src/components/dd-skeleton/index.vue +36 -36
  41. package/src/components/ocr-id/index.vue +114 -114
  42. package/src/components/ocr-id/types.d.ts +12 -12
  43. package/src/global.ts +6 -6
  44. package/src/index.ts +89 -89
  45. package/src/main.scss +1 -1
  46. package/src/notice/api/endpoints.ts +17 -17
  47. package/src/notice/api/index.ts +82 -82
  48. package/src/notice/components/NoticeBanner.vue +243 -243
  49. package/src/notice/components/NoticeEntry.vue +99 -99
  50. package/src/notice/components/NoticeList.vue +315 -315
  51. package/src/notice/components/NoticePopup.vue +161 -161
  52. package/src/notice/components/index.ts +5 -5
  53. package/src/notice/components/useCommonList.ts +86 -86
  54. package/src/notice/components/useNotice.ts +35 -35
  55. package/src/notice/index.ts +1 -1
  56. package/src/notice/types.ts +25 -25
  57. package/src/payment/api/config.ts +7 -7
  58. package/src/payment/api/endpoints.ts +103 -103
  59. package/src/payment/api/index.ts +71 -71
  60. package/src/payment/components/AmountPicker.vue +93 -93
  61. package/src/payment/components/RechargeResult.vue +69 -69
  62. package/src/payment/components/RechargeView.vue +154 -154
  63. package/src/payment/components/RightsPicker.vue +105 -105
  64. package/src/payment/components/TradeView.vue +298 -298
  65. package/src/payment/components/UserAgreement.vue +234 -234
  66. package/src/payment/components/index.ts +22 -22
  67. package/src/payment/index.ts +5 -5
  68. package/src/payment/services/index.ts +16 -16
  69. package/src/payment/services/invoke-recharge.ts +25 -25
  70. package/src/payment/services/request-payment.ts +58 -58
  71. package/src/payment/types.ts +28 -28
  72. package/src/register/components/SelfRegistration.vue +254 -254
  73. package/src/register/components/index.ts +2 -2
  74. package/src/shared/components/AppDrawer.vue +58 -58
  75. package/src/shared/components/AppVerify.vue +98 -0
  76. package/src/shared/components/DeviceVersion.vue +68 -68
  77. package/src/shared/components/EmptyView.vue +33 -33
  78. package/src/shared/components/OcrIcon.vue +119 -0
  79. package/src/shared/components/PageHeader.vue +79 -79
  80. package/src/shared/components/index.ts +7 -5
  81. package/src/shared/composables/index.ts +7 -5
  82. package/src/shared/composables/useCountdown.ts +46 -46
  83. package/src/shared/composables/useCrypto.ts +76 -0
  84. package/src/shared/composables/useDragBox.ts +97 -97
  85. package/src/shared/composables/useEncode.ts +43 -43
  86. package/src/shared/composables/useSafeArea.ts +46 -46
  87. package/src/shared/composables/useTabbar.ts +24 -24
  88. package/src/shared/composables/useUpload.ts +55 -0
  89. package/src/shared/composables/useValidator.ts +31 -31
  90. package/src/shared/http/Http.ts +136 -136
  91. package/src/shared/http/index.ts +1 -1
  92. package/src/shared/http/types.ts +157 -157
  93. package/src/shared/index.ts +3 -3
  94. package/src/shared/weixin/payment.ts +38 -38
  95. package/src/styles/fonts.scss +2 -2
  96. package/src/styles/vars.scss +3 -3
  97. package/src/user/api/endpoints.ts +17 -17
  98. package/src/user/api/index.ts +87 -87
  99. package/src/user/components/LoginSetting.vue +114 -114
  100. package/src/user/components/UserBinding.vue +307 -307
  101. package/src/user/components/UserBindingSuccess.vue +80 -80
  102. package/src/user/components/UserEntry.vue +137 -142
  103. package/src/user/components/UserFeedback.vue +440 -440
  104. package/src/user/components/UserFeedbackEntry.vue +192 -192
  105. package/src/user/components/UserHeadCrop.vue +65 -65
  106. package/src/user/components/UserInfo.vue +632 -632
  107. package/src/user/components/UserResourceEmpty.vue +75 -75
  108. package/src/user/components/index.ts +21 -21
  109. package/src/user/index.ts +1 -1
  110. package/tsconfig.json +30 -30
  111. package/types/global.d.ts +21 -21
  112. package/types/vue.d.ts +10 -10
  113. package/dist/appkit.css +0 -2331
  114. package/dist/assets/asset-3B_CoPto +0 -1
  115. package/dist/assets/asset-DcH8Kg-2 +0 -1
  116. package/dist/index.js +0 -7176
@@ -1,307 +1,307 @@
1
- <template>
2
- <div class="user-binding">
3
- <div class="user-binding-layout">
4
- <img
5
- class="user-binding-img"
6
- :src="`https://cdn.ddjf.com/static/images/customer-center/user-${
7
- current === 1 ? 'binding' : 'auth'
8
- }.png`"
9
- />
10
- <nut-steps :current="current" class="user-binding-steps">
11
- <nut-step title="身份认证">1</nut-step>
12
- <nut-step title="换绑手机">2</nut-step>
13
- </nut-steps>
14
- </div>
15
-
16
- <div class="user-binding-layout user-binding-inputlayout" style="flex: 1" v-if="current === 1">
17
- <nut-form>
18
- <nut-form-item label="手机号码" label-align="left">
19
- <nut-input
20
- v-model="authState.mobile"
21
- placeholder="请输入手机号码"
22
- :max-length="11"
23
- readonly
24
- input-align="right"
25
- />
26
- </nut-form-item>
27
- <nut-form-item label="验证码" label-align="left">
28
- <nut-input
29
- v-model="authState.code"
30
- placeholder="请输入验证码"
31
- :max-length="6"
32
- input-align="right"
33
- >
34
- <template #right>
35
- <nut-button
36
- :disabled="countdownActive"
37
- class="user-binding-codebtn"
38
- type="default"
39
- @click="onAuthCode"
40
- >{{ countdownText }}</nut-button
41
- >
42
- </template>
43
- </nut-input>
44
- </nut-form-item>
45
- </nut-form>
46
-
47
- <nut-button
48
- class="user-binding-btn"
49
- :disabled="!authState.code"
50
- block
51
- type="primary"
52
- @click="onAuth"
53
- >提交</nut-button
54
- >
55
- </div>
56
-
57
- <div class="user-binding-layout user-binding-inputlayout" style="flex: 1" v-else>
58
- <nut-form>
59
- <nut-form-item label="手机号码" label-align="left">
60
- <nut-input
61
- v-model="bindingState.mobile"
62
- placeholder="请输入新手机号码"
63
- :max-length="11"
64
- input-align="right"
65
- />
66
- </nut-form-item>
67
- <nut-form-item label="验证码" label-align="left">
68
- <nut-input
69
- v-model="bindingState.code"
70
- placeholder="请输入验证码"
71
- :max-length="6"
72
- input-align="right"
73
- >
74
- <template #right>
75
- <nut-button
76
- :disabled="countdownActive1"
77
- class="user-binding-codebtn"
78
- type="default"
79
- @click="onBindingCode"
80
- >{{ countdownText1 }}</nut-button
81
- >
82
- </template>
83
- </nut-input>
84
- </nut-form-item>
85
- </nut-form>
86
-
87
- <nut-button
88
- class="user-binding-btn"
89
- :disabled="!bindingState.code || !bindingState.mobile"
90
- block
91
- type="primary"
92
- @click="onBinding"
93
- >提交</nut-button
94
- >
95
- </div>
96
- </div>
97
- </template>
98
-
99
- <script lang="ts" setup>
100
- import { ref, reactive, onMounted } from 'vue'
101
- import { useCountdown } from '../../shared/composables/useCountdown'
102
- import { useValidator } from '../../shared/composables/useValidator'
103
- import Taro from '@tarojs/taro'
104
- import { useHttp } from '../api'
105
- import { useRouter } from '@tarojs/taro'
106
-
107
- const { params } = useRouter()
108
- const { countdownText, startCountdown, countdownActive } = useCountdown()
109
- const {
110
- countdownText: countdownText1,
111
- startCountdown: startCountdown1,
112
- countdownActive: countdownActive1,
113
- } = useCountdown()
114
- const { phoneValidator } = useValidator()
115
- const current = ref(1)
116
-
117
- onMounted(() => {
118
- if (!params.mobile) {
119
- return Taro.showToast({ title: '路径缺少mobile参数', icon: 'none' })
120
- }
121
- authState.mobile = params.mobile
122
- })
123
-
124
- /**
125
- * 身份认证
126
- */
127
- const authState = reactive({
128
- mobile: '',
129
- code: '',
130
- })
131
- function onAuth() {
132
- const $http = useHttp()
133
-
134
- // 向当前用户的手机中发送短信验证码
135
- $http.post('/cas/sysAccount/verify', { verifyCode: authState.code }).then((res) => {
136
- console.log(res, 'res')
137
- if (typeof res !== 'boolean') return
138
-
139
- Taro.showToast({ title: '身份认证成功', icon: 'success' })
140
- current.value++
141
- })
142
- }
143
- function onAuthCode() {
144
- const $http = useHttp()
145
-
146
- // 向当前用户的手机中发送短信验证码
147
- $http.get('/cas/sysAccount/getVerifyCodeToUserMobile').then((res) => {
148
- if (typeof res !== 'boolean') return
149
-
150
- Taro.showToast({ title: '短信发送成功,请注意查收', icon: 'none' })
151
- startCountdown()
152
- })
153
- }
154
-
155
- /**
156
- * 换绑手机
157
- */
158
- const bindingState = reactive({
159
- mobile: '',
160
- code: '',
161
- })
162
- function onBinding() {
163
- const msg = phoneValidator(bindingState.mobile)
164
- if (msg) {
165
- return Taro.showToast({ title: msg, icon: 'none' })
166
- }
167
-
168
- const $http = useHttp()
169
-
170
- $http
171
- .post(`/cas/sysAccount/verifyAndChangeMobile`, {
172
- mobile: bindingState.mobile,
173
- verifyCode: bindingState.code,
174
- })
175
- .then((res) => {
176
- if (typeof res !== 'boolean') return
177
-
178
- Taro.showToast({ title: '换绑成功', icon: 'success' })
179
- emits('success', bindingState.mobile)
180
- })
181
- }
182
- function onBindingCode() {
183
- const msg = phoneValidator(bindingState.mobile)
184
- if (msg) {
185
- return Taro.showToast({ title: msg, icon: 'none' })
186
- }
187
- if (params.mobile === bindingState.mobile) {
188
- return Taro.showToast({ title: '新手机号码不应与旧手机号码一致', icon: 'none' })
189
- }
190
-
191
- const $http = useHttp()
192
-
193
- // 向当前用户的手机中发送短信验证码
194
- $http.get(`/cas/sysAccount/getVerifyCodeToMobile/${bindingState.mobile}`).then((res) => {
195
- if (typeof res !== 'boolean') return
196
-
197
- Taro.showToast({ title: '短信发送成功,请注意查收', icon: 'none' })
198
- startCountdown1()
199
- })
200
- }
201
-
202
- // 父组件事件
203
- const emits = defineEmits(['success'])
204
- </script>
205
-
206
- <style lang="scss">
207
- .user-binding {
208
- height: 100vh;
209
- display: flex;
210
- flex-direction: column;
211
- box-sizing: border-box;
212
- padding: 10px 12px env(safe-area-inset-bottom, 0px);
213
- --nut-cell-padding: 0;
214
-
215
- &-img {
216
- width: 351px;
217
- height: 192px;
218
- }
219
- &-layout {
220
- position: relative;
221
- width: 351px;
222
- border-radius: 4px;
223
- background: #fff;
224
- overflow: hidden;
225
- margin-bottom: 10px;
226
- }
227
- &-inputlayout {
228
- padding: 0 10px;
229
- box-sizing: border-box;
230
- .nut-input {
231
- height: 40px;
232
- padding: 0;
233
- display: flex;
234
- align-items: center;
235
- font-size: 16px;
236
- padding-left: 3px;
237
- border-color: #f5f5f5;
238
- .input-text {
239
- width: 100%;
240
- }
241
- }
242
- }
243
- .nut-placeholder {
244
- color: #cccccc;
245
- }
246
- .user-binding-btn {
247
- position: absolute;
248
- bottom: 50px;
249
- left: 25px;
250
- width: calc(100% - 50px);
251
- font-size: 16px;
252
- background: var(--app-primary-color, #017fff);
253
- height: 40px;
254
- line-height: 38px;
255
- }
256
- .user-binding-codebtn {
257
- height: 30px;
258
- font-size: 12px;
259
- padding: 0;
260
- width: 90px;
261
- border: none;
262
- color: var(--app-primary-color, #017fff);
263
- background: #f2f2f2;
264
- }
265
- .user-binding-steps {
266
- margin-top: 15px;
267
- .nut-step-line {
268
- background: rgba(220, 220, 220, 1);
269
- left: 60%;
270
- right: -40%;
271
- }
272
- .nut-step-title {
273
- font-weight: bold;
274
- color: rgba(0, 0, 0, 0.4);
275
- }
276
- .nut-step.nut-step-wait .nut-step-icon {
277
- background: rgba(243, 243, 243, 1);
278
- border-color: rgba(243, 243, 243, 1);
279
- color: rgba(0, 0, 0, 0.4);
280
- }
281
- .nut-step.nut-step-process .nut-step-icon {
282
- background: var(--app-primary-color, #017fff);
283
- border-color: var(--app-primary-color, #017fff);
284
- }
285
- .nut-step.nut-step-process .nut-step-title {
286
- color: var(--app-primary-color, #017fff);
287
- }
288
- .nut-step-head {
289
- margin-bottom: 8px;
290
- }
291
- .nut-step.nut-step-finish .nut-step-title {
292
- color: rgba(0, 0, 0, 0.9);
293
- }
294
- .nut-step.nut-step-finish .nut-step-line {
295
- background: var(--app-primary-color, #017fff);
296
- }
297
- .nut-step.nut-step-finish .nut-step-head {
298
- color: var(--app-primary-color, #017fff);
299
- border-color: var(--app-primary-color, #017fff);
300
- }
301
- .nut-step-icon {
302
- width: 22px;
303
- height: 22px;
304
- }
305
- }
306
- }
307
- </style>
1
+ <template>
2
+ <div class="user-binding">
3
+ <div class="user-binding-layout">
4
+ <img
5
+ class="user-binding-img"
6
+ :src="`https://cdn.ddjf.com/static/images/customer-center/user-${
7
+ current === 1 ? 'binding' : 'auth'
8
+ }.png`"
9
+ />
10
+ <nut-steps :current="current" class="user-binding-steps">
11
+ <nut-step title="身份认证">1</nut-step>
12
+ <nut-step title="换绑手机">2</nut-step>
13
+ </nut-steps>
14
+ </div>
15
+
16
+ <div class="user-binding-layout user-binding-inputlayout" style="flex: 1" v-if="current === 1">
17
+ <nut-form>
18
+ <nut-form-item label="手机号码" label-align="left">
19
+ <nut-input
20
+ v-model="authState.mobile"
21
+ placeholder="请输入手机号码"
22
+ :max-length="11"
23
+ readonly
24
+ input-align="right"
25
+ />
26
+ </nut-form-item>
27
+ <nut-form-item label="验证码" label-align="left">
28
+ <nut-input
29
+ v-model="authState.code"
30
+ placeholder="请输入验证码"
31
+ :max-length="6"
32
+ input-align="right"
33
+ >
34
+ <template #right>
35
+ <nut-button
36
+ :disabled="countdownActive"
37
+ class="user-binding-codebtn"
38
+ type="default"
39
+ @click="onAuthCode"
40
+ >{{ countdownText }}</nut-button
41
+ >
42
+ </template>
43
+ </nut-input>
44
+ </nut-form-item>
45
+ </nut-form>
46
+
47
+ <nut-button
48
+ class="user-binding-btn"
49
+ :disabled="!authState.code"
50
+ block
51
+ type="primary"
52
+ @click="onAuth"
53
+ >提交</nut-button
54
+ >
55
+ </div>
56
+
57
+ <div class="user-binding-layout user-binding-inputlayout" style="flex: 1" v-else>
58
+ <nut-form>
59
+ <nut-form-item label="手机号码" label-align="left">
60
+ <nut-input
61
+ v-model="bindingState.mobile"
62
+ placeholder="请输入新手机号码"
63
+ :max-length="11"
64
+ input-align="right"
65
+ />
66
+ </nut-form-item>
67
+ <nut-form-item label="验证码" label-align="left">
68
+ <nut-input
69
+ v-model="bindingState.code"
70
+ placeholder="请输入验证码"
71
+ :max-length="6"
72
+ input-align="right"
73
+ >
74
+ <template #right>
75
+ <nut-button
76
+ :disabled="countdownActive1"
77
+ class="user-binding-codebtn"
78
+ type="default"
79
+ @click="onBindingCode"
80
+ >{{ countdownText1 }}</nut-button
81
+ >
82
+ </template>
83
+ </nut-input>
84
+ </nut-form-item>
85
+ </nut-form>
86
+
87
+ <nut-button
88
+ class="user-binding-btn"
89
+ :disabled="!bindingState.code || !bindingState.mobile"
90
+ block
91
+ type="primary"
92
+ @click="onBinding"
93
+ >提交</nut-button
94
+ >
95
+ </div>
96
+ </div>
97
+ </template>
98
+
99
+ <script lang="ts" setup>
100
+ import { ref, reactive, onMounted } from 'vue'
101
+ import { useCountdown } from '../../shared/composables/useCountdown'
102
+ import { useValidator } from '../../shared/composables/useValidator'
103
+ import Taro from '@tarojs/taro'
104
+ import { useHttp } from '../api'
105
+ import { useRouter } from '@tarojs/taro'
106
+
107
+ const { params } = useRouter()
108
+ const { countdownText, startCountdown, countdownActive } = useCountdown()
109
+ const {
110
+ countdownText: countdownText1,
111
+ startCountdown: startCountdown1,
112
+ countdownActive: countdownActive1,
113
+ } = useCountdown()
114
+ const { phoneValidator } = useValidator()
115
+ const current = ref(1)
116
+
117
+ onMounted(() => {
118
+ if (!params.mobile) {
119
+ return Taro.showToast({ title: '路径缺少mobile参数', icon: 'none' })
120
+ }
121
+ authState.mobile = params.mobile
122
+ })
123
+
124
+ /**
125
+ * 身份认证
126
+ */
127
+ const authState = reactive({
128
+ mobile: '',
129
+ code: '',
130
+ })
131
+ function onAuth() {
132
+ const $http = useHttp()
133
+
134
+ // 向当前用户的手机中发送短信验证码
135
+ $http.post('/cas/sysAccount/verify', { verifyCode: authState.code }).then((res) => {
136
+ console.log(res, 'res')
137
+ if (typeof res !== 'boolean') return
138
+
139
+ Taro.showToast({ title: '身份认证成功', icon: 'success' })
140
+ current.value++
141
+ })
142
+ }
143
+ function onAuthCode() {
144
+ const $http = useHttp()
145
+
146
+ // 向当前用户的手机中发送短信验证码
147
+ $http.get('/cas/sysAccount/getVerifyCodeToUserMobile').then((res) => {
148
+ if (typeof res !== 'boolean') return
149
+
150
+ Taro.showToast({ title: '短信发送成功,请注意查收', icon: 'none' })
151
+ startCountdown()
152
+ })
153
+ }
154
+
155
+ /**
156
+ * 换绑手机
157
+ */
158
+ const bindingState = reactive({
159
+ mobile: '',
160
+ code: '',
161
+ })
162
+ function onBinding() {
163
+ const msg = phoneValidator(bindingState.mobile)
164
+ if (msg) {
165
+ return Taro.showToast({ title: msg, icon: 'none' })
166
+ }
167
+
168
+ const $http = useHttp()
169
+
170
+ $http
171
+ .post(`/cas/sysAccount/verifyAndChangeMobile`, {
172
+ mobile: bindingState.mobile,
173
+ verifyCode: bindingState.code,
174
+ })
175
+ .then((res) => {
176
+ if (typeof res !== 'boolean') return
177
+
178
+ Taro.showToast({ title: '换绑成功', icon: 'success' })
179
+ emits('success', bindingState.mobile)
180
+ })
181
+ }
182
+ function onBindingCode() {
183
+ const msg = phoneValidator(bindingState.mobile)
184
+ if (msg) {
185
+ return Taro.showToast({ title: msg, icon: 'none' })
186
+ }
187
+ if (params.mobile === bindingState.mobile) {
188
+ return Taro.showToast({ title: '新手机号码不应与旧手机号码一致', icon: 'none' })
189
+ }
190
+
191
+ const $http = useHttp()
192
+
193
+ // 向当前用户的手机中发送短信验证码
194
+ $http.get(`/cas/sysAccount/getVerifyCodeToMobile/${bindingState.mobile}`).then((res) => {
195
+ if (typeof res !== 'boolean') return
196
+
197
+ Taro.showToast({ title: '短信发送成功,请注意查收', icon: 'none' })
198
+ startCountdown1()
199
+ })
200
+ }
201
+
202
+ // 父组件事件
203
+ const emits = defineEmits(['success'])
204
+ </script>
205
+
206
+ <style lang="scss">
207
+ .user-binding {
208
+ height: 100vh;
209
+ display: flex;
210
+ flex-direction: column;
211
+ box-sizing: border-box;
212
+ padding: 10px 12px env(safe-area-inset-bottom, 0px);
213
+ --nut-cell-padding: 0;
214
+
215
+ &-img {
216
+ width: 351px;
217
+ height: 192px;
218
+ }
219
+ &-layout {
220
+ position: relative;
221
+ width: 351px;
222
+ border-radius: 4px;
223
+ background: #fff;
224
+ overflow: hidden;
225
+ margin-bottom: 10px;
226
+ }
227
+ &-inputlayout {
228
+ padding: 0 10px;
229
+ box-sizing: border-box;
230
+ .nut-input {
231
+ height: 40px;
232
+ padding: 0;
233
+ display: flex;
234
+ align-items: center;
235
+ font-size: 16px;
236
+ padding-left: 3px;
237
+ border-color: #f5f5f5;
238
+ .input-text {
239
+ width: 100%;
240
+ }
241
+ }
242
+ }
243
+ .nut-placeholder {
244
+ color: #cccccc;
245
+ }
246
+ .user-binding-btn {
247
+ position: absolute;
248
+ bottom: 50px;
249
+ left: 25px;
250
+ width: calc(100% - 50px);
251
+ font-size: 16px;
252
+ background: var(--app-primary-color, #017fff);
253
+ height: 40px;
254
+ line-height: 38px;
255
+ }
256
+ .user-binding-codebtn {
257
+ height: 30px;
258
+ font-size: 12px;
259
+ padding: 0;
260
+ width: 90px;
261
+ border: none;
262
+ color: var(--app-primary-color, #017fff);
263
+ background: #f2f2f2;
264
+ }
265
+ .user-binding-steps {
266
+ margin-top: 15px;
267
+ .nut-step-line {
268
+ background: rgba(220, 220, 220, 1);
269
+ left: 60%;
270
+ right: -40%;
271
+ }
272
+ .nut-step-title {
273
+ font-weight: bold;
274
+ color: rgba(0, 0, 0, 0.4);
275
+ }
276
+ .nut-step.nut-step-wait .nut-step-icon {
277
+ background: rgba(243, 243, 243, 1);
278
+ border-color: rgba(243, 243, 243, 1);
279
+ color: rgba(0, 0, 0, 0.4);
280
+ }
281
+ .nut-step.nut-step-process .nut-step-icon {
282
+ background: var(--app-primary-color, #017fff);
283
+ border-color: var(--app-primary-color, #017fff);
284
+ }
285
+ .nut-step.nut-step-process .nut-step-title {
286
+ color: var(--app-primary-color, #017fff);
287
+ }
288
+ .nut-step-head {
289
+ margin-bottom: 8px;
290
+ }
291
+ .nut-step.nut-step-finish .nut-step-title {
292
+ color: rgba(0, 0, 0, 0.9);
293
+ }
294
+ .nut-step.nut-step-finish .nut-step-line {
295
+ background: var(--app-primary-color, #017fff);
296
+ }
297
+ .nut-step.nut-step-finish .nut-step-head {
298
+ color: var(--app-primary-color, #017fff);
299
+ border-color: var(--app-primary-color, #017fff);
300
+ }
301
+ .nut-step-icon {
302
+ width: 22px;
303
+ height: 22px;
304
+ }
305
+ }
306
+ }
307
+ </style>