vdesign-ui 0.2.1 → 0.2.2
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/dist/components/actionbar/style.less +8 -12
- package/dist/components/actionbar-cell/index.js +7 -0
- package/dist/components/{actionbar/actionbar-cell → actionbar-cell}/index.vue +4 -0
- package/dist/components/{actions-cell/actions → actions}/index.vue +6 -6
- package/dist/components/{actions-cell/actions → actions}/style.less +38 -41
- package/dist/components/activityviews/index.vue +7 -1
- package/dist/components/activityviews/style.less +42 -46
- package/dist/components/badge/style.less +22 -34
- package/dist/components/button/index.vue +4 -0
- package/dist/components/button/style.less +82 -87
- package/dist/components/calendar/index.vue +1 -1
- package/dist/components/calendar/style.less +24 -53
- package/dist/components/checkbox/index.vue +5 -1
- package/dist/components/checkbox/style.less +30 -32
- package/dist/components/checkbox-group/index.js +7 -0
- package/dist/components/{checkbox/checkbox-group → checkbox-group}/index.vue +1 -2
- package/dist/components/common/state/index.vue +1 -48
- package/dist/components/common/state/style.less +48 -0
- package/dist/components/data-list/style.less +81 -82
- package/dist/components/datetime-picker/style.less +12 -12
- package/dist/components/dialog/index.vue +4 -0
- package/dist/components/dialog/style.less +27 -31
- package/dist/components/divider/style.less +1 -1
- package/dist/components/dropdown/index.vue +6 -1
- package/dist/components/dropdown/style.less +117 -125
- package/dist/components/empty/index.vue +10 -8
- package/dist/components/empty/style.less +34 -26
- package/dist/components/footer/style.less +6 -7
- package/dist/components/footnav/index.vue +1 -1
- package/dist/components/footnav/style.less +5 -5
- package/dist/components/{footnav/footnav-item → footnav-item}/index.vue +7 -1
- package/dist/components/{footnav/footnav-item → footnav-item}/style.less +2 -2
- package/dist/components/headnav/index.vue +5 -1
- package/dist/components/headnav/style.less +54 -58
- package/dist/components/icon/style.less +4 -4
- package/dist/components/input/index.vue +4 -0
- package/dist/components/input/style.less +88 -101
- package/dist/components/list/index.vue +5 -0
- package/dist/components/list/style.less +45 -52
- package/dist/components/loading/style.less +25 -27
- package/dist/components/mixins/languageMixin.js +7 -3
- package/dist/components/mixins/outlineConfigPlugin.js +1 -1
- package/dist/components/mixins/themeMixin.js +29 -15
- package/dist/components/noticebar/index.vue +7 -1
- package/dist/components/noticebar/style.less +125 -129
- package/dist/components/overlay/index.vue +34 -11
- package/dist/components/pagebreak/style.less +18 -19
- package/dist/components/popover/index.vue +2 -1
- package/dist/components/popover/style.less +39 -39
- package/dist/components/radio/index.js +1 -1
- package/dist/components/radio/index.vue +1 -1
- package/dist/components/radio/style.less +35 -43
- package/dist/components/radio-group/index.js +6 -0
- package/dist/components/{radio/radio-group → radio-group}/index.vue +1 -1
- package/dist/components/result/completed-dark.png +0 -0
- package/dist/components/result/completed.png +0 -0
- package/dist/components/result/error-dark.png +0 -0
- package/dist/components/result/error.png +0 -0
- package/dist/components/result/index.vue +1 -2
- package/dist/components/result/style.less +22 -20
- package/dist/components/result/wait-dark.png +0 -0
- package/dist/components/result/wait.png +0 -0
- package/dist/components/{input/search → search}/index.vue +4 -0
- package/dist/components/selector/index.vue +4 -0
- package/dist/components/selector/style.less +96 -100
- package/dist/components/skeleton/style.less +112 -107
- package/dist/components/slider/index.vue +1 -1
- package/dist/components/slider/style.less +41 -37
- package/dist/components/step/style.less +3 -4
- package/dist/components/step-item/index.vue +12 -3
- package/dist/components/step-item/style.less +61 -60
- package/dist/components/{input/stepper → stepper}/index.vue +5 -1
- package/dist/components/switch/style.less +8 -8
- package/dist/components/tab/index.js +7 -0
- package/dist/components/tabs/index.vue +4 -0
- package/dist/components/tabs/style.less +97 -105
- package/dist/components/tag/style.less +35 -35
- package/dist/components/title/index.vue +4 -0
- package/dist/components/title/style.less +164 -170
- package/dist/components/toast/index.js +9 -3
- package/dist/components/toast/style.less +8 -8
- package/dist/components/upload/index.vue +4 -0
- package/dist/components/upload/style.less +22 -31
- package/dist/components/utils/env.js +2 -0
- package/dist/token.css +1278 -1278
- package/dist/vdesign-ui.common.js +1112 -948
- package/dist/vdesign-ui.css +1 -1
- package/dist/vdesign-ui.umd.js +1112 -948
- package/dist/vdesign-ui.umd.min.js +3 -3
- package/package.json +1 -1
- package/dist/components/checkbox/checkbox-group/index.js +0 -8
- package/dist/components/radio/assist.js +0 -34
- package/dist/components/radio/style.css +0 -213
- package/dist/img/completed-dark.4183a8a8.png +0 -0
- package/dist/img/error-dark.b80857da.png +0 -0
- package/dist/img/wait-dark.6aa28731.png +0 -0
- /package/dist/components/{actions-cell/actions → actions}/index.js +0 -0
- /package/dist/components/{footnav/footnav-item → footnav-item}/index.js +0 -0
- /package/dist/components/{input/password → password}/index.js +0 -0
- /package/dist/components/{input/password → password}/index.vue +0 -0
- /package/dist/components/{input/search → search}/index.js +0 -0
- /package/dist/components/{input/stepper → stepper}/index.js +0 -0
- /package/dist/components/{tabs/tab → tab}/index.vue +0 -0
- /package/dist/components/{checkbox → utils}/assist.js +0 -0
|
@@ -29,52 +29,5 @@ export default {
|
|
|
29
29
|
</script>
|
|
30
30
|
|
|
31
31
|
<style lang="less">
|
|
32
|
-
.
|
|
33
|
-
display: inline-flex;
|
|
34
|
-
align-items: baseline;
|
|
35
|
-
font-size: calc(var(--en-single-f-b-r-fontSize) * 1px);
|
|
36
|
-
font-weight: var(--en-single-f-b-r-fontWeight);
|
|
37
|
-
|
|
38
|
-
&::before {
|
|
39
|
-
content: '';
|
|
40
|
-
display: inline-block;
|
|
41
|
-
border-radius: 50%;
|
|
42
|
-
width: calc(var(--width-dropdown-state_drop) * 1px);
|
|
43
|
-
height: calc(var(--width-dropdown-state_drop) * 1px);
|
|
44
|
-
margin-inline-end: calc(var(--spacing-dropdown-state_drop-margin_right) * 1px);
|
|
45
|
-
background-color: var(--color-dropdown-state-open);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
&--open {
|
|
49
|
-
color: var(--color-dropdown-state-open);
|
|
50
|
-
|
|
51
|
-
&::before {
|
|
52
|
-
background-color: var(--color-dropdown-state-open);
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
&--preopen {
|
|
57
|
-
color: var(--color-dropdown-state-preopen);
|
|
58
|
-
|
|
59
|
-
&::before {
|
|
60
|
-
background-color: var(--color-dropdown-state-preopen);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
&--close {
|
|
65
|
-
color: var(--color-dropdown-state-close);
|
|
66
|
-
|
|
67
|
-
&::before {
|
|
68
|
-
background-color: var(--text-color-h3);
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
&--fusing {
|
|
73
|
-
color: var(--color-dropdown-state-fusing);
|
|
74
|
-
|
|
75
|
-
&::before {
|
|
76
|
-
background-color: var(--color-dropdown-state-fusing);
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
}
|
|
32
|
+
@import 'style.less';
|
|
80
33
|
</style>
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
.vd-market-state {
|
|
2
|
+
display: inline-flex;
|
|
3
|
+
align-items: baseline;
|
|
4
|
+
font-size: var(--en-single-f-b-r-fontSize);
|
|
5
|
+
font-weight: var(--en-single-f-b-r-fontWeight);
|
|
6
|
+
|
|
7
|
+
&::before {
|
|
8
|
+
content: '';
|
|
9
|
+
display: inline-block;
|
|
10
|
+
border-radius: 50%;
|
|
11
|
+
width: var(--width-dropdown-state_drop);
|
|
12
|
+
height: var(--width-dropdown-state_drop);
|
|
13
|
+
margin-inline-end: var(--spacing-dropdown-state_drop-margin_right);
|
|
14
|
+
background-color: var(--color-dropdown-state-open);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
&--open {
|
|
18
|
+
color: var(--color-dropdown-state-open);
|
|
19
|
+
|
|
20
|
+
&::before {
|
|
21
|
+
background-color: var(--color-dropdown-state-open);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&--preopen {
|
|
26
|
+
color: var(--color-dropdown-state-preopen);
|
|
27
|
+
|
|
28
|
+
&::before {
|
|
29
|
+
background-color: var(--color-dropdown-state-preopen);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&--close {
|
|
34
|
+
color: var(--color-dropdown-state-close);
|
|
35
|
+
|
|
36
|
+
&::before {
|
|
37
|
+
background-color: var(--text-color-h3);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&--fusing {
|
|
42
|
+
color: var(--color-dropdown-state-fusing);
|
|
43
|
+
|
|
44
|
+
&::before {
|
|
45
|
+
background-color: var(--color-dropdown-state-fusing);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -16,12 +16,12 @@
|
|
|
16
16
|
flex-wrap: nowrap;
|
|
17
17
|
min-width: fit-content;
|
|
18
18
|
background-color: var(--bg-color-1);
|
|
19
|
-
padding-inline-end:
|
|
20
|
-
padding-inline-start:
|
|
21
|
-
min-height:
|
|
19
|
+
padding-inline-end: var(--spacing-datalist-padding_y);
|
|
20
|
+
padding-inline-start: var(--spacing-datalist-padding_y);
|
|
21
|
+
min-height: var(--height-datalist-head);
|
|
22
22
|
color: var(--color-datalist-head-text-default);
|
|
23
23
|
font-weight: var(--en-single-f-c-r-fontWeight);
|
|
24
|
-
font-size:
|
|
24
|
+
font-size: var(--en-single-f-c-r-fontSize);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
.vd-datalist-head-item {
|
|
@@ -29,14 +29,14 @@
|
|
|
29
29
|
flex-direction: row;
|
|
30
30
|
flex-wrap: nowrap;
|
|
31
31
|
align-items: center;
|
|
32
|
-
width:
|
|
32
|
+
width: var(--width-datalist-head_s);
|
|
33
33
|
// 默认右对齐
|
|
34
34
|
justify-content: flex-end;
|
|
35
35
|
text-align: end;
|
|
36
36
|
padding-block: 3.5px;
|
|
37
37
|
|
|
38
38
|
&:not(:last-child) {
|
|
39
|
-
margin-inline-end:
|
|
39
|
+
margin-inline-end: var(--spacing-datalist-head_item-margin_y_m);
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
&__text {
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
|
|
52
52
|
&__sort {
|
|
53
53
|
position: relative;
|
|
54
|
-
font-size:
|
|
54
|
+
font-size: var(--icon-datalist-sort);
|
|
55
55
|
min-width: 0;
|
|
56
56
|
flex: none;
|
|
57
57
|
}
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
width: auto;
|
|
98
98
|
flex: 1;
|
|
99
99
|
min-width: 0;
|
|
100
|
-
margin-inline-end:
|
|
100
|
+
margin-inline-end: var(--spacing-datalist-head_item-margin_y_s);
|
|
101
101
|
// 首列默认左对齐
|
|
102
102
|
justify-content: flex-start;
|
|
103
103
|
text-align: start;
|
|
@@ -121,39 +121,40 @@
|
|
|
121
121
|
|
|
122
122
|
.vd-datalist-head-item--first {
|
|
123
123
|
position: sticky;
|
|
124
|
-
inset-inline-start: 0;
|
|
124
|
+
inset-inline-start: 0;
|
|
125
125
|
flex: none;
|
|
126
|
-
width: calc(
|
|
127
|
-
padding-inline-start:
|
|
126
|
+
width: calc(var(--width-datalist-head_l) + var(--spacing-datalist-padding_y));
|
|
127
|
+
padding-inline-start: var(--spacing-datalist-padding_y);
|
|
128
128
|
background: var(--bg-color-1);
|
|
129
129
|
z-index: 2;
|
|
130
130
|
|
|
131
131
|
&.vd-datalist-head-item--s {
|
|
132
|
-
width: calc(
|
|
132
|
+
width: calc(var(--width-datalist-head_s) + var(--spacing-datalist-padding_y));
|
|
133
133
|
}
|
|
134
134
|
|
|
135
135
|
&.vd-datalist-head-item--m {
|
|
136
|
-
width: calc(
|
|
136
|
+
width: calc(var(--width-datalist-head_m) + var(--spacing-datalist-padding_y));
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
&.vd-datalist-head-item--l {
|
|
140
|
-
width: calc(
|
|
140
|
+
width: calc(var(--width-datalist-head_l) + var(--spacing-datalist-padding_y));
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
&.vd-datalist-head-item--xl {
|
|
144
|
-
width: calc(
|
|
144
|
+
width: calc(var(--width-datalist-head_xl) + var(--spacing-datalist-padding_y));
|
|
145
145
|
}
|
|
146
|
+
|
|
146
147
|
}
|
|
147
148
|
}
|
|
148
149
|
|
|
149
150
|
// 排序
|
|
150
151
|
.vd-datalist-head--sort {
|
|
151
152
|
&.vd-datalist-head-items {
|
|
152
|
-
padding-inline-end:
|
|
153
|
+
padding-inline-end: var(--spacing-datalist-head-padding_right);
|
|
153
154
|
}
|
|
154
155
|
|
|
155
156
|
.vd-datalist-head-item--first {
|
|
156
|
-
margin-inline-end:
|
|
157
|
+
margin-inline-end: var(--spacing-datalist-head_item-margin_y_m);
|
|
157
158
|
}
|
|
158
159
|
|
|
159
160
|
.vd-datalist-head-item__sort {
|
|
@@ -166,25 +167,25 @@
|
|
|
166
167
|
&.vd-datalist-head-item--s {
|
|
167
168
|
flex: none;
|
|
168
169
|
min-width: 0;
|
|
169
|
-
width:
|
|
170
|
+
width: var(--width-datalist-head_s);
|
|
170
171
|
}
|
|
171
172
|
|
|
172
173
|
&.vd-datalist-head-item--m {
|
|
173
174
|
flex: none;
|
|
174
175
|
min-width: 0;
|
|
175
|
-
width:
|
|
176
|
+
width: var(--width-datalist-head_m);
|
|
176
177
|
}
|
|
177
178
|
|
|
178
179
|
&.vd-datalist-head-item--l {
|
|
179
180
|
flex: none;
|
|
180
181
|
min-width: 0;
|
|
181
|
-
width:
|
|
182
|
+
width: var(--width-datalist-head_l);
|
|
182
183
|
}
|
|
183
184
|
|
|
184
185
|
&.vd-datalist-head-item--xl {
|
|
185
186
|
flex: none;
|
|
186
187
|
min-width: 0;
|
|
187
|
-
width:
|
|
188
|
+
width: var(--width-datalist-head_xl);
|
|
188
189
|
}
|
|
189
190
|
|
|
190
191
|
&.vd-datalist-head-item--start {
|
|
@@ -209,18 +210,17 @@
|
|
|
209
210
|
|
|
210
211
|
.vd-datalist-list-items {
|
|
211
212
|
position: relative;
|
|
212
|
-
// width: 100%;
|
|
213
213
|
display: flex;
|
|
214
214
|
flex-direction: row;
|
|
215
215
|
flex-wrap: nowrap;
|
|
216
216
|
min-width: fit-content;
|
|
217
217
|
background-color: var(--bg-color-1);
|
|
218
|
-
padding-inline-end:
|
|
219
|
-
padding-inline-start:
|
|
220
|
-
min-height:
|
|
218
|
+
padding-inline-end: var(--spacing-datalist-padding_y);
|
|
219
|
+
padding-inline-start: var(--spacing-datalist-padding_y);
|
|
220
|
+
min-height: var(--height-datalist-list);
|
|
221
221
|
color: var(--text-color-h1);
|
|
222
222
|
font-weight: var(--en-single-f-c-r-fontWeight);
|
|
223
|
-
font-size:
|
|
223
|
+
font-size: var(--en-single-f-c-r-fontSize);
|
|
224
224
|
|
|
225
225
|
&+& {
|
|
226
226
|
&::before {
|
|
@@ -228,10 +228,10 @@
|
|
|
228
228
|
pointer-events: none;
|
|
229
229
|
display: block;
|
|
230
230
|
position: absolute;
|
|
231
|
-
inset-inline-start: calc(-50% + var(--spacing-datalist-padding_y) *
|
|
232
|
-
inset-inline-end: calc(-50% + var(--spacing-datalist-padding_y) *
|
|
231
|
+
inset-inline-start: calc(-50% + var(--spacing-datalist-padding_y) * 2);
|
|
232
|
+
inset-inline-end: calc(-50% + var(--spacing-datalist-padding_y) * 2);
|
|
233
233
|
inset-block-start: 0;
|
|
234
|
-
border-top:
|
|
234
|
+
border-top: 1px solid var(--divider-color-default-1);
|
|
235
235
|
box-sizing: border-box;
|
|
236
236
|
transform: scale(0.5);
|
|
237
237
|
z-index: 3;
|
|
@@ -245,13 +245,13 @@
|
|
|
245
245
|
flex-wrap: nowrap;
|
|
246
246
|
align-items: center;
|
|
247
247
|
flex: none;
|
|
248
|
-
width:
|
|
248
|
+
width: var(--width-datalist-list_s);
|
|
249
249
|
// 默认右对齐
|
|
250
250
|
justify-content: flex-end;
|
|
251
251
|
text-align: end;
|
|
252
252
|
|
|
253
253
|
&:not(:last-child) {
|
|
254
|
-
margin-inline-end:
|
|
254
|
+
margin-inline-end: var(--spacing-datalist-list_item-margin_y);
|
|
255
255
|
}
|
|
256
256
|
|
|
257
257
|
&__text {
|
|
@@ -264,7 +264,7 @@
|
|
|
264
264
|
// normal
|
|
265
265
|
color: var(--color-datalist-list-text_primary);
|
|
266
266
|
font-weight: var(--en-single-f-d-r-fontWeight);
|
|
267
|
-
font-size:
|
|
267
|
+
font-size: var(--en-single-f-d-r-fontSize);
|
|
268
268
|
|
|
269
269
|
&--auto {
|
|
270
270
|
display: block;
|
|
@@ -276,7 +276,7 @@
|
|
|
276
276
|
text-overflow: ellipsis;
|
|
277
277
|
color: var(--color-datalist-list-text_secondary);
|
|
278
278
|
font-weight: var(--en-single-f-c-r-fontWeight);
|
|
279
|
-
font-size:
|
|
279
|
+
font-size: var(--en-single-f-c-r-fontSize);
|
|
280
280
|
}
|
|
281
281
|
|
|
282
282
|
&--rise {
|
|
@@ -294,19 +294,19 @@
|
|
|
294
294
|
// 数据字号 single fcs
|
|
295
295
|
&--fcs {
|
|
296
296
|
font-weight: var(--en-single-f-c-s-fontWeight);
|
|
297
|
-
font-size:
|
|
297
|
+
font-size: var(--en-single-f-c-s-fontSize);
|
|
298
298
|
}
|
|
299
299
|
|
|
300
300
|
// 超长文本 single fcr
|
|
301
301
|
&--fcr {
|
|
302
302
|
font-weight: var(--en-single-f-c-r-fontWeight);
|
|
303
|
-
font-size:
|
|
303
|
+
font-size: var(--en-single-f-c-r-fontSize);
|
|
304
304
|
}
|
|
305
305
|
|
|
306
306
|
// 纯数字 single fds
|
|
307
307
|
&--fds {
|
|
308
308
|
font-weight: var(--en-single-f-d-s-fontWeight);
|
|
309
|
-
font-size:
|
|
309
|
+
font-size: var(--en-single-f-d-s-fontSize);
|
|
310
310
|
}
|
|
311
311
|
}
|
|
312
312
|
|
|
@@ -315,7 +315,7 @@
|
|
|
315
315
|
width: 0;
|
|
316
316
|
flex: 1;
|
|
317
317
|
min-width: 0;
|
|
318
|
-
margin-inline-end:
|
|
318
|
+
margin-inline-end: var(--spacing-datalist-list_item-margin_y);
|
|
319
319
|
// 首列默认左对齐
|
|
320
320
|
justify-content: flex-start;
|
|
321
321
|
text-align: start;
|
|
@@ -340,27 +340,27 @@
|
|
|
340
340
|
|
|
341
341
|
.vd-datalist-list-item--first {
|
|
342
342
|
position: sticky;
|
|
343
|
-
inset-inline-start: 0;
|
|
343
|
+
inset-inline-start: 0;
|
|
344
344
|
flex: none;
|
|
345
|
-
width: calc(
|
|
346
|
-
padding-inline-start:
|
|
345
|
+
width: calc(var(--width-datalist-list_l) + var(--spacing-datalist-padding_y));
|
|
346
|
+
padding-inline-start: var(--spacing-datalist-padding_y);
|
|
347
347
|
background: var(--bg-color-1);
|
|
348
348
|
z-index: 2;
|
|
349
349
|
|
|
350
350
|
&.vd-datalist-list-item--s {
|
|
351
|
-
width: calc(
|
|
351
|
+
width: calc(var(--width-datalist-list_s) + var(--spacing-datalist-padding_y));
|
|
352
352
|
}
|
|
353
353
|
|
|
354
354
|
&.vd-datalist-list-item--m {
|
|
355
|
-
width: calc(
|
|
355
|
+
width: calc(var(--width-datalist-list_m) + var(--spacing-datalist-padding_y));
|
|
356
356
|
}
|
|
357
357
|
|
|
358
358
|
&.vd-datalist-list-item--l {
|
|
359
|
-
width: calc(
|
|
359
|
+
width: calc(var(--width-datalist-list_l) + var(--spacing-datalist-padding_y));
|
|
360
360
|
}
|
|
361
361
|
|
|
362
362
|
&.vd-datalist-list-item--xl {
|
|
363
|
-
width: calc(
|
|
363
|
+
width: calc(var(--width-datalist-list_xl) + var(--spacing-datalist-padding_y));
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
366
|
}
|
|
@@ -368,33 +368,34 @@
|
|
|
368
368
|
// align && size
|
|
369
369
|
.vd-datalist-list-item {
|
|
370
370
|
&>.vd-iconfont+.vd-datalist-content {
|
|
371
|
-
margin-inline-start:
|
|
371
|
+
margin-inline-start: var(--spacing-datalist-list_icon-margin_right);
|
|
372
372
|
}
|
|
373
373
|
|
|
374
374
|
&.vd-datalist-list-item--s {
|
|
375
375
|
flex: none;
|
|
376
376
|
min-width: 0;
|
|
377
|
-
width:
|
|
377
|
+
width: var(--width-datalist-list_s);
|
|
378
378
|
}
|
|
379
379
|
|
|
380
380
|
&.vd-datalist-list-item--m {
|
|
381
381
|
flex: none;
|
|
382
382
|
min-width: 0;
|
|
383
|
-
width:
|
|
383
|
+
width: var(--width-datalist-list_m);
|
|
384
384
|
}
|
|
385
385
|
|
|
386
386
|
&.vd-datalist-list-item--l {
|
|
387
387
|
flex: none;
|
|
388
388
|
min-width: 0;
|
|
389
|
-
width:
|
|
389
|
+
width: var(--width-datalist-list_l);
|
|
390
390
|
}
|
|
391
391
|
|
|
392
392
|
&.vd-datalist-list-item--xl {
|
|
393
393
|
flex: none;
|
|
394
394
|
min-width: 0;
|
|
395
|
-
width:
|
|
395
|
+
width: var(--width-datalist-list_xl);
|
|
396
396
|
}
|
|
397
397
|
|
|
398
|
+
|
|
398
399
|
&.vd-datalist-list-item--start {
|
|
399
400
|
justify-content: flex-start;
|
|
400
401
|
text-align: start;
|
|
@@ -425,37 +426,36 @@
|
|
|
425
426
|
flex-direction: row;
|
|
426
427
|
flex-wrap: nowrap;
|
|
427
428
|
align-items: center;
|
|
428
|
-
margin-block-start:
|
|
429
|
+
margin-block-start: var(--spacing-datalist-list-margin_top);
|
|
429
430
|
|
|
430
431
|
&--code {
|
|
431
432
|
overflow: hidden;
|
|
432
433
|
white-space: nowrap;
|
|
433
434
|
text-overflow: ellipsis;
|
|
434
435
|
color: var(--color-datalist-list-text_secondary);
|
|
435
|
-
font-size:
|
|
436
|
+
font-size: var(--en-single-f-c-r-fontSize);
|
|
436
437
|
font-weight: var(--en-single-f-c-r-fontWeight);
|
|
437
|
-
margin-inline-end:
|
|
438
|
+
margin-inline-end: var(--spacing-datalist-market_tag-margin_top);
|
|
438
439
|
}
|
|
439
440
|
}
|
|
440
441
|
|
|
441
442
|
&__title {
|
|
442
|
-
font-size:
|
|
443
|
+
font-size: var(--en-single-f-d-r-fontSize);
|
|
443
444
|
font-weight: var(--en-single-f-d-r-fontWeight);
|
|
444
445
|
overflow: hidden;
|
|
445
446
|
white-space: nowrap;
|
|
446
447
|
text-overflow: ellipsis;
|
|
447
448
|
|
|
448
449
|
&--code {
|
|
449
|
-
margin-inline-end:
|
|
450
|
+
margin-inline-end: var(--spacing-datalist-market_tag-margin_top);
|
|
450
451
|
}
|
|
451
452
|
}
|
|
453
|
+
|
|
452
454
|
}
|
|
453
455
|
|
|
454
456
|
.vd-datalist-stock-tag {
|
|
455
457
|
flex: none;
|
|
456
|
-
|
|
457
|
-
// font-weight: var(--en-single-f-b-r-fontWeight);
|
|
458
|
-
margin-inline-end: calc(var(--spacing-datalist-market_tag-margin_top) * 1px);
|
|
458
|
+
margin-inline-end: var(--spacing-datalist-market_tag-margin_top);
|
|
459
459
|
|
|
460
460
|
// &--us {
|
|
461
461
|
// color: var(--color-datalist-market_us);
|
|
@@ -468,8 +468,8 @@
|
|
|
468
468
|
|
|
469
469
|
.vd-datalist-market-tag {
|
|
470
470
|
flex: none;
|
|
471
|
-
font-size:
|
|
472
|
-
margin-inline-end:
|
|
471
|
+
font-size: var(--icon-datalist-label_icon);
|
|
472
|
+
margin-inline-end: var(--spacing-datalist-market_tag-margin_top);
|
|
473
473
|
display: inline-block;
|
|
474
474
|
|
|
475
475
|
&--watchlist {
|
|
@@ -488,7 +488,6 @@
|
|
|
488
488
|
|
|
489
489
|
&-item {
|
|
490
490
|
position: relative;
|
|
491
|
-
// width: 100%;
|
|
492
491
|
display: flex;
|
|
493
492
|
flex-direction: row;
|
|
494
493
|
flex-wrap: nowrap;
|
|
@@ -496,12 +495,12 @@
|
|
|
496
495
|
align-items: center;
|
|
497
496
|
min-width: fit-content;
|
|
498
497
|
background-color: var(--bg-color-1);
|
|
499
|
-
padding-inline-end:
|
|
500
|
-
padding-inline-start:
|
|
498
|
+
padding-inline-end: var(--spacing-datalist-padding_y);
|
|
499
|
+
padding-inline-start: var(--spacing-datalist-padding_y);
|
|
501
500
|
color: var(--text-color-h1);
|
|
502
501
|
font-weight: var(--en-single-f-c-r-fontWeight);
|
|
503
|
-
font-size:
|
|
504
|
-
height:
|
|
502
|
+
font-size: var(--en-single-f-c-r-fontSize);
|
|
503
|
+
height: var(--height-datalist-search_m);
|
|
505
504
|
|
|
506
505
|
&+& {
|
|
507
506
|
&::before {
|
|
@@ -509,10 +508,10 @@
|
|
|
509
508
|
pointer-events: none;
|
|
510
509
|
display: block;
|
|
511
510
|
position: absolute;
|
|
512
|
-
inset-inline-start: calc(-50% + var(--spacing-datalist-padding_y) *
|
|
513
|
-
inset-inline-end: calc(-50% + var(--spacing-datalist-padding_y) *
|
|
511
|
+
inset-inline-start: calc(-50% + var(--spacing-datalist-padding_y) * 2);
|
|
512
|
+
inset-inline-end: calc(-50% + var(--spacing-datalist-padding_y) * 2);
|
|
514
513
|
inset-block-start: 0;
|
|
515
|
-
border-top:
|
|
514
|
+
border-top: 1px solid var(--divider-color-default-1);
|
|
516
515
|
box-sizing: border-box;
|
|
517
516
|
transform: scale(0.5);
|
|
518
517
|
z-index: 3;
|
|
@@ -528,7 +527,7 @@
|
|
|
528
527
|
&__stock {
|
|
529
528
|
color: var(--color-datalist-list-text_primary);
|
|
530
529
|
font-weight: var(--en-single-f-d-s-fontWeight);
|
|
531
|
-
font-size:
|
|
530
|
+
font-size: var(--en-single-f-d-s-fontSize);
|
|
532
531
|
overflow: hidden;
|
|
533
532
|
white-space: nowrap;
|
|
534
533
|
text-overflow: ellipsis;
|
|
@@ -538,11 +537,11 @@
|
|
|
538
537
|
display: flex;
|
|
539
538
|
color: var(--color-datalist-list-text_secondary);
|
|
540
539
|
font-weight: var(--en-single-f-c-r-fontWeight);
|
|
541
|
-
font-size:
|
|
542
|
-
margin-block-start:
|
|
540
|
+
font-size: var(--en-single-f-c-r-fontSize);
|
|
541
|
+
margin-block-start: var(--spacing-datalist-search-margin_top);
|
|
543
542
|
|
|
544
543
|
&--market {
|
|
545
|
-
margin-inline-start:
|
|
544
|
+
margin-inline-start: var(--spacing-datalist-search-margin_right);
|
|
546
545
|
overflow: hidden;
|
|
547
546
|
white-space: nowrap;
|
|
548
547
|
text-overflow: ellipsis;
|
|
@@ -550,9 +549,8 @@
|
|
|
550
549
|
}
|
|
551
550
|
}
|
|
552
551
|
|
|
553
|
-
|
|
554
552
|
&--reverse {
|
|
555
|
-
height:
|
|
553
|
+
height: var(--height-datalist-search_s);
|
|
556
554
|
|
|
557
555
|
.vd-datalist-search-content {
|
|
558
556
|
display: flex;
|
|
@@ -563,8 +561,8 @@
|
|
|
563
561
|
.vd-datalist-search-content__code {
|
|
564
562
|
color: var(--color-datalist-list-text_primary);
|
|
565
563
|
font-weight: var(--en-single-f-d-s-fontWeight);
|
|
566
|
-
font-size:
|
|
567
|
-
width:
|
|
564
|
+
font-size: var(--en-single-f-d-s-fontSize);
|
|
565
|
+
width: var(--width-datalist-list-code);
|
|
568
566
|
}
|
|
569
567
|
|
|
570
568
|
.vd-datalist-search-content__stock {
|
|
@@ -572,30 +570,30 @@
|
|
|
572
570
|
min-width: 0;
|
|
573
571
|
color: var(--color-datalist-list-text_primary);
|
|
574
572
|
font-weight: var(--en-single-f-d-r-fontWeight);
|
|
575
|
-
font-size:
|
|
576
|
-
margin-inline-start:
|
|
573
|
+
font-size: var(--en-single-f-d-r-fontSize);
|
|
574
|
+
margin-inline-start: var(--spacing-datalist-search_code-margin_right);
|
|
577
575
|
}
|
|
578
576
|
}
|
|
579
577
|
|
|
580
578
|
&-icon {
|
|
581
|
-
margin-inline-start:
|
|
579
|
+
margin-inline-start: var(--spacing-datalist-search_icon-margin_left);
|
|
582
580
|
color: var(--color-datalist-list-text_secondary);
|
|
583
581
|
}
|
|
584
582
|
|
|
585
583
|
&-stock {
|
|
586
584
|
flex: none;
|
|
587
585
|
text-align: end;
|
|
588
|
-
margin-inline-start:
|
|
586
|
+
margin-inline-start: var(--spacing-datalist-search_stock-margin_right);
|
|
589
587
|
|
|
590
588
|
&__price {
|
|
591
589
|
font-weight: var(--en-single-f-d-s-fontWeight);
|
|
592
|
-
font-size:
|
|
590
|
+
font-size: var(--en-single-f-d-s-fontSize);
|
|
593
591
|
}
|
|
594
592
|
|
|
595
593
|
&__percentage {
|
|
596
594
|
font-weight: var(--en-single-f-c-r-fontWeight);
|
|
597
|
-
font-size:
|
|
598
|
-
margin-block-start:
|
|
595
|
+
font-size: var(--en-single-f-c-r-fontSize);
|
|
596
|
+
margin-block-start: var(--spacing-datalist-search-margin_top);
|
|
599
597
|
}
|
|
600
598
|
|
|
601
599
|
&--rise {
|
|
@@ -608,6 +606,7 @@
|
|
|
608
606
|
}
|
|
609
607
|
}
|
|
610
608
|
|
|
609
|
+
|
|
611
610
|
[lang='ar'] {
|
|
612
611
|
|
|
613
612
|
.vd-datalist-head-item,
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
+
.vd-datetime-picker {
|
|
1
2
|
|
|
2
|
-
.
|
|
3
|
-
|
|
4
|
-
.van-picker__columns{
|
|
5
|
-
padding: 0 calc(var(--spacing-datepicker-padding_y) * 1px);
|
|
3
|
+
.van-picker__columns {
|
|
4
|
+
padding: 0 var(--spacing-datepicker-padding_y);
|
|
6
5
|
}
|
|
7
6
|
|
|
8
|
-
.van-picker-column__item{
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
font-size: calc(var(--en-single-f-d-s-fontSize) * 1px);
|
|
7
|
+
.van-picker-column__item {
|
|
8
|
+
height: var(--height-datepicker-roll_bg);
|
|
9
|
+
font-size: var(--en-single-f-d-s-fontSize);
|
|
12
10
|
font-weight: var(--en-single-f-d-s-fontWeight);
|
|
13
11
|
color: var(--color-datepicker-date-text-disable);
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
|
|
13
|
+
&--selected {
|
|
14
|
+
font-size: var(--en-single-f-e-s-fontSize);
|
|
16
15
|
font-weight: var(--en-single-f-e-s-fontWeight);
|
|
17
16
|
color: var(--color-datepicker-date-text-default);
|
|
18
17
|
}
|
|
19
18
|
}
|
|
20
|
-
|
|
19
|
+
|
|
20
|
+
.van-picker__frame {
|
|
21
21
|
background: var(--color-datepicker-date_mask-bg-active);
|
|
22
|
-
border-radius:
|
|
22
|
+
border-radius: var(--radius-datepicker-roll_bg);
|
|
23
23
|
}
|
|
24
24
|
}
|