vdesign-ui 0.1.24 → 0.2.0-beta
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/activityviews/index.vue +14 -12
- package/dist/components/button/index.vue +1 -1
- package/dist/components/checkbox/checkbox-group/index.vue +2 -1
- package/dist/components/checkbox/index.vue +19 -20
- package/dist/components/dialog/index.vue +15 -11
- package/dist/components/dropdown/index.vue +43 -31
- package/dist/components/empty/404-dark.png +0 -0
- package/dist/components/empty/404.png +0 -0
- package/dist/components/empty/index.vue +30 -2
- package/dist/components/empty/network-dark.png +0 -0
- package/dist/components/empty/network.png +0 -0
- package/dist/components/empty/nocoupons-dark.png +0 -0
- package/dist/components/empty/nocoupons.png +0 -0
- package/dist/components/empty/nodata-dark.png +0 -0
- package/dist/components/empty/nodata.png +0 -0
- package/dist/components/empty/nomargin-dark.png +0 -0
- package/dist/components/empty/nomargin.png +0 -0
- package/dist/components/empty/nonotice-dark.png +0 -0
- package/dist/components/empty/nonotice.png +0 -0
- package/dist/components/empty/noocomments-dark.png +0 -0
- package/dist/components/empty/noocomments.png +0 -0
- package/dist/components/empty/noorders-dark.png +0 -0
- package/dist/components/empty/noorders.png +0 -0
- package/dist/components/empty/noposition-dark.png +0 -0
- package/dist/components/empty/noposition.png +0 -0
- package/dist/components/empty/nosearch-dark.png +0 -0
- package/dist/components/empty/nosearch.png +0 -0
- package/dist/components/footer/index.vue +5 -1
- package/dist/components/footnav/footnav-item/index.vue +11 -42
- package/dist/components/footnav/index.vue +13 -27
- package/dist/components/headnav/index.vue +52 -35
- package/dist/components/icon/font/iconfont.css +62 -952
- package/dist/components/icon/font/iconfont.js +1 -1
- package/dist/components/icon/index.vue +26 -18
- package/dist/components/input/index.vue +107 -109
- package/dist/components/input/search/index.vue +18 -22
- package/dist/components/input/stepper/index.vue +32 -26
- package/dist/components/input/style.less +20 -33
- package/dist/components/list/index.vue +57 -69
- package/dist/components/list/style.less +20 -92
- package/dist/components/loading/img_status_loading_white_ani.svg +155 -0
- package/dist/components/loading/img_status_refresh_ani.svg +158 -0
- package/dist/components/loading/index.vue +21 -11
- package/dist/components/loading/style.less +1 -1
- package/dist/components/mixins/clickoutside.js +81 -81
- package/dist/components/pagebreak/index.vue +21 -14
- package/dist/components/radio/index.vue +164 -135
- package/dist/components/radio/radio-group/index.vue +40 -52
- package/dist/components/result/index.vue +1 -2
- package/dist/components/selector/index.vue +49 -31
- package/dist/components/selector/style.less +14 -0
- package/dist/components/step-item/index.vue +2 -2
- package/dist/components/tabs/index.vue +55 -32
- package/dist/components/tabs/tab/index.vue +13 -16
- package/dist/components/tag/index.vue +18 -4
- package/dist/components/tag/style.less +2 -2
- package/dist/components/title/index.vue +11 -8
- package/dist/components/title/style.less +6 -0
- package/dist/img/img_status_loading_white_ani.b56fcfae.svg +155 -0
- package/dist/img/img_status_refresh_ani.d0e59f12.svg +158 -0
- package/dist/token.css +8 -0
- package/dist/vdesign-ui.common.js +1362 -1170
- package/dist/vdesign-ui.css +1 -1
- package/dist/vdesign-ui.umd.js +1362 -1170
- package/dist/vdesign-ui.umd.min.js +3 -3
- package/package.json +1 -1
- package/dist/components/loading/loading.png +0 -0
- package/dist/components/loading/refresh.png +0 -0
- package/dist/img/404-dark.775df5bb.png +0 -0
- package/dist/img/network-dark.11a147bb.png +0 -0
- package/dist/img/nodata-dark.b0ea0e39.png +0 -0
|
@@ -106,16 +106,19 @@
|
|
|
106
106
|
padding-block-start: calc(var(--spacing-input-textarea-padding_x) * 1px);
|
|
107
107
|
padding-block-end: calc(var(--spacing-input-textarea-padding_x) * 1px);
|
|
108
108
|
font-size: calc(var(--en-single-f-d-s-fontSize) * 1px);
|
|
109
|
-
|
|
110
|
-
.@{input-prefix-cls}__word-limit {
|
|
111
|
-
text-align: end;
|
|
112
|
-
color: var(--color-input-text-default);
|
|
113
|
-
font-size: calc(var(--en-single-f-b-r-fontSize) * 1px);
|
|
114
|
-
font-weight: var(--en-single-f-b-r-fontWeight);
|
|
115
|
-
margin-block-start: calc(var(--spacing-input-textarea_text-margin_down) * 1px);
|
|
116
109
|
|
|
117
|
-
|
|
118
|
-
|
|
110
|
+
.@{input-prefix-cls}-form__right{
|
|
111
|
+
display: block;
|
|
112
|
+
.@{input-prefix-cls}__word-limit {
|
|
113
|
+
text-align: end;
|
|
114
|
+
color: var(--color-input-text-default);
|
|
115
|
+
font-size: calc(var(--en-single-f-b-r-fontSize) * 1px);
|
|
116
|
+
font-weight: var(--en-single-f-b-r-fontWeight);
|
|
117
|
+
margin-block-start: calc(var(--spacing-input-textarea_text-margin_down) * 1px);
|
|
118
|
+
|
|
119
|
+
&--error {
|
|
120
|
+
color: var(--color-input-text-wrong);
|
|
121
|
+
}
|
|
119
122
|
}
|
|
120
123
|
}
|
|
121
124
|
|
|
@@ -132,20 +135,19 @@
|
|
|
132
135
|
color: var(--color-input-text-active);
|
|
133
136
|
font-size: calc(var(--en-single-f-d-s-fontSize) * 1px);
|
|
134
137
|
font-weight: var(--en-single-f-d-s-fontWeight);
|
|
135
|
-
// margin-inline-end: calc(var(--spacing-input-form_divider-margin_y) * 1px);
|
|
136
138
|
padding-inline-end: calc(var(--spacing-input-form_divider-margin_y) * 1px);
|
|
137
139
|
}
|
|
138
140
|
|
|
139
141
|
&__right {
|
|
140
142
|
display: inline-flex;
|
|
141
143
|
align-items: center;
|
|
142
|
-
|
|
143
144
|
.@{input-prefix-cls}__word-limit {
|
|
144
145
|
text-align: end;
|
|
145
146
|
color: var(--color-input-text-default);
|
|
146
147
|
font-size: calc(var(--en-single-f-b-r-fontSize) * 1px);
|
|
147
148
|
font-weight: var(--en-single-f-b-r-fontWeight);
|
|
148
|
-
margin-block-start: 0;
|
|
149
|
+
// margin-block-start: 0;
|
|
150
|
+
margin-inline-start: calc(var(--spacing-input-suffix_icon-margin_y) * 1px);
|
|
149
151
|
|
|
150
152
|
&--error {
|
|
151
153
|
color: var(--color-input-text-wrong);
|
|
@@ -155,7 +157,7 @@
|
|
|
155
157
|
|
|
156
158
|
&__suffix {
|
|
157
159
|
margin-inline-start: calc(var(--spacing-input-suffix_icon-margin_y) * 1px);
|
|
158
|
-
margin-inline-end: calc(var(--spacing-input-suffix_icon-margin_y) * 1px);
|
|
160
|
+
// margin-inline-end: calc(var(--spacing-input-suffix_icon-margin_y) * 1px);
|
|
159
161
|
color: var(--color-input-text-active);
|
|
160
162
|
font-size: calc(var(--en-single-f-d-s-fontSize) * 1px);
|
|
161
163
|
font-weight: var(--en-single-f-d-s-fontWeight);
|
|
@@ -240,9 +242,10 @@
|
|
|
240
242
|
|
|
241
243
|
.@{input-prefix-cls} {
|
|
242
244
|
&-search{
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
245
|
+
padding-inline-start: 0;
|
|
246
|
+
padding-inline-end: 0;
|
|
247
|
+
flex: 1;
|
|
248
|
+
}
|
|
246
249
|
}
|
|
247
250
|
|
|
248
251
|
|
|
@@ -266,21 +269,18 @@
|
|
|
266
269
|
font-weight: var(--en-single-f-d-s-fontWeight);
|
|
267
270
|
caret-color: var(--color-input-cursor);
|
|
268
271
|
|
|
269
|
-
|
|
270
272
|
&::-webkit-input-placeholder {
|
|
271
273
|
color: var(--color-input-text-default);
|
|
272
274
|
font-size: calc(var(--en-single-f-d-r-fontSize) * 1px);
|
|
273
275
|
font-weight: var(--en-single-f-d-r-fontWeight);
|
|
274
276
|
}
|
|
275
277
|
}
|
|
276
|
-
|
|
277
|
-
|
|
278
278
|
}
|
|
279
279
|
}
|
|
280
280
|
|
|
281
281
|
&__prefix {
|
|
282
282
|
display: flex;
|
|
283
|
-
|
|
283
|
+
padding-inline-end: calc(var(--spacing-input-suffix_icon-margin_y)* 1px);
|
|
284
284
|
.vd-iconfont {
|
|
285
285
|
vertical-align: middle;
|
|
286
286
|
color: var(--text-color-h3);
|
|
@@ -288,19 +288,6 @@
|
|
|
288
288
|
}
|
|
289
289
|
}
|
|
290
290
|
|
|
291
|
-
&__suffix {
|
|
292
|
-
margin-inline-start: calc(var(--spacing-input-suffix_icon-margin_y) * 1px);
|
|
293
|
-
color: var(--color-input-text-active);
|
|
294
|
-
font-size: calc(var(--en-single-f-d-s-fontSize) * 1px);
|
|
295
|
-
font-weight: var(--en-single-f-d-s-fontWeight);
|
|
296
|
-
|
|
297
|
-
.vd-iconfont {
|
|
298
|
-
vertical-align: middle;
|
|
299
|
-
color: var(--text-color-h3);
|
|
300
|
-
font-size: calc(var(--icon-input-clean) * 1px);
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
|
|
304
291
|
&__action {
|
|
305
292
|
margin-inline-start: calc(var(--spacing-input-search_cancel-margin_left) * 1px);
|
|
306
293
|
display: flex;
|
|
@@ -1,39 +1,46 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="vd-list" :class="wrapClasses" @click="
|
|
2
|
+
<div class="vd-list" :class="wrapClasses" @click="handleToggleActive">
|
|
3
|
+
<!-- 左侧内容区域 -->
|
|
3
4
|
<div class="vd-list--left" :class="listLeftClasses">
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
<div v-if="extraSlot">
|
|
7
|
-
<slot></slot>
|
|
8
|
-
</div>
|
|
5
|
+
<!-- 通用列表和勾选列表自定义左侧图标 距离右边12px-->
|
|
6
|
+
<vd-icon v-if="icon" :name="icon" size="large" :class="iconClasses"></vd-icon>
|
|
9
7
|
<div class="vd-list-content" :class="contentClasses">
|
|
10
|
-
|
|
11
|
-
<span class="vd-
|
|
12
|
-
|
|
13
|
-
<p class="vd-
|
|
8
|
+
<!-- 标题 -->
|
|
9
|
+
<span class="vd-multi-ellipsis--l2" :class="innerTitleClasses">{{ title }}</span>
|
|
10
|
+
<!-- 通用列表副文本 -->
|
|
11
|
+
<p class="vd-multi-ellipsis--l2" :class="subtitleClasses" v-if="subtitle">{{ subtitle }}
|
|
14
12
|
</p>
|
|
15
13
|
</div>
|
|
14
|
+
<!-- 信息列表右侧图标 -->
|
|
15
|
+
<vd-icon v-if="statusIcon" :name="statusIcon" size="small" :class="statusIconClasses"></vd-icon>
|
|
16
|
+
<!-- 勾选列表 额外插槽 -->
|
|
17
|
+
<slot name="left"></slot>
|
|
16
18
|
</div>
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
19
|
+
<!-- 右侧内容区域 -->
|
|
20
|
+
<div class="vd-list--right" v-if="guideText || arrowIcon || isActive || $slots.switch">
|
|
21
|
+
<!-- 信息列表右侧自定义图标 -->
|
|
22
|
+
<vd-icon class="vd-list__icon--extra" size="small" v-if="actionIcon" :name="actionIcon"></vd-icon>
|
|
23
|
+
<!-- 通用列表徽标插槽 左间距12 -->
|
|
24
|
+
<span class="vd-list-common__badge" v-if="showBadge || $slots.badge">
|
|
25
|
+
<slot name="badge">
|
|
26
|
+
<vd-badge is-dot></vd-badge>
|
|
27
|
+
</slot>
|
|
28
|
+
</span>
|
|
29
|
+
<!-- 右侧文本 -->
|
|
30
|
+
<div v-if="guideText" :class="textRightClasses">
|
|
24
31
|
<p>{{ guideText }}</p>
|
|
25
32
|
<p v-if="mulText" class="vd-list__multext">{{ mulText }}</p>
|
|
33
|
+
</div>
|
|
34
|
+
<!-- 右箭头 左间距4 设计师没有提供默认图标,不设置默认值-->
|
|
35
|
+
<span v-if="arrowIcon" class="vd-list__arrow" @click="$emit('next')">
|
|
36
|
+
<vd-icon :name="arrowIcon" size="small"></vd-icon>
|
|
26
37
|
</span>
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
</span>
|
|
30
|
-
<!-- <span v-if="activeSelect" class="vd-list-check__select"> -->
|
|
31
|
-
<vd-icon v-if="activeSelect" class="vd-list-check__select" name="icon_btn_singleslt"
|
|
38
|
+
<!-- 勾选列表选择图标 左间距12-->
|
|
39
|
+
<vd-icon v-if="isActive" class="vd-list-check__select" name="icon_btn_singleslt"
|
|
32
40
|
color="#1BC47D"></vd-icon>
|
|
33
|
-
<!--
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
<slot></slot>
|
|
41
|
+
<!-- 通用列表自定义插槽 左间距8 -->
|
|
42
|
+
<span v-if="$slots.switch" class="vd-list__switch">
|
|
43
|
+
<slot name="switch"></slot>
|
|
37
44
|
</span>
|
|
38
45
|
</div>
|
|
39
46
|
</div>
|
|
@@ -44,33 +51,21 @@ const prefixCls = 'vd-list';
|
|
|
44
51
|
export default {
|
|
45
52
|
name: 'vd-list',
|
|
46
53
|
props: {
|
|
47
|
-
title: String,
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
rightSvg: Boolean,
|
|
60
|
-
cusSvg: Boolean,
|
|
61
|
-
leftCusSvg: Boolean,
|
|
62
|
-
arrowNext: String,
|
|
63
|
-
badge: Boolean,
|
|
64
|
-
curSlot: Boolean,
|
|
65
|
-
divider: Boolean,
|
|
66
|
-
extraSlot: Boolean,
|
|
67
|
-
fontSize: {
|
|
68
|
-
type: [String, Number],
|
|
69
|
-
},
|
|
54
|
+
title: String, // 标题文本
|
|
55
|
+
icon: String, // 主图标(左侧文字前)
|
|
56
|
+
statusIcon:String, // 状态图标(左侧文字后)
|
|
57
|
+
actionIcon: String, // 动作图标(右侧)
|
|
58
|
+
subtitle: String, // 左侧副文本
|
|
59
|
+
guideText: String, // 右侧引导文本
|
|
60
|
+
mulText: String, // 右侧额外文本
|
|
61
|
+
isActive: Boolean, // 是否激活选择状态
|
|
62
|
+
type: String, // 列表项类型 信息列表四个尺寸 L(56固定)\M(48自适应)\S(40自适应)\XS(32自适应) common(通用列表) check(勾选列表)
|
|
63
|
+
arrowIcon: String, // 右箭头图标名称
|
|
64
|
+
showBadge : Boolean, // 是否显示徽标,默认是 小点
|
|
65
|
+
divider: Boolean, // 是否显示分割线
|
|
70
66
|
},
|
|
71
67
|
data() {
|
|
72
68
|
return {
|
|
73
|
-
name: ""
|
|
74
69
|
};
|
|
75
70
|
},
|
|
76
71
|
computed: {
|
|
@@ -78,55 +73,48 @@ export default {
|
|
|
78
73
|
return [
|
|
79
74
|
{
|
|
80
75
|
[`${prefixCls}-${this.type}`]: this.type,
|
|
81
|
-
[`${prefixCls}-${this.type}--active`]: this.
|
|
82
|
-
[`${prefixCls}-${this.type}-double`]: this.subText,
|
|
76
|
+
[`${prefixCls}-${this.type}--active`]: this.isActive,
|
|
83
77
|
'vd-hairline--bottom': this.divider,
|
|
84
78
|
}
|
|
85
79
|
];
|
|
86
80
|
},
|
|
87
|
-
|
|
81
|
+
listLeftClasses() {
|
|
88
82
|
return [
|
|
89
83
|
{
|
|
90
|
-
[`${prefixCls}
|
|
84
|
+
[`${prefixCls}-common--left`]: this.type
|
|
91
85
|
}
|
|
92
86
|
];
|
|
93
87
|
},
|
|
94
|
-
|
|
88
|
+
iconClasses() {
|
|
95
89
|
return [
|
|
96
90
|
{
|
|
97
91
|
[`${prefixCls}-${this.type}__icon--leftcus`]: this.type
|
|
98
92
|
}
|
|
99
93
|
];
|
|
100
94
|
},
|
|
101
|
-
listLeftClasses() {
|
|
102
|
-
return [
|
|
103
|
-
{
|
|
104
|
-
[`${prefixCls}-common--left`]: this.type
|
|
105
|
-
}
|
|
106
|
-
];
|
|
107
|
-
},
|
|
108
95
|
contentClasses() {
|
|
109
96
|
return [
|
|
110
97
|
{
|
|
111
|
-
[`${prefixCls}-content-${this.type}`]: this.type
|
|
98
|
+
[`${prefixCls}-content-${this.type}`]: this.type === 'common',
|
|
112
99
|
}
|
|
113
100
|
];
|
|
114
101
|
},
|
|
115
102
|
innerTitleClasses() {
|
|
116
103
|
return [
|
|
117
104
|
{
|
|
118
|
-
[`${prefixCls}-${this.type}__title`]: this.type
|
|
105
|
+
[`${prefixCls}-${this.type}__title`]: this.type,
|
|
106
|
+
[`${prefixCls}-${this.type}__title--with-subtitle`] : this.subtitle
|
|
119
107
|
}
|
|
120
108
|
];
|
|
121
109
|
},
|
|
122
|
-
|
|
110
|
+
subtitleClasses() {
|
|
123
111
|
return [
|
|
124
112
|
{
|
|
125
|
-
[`${prefixCls}-${this.type}
|
|
113
|
+
[`${prefixCls}-${this.type}__subtitle`]: this.type
|
|
126
114
|
}
|
|
127
115
|
];
|
|
128
116
|
},
|
|
129
|
-
|
|
117
|
+
statusIconClasses() {
|
|
130
118
|
return [
|
|
131
119
|
{
|
|
132
120
|
[`${prefixCls}-${this.type}__icon--right`]: this.type
|
|
@@ -144,8 +132,8 @@ export default {
|
|
|
144
132
|
mounted() {
|
|
145
133
|
},
|
|
146
134
|
methods: {
|
|
147
|
-
|
|
148
|
-
this.$emit('toggle-active', !this.
|
|
135
|
+
handleToggleActive() {
|
|
136
|
+
this.$emit('toggle-active', !this.isActive);
|
|
149
137
|
}
|
|
150
138
|
},
|
|
151
139
|
watch: {
|
|
@@ -23,24 +23,10 @@
|
|
|
23
23
|
align-items: flex-start;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
// color: var(--color-title-head);
|
|
28
|
-
// }
|
|
29
|
-
|
|
30
|
-
&__subtext {
|
|
31
|
-
margin-block-start: calc(var(--spacing-title-subtitle-margin_top) * 1px);
|
|
32
|
-
color: var(--color-title-text);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&-arrow {
|
|
36
|
-
// color:var(--color-title-icon_arrow);
|
|
26
|
+
&__arrow {
|
|
37
27
|
display: flex;
|
|
38
28
|
margin-inline-start: calc(var(--spacing-list-info_icon-margin_y) * 1px);
|
|
39
|
-
|
|
40
|
-
.vd-iconfont {
|
|
41
|
-
font-size: calc(var(--icon-small) * 1px);
|
|
42
|
-
color: var(--text-color-h2);
|
|
43
|
-
}
|
|
29
|
+
color: var(--text-color-h2);
|
|
44
30
|
}
|
|
45
31
|
|
|
46
32
|
&__multext {
|
|
@@ -49,16 +35,11 @@
|
|
|
49
35
|
color: var(--text-color-h1);
|
|
50
36
|
}
|
|
51
37
|
|
|
52
|
-
&-
|
|
38
|
+
&-xsmall {
|
|
53
39
|
padding-block-start: calc(var(--spacing-list-info_s-padding_top) * 1px);
|
|
54
40
|
padding-block-end: calc(var(--spacing-list-info_s-padding_bottom) * 1px);
|
|
55
|
-
// &__icon--left{
|
|
56
|
-
// margin-inline-end: calc(var(--spacing-title-primary_icon-margin_y) * 1px);
|
|
57
|
-
// font-size: calc(var(--icon-title-primary) * 1px);
|
|
58
|
-
// }
|
|
59
41
|
|
|
60
42
|
&__icon--right {
|
|
61
|
-
font-size: 16px;
|
|
62
43
|
color: var(--text-color-h2);
|
|
63
44
|
}
|
|
64
45
|
|
|
@@ -74,24 +55,13 @@
|
|
|
74
55
|
font-weight: var(--en-single-f-c-r-fontWeight);
|
|
75
56
|
color: var(--text-color-h1);
|
|
76
57
|
}
|
|
77
|
-
|
|
78
|
-
// &__subtext{
|
|
79
|
-
// font-size: calc(var(--en-single-f-c-r-fontSize) * 1px);
|
|
80
|
-
// font-weight: var(--en-single-f-c-r-fontWeight);
|
|
81
|
-
// }
|
|
82
58
|
}
|
|
83
59
|
|
|
84
|
-
&-
|
|
60
|
+
&-small {
|
|
85
61
|
padding-block-start: calc(var(--spacing-list-info_m-padding_top) * 1px);
|
|
86
62
|
padding-block-end: calc(var(--spacing-list-info_m-padding_bottom) * 1px);
|
|
87
63
|
|
|
88
|
-
// &__icon--left{
|
|
89
|
-
// margin-inline-end: calc(var(--spacing-title-secondary_icon-margin_y) * 1px);
|
|
90
|
-
// font-size: calc(var(--icon-title-secondary) * 1px);
|
|
91
|
-
// }
|
|
92
|
-
|
|
93
64
|
&__icon--right {
|
|
94
|
-
font-size: 16px;
|
|
95
65
|
color: var(--text-color-h2);
|
|
96
66
|
}
|
|
97
67
|
|
|
@@ -107,25 +77,13 @@
|
|
|
107
77
|
font-weight: var(--en-single-f-c-s-fontWeight);
|
|
108
78
|
color: var(--text-color-h1);
|
|
109
79
|
}
|
|
110
|
-
|
|
111
|
-
// &__subtext{
|
|
112
|
-
// font-size: calc(var(--en-single-f-b-r-fontSize) * 1px);
|
|
113
|
-
// font-weight: var(--en-single-f-b-r-fontWeight);
|
|
114
|
-
// }
|
|
115
80
|
}
|
|
116
81
|
|
|
117
|
-
&-
|
|
82
|
+
&-medium {
|
|
118
83
|
padding-block-start: calc(var(--spacing-list-info_l-padding_top) * 1px);
|
|
119
84
|
padding-block-end: calc(var(--spacing-list-info_l-padding_bottom) * 1px);
|
|
120
85
|
|
|
121
|
-
// &__icon--left{
|
|
122
|
-
// margin-inline-end: calc(var(--spacing-title-tertiary_icon-margin_y) * 1px);
|
|
123
|
-
// font-size: calc(var(--icon-title-tertiary) * 1px);
|
|
124
|
-
// }
|
|
125
|
-
|
|
126
86
|
&__icon--right {
|
|
127
|
-
// margin-inline-start: calc(var(--spacing-title-tertiary_icon-margin_y) * 1px);
|
|
128
|
-
font-size: 16px;
|
|
129
87
|
color: var(--text-color-h2);
|
|
130
88
|
}
|
|
131
89
|
|
|
@@ -142,22 +100,12 @@
|
|
|
142
100
|
color: var(--text-color-h1);
|
|
143
101
|
}
|
|
144
102
|
|
|
145
|
-
// &__subtext{
|
|
146
|
-
// font-size: calc(var(--en-single-f-b-r-fontSize) * 1px);
|
|
147
|
-
// font-weight: var(--en-single-f-b-r-fontSize);
|
|
148
|
-
// }
|
|
149
103
|
}
|
|
150
104
|
|
|
151
|
-
&-
|
|
105
|
+
&-large {
|
|
152
106
|
height: calc(var(--height-super-large) * 1px);
|
|
153
107
|
|
|
154
|
-
// &__icon--left{
|
|
155
|
-
// margin-inline-end: calc(var(--spacing-title-quaternary_icon-margin_y) * 1px);
|
|
156
|
-
// font-size: calc(var(--icon-title-quaternary) * 1px);
|
|
157
|
-
// }
|
|
158
|
-
|
|
159
108
|
&__icon--right {
|
|
160
|
-
font-size: 16px;
|
|
161
109
|
color: var(--text-color-h2);
|
|
162
110
|
}
|
|
163
111
|
|
|
@@ -169,16 +117,11 @@
|
|
|
169
117
|
}
|
|
170
118
|
|
|
171
119
|
&__text--right {
|
|
172
|
-
text-align: end;
|
|
173
120
|
font-size: calc(var(--en-single-f-d-s-fontSize) * 1px);
|
|
174
121
|
font-weight: var(--en-single-f-d-s-fontWeight);
|
|
175
122
|
color: var(--text-color-h1);
|
|
176
123
|
}
|
|
177
124
|
|
|
178
|
-
// &__subtext{
|
|
179
|
-
// font-size: calc(var(--en-single-f-a-r-fontSize) * 1px);
|
|
180
|
-
// font-weight: var(--en-single-f-a-r-fontSize);
|
|
181
|
-
// }
|
|
182
125
|
}
|
|
183
126
|
|
|
184
127
|
&-common {
|
|
@@ -192,50 +135,37 @@
|
|
|
192
135
|
display: flex;
|
|
193
136
|
align-items: center;
|
|
194
137
|
}
|
|
195
|
-
|
|
196
|
-
|
|
197
138
|
&__icon--leftcus {
|
|
198
139
|
margin-inline-end: calc(var(--spacing-list-common_icon-margin_right) * 1px);
|
|
199
|
-
font-size: calc(var(--icon-large) * 1px);
|
|
200
140
|
color: var(--text-color-h2);
|
|
201
141
|
}
|
|
202
142
|
|
|
203
|
-
// &__icon--left{
|
|
204
|
-
// margin-inline-end: calc(var(--spacing-title-quaternary_icon-margin_y) * 1px);
|
|
205
|
-
// font-size: calc(var(--icon-title-quaternary) * 1px);
|
|
206
|
-
// }
|
|
207
|
-
|
|
208
|
-
// &__icon--right{
|
|
209
|
-
// margin-inline-start: calc(var(--spacing-title-quaternary_icon-margin_y) * 1px);
|
|
210
|
-
// font-size: calc(var(--icon-title-quaternary) * 1px);
|
|
211
|
-
// }
|
|
212
|
-
|
|
213
143
|
&__title {
|
|
214
|
-
// word-break: break-all;
|
|
215
|
-
// text-overflow: ellipsis;
|
|
216
|
-
// display: -webkit-box;
|
|
217
|
-
// -webkit-box-orient: vertical;
|
|
218
|
-
// -webkit-line-clamp: 2; /* 超出几行省略 */
|
|
219
|
-
// overflow: hidden;
|
|
220
144
|
color: var(--color-list-title);
|
|
221
|
-
font-size: calc(var(--en-
|
|
222
|
-
font-weight: var(--en-
|
|
145
|
+
font-size: calc(var(--en-multi-f-d-s-fontSize) * 1px);
|
|
146
|
+
font-weight: var(--en-multi-f-d-s-fontWeight);
|
|
147
|
+
line-height: calc(var(--en-multi-f-d-s-lineHeight) * 1px);
|
|
148
|
+
|
|
149
|
+
&--with-subtitle{
|
|
150
|
+
line-height: inherit;
|
|
151
|
+
font-size: calc(var(--en-single-f-d-s-fontSize) * 1px);
|
|
152
|
+
font-weight: var(--en-single-f-d-s-fontWeight);
|
|
153
|
+
}
|
|
223
154
|
}
|
|
224
155
|
|
|
225
156
|
&__text--right {
|
|
226
|
-
text-align: end;
|
|
227
157
|
margin-inline-start: calc(var(--spacing-list-common_describe-margin_xy) * 1px);
|
|
228
158
|
font-size: calc(var(--en-single-f-c-r-fontSize) * 1px);
|
|
229
159
|
font-weight: var(--en-single-f-c-r-fontWeight);
|
|
230
160
|
color: var(--color-list-text);
|
|
231
|
-
|
|
232
161
|
}
|
|
233
162
|
|
|
234
|
-
&
|
|
235
|
-
|
|
163
|
+
&__subtitle {
|
|
164
|
+
margin-block-start:calc(var(--spacing-list-common_describe-margin_xy)* 1px);
|
|
236
165
|
color: var(--color-list-text);
|
|
237
|
-
font-size: calc(var(--en-
|
|
238
|
-
font-weight: var(--en-
|
|
166
|
+
font-size: calc(var(--en-multi-f-c-r-fontSize) * 1px);
|
|
167
|
+
font-weight: var(--en-multi-f-c-r-fontWeight);
|
|
168
|
+
line-height: calc(var(--en-multi-f-c-r-lineHeight) * 1px);
|
|
239
169
|
}
|
|
240
170
|
|
|
241
171
|
&__badge {
|
|
@@ -274,13 +204,11 @@
|
|
|
274
204
|
|
|
275
205
|
&__icon--leftcus {
|
|
276
206
|
margin-inline-end: calc(var(--spacing-list-check_icon-margin_right) * 1px);
|
|
277
|
-
font-size: calc(var(--icon-large) * 1px);
|
|
278
207
|
color: var(--text-color-h2);
|
|
279
208
|
}
|
|
280
209
|
}
|
|
281
210
|
|
|
282
211
|
&__icon--extra {
|
|
283
|
-
font-size: 16px;
|
|
284
212
|
margin-inline-end: calc(var(--spacing-list-info_icon-margin_y) * 1px);
|
|
285
213
|
color: var(--text-color-h2);
|
|
286
214
|
}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
<svg
|
|
2
|
+
fill="none"
|
|
3
|
+
width='100%'
|
|
4
|
+
height='100%'
|
|
5
|
+
viewBox="0 0 32 32"
|
|
6
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
7
|
+
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
8
|
+
>
|
|
9
|
+
<defs>
|
|
10
|
+
<style type="text/css">
|
|
11
|
+
<![CDATA[
|
|
12
|
+
@keyframes loading-animate1 {
|
|
13
|
+
0% {
|
|
14
|
+
fill-opacity: 0.16;
|
|
15
|
+
}
|
|
16
|
+
20% {
|
|
17
|
+
fill-opacity: 1;
|
|
18
|
+
}
|
|
19
|
+
26% {
|
|
20
|
+
fill-opacity: 0.32;
|
|
21
|
+
}
|
|
22
|
+
32% {
|
|
23
|
+
fill-opacity: 0.16;
|
|
24
|
+
}
|
|
25
|
+
100% {
|
|
26
|
+
fill-opacity: 0.16;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@keyframes loading-animate2 {
|
|
31
|
+
0% {
|
|
32
|
+
fill-opacity: 0.16;
|
|
33
|
+
}
|
|
34
|
+
12% {
|
|
35
|
+
fill-opacity: 0.16;
|
|
36
|
+
}
|
|
37
|
+
22% {
|
|
38
|
+
fill-opacity: 1;
|
|
39
|
+
}
|
|
40
|
+
31% {
|
|
41
|
+
fill-opacity: 0.32;
|
|
42
|
+
}
|
|
43
|
+
37% {
|
|
44
|
+
fill-opacity: 0.16;
|
|
45
|
+
}
|
|
46
|
+
100% {
|
|
47
|
+
fill-opacity: 0.16;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@keyframes loading-animate3 {
|
|
52
|
+
0% {
|
|
53
|
+
fill-opacity: 0.16;
|
|
54
|
+
}
|
|
55
|
+
20% {
|
|
56
|
+
fill-opacity: 0.16;
|
|
57
|
+
}
|
|
58
|
+
30% {
|
|
59
|
+
fill-opacity: 1;
|
|
60
|
+
}
|
|
61
|
+
36% {
|
|
62
|
+
fill-opacity: 0.32;
|
|
63
|
+
}
|
|
64
|
+
42% {
|
|
65
|
+
fill-opacity: 0.16;
|
|
66
|
+
}
|
|
67
|
+
100% {
|
|
68
|
+
fill-opacity: 0.16;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
@keyframes loading-animate4 {
|
|
73
|
+
0% {
|
|
74
|
+
fill-opacity: 0.16;
|
|
75
|
+
}
|
|
76
|
+
25% {
|
|
77
|
+
fill-opacity: 0.16;
|
|
78
|
+
}
|
|
79
|
+
35% {
|
|
80
|
+
fill-opacity: 1;
|
|
81
|
+
}
|
|
82
|
+
41% {
|
|
83
|
+
fill-opacity: 0.32;
|
|
84
|
+
}
|
|
85
|
+
47% {
|
|
86
|
+
fill-opacity: 0.16;
|
|
87
|
+
}
|
|
88
|
+
100% {
|
|
89
|
+
fill-opacity: 0.16;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.loading-part-1,
|
|
94
|
+
.loading-part-2,
|
|
95
|
+
.loading-part-3,
|
|
96
|
+
.loading-part-4 {
|
|
97
|
+
animation-duration: 1s;
|
|
98
|
+
animation-delay: 0s;
|
|
99
|
+
animation-timing-function: cubic-bezier(0.5, 0, 1, 1);
|
|
100
|
+
animation-iteration-count: infinite;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.loading-part-1 {
|
|
104
|
+
animation-name: loading-animate1;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.loading-part-2 {
|
|
108
|
+
animation-name: loading-animate2;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.loading-part-3 {
|
|
112
|
+
animation-name: loading-animate3;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.loading-part-4 {
|
|
116
|
+
animation-name: loading-animate4;
|
|
117
|
+
}
|
|
118
|
+
]]>
|
|
119
|
+
</style>
|
|
120
|
+
</defs>
|
|
121
|
+
<g>
|
|
122
|
+
<path
|
|
123
|
+
class="loading-part-1"
|
|
124
|
+
fill-rule="evenodd"
|
|
125
|
+
clip-rule="evenodd"
|
|
126
|
+
d="M6 32.0001L9.72003 28.209C9.95076 27.9739 10.0803 27.655 10.0803 27.3225V16.2236L6.36035 20.0147C6.12963 20.2498 6 20.5687 6 20.9012V32.0001Z"
|
|
127
|
+
fill-opacity="0.16"
|
|
128
|
+
fill="#FFFFFF"
|
|
129
|
+
/>
|
|
130
|
+
<path
|
|
131
|
+
class="loading-part-2"
|
|
132
|
+
fill-rule="evenodd"
|
|
133
|
+
clip-rule="evenodd"
|
|
134
|
+
d="M11.3068 26.559L15.0269 22.768C15.2576 22.5329 15.3872 22.214 15.3872 21.8815V2.71126L11.6672 6.50233C11.4364 6.73746 11.3068 7.05636 11.3068 7.38889V26.559Z"
|
|
135
|
+
fill-opacity="0.16"
|
|
136
|
+
fill="#FFFFFF"
|
|
137
|
+
/>
|
|
138
|
+
<path
|
|
139
|
+
class="loading-part-3"
|
|
140
|
+
fill-rule="evenodd"
|
|
141
|
+
clip-rule="evenodd"
|
|
142
|
+
d="M16.6255 29.2742L20.3455 25.4832C20.5762 25.248 20.7059 24.9292 20.7059 24.5966V5.42644L16.9858 9.21751C16.7552 9.4526 16.6255 9.77154 16.6255 10.104V29.2742Z"
|
|
143
|
+
fill="#FFFFFF"
|
|
144
|
+
fill-opacity="0.16"
|
|
145
|
+
/>
|
|
146
|
+
<path
|
|
147
|
+
class="loading-part-4"
|
|
148
|
+
fill-rule="evenodd"
|
|
149
|
+
clip-rule="evenodd"
|
|
150
|
+
d="M21.9196 15.7765L25.6396 11.9854C25.8703 11.7503 26 11.4314 26 11.0989V0L22.2799 3.79107C22.0492 4.02617 21.9196 4.3451 21.9196 4.67759V15.7765Z"
|
|
151
|
+
fill="#FFFFFF"
|
|
152
|
+
fill-opacity="0.16"
|
|
153
|
+
/>
|
|
154
|
+
</g>
|
|
155
|
+
</svg>
|