@uxda/appkit 1.0.50 → 1.0.52
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/README.md
CHANGED
|
@@ -36,6 +36,7 @@ import '@uxda/appkit/appkit.css'
|
|
|
36
36
|
const App = createApp({})
|
|
37
37
|
App.use(AppKit, {
|
|
38
38
|
app: () => 'cloudkitPro',
|
|
39
|
+
tenant: () => '1',
|
|
39
40
|
token: () => localStorage.getItem('token'),
|
|
40
41
|
baseUrl: () => process.env.TARO_APP_BASE_URL,
|
|
41
42
|
401: () => {
|
|
@@ -45,6 +46,7 @@ App.use(AppKit, {
|
|
|
45
46
|
```
|
|
46
47
|
为 AppKit 的运行提供必需的 API 参数
|
|
47
48
|
* app: 当前的 app code (嵌入接口调用的 header 参数)
|
|
49
|
+
* tenant: 租户ID 需要提供以便调用接口
|
|
48
50
|
* token: 用户登录态 token
|
|
49
51
|
* baseUrl: 调用 API 的URL域名
|
|
50
52
|
* 401: 登录态丢失异常处理 (通常要跳转登录页)
|
package/dist/appkit.css
CHANGED
|
@@ -2,17 +2,15 @@
|
|
|
2
2
|
padding: 14px 0 14px 14px;
|
|
3
3
|
}
|
|
4
4
|
.amount-picker .nut-grid-item__content {
|
|
5
|
-
border:
|
|
6
|
-
background: #
|
|
7
|
-
border-radius:
|
|
5
|
+
border: solid 2px transparent;
|
|
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
|
+
border-radius: 5px;
|
|
8
8
|
}
|
|
9
9
|
.amount-picker .tile {
|
|
10
10
|
height: 80px;
|
|
11
11
|
}
|
|
12
12
|
.amount-picker .tile.selected .nut-grid-item__content {
|
|
13
|
-
border-
|
|
14
|
-
border-color: #EFD082;
|
|
15
|
-
background: linear-gradient(180deg, #FFF7E3 0%, #FEFDE6 100%);
|
|
13
|
+
background: linear-gradient(#FFF7E3, #FEFDE6) padding-box, linear-gradient(to bottom, #efd082, #ffb877) border-box;
|
|
16
14
|
}
|
|
17
15
|
.amount-picker h4.token-line {
|
|
18
16
|
background-image: url("https://cdn.ddjf.com/static/images/appkit/yundou.png");
|
|
@@ -23,7 +21,6 @@
|
|
|
23
21
|
color: #FD6701;
|
|
24
22
|
font-weight: 600;
|
|
25
23
|
line-height: 25px;
|
|
26
|
-
color: #d00;
|
|
27
24
|
font-size: 18px;
|
|
28
25
|
}
|
|
29
26
|
.amount-picker h5 {
|
|
@@ -108,7 +105,7 @@
|
|
|
108
105
|
}
|
|
109
106
|
.recharge-view .amount-footer {
|
|
110
107
|
padding: 10px;
|
|
111
|
-
padding-bottom:
|
|
108
|
+
padding-bottom: 20px;
|
|
112
109
|
}
|
|
113
110
|
.recharge-view .amount-footer .agreement {
|
|
114
111
|
font-size: 12px;
|
package/package.json
CHANGED
|
@@ -57,17 +57,17 @@ const onGridItemClick = (index: number) => {
|
|
|
57
57
|
.amount-picker {
|
|
58
58
|
padding: 14px 0 14px 14px;
|
|
59
59
|
.nut-grid-item__content {
|
|
60
|
-
border:
|
|
61
|
-
background: #
|
|
62
|
-
|
|
60
|
+
border: solid 2px transparent;
|
|
61
|
+
background: linear-gradient(#f5f5f5, #f5f5f5) padding-box,
|
|
62
|
+
linear-gradient(to bottom, #cccccc88, #cccccc88) border-box;
|
|
63
|
+
border-radius: 5px;
|
|
63
64
|
}
|
|
64
65
|
.tile {
|
|
65
66
|
height: 80px;
|
|
66
67
|
&.selected {
|
|
67
68
|
.nut-grid-item__content {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
background: linear-gradient(180deg, #FFF7E3 0%, #FEFDE6 100%);
|
|
69
|
+
background: linear-gradient(#FFF7E3, #FEFDE6) padding-box,
|
|
70
|
+
linear-gradient(to bottom, #efd082, #ffb877) border-box;
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
}
|
|
@@ -80,7 +80,6 @@ const onGridItemClick = (index: number) => {
|
|
|
80
80
|
color: #FD6701;
|
|
81
81
|
font-weight: 600;
|
|
82
82
|
line-height: 25px;
|
|
83
|
-
color: #d00;
|
|
84
83
|
font-size: 18px;
|
|
85
84
|
}
|
|
86
85
|
h5 {
|