@uxda/appkit 4.1.22 → 4.1.23

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/dist/appkit.css +5 -5
  5. package/dist/assets/asset-3B_CoPto +1 -0
  6. package/dist/index.js +1117 -1028
  7. package/package.json +75 -77
  8. package/project.config.json +15 -15
  9. package/project.tt.json +13 -13
  10. package/rollup.config.mjs +56 -56
  11. package/src/Appkit.ts +66 -65
  12. package/src/balance/api/endpoints.ts +126 -126
  13. package/src/balance/api/index.ts +82 -82
  14. package/src/balance/components/AccountView.vue +748 -748
  15. package/src/balance/components/BalanceCard.vue +205 -205
  16. package/src/balance/components/BalanceReminder.vue +85 -85
  17. package/src/balance/components/ConsumptionFilter.vue +218 -218
  18. package/src/balance/components/ConsumptionRules.vue +68 -68
  19. package/src/balance/components/DateFilter.vue +230 -249
  20. package/src/balance/components/DateRange.vue +75 -80
  21. package/src/balance/components/ListFilter.vue +63 -63
  22. package/src/balance/components/ListFilterPicker.vue +186 -186
  23. package/src/balance/components/SecondBalance.vue +71 -71
  24. package/src/balance/components/Tip.vue +45 -45
  25. package/src/balance/components/index.ts +13 -13
  26. package/src/balance/types.ts +91 -91
  27. package/src/components/bt-cropper/index.vue +774 -774
  28. package/src/components/bt-cropper/utils/calcCropper.js +42 -42
  29. package/src/components/bt-cropper/utils/calcImagePosition.js +23 -23
  30. package/src/components/bt-cropper/utils/calcImageSize.js +37 -37
  31. package/src/components/bt-cropper/utils/calcPointDistance.js +12 -12
  32. package/src/components/bt-cropper/utils/calcRightAndBottom.js +7 -7
  33. package/src/components/bt-cropper/utils/ratio.js +3 -3
  34. package/src/components/bt-cropper/utils/tools.js +25 -25
  35. package/src/components/dd-area/index.vue +225 -225
  36. package/src/components/dd-icon/doc.md +21 -21
  37. package/src/components/dd-icon/index.vue +23 -23
  38. package/src/components/dd-notice-bar/index.vue +78 -78
  39. package/src/components/dd-search/doc.md +34 -34
  40. package/src/components/dd-search/index.vue +168 -168
  41. package/src/components/dd-selector/index.vue +124 -124
  42. package/src/components/dd-skeleton/doc.md +19 -19
  43. package/src/components/dd-skeleton/index.vue +36 -36
  44. package/src/components/ocr-id/index.vue +114 -114
  45. package/src/components/ocr-id/types.d.ts +12 -12
  46. package/src/global.ts +6 -6
  47. package/src/index.ts +89 -89
  48. package/src/main.scss +1 -1
  49. package/src/notice/api/endpoints.ts +17 -17
  50. package/src/notice/api/index.ts +82 -82
  51. package/src/notice/components/NoticeBanner.vue +243 -243
  52. package/src/notice/components/NoticeEntry.vue +99 -99
  53. package/src/notice/components/NoticeList.vue +315 -315
  54. package/src/notice/components/NoticePopup.vue +162 -162
  55. package/src/notice/components/index.ts +5 -5
  56. package/src/notice/components/useCommonList.ts +86 -86
  57. package/src/notice/components/useNotice.ts +35 -35
  58. package/src/notice/index.ts +1 -1
  59. package/src/notice/types.ts +25 -25
  60. package/src/payment/api/config.ts +7 -7
  61. package/src/payment/api/endpoints.ts +103 -103
  62. package/src/payment/api/index.ts +76 -71
  63. package/src/payment/components/AmountPicker.vue +93 -93
  64. package/src/payment/components/RechargeResult.vue +69 -69
  65. package/src/payment/components/RechargeView.vue +154 -151
  66. package/src/payment/components/RightsPicker.vue +105 -105
  67. package/src/payment/components/TradeView.vue +294 -294
  68. package/src/payment/components/UserAgreement.vue +234 -234
  69. package/src/payment/components/index.ts +22 -22
  70. package/src/payment/index.ts +5 -5
  71. package/src/payment/services/index.ts +16 -16
  72. package/src/payment/services/invoke-recharge.ts +25 -25
  73. package/src/payment/services/request-payment.ts +58 -58
  74. package/src/payment/types.ts +28 -28
  75. package/src/register/components/SelfRegistration.vue +254 -254
  76. package/src/register/components/index.ts +2 -2
  77. package/src/shared/components/AppDrawer.vue +58 -58
  78. package/src/shared/components/AppVerify.vue +129 -129
  79. package/src/shared/components/DeviceVersion.vue +68 -68
  80. package/src/shared/components/EmptyView.vue +33 -33
  81. package/src/shared/components/OcrBusinessLicense.vue +133 -133
  82. package/src/shared/components/OcrIcon.vue +133 -133
  83. package/src/shared/components/PageHeader.vue +79 -79
  84. package/src/shared/components/index.ts +8 -8
  85. package/src/shared/composables/index.ts +7 -7
  86. package/src/shared/composables/useCountdown.ts +46 -46
  87. package/src/shared/composables/useCrypto.ts +76 -76
  88. package/src/shared/composables/useDragBox.ts +97 -97
  89. package/src/shared/composables/useEncode.ts +43 -43
  90. package/src/shared/composables/useSafeArea.ts +46 -46
  91. package/src/shared/composables/useTabbar.ts +24 -24
  92. package/src/shared/composables/useUpload.ts +54 -54
  93. package/src/shared/composables/useValidator.ts +31 -31
  94. package/src/shared/http/Http.ts +136 -136
  95. package/src/shared/http/index.ts +1 -1
  96. package/src/shared/http/types.ts +157 -157
  97. package/src/shared/index.ts +3 -3
  98. package/src/shared/weixin/payment.ts +38 -38
  99. package/src/styles/fonts.scss +2 -2
  100. package/src/styles/vars.scss +3 -3
  101. package/src/user/api/endpoints.ts +17 -17
  102. package/src/user/api/index.ts +87 -87
  103. package/src/user/components/LoginSetting.vue +114 -114
  104. package/src/user/components/UserBinding.vue +307 -307
  105. package/src/user/components/UserBindingSuccess.vue +80 -80
  106. package/src/user/components/UserEntry.vue +137 -137
  107. package/src/user/components/UserFeedback.vue +431 -431
  108. package/src/user/components/UserFeedbackEntry.vue +192 -192
  109. package/src/user/components/UserHeadCrop.vue +65 -65
  110. package/src/user/components/UserInfo.vue +637 -637
  111. package/src/user/components/UserResourceEmpty.vue +75 -75
  112. package/src/user/components/index.ts +21 -21
  113. package/src/user/index.ts +1 -1
  114. package/tsconfig.json +30 -30
  115. package/types/global.d.ts +21 -21
  116. package/types/vue.d.ts +10 -10
@@ -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>