@uxda/appkit 4.3.14 → 4.3.15

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 (34) hide show
  1. package/dist/appkit.css +12 -105
  2. package/dist/index.js +432 -1108
  3. package/package.json +5 -2
  4. package/src/balance/api/index.ts +1 -1
  5. package/src/balance/components/PromoterCard.vue +0 -1
  6. package/src/notice/api/index.ts +1 -1
  7. package/src/notice/components/NoticeList2.vue +73 -234
  8. package/src/notice/components/useCommonList.ts +0 -1
  9. package/src/payment/api/endpoints.ts +0 -2
  10. package/src/payment/api/index.ts +1 -2
  11. package/src/payment/components/RechargeResult.vue +1 -0
  12. package/src/payment/components/RechargeView.vue +2 -2
  13. package/src/payment/components/TradeView.vue +125 -334
  14. package/src/payment/services/request-payment.ts +3 -9
  15. package/src/payment/types.ts +0 -1
  16. package/src/register/components/SelfRegistration.vue +1 -1
  17. package/src/shared/components/AppVerify.vue +6 -15
  18. package/src/shared/components/OcrBusinessLicense.vue +37 -20
  19. package/src/shared/components/OcrIcon.vue +67 -105
  20. package/src/shared/components/index.ts +1 -3
  21. package/src/shared/composables/index.ts +0 -1
  22. package/src/shared/composables/useDeviceEnv.ts +35 -1
  23. package/src/shared/composables/useUpload.ts +51 -96
  24. package/src/shared/http/Http.ts +0 -1
  25. package/src/shared/tracking/tracking-sdk.ts +1 -0
  26. package/src/shared/weixin/jssdk.ts +0 -1
  27. package/src/user/api/index.ts +1 -1
  28. package/src/user/components/UserAuth.vue +1 -1
  29. package/src/user/components/UserFeedback.vue +0 -1
  30. package/src/user/components/UserInfo.vue +0 -2
  31. package/types/global.d.ts +0 -2
  32. package/src/shared/components/OcrBank.vue +0 -202
  33. package/src/shared/components/OcrInvoice.vue +0 -322
  34. package/src/shared/composables/useCompress.ts +0 -64
package/dist/appkit.css CHANGED
@@ -85,9 +85,9 @@
85
85
  font-weight: bold;
86
86
  }
87
87
  .app-verify .caption {
88
- font-size: 14px !important;
89
- color: #666;
90
- margin-bottom: 5px;
88
+ font-size: 13px !important;
89
+ color: #ccc;
90
+ line-height: 21px;
91
91
  }
92
92
  .app-verify .number {
93
93
  line-height: 21px;
@@ -106,17 +106,9 @@
106
106
  flex: 1;
107
107
  padding-left: 12px;
108
108
  }
109
- .app-verify .form .nut-cell-group__wrap .form-input .input-text {
110
- text-align: left !important;
111
- }
112
109
  .app-verify .form .nut-cell-group__wrap .form-btn {
113
110
  margin-left: 12px;
114
- width: 90px;
115
- }
116
- .app-verify .form .nut-cell-group__wrap .form-btn .caption {
117
- font-size: 10px !important;
118
- color: #ccc;
119
- margin-bottom: 0;
111
+ width: 105px;
120
112
  }
121
113
  .app-verify .buttons {
122
114
  width: 100%;
@@ -192,19 +184,6 @@
192
184
  .ocr-icon.disabled .ns-icon {
193
185
  filter: brightness(1.5) grayscale(1);
194
186
  }
195
- .ocr-bank {
196
- width: 24px;
197
- height: 24px;
198
- display: inline-flex;
199
- align-items: center;
200
- }
201
- .ocr-bank .ns-icon {
202
- width: 24px;
203
- height: 24px;
204
- }
205
- .ocr-bank.disabled .ns-icon {
206
- filter: brightness(1.5) grayscale(1);
207
- }
208
187
  .ocr-business-license {
209
188
  width: 24px;
210
189
  height: 24px;
@@ -216,19 +195,6 @@
216
195
  .ocr-business-license.disabled .ns-icon {
217
196
  filter: brightness(1.5) grayscale(1);
218
197
  }
219
- .ocr-invoice {
220
- width: 24px;
221
- height: 24px;
222
- display: inline-flex;
223
- align-items: center;
224
- }
225
- .ocr-invoice .ns-icon {
226
- width: 24px;
227
- height: 24px;
228
- }
229
- .ocr-invoice.disabled .ns-icon {
230
- filter: brightness(1.5) grayscale(1);
231
- }
232
198
  .recharge-view {
233
199
  height: 100%;
234
200
  display: flex;
@@ -369,15 +335,14 @@
369
335
  .recharge-view2 .bean-buy {
370
336
  margin: 0 15px;
371
337
  padding: 10px;
372
- background: #fffbf3;
338
+ background: #FFFBF3;
373
339
  border-radius: 5px;
374
340
  display: flex;
375
341
  justify-content: space-between;
376
342
  align-items: center;
377
- flex-wrap: wrap;
378
343
  }
379
344
  .recharge-view2 .bean-buy .left .title {
380
- color: #fd6701;
345
+ color: #FD6701;
381
346
  font-size: 14px;
382
347
  font-weight: 600;
383
348
  line-height: 20px;
@@ -408,22 +373,9 @@
408
373
  height: 16px;
409
374
  font-size: 0;
410
375
  }
411
- .recharge-view2 .balance-warning {
412
- width: 100%;
413
- padding: 8px 10px;
414
- margin-top: 10px;
415
- background: #fdefe6;
416
- border-radius: 5px;
417
- color: #fd6701;
418
- font-size: 12px;
419
- }
420
- .recharge-view2 .balance-warning-tip {
421
- margin: 10px 26px 0;
422
- color: #666666;
423
- font-size: 10px;
424
- }
425
376
  .recharge-view2 .amount-footer {
426
377
  padding: 10px 0;
378
+ padding-bottom: 20px;
427
379
  }
428
380
  .recharge-view2 .amount-footer .agreement {
429
381
  font-size: 12px;
@@ -447,7 +399,7 @@
447
399
  font-size: 13px;
448
400
  }
449
401
  .recharge-view2 .amount-footer .buy-amount .left .amount {
450
- color: #fd6701;
402
+ color: #FD6701;
451
403
  font-size: 20px;
452
404
  font-weight: 600;
453
405
  }
@@ -456,7 +408,7 @@
456
408
  font-style: normal;
457
409
  }
458
410
  .recharge-view2 .amount-footer .buy-amount .recharge-button {
459
- background: linear-gradient(90deg, #ffebc1 0%, #ffd7a7 52.29%, #ffb875 100%);
411
+ background: linear-gradient(90deg, #FFEBC1 0%, #FFD7A7 52.29%, #FFB875 100%);
460
412
  color: #353535;
461
413
  margin: 12px 0;
462
414
  border: 0;
@@ -473,7 +425,7 @@
473
425
  }
474
426
  .recharge-view2 .amount-footer .link {
475
427
  display: inline;
476
- color: #fd6701;
428
+ color: #FD6701;
477
429
  }
478
430
  .trade-dialog .nut-dialog__header {
479
431
  font-size: 16px;
@@ -486,12 +438,12 @@
486
438
  }
487
439
  .trade-dialog .nut-dialog__footer-cancel {
488
440
  color: #353535 !important;
489
- border-color: #cccccc !important;
441
+ border-color: #CCCCCC !important;
490
442
  }
491
443
  .trade-dialog .nut-dialog__footer-ok {
492
444
  border: none;
493
445
  color: #353535;
494
- background: linear-gradient(90deg, #ffebc1 0%, #ffb875 100%);
446
+ background: linear-gradient(90deg, #FFEBC1 0%, #FFB875 100%);
495
447
  }
496
448
  page {
497
449
  --text-color: #333;
@@ -1892,51 +1844,6 @@ page {
1892
1844
  color: rgba(53, 53, 53, 0.4);
1893
1845
  text-align: end;
1894
1846
  }
1895
- .news-tab .nut-tabs__list {
1896
- display: flex;
1897
- }
1898
- .news-tab .custom-tab-item {
1899
- flex: 1;
1900
- display: flex;
1901
- flex-direction: column;
1902
- justify-content: center;
1903
- align-items: center;
1904
- padding: 10px;
1905
- }
1906
- .news-tab .customLine {
1907
- position: relative;
1908
- }
1909
- .news-tab .customLine::after {
1910
- content: "";
1911
- position: absolute;
1912
- width: 50px;
1913
- height: 2px;
1914
- background: #017fff;
1915
- bottom: 0;
1916
- left: 50%;
1917
- transform: translateX(-50%);
1918
- }
1919
- .news-tab .custom-title {
1920
- color: #8a8a8a;
1921
- font-size: 15px;
1922
- display: flex;
1923
- align-items: center;
1924
- }
1925
- .news-tab .custom-title-dot {
1926
- height: 12px;
1927
- line-height: 12px;
1928
- padding: 0 6px;
1929
- color: #fff;
1930
- border-radius: 8px;
1931
- background: #e04747;
1932
- margin-left: 2px;
1933
- font-size: 9px;
1934
- }
1935
- .news-tab .custom-title.active {
1936
- color: #017fff;
1937
- font-weight: 600;
1938
- font-size: 17px;
1939
- }
1940
1847
  .user-entry {
1941
1848
  position: absolute;
1942
1849
  left: 0;