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
|
@@ -88,18 +88,18 @@
|
|
|
88
88
|
flex-direction: row;
|
|
89
89
|
align-items: center;
|
|
90
90
|
white-space: nowrap;
|
|
91
|
-
padding-inline-start:
|
|
92
|
-
padding-inline-end:
|
|
93
|
-
height:
|
|
94
|
-
font-size:
|
|
91
|
+
padding-inline-start: var(--spacing-popover-primary-padding_left);
|
|
92
|
+
padding-inline-end: var(--spacing-popover-primary-padding_right);
|
|
93
|
+
height: var(--height-popover-primary);
|
|
94
|
+
font-size: var(--en-single-f-c-r-fontSize);
|
|
95
95
|
font-weight: var(--en-single-f-c-r-fontWeight);
|
|
96
96
|
color: var(--color-popover-primary-text);
|
|
97
97
|
background-color: var(--color-popover-primary-bg);
|
|
98
|
-
border-radius:
|
|
98
|
+
border-radius: var(--radius-popover-primary);
|
|
99
99
|
border: none;
|
|
100
100
|
box-shadow: none;
|
|
101
|
-
animation: vd-ani-popper .2s linear forwards;
|
|
102
|
-
|
|
101
|
+
animation: vd-ani-popper 0.2s linear forwards;
|
|
102
|
+
}
|
|
103
103
|
|
|
104
104
|
&-icon {
|
|
105
105
|
|
|
@@ -108,8 +108,8 @@
|
|
|
108
108
|
outline: none;
|
|
109
109
|
border: none;
|
|
110
110
|
background: none;
|
|
111
|
-
font-size:
|
|
112
|
-
margin-inline-end:
|
|
111
|
+
font-size: var(--icon-popover-primary);
|
|
112
|
+
margin-inline-end: var(--spacing-popover-primary-margin_y);
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
115
|
|
|
@@ -120,15 +120,15 @@
|
|
|
120
120
|
outline: none;
|
|
121
121
|
border: none;
|
|
122
122
|
background: none;
|
|
123
|
-
font-size:
|
|
124
|
-
margin-inline-start:
|
|
123
|
+
font-size: var(--icon-popover-primary);
|
|
124
|
+
margin-inline-start: var(--spacing-popover-primary-margin_y);
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
&--hot {
|
|
128
128
|
position: absolute;
|
|
129
129
|
inset-inline-end: 0;
|
|
130
|
-
height:
|
|
131
|
-
width: calc(var(--height-popover-primary) * 1.
|
|
130
|
+
height: var(--height-popover-primary);
|
|
131
|
+
width: calc(var(--height-popover-primary) * 1.2);
|
|
132
132
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
133
133
|
}
|
|
134
134
|
}
|
|
@@ -145,19 +145,19 @@
|
|
|
145
145
|
|
|
146
146
|
// 设置一个 popper 的外边距
|
|
147
147
|
.vd-popper[x-placement^="top"] {
|
|
148
|
-
margin-bottom: calc(var(--icon-popover-primary) * .
|
|
148
|
+
margin-bottom: calc(var(--icon-popover-primary) * .5) !important;
|
|
149
149
|
}
|
|
150
150
|
|
|
151
151
|
.vd-popper[x-placement^="bottom"] {
|
|
152
|
-
margin-top: calc(var(--icon-popover-primary) * .
|
|
152
|
+
margin-top: calc(var(--icon-popover-primary) * .5) !important;
|
|
153
153
|
}
|
|
154
154
|
|
|
155
155
|
.vd-popper[x-placement^="left"] {
|
|
156
|
-
margin-right: calc(var(--icon-popover-primary) * .
|
|
156
|
+
margin-right: calc(var(--icon-popover-primary) * .5) !important;
|
|
157
157
|
}
|
|
158
158
|
|
|
159
159
|
.vd-popper[x-placement^="right"] {
|
|
160
|
-
margin-left: calc(var(--icon-popover-primary) * .
|
|
160
|
+
margin-left: calc(var(--icon-popover-primary) * .5) !important;
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
// 覆盖原有的默认三角形背景色样式
|
|
@@ -197,14 +197,14 @@
|
|
|
197
197
|
|
|
198
198
|
// secondary 模式样式
|
|
199
199
|
.vd-popover-secondary {
|
|
200
|
-
font-size:
|
|
200
|
+
font-size: var(--en-single-f-b-r-fontSize);
|
|
201
201
|
font-weight: var(--en-single-f-b-r-fontWeight);
|
|
202
|
-
padding-inline-start:
|
|
203
|
-
padding-inline-end:
|
|
204
|
-
height:
|
|
202
|
+
padding-inline-start: var(--spacing-popover-secondary-padding_left);
|
|
203
|
+
padding-inline-end: var(--spacing-popover-secondary-padding_right);
|
|
204
|
+
height: var(--height-popover-secondary);
|
|
205
205
|
color: var(--color-popover-secondary-text);
|
|
206
206
|
background-color: var(--color-popover-secondary-bg);
|
|
207
|
-
border-radius:
|
|
207
|
+
border-radius: var(--radius-popover-secondary);
|
|
208
208
|
|
|
209
209
|
&[x-placement^="top"] .vd-popper__arrow {
|
|
210
210
|
border-color: var(--color-popover-secondary-bg) transparent transparent transparent;
|
|
@@ -230,8 +230,8 @@
|
|
|
230
230
|
outline: none;
|
|
231
231
|
border: none;
|
|
232
232
|
background: none;
|
|
233
|
-
font-size:
|
|
234
|
-
margin-inline-end:
|
|
233
|
+
font-size: var(--icon-popover-secondary);
|
|
234
|
+
margin-inline-end: var(--spacing-popover-secondary-margin_y);
|
|
235
235
|
margin-block-start: -1px;
|
|
236
236
|
}
|
|
237
237
|
}
|
|
@@ -244,16 +244,16 @@
|
|
|
244
244
|
outline: none;
|
|
245
245
|
border: none;
|
|
246
246
|
background: none;
|
|
247
|
-
font-size:
|
|
248
|
-
margin-inline-start:
|
|
247
|
+
font-size: var(--icon-popover-secondary);
|
|
248
|
+
margin-inline-start: var(--spacing-popover-secondary-margin_y);
|
|
249
249
|
margin-block-start: -1px;
|
|
250
250
|
}
|
|
251
251
|
|
|
252
252
|
&--hot {
|
|
253
253
|
position: absolute;
|
|
254
254
|
inset-inline-end: 0;
|
|
255
|
-
height:
|
|
256
|
-
width: calc(var(--height-popover-secondary) * 1.
|
|
255
|
+
height: var(--height-popover-secondary);
|
|
256
|
+
width: calc(var(--height-popover-secondary) * 1.2);
|
|
257
257
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
258
258
|
}
|
|
259
259
|
}
|
|
@@ -265,14 +265,14 @@
|
|
|
265
265
|
|
|
266
266
|
// custom 模式样式
|
|
267
267
|
.vd-popover-custom {
|
|
268
|
-
font-size:
|
|
268
|
+
font-size: var(--en-single-f-c-r-fontSize);
|
|
269
269
|
font-weight: var(--en-single-f-c-r-fontWeight);
|
|
270
|
-
padding-inline-start:
|
|
271
|
-
padding-inline-end:
|
|
272
|
-
height:
|
|
270
|
+
padding-inline-start: var(--spacing-popover-custom-padding_left);
|
|
271
|
+
padding-inline-end: var(--spacing-popover-custom-padding_right);
|
|
272
|
+
height: var(--height-popover-custom);
|
|
273
273
|
color: var(--color-popover-custom-text);
|
|
274
274
|
background-color: var(--color-popover-custom-bg);
|
|
275
|
-
border-radius:
|
|
275
|
+
border-radius: var(--radius-popover-custom);
|
|
276
276
|
|
|
277
277
|
&[x-placement^="top"] .vd-popper__arrow {
|
|
278
278
|
border-color: var(--color-popover-custom-bg) transparent transparent transparent;
|
|
@@ -297,8 +297,8 @@
|
|
|
297
297
|
outline: none;
|
|
298
298
|
border: none;
|
|
299
299
|
background: none;
|
|
300
|
-
font-size:
|
|
301
|
-
margin-inline-end:
|
|
300
|
+
font-size: var(--icon-popover-custom);
|
|
301
|
+
margin-inline-end: var(--spacing-popover-custom-margin_y);
|
|
302
302
|
}
|
|
303
303
|
}
|
|
304
304
|
|
|
@@ -309,15 +309,15 @@
|
|
|
309
309
|
outline: none;
|
|
310
310
|
border: none;
|
|
311
311
|
background: none;
|
|
312
|
-
font-size:
|
|
313
|
-
margin-inline-start:
|
|
312
|
+
font-size: var(--icon-popover-custom);
|
|
313
|
+
margin-inline-start: var(--spacing-popover-custom-margin_y);
|
|
314
314
|
}
|
|
315
315
|
|
|
316
316
|
&--hot {
|
|
317
317
|
position: absolute;
|
|
318
318
|
inset-inline-end: 0;
|
|
319
|
-
height:
|
|
320
|
-
width: calc(var(--height-popover-custom) * 1.
|
|
319
|
+
height: var(--height-popover-custom);
|
|
320
|
+
width: calc(var(--height-popover-custom) * 1.2);
|
|
321
321
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
322
322
|
}
|
|
323
323
|
}
|
|
@@ -13,38 +13,38 @@
|
|
|
13
13
|
// 普通状态
|
|
14
14
|
.@{radio-prefix-cls} {
|
|
15
15
|
|
|
16
|
-
&__input{
|
|
16
|
+
&__input {
|
|
17
17
|
position: relative;
|
|
18
|
-
margin-inline-end:
|
|
19
|
-
width:
|
|
20
|
-
height:
|
|
18
|
+
margin-inline-end: var(--spacing-check_radio-icon-margin_right);
|
|
19
|
+
width: var(--icon-check_radio-sizing);
|
|
20
|
+
height: var(--icon-check_radio-sizing);
|
|
21
21
|
}
|
|
22
|
-
|
|
23
|
-
&__label{
|
|
22
|
+
|
|
23
|
+
&__label {
|
|
24
24
|
flex: 1;
|
|
25
25
|
}
|
|
26
|
-
|
|
26
|
+
|
|
27
27
|
&__text {
|
|
28
28
|
color: var(--color-check_radio-text-default);
|
|
29
|
-
font-size:
|
|
29
|
+
font-size: var(--en-single-f-d-r-fontSize);
|
|
30
30
|
font-weight: var(--en-single-f-d-r-fontWeight);
|
|
31
31
|
}
|
|
32
|
-
|
|
32
|
+
|
|
33
33
|
&__description {
|
|
34
34
|
line-height: 1;
|
|
35
|
-
margin-top:
|
|
35
|
+
margin-top: var(--spacing-check_radio-text-margin_top);
|
|
36
36
|
color: var(--color-check_radio-text_describe-default);
|
|
37
|
-
font-size:
|
|
37
|
+
font-size: var(--en-single-f-b-r-fontSize);
|
|
38
38
|
font-weight: var(--en-single-f-b-r-fontWeight);
|
|
39
39
|
}
|
|
40
|
-
|
|
41
|
-
.@{radio-inner-prefix-cls}
|
|
40
|
+
|
|
41
|
+
.@{radio-inner-prefix-cls} {
|
|
42
42
|
display: block;
|
|
43
|
-
width:
|
|
44
|
-
height:
|
|
43
|
+
width: var(--icon-check_radio-sizing);
|
|
44
|
+
height: var(--icon-check_radio-sizing);
|
|
45
45
|
position: relative;
|
|
46
|
-
|
|
47
|
-
&::before{
|
|
46
|
+
|
|
47
|
+
&::before {
|
|
48
48
|
position: absolute;
|
|
49
49
|
box-sizing: border-box;
|
|
50
50
|
content: ' ';
|
|
@@ -53,14 +53,11 @@
|
|
|
53
53
|
right: -50%;
|
|
54
54
|
bottom: -50%;
|
|
55
55
|
left: -50%;
|
|
56
|
-
border:
|
|
57
|
-
-webkit-transform: scale(0.5);
|
|
56
|
+
border: 3px solid var(--color-check_radio-default);
|
|
58
57
|
transform: scale(0.5);
|
|
59
|
-
border-width: 3px;
|
|
60
58
|
border-radius: 50%;
|
|
61
59
|
}
|
|
62
|
-
|
|
63
|
-
}
|
|
60
|
+
}
|
|
64
61
|
|
|
65
62
|
&__original {
|
|
66
63
|
width: 100%;
|
|
@@ -82,7 +79,7 @@
|
|
|
82
79
|
.@{radio-prefix-cls}--checked {
|
|
83
80
|
.@{radio-prefix-cls} {
|
|
84
81
|
&__text {
|
|
85
|
-
font-size:
|
|
82
|
+
font-size: var(--en-single-f-d-s-fontSize);
|
|
86
83
|
font-weight: var(--en-single-f-d-s-fontWeight);
|
|
87
84
|
}
|
|
88
85
|
}
|
|
@@ -107,7 +104,6 @@
|
|
|
107
104
|
border-left: 0;
|
|
108
105
|
content: " ";
|
|
109
106
|
background-color: var(--color-check_radio-active);
|
|
110
|
-
// transition: all .2s ease-in-out;
|
|
111
107
|
}
|
|
112
108
|
}
|
|
113
109
|
}
|
|
@@ -115,7 +111,6 @@
|
|
|
115
111
|
// 禁用状态
|
|
116
112
|
.@{radio-prefix-cls}--disabled {
|
|
117
113
|
cursor: not-allowed;
|
|
118
|
-
// opacity: var(--opacity-30);
|
|
119
114
|
|
|
120
115
|
.@{radio-prefix-cls}__text{
|
|
121
116
|
color: var(--color-check_radio-text-disable);
|
|
@@ -152,11 +147,7 @@
|
|
|
152
147
|
|
|
153
148
|
display: flex;
|
|
154
149
|
flex-direction: column;
|
|
155
|
-
gap:
|
|
156
|
-
// .vd-radio-wrapper {
|
|
157
|
-
// margin-block-end: calc(var(--spacing-check_radio-group-margin_x)*1px);
|
|
158
|
-
// }
|
|
159
|
-
|
|
150
|
+
gap: var(--spacing-check_radio-group-margin_x);
|
|
160
151
|
|
|
161
152
|
&-card{
|
|
162
153
|
display: flex;
|
|
@@ -198,41 +189,42 @@
|
|
|
198
189
|
|
|
199
190
|
|
|
200
191
|
&--large {
|
|
201
|
-
height:
|
|
192
|
+
height: var(--height-check_radio-radio_button_l);
|
|
202
193
|
|
|
203
194
|
.@{radio-button-prefix-cls}-text{
|
|
204
195
|
color: var(--color-check_radio-radio_button_text-default);
|
|
205
|
-
font-size:
|
|
196
|
+
font-size: var(--en-single-f-d-r-fontSize);
|
|
206
197
|
font-weight:var(--en-single-f-d-r-fontWeight);
|
|
207
198
|
}
|
|
208
199
|
|
|
209
200
|
&::after{
|
|
210
|
-
border-radius: calc(var(--radius-check_radio-radio_l) *
|
|
201
|
+
border-radius: calc(var(--radius-check_radio-radio_l) * 2);
|
|
211
202
|
}
|
|
212
203
|
}
|
|
213
204
|
|
|
214
205
|
&--medium {
|
|
215
|
-
height:
|
|
206
|
+
height: var(--height-check_radio-radio_button_m);
|
|
207
|
+
|
|
216
208
|
.@{radio-button-prefix-cls}-text{
|
|
217
209
|
color: var(--color-check_radio-radio_button_text-default);
|
|
218
|
-
font-size:
|
|
210
|
+
font-size: var(--en-single-f-c-r-fontSize);
|
|
219
211
|
font-weight:var(--en-single-f-c-r-fontWeight);
|
|
220
212
|
}
|
|
221
213
|
&::after{
|
|
222
|
-
border-radius: calc(var(--radius-check_radio-m) *
|
|
214
|
+
border-radius: calc(var(--radius-check_radio-m) * 2);
|
|
223
215
|
}
|
|
224
216
|
}
|
|
225
217
|
|
|
226
218
|
&--small {
|
|
227
|
-
height:
|
|
219
|
+
height: var(--height-check_radio-radio_button_s);
|
|
228
220
|
|
|
229
221
|
.@{radio-button-prefix-cls}-text{
|
|
230
222
|
color: var(--color-check_radio-radio_button_text-default);
|
|
231
|
-
font-size:
|
|
223
|
+
font-size: var(--en-single-f-c-r-fontSize);
|
|
232
224
|
font-weight:var(--en-single-f-c-r-fontWeight);
|
|
233
225
|
}
|
|
234
226
|
&::after{
|
|
235
|
-
border-radius: calc(var(--radius-check_radio-s) *
|
|
227
|
+
border-radius: calc(var(--radius-check_radio-s) * 2);
|
|
236
228
|
}
|
|
237
229
|
}
|
|
238
230
|
|
|
@@ -251,21 +243,21 @@
|
|
|
251
243
|
|
|
252
244
|
&.@{radio-button-prefix-cls}--large {
|
|
253
245
|
.@{radio-button-prefix-cls}-text {
|
|
254
|
-
font-size:
|
|
246
|
+
font-size: var(--en-single-f-d-s-fontSize);
|
|
255
247
|
font-weight:var(--en-single-f-d-s-fontWeight);
|
|
256
248
|
}
|
|
257
249
|
}
|
|
258
250
|
|
|
259
251
|
&.@{radio-button-prefix-cls}--medium {
|
|
260
252
|
.@{radio-button-prefix-cls}-text {
|
|
261
|
-
font-size:
|
|
253
|
+
font-size: var(--en-single-f-c-s-fontSize);
|
|
262
254
|
font-weight:var(--en-single-f-c-s-fontWeight);
|
|
263
255
|
}
|
|
264
256
|
}
|
|
265
257
|
|
|
266
258
|
&.@{radio-button-prefix-cls}--small {
|
|
267
259
|
.@{radio-button-prefix-cls}-text {
|
|
268
|
-
font-size:
|
|
260
|
+
font-size: var(--en-single-f-c-s-fontSize);
|
|
269
261
|
font-weight:var(--en-single-f-c-s-fontWeight);
|
|
270
262
|
}
|
|
271
263
|
}
|
|
@@ -286,7 +278,7 @@
|
|
|
286
278
|
.@{radio-prefix-cls}-group {
|
|
287
279
|
display: flex;
|
|
288
280
|
flex-direction: column;
|
|
289
|
-
gap:
|
|
281
|
+
gap: var(--spacing-check_radio-group-margin_x);
|
|
290
282
|
|
|
291
283
|
&__card{
|
|
292
284
|
display: flex;
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.vd-result{
|
|
1
|
+
.vd-result {
|
|
2
2
|
height: 100%;
|
|
3
3
|
margin: 0 auto;
|
|
4
4
|
text-align: center;
|
|
@@ -7,36 +7,38 @@
|
|
|
7
7
|
flex-direction: column;
|
|
8
8
|
justify-content: center;
|
|
9
9
|
|
|
10
|
-
&-img{
|
|
10
|
+
&-img {
|
|
11
11
|
margin: 0 auto;
|
|
12
12
|
width: 160px;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
img {
|
|
14
|
+
max-width: 100%;
|
|
15
|
+
}
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
&-title{
|
|
19
|
-
margin-
|
|
20
|
-
font-size:
|
|
18
|
+
&-title {
|
|
19
|
+
margin-top: var(--spacing-result-title-margin_top);
|
|
20
|
+
font-size: var(--en-single-f-f-b-fontSize);
|
|
21
21
|
font-weight: var(--en-single-f-f-b-fontWeight);
|
|
22
|
-
color:var(--color-result-title)
|
|
22
|
+
color: var(--color-result-title);
|
|
23
23
|
}
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
|
|
25
|
+
&-txt {
|
|
26
|
+
margin-top: var(--spacing-result-text-margin_top);
|
|
27
|
+
font-size: var(--en-multi-f-d-r-fontSize);
|
|
27
28
|
font-weight: var(--en-multi-f-d-r-fontWeight);
|
|
28
|
-
color:var(--color-result-text);
|
|
29
|
-
line-height:
|
|
29
|
+
color: var(--color-result-text);
|
|
30
|
+
line-height: var(--en-multi-f-d-r-lineHeight);
|
|
30
31
|
}
|
|
31
|
-
&-footer{
|
|
32
|
-
margin-block-start: calc(var(--spacing-result-text-margin_bottom) * 1px);
|
|
33
|
-
padding-inline-start: calc(var(--spacing-result-button-margin_y) * 1px - 20px);
|
|
34
|
-
padding-inline-end: calc(var(--spacing-result-button-margin_y) * 1px - 20px);
|
|
35
32
|
|
|
36
|
-
|
|
33
|
+
&-footer {
|
|
34
|
+
margin-top: var(--spacing-result-text-margin_bottom);
|
|
35
|
+
padding-left: calc(var(--spacing-result-button-margin_y) - 20px);
|
|
36
|
+
padding-right: calc(var(--spacing-result-button-margin_y) - 20px);
|
|
37
|
+
|
|
38
|
+
&-btnx {
|
|
37
39
|
display: flex;
|
|
38
40
|
justify-content: center;
|
|
39
|
-
margin-
|
|
41
|
+
margin-top: var(--spacing-result-text_button-margin_top);
|
|
40
42
|
}
|
|
41
43
|
}
|
|
42
44
|
}
|
|
Binary file
|
|
Binary file
|
|
@@ -18,11 +18,15 @@
|
|
|
18
18
|
</template>
|
|
19
19
|
|
|
20
20
|
<script>
|
|
21
|
+
import VdIcon from '../icon';
|
|
21
22
|
import clickoutside from "../mixins/clickoutside.js";
|
|
22
23
|
const prefixCls = 'vd-selector';
|
|
23
24
|
|
|
24
25
|
export default {
|
|
25
26
|
name: 'vd-selector',
|
|
27
|
+
components: {
|
|
28
|
+
VdIcon
|
|
29
|
+
},
|
|
26
30
|
directives: {
|
|
27
31
|
clickoutside
|
|
28
32
|
},
|