@uxda/appkit 4.1.40 → 4.1.44
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.
- package/.eslintrc.mjs +7 -7
- package/README.md +187 -187
- package/babel.config.js +12 -12
- package/dist/appkit.css +121 -43
- package/dist/assets/asset-3B_CoPto +1 -0
- package/dist/index.js +406 -246
- package/package.json +77 -77
- package/project.config.json +15 -15
- package/project.tt.json +13 -13
- package/rollup.config.mjs +56 -56
- package/src/Appkit.ts +66 -66
- package/src/balance/api/endpoints.ts +133 -126
- package/src/balance/api/index.ts +106 -106
- package/src/balance/components/AccountView.vue +747 -749
- package/src/balance/components/BalanceCard.vue +213 -205
- package/src/balance/components/BalanceReminder.vue +85 -85
- package/src/balance/components/ConsumptionFilter.vue +218 -218
- package/src/balance/components/ConsumptionRules.vue +68 -68
- package/src/balance/components/DateFilter.vue +250 -251
- package/src/balance/components/DateRange.vue +80 -80
- package/src/balance/components/ListFilter.vue +63 -63
- package/src/balance/components/ListFilterPicker.vue +188 -186
- package/src/balance/components/PromoterCard.vue +186 -0
- package/src/balance/components/SecondBalance.vue +71 -71
- package/src/balance/components/Tip.vue +45 -45
- package/src/balance/components/index.ts +8 -13
- package/src/balance/types.ts +97 -91
- package/src/components/bt-cropper/index.vue +774 -774
- package/src/components/bt-cropper/utils/calcCropper.js +42 -42
- package/src/components/bt-cropper/utils/calcImagePosition.js +23 -23
- package/src/components/bt-cropper/utils/calcImageSize.js +37 -37
- package/src/components/bt-cropper/utils/calcPointDistance.js +12 -12
- package/src/components/bt-cropper/utils/calcRightAndBottom.js +7 -7
- package/src/components/bt-cropper/utils/ratio.js +3 -3
- package/src/components/bt-cropper/utils/tools.js +25 -25
- package/src/components/dd-area/index.vue +225 -225
- package/src/components/dd-icon/doc.md +21 -21
- package/src/components/dd-icon/index.vue +23 -23
- package/src/components/dd-notice-bar/index.vue +78 -78
- package/src/components/dd-search/doc.md +34 -34
- package/src/components/dd-search/index.vue +168 -168
- package/src/components/dd-selector/index.vue +124 -124
- package/src/components/dd-skeleton/doc.md +19 -19
- package/src/components/dd-skeleton/index.vue +36 -36
- package/src/components/ocr-id/index.vue +114 -114
- package/src/components/ocr-id/types.d.ts +12 -12
- package/src/global.ts +6 -6
- package/src/index.ts +89 -89
- package/src/main.scss +1 -1
- package/src/notice/api/endpoints.ts +17 -17
- package/src/notice/api/index.ts +106 -106
- package/src/notice/components/NoticeBanner.vue +243 -243
- package/src/notice/components/NoticeEntry.vue +99 -99
- package/src/notice/components/NoticeList.vue +315 -315
- package/src/notice/components/NoticePopup.vue +162 -162
- package/src/notice/components/index.ts +5 -5
- package/src/notice/components/useCommonList.ts +86 -86
- package/src/notice/components/useNotice.ts +35 -35
- package/src/notice/index.ts +1 -1
- package/src/notice/types.ts +25 -25
- package/src/payment/api/config.ts +7 -7
- package/src/payment/api/endpoints.ts +103 -103
- package/src/payment/api/index.ts +100 -100
- package/src/payment/components/AmountPicker.vue +90 -93
- package/src/payment/components/RechargeResult.vue +69 -69
- package/src/payment/components/RechargeView.vue +154 -154
- package/src/payment/components/RightsPicker.vue +105 -105
- package/src/payment/components/TradeView.vue +294 -294
- package/src/payment/components/UserAgreement.vue +234 -234
- package/src/payment/components/index.ts +22 -22
- package/src/payment/index.ts +5 -5
- package/src/payment/services/index.ts +16 -16
- package/src/payment/services/invoke-recharge.ts +25 -25
- package/src/payment/services/request-payment.ts +58 -58
- package/src/payment/types.ts +28 -28
- package/src/register/components/SelfRegistration.vue +254 -254
- package/src/register/components/index.ts +2 -2
- package/src/shared/components/AppDrawer.vue +58 -54
- package/src/shared/components/AppVerify.vue +129 -126
- package/src/shared/components/DeviceVersion.vue +68 -68
- package/src/shared/components/EmptyView.vue +33 -33
- package/src/shared/components/OcrBusinessLicense.vue +133 -133
- package/src/shared/components/OcrIcon.vue +133 -133
- package/src/shared/components/PageHeader.vue +79 -79
- package/src/shared/components/index.ts +8 -8
- package/src/shared/composables/index.ts +8 -8
- package/src/shared/composables/useCountdown.ts +46 -46
- package/src/shared/composables/useCrypto.ts +76 -76
- package/src/shared/composables/useDragBox.ts +97 -97
- package/src/shared/composables/useEncode.ts +43 -43
- package/src/shared/composables/useLogger.ts +123 -123
- package/src/shared/composables/useSafeArea.ts +46 -46
- package/src/shared/composables/useTabbar.ts +24 -24
- package/src/shared/composables/useUpload.ts +54 -54
- package/src/shared/composables/useValidator.ts +31 -31
- package/src/shared/http/Http.ts +136 -136
- package/src/shared/http/index.ts +1 -1
- package/src/shared/http/types.ts +157 -157
- package/src/shared/index.ts +3 -3
- package/src/shared/weixin/payment.ts +38 -38
- package/src/styles/vars.scss +3 -3
- package/src/user/api/endpoints.ts +17 -17
- package/src/user/api/index.ts +111 -111
- package/src/user/components/LoginSetting.vue +114 -114
- package/src/user/components/UserBinding.vue +307 -307
- package/src/user/components/UserBindingSuccess.vue +80 -80
- package/src/user/components/UserEntry.vue +137 -137
- package/src/user/components/UserFeedback.vue +431 -431
- package/src/user/components/UserFeedbackEntry.vue +192 -192
- package/src/user/components/UserHeadCrop.vue +65 -65
- package/src/user/components/UserInfo.vue +637 -637
- package/src/user/components/UserResourceEmpty.vue +75 -75
- package/src/user/components/index.ts +21 -21
- package/src/user/index.ts +1 -1
- package/tsconfig.json +30 -30
- package/types/global.d.ts +21 -21
- package/types/vue.d.ts +10 -10
package/dist/appkit.css
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
padding: 14px 0 14px 14px;
|
|
3
3
|
}
|
|
4
4
|
.amount-picker .nut-grid-item__content {
|
|
5
|
-
border: solid
|
|
5
|
+
border: solid 1px transparent;
|
|
6
6
|
background: linear-gradient(#f5f5f5, #f5f5f5) padding-box, linear-gradient(to bottom, rgba(204, 204, 204, 0.5333333333), rgba(204, 204, 204, 0.5333333333)) border-box;
|
|
7
7
|
border-radius: 5px;
|
|
8
8
|
}
|
|
@@ -72,12 +72,16 @@
|
|
|
72
72
|
.app-drawer.open {
|
|
73
73
|
height: 100vh;
|
|
74
74
|
}
|
|
75
|
+
.app-drawer .page-header {
|
|
76
|
+
flex-grow: 0;
|
|
77
|
+
background-color: #fff;
|
|
78
|
+
}
|
|
75
79
|
.app-drawer .drawer-body {
|
|
76
80
|
flex-grow: 1;
|
|
77
81
|
overflow: scroll;
|
|
78
82
|
}
|
|
79
83
|
.app-verify {
|
|
80
|
-
padding:
|
|
84
|
+
padding: 10px 30px 20px;
|
|
81
85
|
}
|
|
82
86
|
.app-verify h2 {
|
|
83
87
|
font-size: 16px;
|
|
@@ -85,7 +89,7 @@
|
|
|
85
89
|
margin: 10px;
|
|
86
90
|
}
|
|
87
91
|
.app-verify .caption {
|
|
88
|
-
font-size:
|
|
92
|
+
font-size: 13px !important;
|
|
89
93
|
color: #ccc;
|
|
90
94
|
line-height: 21px;
|
|
91
95
|
}
|
|
@@ -110,12 +114,22 @@
|
|
|
110
114
|
margin-left: 12px;
|
|
111
115
|
width: 105px;
|
|
112
116
|
}
|
|
117
|
+
.app-verify .buttons {
|
|
118
|
+
width: 100%;
|
|
119
|
+
justify-content: space-between;
|
|
120
|
+
margin-top: 10px;
|
|
121
|
+
}
|
|
113
122
|
.app-verify .buttons .ns-button {
|
|
114
123
|
width: 104px;
|
|
124
|
+
border-radius: 30px;
|
|
125
|
+
--radius: 30px;
|
|
115
126
|
}
|
|
116
127
|
.app-verify .buttons .cancel-btn {
|
|
117
128
|
border: 1px solid #969696 !important;
|
|
118
129
|
}
|
|
130
|
+
.app-verify .nut-input {
|
|
131
|
+
background: transparent !important;
|
|
132
|
+
}
|
|
119
133
|
.dd-notice-bar {
|
|
120
134
|
position: fixed;
|
|
121
135
|
top: 0;
|
|
@@ -431,14 +445,14 @@
|
|
|
431
445
|
color: #353535;
|
|
432
446
|
background: linear-gradient(90deg, #FFEBC1 0%, #FFB875 100%);
|
|
433
447
|
}
|
|
434
|
-
page {
|
|
435
|
-
--text-color: #333;
|
|
436
|
-
--text-color-dark-mode: #eee;
|
|
448
|
+
page {
|
|
449
|
+
--text-color: #333;
|
|
450
|
+
--text-color-dark-mode: #eee;
|
|
437
451
|
}
|
|
438
452
|
.account-card .card {
|
|
439
|
-
background: #
|
|
453
|
+
background: linear-gradient(90deg, #FFEBC1 0%, #FFB875 100%);
|
|
440
454
|
border-radius: 10px;
|
|
441
|
-
padding:
|
|
455
|
+
padding: 14px 20px;
|
|
442
456
|
margin: 0;
|
|
443
457
|
}
|
|
444
458
|
.account-card .card .card-row {
|
|
@@ -466,15 +480,14 @@ page {
|
|
|
466
480
|
height: 100%;
|
|
467
481
|
}
|
|
468
482
|
.account-card .card .card-row .card-row-left .bean-box .baan-name {
|
|
469
|
-
color: #
|
|
470
|
-
font-
|
|
471
|
-
font-size: 11px;
|
|
483
|
+
color: #375264;
|
|
484
|
+
font-size: 16px;
|
|
472
485
|
}
|
|
473
486
|
.account-card .card .card-row .card-row-left .bean-nums {
|
|
474
|
-
color: #
|
|
475
|
-
line-height:
|
|
476
|
-
font-weight:
|
|
477
|
-
font-size:
|
|
487
|
+
color: #353535;
|
|
488
|
+
line-height: 25px;
|
|
489
|
+
font-weight: bold;
|
|
490
|
+
font-size: 20px;
|
|
478
491
|
margin-top: 3px;
|
|
479
492
|
}
|
|
480
493
|
.account-card .card .card-row .desc {
|
|
@@ -512,18 +525,17 @@ page {
|
|
|
512
525
|
height: 28px;
|
|
513
526
|
line-height: 28px;
|
|
514
527
|
border-radius: 14px;
|
|
515
|
-
background:
|
|
528
|
+
background: rgba(255, 255, 255, 0.8);
|
|
516
529
|
}
|
|
517
530
|
.account-card .card .card-row-right .account-info-entry .account-info-name {
|
|
518
|
-
color: #
|
|
531
|
+
color: #353535;
|
|
519
532
|
font-size: 13px;
|
|
520
533
|
font-weight: 500;
|
|
521
534
|
margin-right: 8px;
|
|
522
535
|
}
|
|
523
536
|
.account-card .card .card-row-right .account-info-entry .account-info-icon {
|
|
524
|
-
width:
|
|
525
|
-
height:
|
|
526
|
-
border-radius: 7px;
|
|
537
|
+
width: 15px;
|
|
538
|
+
height: 15px;
|
|
527
539
|
}
|
|
528
540
|
.account-card .card .card-row-right .account-info-entry .account-info-icon .icon {
|
|
529
541
|
display: block;
|
|
@@ -679,9 +691,9 @@ page {
|
|
|
679
691
|
}
|
|
680
692
|
.appkit-date-filter .buttons .confirm {
|
|
681
693
|
margin-left: 11px;
|
|
682
|
-
color: #
|
|
694
|
+
color: #fff;
|
|
683
695
|
border: none;
|
|
684
|
-
background:
|
|
696
|
+
background: #017FFF;
|
|
685
697
|
}
|
|
686
698
|
.appkit-date-filter .time {
|
|
687
699
|
display: flex;
|
|
@@ -789,12 +801,13 @@ page {
|
|
|
789
801
|
height: 100vh;
|
|
790
802
|
}
|
|
791
803
|
.account-view .scroll-content {
|
|
792
|
-
background-image: url("
|
|
793
|
-
background-position: center
|
|
804
|
+
background-image: url("https://cdn.ddjf.com/static/images/customer-center/blue-bg.png");
|
|
805
|
+
background-position: center 0;
|
|
794
806
|
background-repeat: no-repeat;
|
|
807
|
+
background-size: 100% 200px;
|
|
795
808
|
}
|
|
796
809
|
.account-view .page-header {
|
|
797
|
-
background-color:
|
|
810
|
+
background-color: transparent;
|
|
798
811
|
position: sticky;
|
|
799
812
|
top: 0;
|
|
800
813
|
z-index: 1;
|
|
@@ -802,6 +815,7 @@ page {
|
|
|
802
815
|
}
|
|
803
816
|
.account-view .page-header.with-background {
|
|
804
817
|
background-color: #3b393c;
|
|
818
|
+
color: #fff;
|
|
805
819
|
}
|
|
806
820
|
.account-view .spa-between {
|
|
807
821
|
display: flex;
|
|
@@ -819,16 +833,15 @@ page {
|
|
|
819
833
|
.account-view .small-bean-button {
|
|
820
834
|
height: 22px;
|
|
821
835
|
border-radius: 11px;
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
836
|
+
background-color: #fff;
|
|
837
|
+
display: inline-flex;
|
|
838
|
+
align-items: center;
|
|
825
839
|
padding: 0 10px;
|
|
826
|
-
|
|
827
|
-
color: #e7caad;
|
|
840
|
+
color: #353535;
|
|
828
841
|
font-size: 12px;
|
|
829
842
|
}
|
|
830
843
|
.account-view .small-bean-button label {
|
|
831
|
-
background-image: url("data:image/svg+xml;base64,
|
|
844
|
+
background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwIDZMMTYgMTJMMTAgMThWNloiIGZpbGw9IiMzNTM1MzUiIHN0cm9rZT0iIzM1MzUzNSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=");
|
|
832
845
|
padding-right: 18px;
|
|
833
846
|
background-repeat: no-repeat;
|
|
834
847
|
background-position: right center;
|
|
@@ -836,8 +849,7 @@ page {
|
|
|
836
849
|
}
|
|
837
850
|
.account-view .balance {
|
|
838
851
|
border-radius: 15px;
|
|
839
|
-
background: linear-gradient(
|
|
840
|
-
box-shadow: 0px -10px 9px -3px rgba(0, 0, 0, 0.33);
|
|
852
|
+
background: linear-gradient(90deg, #FFEBC1 0%, #FFB875 100%);
|
|
841
853
|
height: 112px;
|
|
842
854
|
padding: 20px;
|
|
843
855
|
margin: 0 15px;
|
|
@@ -958,11 +970,9 @@ page {
|
|
|
958
970
|
}
|
|
959
971
|
.operation-box .operation-list .operation-scroll {
|
|
960
972
|
height: calc(100vh - 130px);
|
|
973
|
+
padding: 0 15px;
|
|
961
974
|
box-sizing: border-box;
|
|
962
975
|
}
|
|
963
|
-
.operation-box .operation-list .box {
|
|
964
|
-
padding: 0 10px;
|
|
965
|
-
}
|
|
966
976
|
.operation-box .operation-list .box-detail .title {
|
|
967
977
|
line-height: 22px;
|
|
968
978
|
font-weight: 700;
|
|
@@ -1027,10 +1037,10 @@ page {
|
|
|
1027
1037
|
}
|
|
1028
1038
|
.rights-card {
|
|
1029
1039
|
margin: 10px 15px 0px;
|
|
1030
|
-
background:
|
|
1040
|
+
background: rgba(255, 248, 243, 0.8);
|
|
1031
1041
|
border-radius: 5px;
|
|
1032
|
-
box-shadow: 0px 5px 18.9px 2px rgba(0, 0, 0, 0.0509803922);
|
|
1033
1042
|
padding: 15px 20px;
|
|
1043
|
+
box-shadow: 0px 5px 18.9px 2px rgba(0, 0, 0, 0.0509803922);
|
|
1034
1044
|
}
|
|
1035
1045
|
.rights-card .title {
|
|
1036
1046
|
height: 25px;
|
|
@@ -1190,8 +1200,8 @@ page {
|
|
|
1190
1200
|
}
|
|
1191
1201
|
.list-filter-picker-content .info .current {
|
|
1192
1202
|
border-radius: 5px;
|
|
1193
|
-
border: 1px solid
|
|
1194
|
-
background:
|
|
1203
|
+
border: 1px solid rgba(1, 127, 255, 0.5);
|
|
1204
|
+
background: #E6F2FF;
|
|
1195
1205
|
}
|
|
1196
1206
|
.list-filter-picker-btn {
|
|
1197
1207
|
margin: 0 15px;
|
|
@@ -1205,16 +1215,15 @@ page {
|
|
|
1205
1215
|
line-height: 40px;
|
|
1206
1216
|
text-align: center;
|
|
1207
1217
|
border: 1px solid #ccc;
|
|
1208
|
-
box-sizing: border-box;
|
|
1209
1218
|
color: #666;
|
|
1210
1219
|
font-size: 16px;
|
|
1211
1220
|
border-radius: 6px;
|
|
1212
1221
|
}
|
|
1213
1222
|
.list-filter-picker-btn .confirm {
|
|
1214
1223
|
margin-left: 11px;
|
|
1215
|
-
color: #
|
|
1224
|
+
color: #fff;
|
|
1216
1225
|
border: none;
|
|
1217
|
-
background:
|
|
1226
|
+
background: #017fff;
|
|
1218
1227
|
}
|
|
1219
1228
|
.list-filter-picker-bottom {
|
|
1220
1229
|
height: 32px;
|
|
@@ -1247,6 +1256,75 @@ page {
|
|
|
1247
1256
|
height: 12px;
|
|
1248
1257
|
margin-left: 4px;
|
|
1249
1258
|
}
|
|
1259
|
+
.promoter-card {
|
|
1260
|
+
padding: 15px 20px;
|
|
1261
|
+
background: linear-gradient(180deg, #FFEEDB 0%, #FEFEFC 100%);
|
|
1262
|
+
box-sizing: border-box;
|
|
1263
|
+
margin: 0 auto;
|
|
1264
|
+
border-radius: 15px;
|
|
1265
|
+
}
|
|
1266
|
+
.promoter-card-hd {
|
|
1267
|
+
display: flex;
|
|
1268
|
+
align-items: center;
|
|
1269
|
+
color: #353535;
|
|
1270
|
+
margin-bottom: 12px;
|
|
1271
|
+
}
|
|
1272
|
+
.promoter-card-hd-num {
|
|
1273
|
+
font-size: 22px;
|
|
1274
|
+
font-weight: bold;
|
|
1275
|
+
margin-right: 8px;
|
|
1276
|
+
}
|
|
1277
|
+
.promoter-card-hd-info {
|
|
1278
|
+
font-size: 14px;
|
|
1279
|
+
}
|
|
1280
|
+
.promoter-card-ft {
|
|
1281
|
+
display: flex;
|
|
1282
|
+
align-items: center;
|
|
1283
|
+
}
|
|
1284
|
+
.promoter-card-ft-item {
|
|
1285
|
+
flex: 1;
|
|
1286
|
+
}
|
|
1287
|
+
.promoter-card-ft-info {
|
|
1288
|
+
font-size: 12px;
|
|
1289
|
+
color: #434242;
|
|
1290
|
+
margin-bottom: 5px;
|
|
1291
|
+
}
|
|
1292
|
+
.promoter-card-ft-num {
|
|
1293
|
+
display: flex;
|
|
1294
|
+
align-items: center;
|
|
1295
|
+
font-size: 20px;
|
|
1296
|
+
color: #353535;
|
|
1297
|
+
}
|
|
1298
|
+
.promoter-card-ft-line {
|
|
1299
|
+
width: 1px;
|
|
1300
|
+
height: 19px;
|
|
1301
|
+
background: rgba(53, 53, 53, 0.2);
|
|
1302
|
+
margin-right: 30px;
|
|
1303
|
+
}
|
|
1304
|
+
.promoter-card-tab {
|
|
1305
|
+
margin-top: -3px;
|
|
1306
|
+
margin-bottom: 15px;
|
|
1307
|
+
}
|
|
1308
|
+
.promoter-card-tab-item {
|
|
1309
|
+
display: inline-flex;
|
|
1310
|
+
align-items: center;
|
|
1311
|
+
background: #fff;
|
|
1312
|
+
border-radius: 15px;
|
|
1313
|
+
height: 29px;
|
|
1314
|
+
padding: 0 10px;
|
|
1315
|
+
font-size: 12px;
|
|
1316
|
+
color: #6D4523;
|
|
1317
|
+
margin-right: 12px;
|
|
1318
|
+
}
|
|
1319
|
+
.promoter-card-tab-item.focus {
|
|
1320
|
+
background: linear-gradient(90deg, #FFEBC1 0%, #FFB875 100%);
|
|
1321
|
+
color: #6D4523;
|
|
1322
|
+
}
|
|
1323
|
+
.promoter-card .arrow-img {
|
|
1324
|
+
width: 16px;
|
|
1325
|
+
height: 12px;
|
|
1326
|
+
margin-left: 5px;
|
|
1327
|
+
}
|
|
1250
1328
|
.ocr-id__img {
|
|
1251
1329
|
width: 20px;
|
|
1252
1330
|
height: 20px;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|