vue-element-ui-x 0.1.8-beta → 0.1.10-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/lib/components/Attachments/index.js +229 -237
- package/lib/components/Bubble/index.js +47 -34
- package/lib/components/BubbleList/index.js +57 -49
- package/lib/components/Conversations/index.js +32 -69
- package/lib/components/FilesCard/index.js +207 -211
- package/lib/components/Prompts/index.js +21 -21
- package/lib/components/Sender/index.js +18 -18
- package/lib/components/Think/index.js +1 -1
- package/lib/components/Thinking/index.js +1 -1
- package/lib/components/ThoughtChain/index.js +60 -47
- package/lib/components/Typewriter/index.js +46 -33
- package/lib/components/Welcome/index.js +1 -1
- package/lib/index.common.js +1 -1
- package/lib/index.esm.js +1 -1
- package/lib/index.js +479 -427
- package/lib/index.umd.js +1 -1
- package/lib/mixins/index.js +105 -16
- package/package.json +1 -1
- package/src/components/Attachments/index.js +8 -8
- package/src/components/Attachments/src/main.vue +10 -10
- package/src/components/Bubble/index.js +6 -6
- package/src/components/Bubble/src/main.vue +299 -299
- package/src/components/BubbleList/index.js +8 -8
- package/src/components/BubbleList/src/loading.vue +75 -75
- package/src/components/BubbleList/src/main.vue +461 -466
- package/src/components/Conversations/index.js +8 -8
- package/src/components/Conversations/src/components/item.vue +13 -34
- package/src/components/Conversations/src/main.vue +622 -635
- package/src/components/FilesCard/index.js +8 -8
- package/src/components/FilesCard/src/fileSvg/audio.vue +38 -38
- package/src/components/FilesCard/src/fileSvg/code.vue +35 -35
- package/src/components/FilesCard/src/fileSvg/database.vue +94 -94
- package/src/components/FilesCard/src/fileSvg/excel.vue +38 -38
- package/src/components/FilesCard/src/fileSvg/file.vue +40 -40
- package/src/components/FilesCard/src/fileSvg/image.vue +40 -40
- package/src/components/FilesCard/src/fileSvg/index.js +46 -46
- package/src/components/FilesCard/src/fileSvg/link.vue +54 -54
- package/src/components/FilesCard/src/fileSvg/mark.vue +38 -38
- package/src/components/FilesCard/src/fileSvg/pdf.vue +38 -38
- package/src/components/FilesCard/src/fileSvg/ppt.vue +38 -38
- package/src/components/FilesCard/src/fileSvg/three.vue +38 -38
- package/src/components/FilesCard/src/fileSvg/txt.vue +38 -38
- package/src/components/FilesCard/src/fileSvg/unknown.vue +54 -54
- package/src/components/FilesCard/src/fileSvg/video.vue +38 -38
- package/src/components/FilesCard/src/fileSvg/word.vue +38 -38
- package/src/components/FilesCard/src/fileSvg/zip.vue +38 -38
- package/src/components/FilesCard/src/main.vue +4 -8
- package/src/components/FilesCard/src/options.js +18 -18
- package/src/components/Prompts/index.js +8 -8
- package/src/components/Prompts/src/main.vue +248 -248
- package/src/components/Sender/index.js +8 -8
- package/src/components/Sender/src/components/ClearButton.vue +28 -28
- package/src/components/Sender/src/components/Loading.vue +53 -53
- package/src/components/Sender/src/components/LoadingButton.vue +39 -39
- package/src/components/Sender/src/components/SendButton.vue +26 -26
- package/src/components/Sender/src/components/SpeechButton.vue +24 -24
- package/src/components/Sender/src/components/SpeechLoading.vue +87 -87
- package/src/components/Sender/src/components/SpeechLoadingButton.vue +43 -43
- package/src/components/Sender/src/main.vue +4 -3
- package/src/components/Think/index.js +8 -8
- package/src/components/Think/src/main.vue +190 -190
- package/src/components/Thinking/index.js +8 -8
- package/src/components/ThoughtChain/index.js +8 -8
- package/src/components/ThoughtChain/src/main.vue +293 -293
- package/src/components/Typewriter/index.js +8 -8
- package/src/components/Typewriter/src/main.vue +10 -2
- package/src/components/Welcome/index.js +8 -8
- package/src/components/Welcome/src/main.vue +151 -151
- package/src/mixins/recordMixin.js +0 -1
- package/src/mixins/sendMixin.js +104 -11
- package/src/mixins/streamMixin.js +3 -5
- package/src/styles/Attachments.scss +236 -236
- package/src/styles/Bubble.scss +157 -157
- package/src/styles/BubbleList.scss +148 -148
- package/src/styles/Conversations.scss +260 -260
- package/src/styles/FilesCard.scss +221 -221
- package/src/styles/Prompts.scss +195 -195
- package/src/styles/Sender.scss +199 -199
- package/src/styles/Think.scss +134 -134
- package/src/styles/ThoughtChain.scss +113 -113
- package/src/styles/Typewriter.scss +66 -66
- package/src/theme/var.scss +72 -72
- package/lib/attachments.js +0 -3082
- package/lib/bubble-list.js +0 -13840
- package/lib/bubble.js +0 -13125
- package/lib/conversations.js +0 -18825
- package/lib/files-card.js +0 -2471
- package/lib/mixins.js +0 -1016
- package/lib/prompts.js +0 -832
- package/lib/sender.js +0 -1911
- package/lib/think.js +0 -799
- package/lib/thinking.js +0 -809
- package/lib/thought-chain.js +0 -30391
- package/lib/typewriter.js +0 -12788
- package/lib/welcome.js +0 -755
- package/src/styles/button.scss +0 -302
- package/src/styles/var.scss +0 -1052
|
@@ -1,260 +1,260 @@
|
|
|
1
|
-
/* ElXConversations 组件样式 */
|
|
2
|
-
|
|
3
|
-
/* 主容器 */
|
|
4
|
-
.el-x-conversations-container {
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
height: 100%;
|
|
8
|
-
position: relative;
|
|
9
|
-
width: fit-content;
|
|
10
|
-
box-sizing: border-box;
|
|
11
|
-
overflow: hidden;
|
|
12
|
-
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.el-x-conversations-list {
|
|
16
|
-
list-style: none;
|
|
17
|
-
margin: 0;
|
|
18
|
-
padding: 0;
|
|
19
|
-
flex: 1;
|
|
20
|
-
display: flex;
|
|
21
|
-
flex-direction: column;
|
|
22
|
-
box-sizing: border-box;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.el-x-conversations-scroll-wrapper {
|
|
26
|
-
flex: 1;
|
|
27
|
-
overflow: hidden;
|
|
28
|
-
position: relative;
|
|
29
|
-
|
|
30
|
-
/* 在右侧添加留白区域 */
|
|
31
|
-
&::after {
|
|
32
|
-
content: '';
|
|
33
|
-
position: absolute;
|
|
34
|
-
top: 0;
|
|
35
|
-
right: 0;
|
|
36
|
-
width: 8px;
|
|
37
|
-
/* 右侧留白宽度 */
|
|
38
|
-
height: 100%;
|
|
39
|
-
background-color: transparent;
|
|
40
|
-
pointer-events: none;
|
|
41
|
-
/* 确保不影响交互 */
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
// 加载更多
|
|
46
|
-
.el-x-conversations-load-more {
|
|
47
|
-
display: flex;
|
|
48
|
-
width: calc(100% - 20px);
|
|
49
|
-
padding: 14px 10px;
|
|
50
|
-
justify-content: center;
|
|
51
|
-
align-items: center;
|
|
52
|
-
font-size: 12px;
|
|
53
|
-
gap: 3px;
|
|
54
|
-
color: #909399;
|
|
55
|
-
background-color: var(--conversation-list-auto-bg-color, #fff);
|
|
56
|
-
margin-right: 20px;
|
|
57
|
-
border-radius: 8px;
|
|
58
|
-
height: auto;
|
|
59
|
-
min-height: var(--conversation-label-height, 20px);
|
|
60
|
-
box-sizing: border-box;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
// 加载动画
|
|
64
|
-
.el-x-conversations-load-more-is-loading {
|
|
65
|
-
margin-top: 2px;
|
|
66
|
-
animation: spinloading 2s linear infinite;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
@keyframes spinloading {
|
|
70
|
-
0% {
|
|
71
|
-
transform: rotate(0deg);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
100% {
|
|
75
|
-
transform: rotate(360deg);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.scroll-content {
|
|
80
|
-
min-height: 100%;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.loading-more {
|
|
84
|
-
text-align: center;
|
|
85
|
-
padding: 10px 0;
|
|
86
|
-
color: #909399;
|
|
87
|
-
font-size: 14px;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.el-x-conversation-group {
|
|
91
|
-
position: relative;
|
|
92
|
-
|
|
93
|
-
&:last-child {
|
|
94
|
-
margin-bottom: 0;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.el-x-conversation-group-title {
|
|
98
|
-
font-size: 14px;
|
|
99
|
-
color: #909399;
|
|
100
|
-
padding: 8px 0;
|
|
101
|
-
font-weight: 500;
|
|
102
|
-
margin-bottom: 4px;
|
|
103
|
-
border-radius: 4px;
|
|
104
|
-
border-top-left-radius: 0px;
|
|
105
|
-
border-top-right-radius: 0px;
|
|
106
|
-
// 预留滚动条宽度
|
|
107
|
-
width: calc(100% - 10px);
|
|
108
|
-
box-sizing: border-box;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.sticky-title {
|
|
112
|
-
position: sticky;
|
|
113
|
-
top: 0;
|
|
114
|
-
z-index: 20;
|
|
115
|
-
background-color: var(--conversation-list-auto-bg-color, #fff);
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
.active-sticky {
|
|
119
|
-
z-index: 10;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
.el-x-conversation-group-items {
|
|
123
|
-
padding-top: 0;
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.scroll-to-top-btn {
|
|
128
|
-
position: absolute;
|
|
129
|
-
right: 16px;
|
|
130
|
-
bottom: 16px;
|
|
131
|
-
z-index: 99;
|
|
132
|
-
opacity: 0.8;
|
|
133
|
-
transition: opacity 0.3s;
|
|
134
|
-
|
|
135
|
-
&:hover {
|
|
136
|
-
opacity: 1;
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
/* 项目样式 */
|
|
141
|
-
.el-x-conversation-item {
|
|
142
|
-
padding: 14px 10px;
|
|
143
|
-
margin-right: 20px;
|
|
144
|
-
border-radius: 8px;
|
|
145
|
-
cursor: pointer;
|
|
146
|
-
transition: background-color 0.2s ease;
|
|
147
|
-
|
|
148
|
-
& + & {
|
|
149
|
-
margin-top: 4px;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
&.disabled {
|
|
153
|
-
opacity: 0.5;
|
|
154
|
-
cursor: not-allowed;
|
|
155
|
-
color: #c0c4cc;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
&.active {
|
|
159
|
-
background-color: #f0f0f0;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
&.hovered,
|
|
163
|
-
&:hover {
|
|
164
|
-
background-color: #f0f0f0;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
&.menu-opened {
|
|
168
|
-
background-color: #f0f0f0;
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
.el-x-conversation-content {
|
|
173
|
-
display: flex;
|
|
174
|
-
align-items: center;
|
|
175
|
-
height: var(--conversation-label-height, 20px);
|
|
176
|
-
|
|
177
|
-
.el-x-conversation-prefix-icon {
|
|
178
|
-
margin-right: 8px;
|
|
179
|
-
display: flex;
|
|
180
|
-
justify-content: center;
|
|
181
|
-
align-items: center;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
.el-x-conversation-content-main {
|
|
185
|
-
flex: 1;
|
|
186
|
-
display: flex;
|
|
187
|
-
align-items: center;
|
|
188
|
-
position: relative;
|
|
189
|
-
overflow: hidden;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
.el-x-conversation-label-container {
|
|
193
|
-
flex: 1;
|
|
194
|
-
display: flex;
|
|
195
|
-
justify-content: space-between;
|
|
196
|
-
align-items: center;
|
|
197
|
-
overflow: hidden;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
.el-x-conversation-label {
|
|
201
|
-
font-size: 14px;
|
|
202
|
-
color: #303133;
|
|
203
|
-
position: relative;
|
|
204
|
-
white-space: nowrap;
|
|
205
|
-
|
|
206
|
-
&.text-gradient {
|
|
207
|
-
mask-image: linear-gradient(to right, black 60%, transparent 100%);
|
|
208
|
-
-webkit-mask-image: linear-gradient(to right, black 60%, transparent 100%);
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
.el-x-conversation-timestamp {
|
|
213
|
-
font-size: 14px;
|
|
214
|
-
color: #909399;
|
|
215
|
-
margin-left: 8px;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
.el-x-conversation-suffix-icon {
|
|
219
|
-
margin-left: 8px;
|
|
220
|
-
display: flex;
|
|
221
|
-
justify-content: center;
|
|
222
|
-
align-items: center;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
.el-x-conversation-dropdown-more {
|
|
226
|
-
justify-self: center;
|
|
227
|
-
height: 100%;
|
|
228
|
-
display: flex;
|
|
229
|
-
align-items: center;
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
.el-x-conversation-dropdown-more-icon {
|
|
233
|
-
font-size: 16px;
|
|
234
|
-
padding: 2px;
|
|
235
|
-
border-radius: 5px;
|
|
236
|
-
|
|
237
|
-
&:hover {
|
|
238
|
-
background-color: #d3d3d3;
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
.el-x-conversation-menu {
|
|
243
|
-
margin-left: 8px;
|
|
244
|
-
display: flex;
|
|
245
|
-
align-items: center;
|
|
246
|
-
opacity: 0;
|
|
247
|
-
transition: opacity 0.2s ease;
|
|
248
|
-
|
|
249
|
-
.hovered &,
|
|
250
|
-
.active & {
|
|
251
|
-
opacity: 1;
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
// Dropdown菜单样式
|
|
257
|
-
.el-x-conversation-dropdown-menu {
|
|
258
|
-
max-height: 300px;
|
|
259
|
-
overflow-y: auto;
|
|
260
|
-
}
|
|
1
|
+
/* ElXConversations 组件样式 */
|
|
2
|
+
|
|
3
|
+
/* 主容器 */
|
|
4
|
+
.el-x-conversations-container {
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
height: 100%;
|
|
8
|
+
position: relative;
|
|
9
|
+
width: fit-content;
|
|
10
|
+
box-sizing: border-box;
|
|
11
|
+
overflow: hidden;
|
|
12
|
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.el-x-conversations-list {
|
|
16
|
+
list-style: none;
|
|
17
|
+
margin: 0;
|
|
18
|
+
padding: 0;
|
|
19
|
+
flex: 1;
|
|
20
|
+
display: flex;
|
|
21
|
+
flex-direction: column;
|
|
22
|
+
box-sizing: border-box;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.el-x-conversations-scroll-wrapper {
|
|
26
|
+
flex: 1;
|
|
27
|
+
overflow: hidden;
|
|
28
|
+
position: relative;
|
|
29
|
+
|
|
30
|
+
/* 在右侧添加留白区域 */
|
|
31
|
+
&::after {
|
|
32
|
+
content: '';
|
|
33
|
+
position: absolute;
|
|
34
|
+
top: 0;
|
|
35
|
+
right: 0;
|
|
36
|
+
width: 8px;
|
|
37
|
+
/* 右侧留白宽度 */
|
|
38
|
+
height: 100%;
|
|
39
|
+
background-color: transparent;
|
|
40
|
+
pointer-events: none;
|
|
41
|
+
/* 确保不影响交互 */
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
// 加载更多
|
|
46
|
+
.el-x-conversations-load-more {
|
|
47
|
+
display: flex;
|
|
48
|
+
width: calc(100% - 20px);
|
|
49
|
+
padding: 14px 10px;
|
|
50
|
+
justify-content: center;
|
|
51
|
+
align-items: center;
|
|
52
|
+
font-size: 12px;
|
|
53
|
+
gap: 3px;
|
|
54
|
+
color: #909399;
|
|
55
|
+
background-color: var(--conversation-list-auto-bg-color, #fff);
|
|
56
|
+
margin-right: 20px;
|
|
57
|
+
border-radius: 8px;
|
|
58
|
+
height: auto;
|
|
59
|
+
min-height: var(--conversation-label-height, 20px);
|
|
60
|
+
box-sizing: border-box;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
// 加载动画
|
|
64
|
+
.el-x-conversations-load-more-is-loading {
|
|
65
|
+
margin-top: 2px;
|
|
66
|
+
animation: spinloading 2s linear infinite;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
@keyframes spinloading {
|
|
70
|
+
0% {
|
|
71
|
+
transform: rotate(0deg);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
100% {
|
|
75
|
+
transform: rotate(360deg);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.scroll-content {
|
|
80
|
+
min-height: 100%;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.loading-more {
|
|
84
|
+
text-align: center;
|
|
85
|
+
padding: 10px 0;
|
|
86
|
+
color: #909399;
|
|
87
|
+
font-size: 14px;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.el-x-conversation-group {
|
|
91
|
+
position: relative;
|
|
92
|
+
|
|
93
|
+
&:last-child {
|
|
94
|
+
margin-bottom: 0;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.el-x-conversation-group-title {
|
|
98
|
+
font-size: 14px;
|
|
99
|
+
color: #909399;
|
|
100
|
+
padding: 8px 0;
|
|
101
|
+
font-weight: 500;
|
|
102
|
+
margin-bottom: 4px;
|
|
103
|
+
border-radius: 4px;
|
|
104
|
+
border-top-left-radius: 0px;
|
|
105
|
+
border-top-right-radius: 0px;
|
|
106
|
+
// 预留滚动条宽度
|
|
107
|
+
width: calc(100% - 10px);
|
|
108
|
+
box-sizing: border-box;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.sticky-title {
|
|
112
|
+
position: sticky;
|
|
113
|
+
top: 0;
|
|
114
|
+
z-index: 20;
|
|
115
|
+
background-color: var(--conversation-list-auto-bg-color, #fff);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.active-sticky {
|
|
119
|
+
z-index: 10;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.el-x-conversation-group-items {
|
|
123
|
+
padding-top: 0;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.scroll-to-top-btn {
|
|
128
|
+
position: absolute;
|
|
129
|
+
right: 16px;
|
|
130
|
+
bottom: 16px;
|
|
131
|
+
z-index: 99;
|
|
132
|
+
opacity: 0.8;
|
|
133
|
+
transition: opacity 0.3s;
|
|
134
|
+
|
|
135
|
+
&:hover {
|
|
136
|
+
opacity: 1;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
/* 项目样式 */
|
|
141
|
+
.el-x-conversation-item {
|
|
142
|
+
padding: 14px 10px;
|
|
143
|
+
margin-right: 20px;
|
|
144
|
+
border-radius: 8px;
|
|
145
|
+
cursor: pointer;
|
|
146
|
+
transition: background-color 0.2s ease;
|
|
147
|
+
|
|
148
|
+
& + & {
|
|
149
|
+
margin-top: 4px;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
&.disabled {
|
|
153
|
+
opacity: 0.5;
|
|
154
|
+
cursor: not-allowed;
|
|
155
|
+
color: #c0c4cc;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
&.active {
|
|
159
|
+
background-color: #f0f0f0;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
&.hovered,
|
|
163
|
+
&:hover {
|
|
164
|
+
background-color: #f0f0f0;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
&.menu-opened {
|
|
168
|
+
background-color: #f0f0f0;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.el-x-conversation-content {
|
|
173
|
+
display: flex;
|
|
174
|
+
align-items: center;
|
|
175
|
+
height: var(--conversation-label-height, 20px);
|
|
176
|
+
|
|
177
|
+
.el-x-conversation-prefix-icon {
|
|
178
|
+
margin-right: 8px;
|
|
179
|
+
display: flex;
|
|
180
|
+
justify-content: center;
|
|
181
|
+
align-items: center;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
.el-x-conversation-content-main {
|
|
185
|
+
flex: 1;
|
|
186
|
+
display: flex;
|
|
187
|
+
align-items: center;
|
|
188
|
+
position: relative;
|
|
189
|
+
overflow: hidden;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.el-x-conversation-label-container {
|
|
193
|
+
flex: 1;
|
|
194
|
+
display: flex;
|
|
195
|
+
justify-content: space-between;
|
|
196
|
+
align-items: center;
|
|
197
|
+
overflow: hidden;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
.el-x-conversation-label {
|
|
201
|
+
font-size: 14px;
|
|
202
|
+
color: #303133;
|
|
203
|
+
position: relative;
|
|
204
|
+
white-space: nowrap;
|
|
205
|
+
|
|
206
|
+
&.text-gradient {
|
|
207
|
+
mask-image: linear-gradient(to right, black 60%, transparent 100%);
|
|
208
|
+
-webkit-mask-image: linear-gradient(to right, black 60%, transparent 100%);
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.el-x-conversation-timestamp {
|
|
213
|
+
font-size: 14px;
|
|
214
|
+
color: #909399;
|
|
215
|
+
margin-left: 8px;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.el-x-conversation-suffix-icon {
|
|
219
|
+
margin-left: 8px;
|
|
220
|
+
display: flex;
|
|
221
|
+
justify-content: center;
|
|
222
|
+
align-items: center;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.el-x-conversation-dropdown-more {
|
|
226
|
+
justify-self: center;
|
|
227
|
+
height: 100%;
|
|
228
|
+
display: flex;
|
|
229
|
+
align-items: center;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.el-x-conversation-dropdown-more-icon {
|
|
233
|
+
font-size: 16px;
|
|
234
|
+
padding: 2px;
|
|
235
|
+
border-radius: 5px;
|
|
236
|
+
|
|
237
|
+
&:hover {
|
|
238
|
+
background-color: #d3d3d3;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.el-x-conversation-menu {
|
|
243
|
+
margin-left: 8px;
|
|
244
|
+
display: flex;
|
|
245
|
+
align-items: center;
|
|
246
|
+
opacity: 0;
|
|
247
|
+
transition: opacity 0.2s ease;
|
|
248
|
+
|
|
249
|
+
.hovered &,
|
|
250
|
+
.active & {
|
|
251
|
+
opacity: 1;
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
// Dropdown菜单样式
|
|
257
|
+
.el-x-conversation-dropdown-menu {
|
|
258
|
+
max-height: 300px;
|
|
259
|
+
overflow-y: auto;
|
|
260
|
+
}
|