vue-element-ui-x 0.2.2 → 1.0.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/lib/components/Attachments/index.js +18 -18
- package/lib/components/Bubble/index.js +145 -155
- package/lib/components/BubbleList/index.js +180 -207
- package/lib/components/Conversations/index.js +14370 -14370
- package/lib/components/FilesCard/index.js +5 -5
- package/lib/components/Prompts/index.js +25 -25
- package/lib/components/Sender/index.js +1606 -1459
- package/lib/components/Thinking/index.js +157 -23
- package/lib/components/ThoughtChain/index.js +143 -144
- package/lib/components/Typewriter/index.js +124 -125
- package/lib/components/Welcome/index.js +5 -5
- package/lib/index.common.js +1 -1
- package/lib/index.esm.js +1 -1
- package/lib/index.js +817 -389
- package/lib/index.umd.js +1 -1
- package/lib/locale/index.js +97 -0
- package/lib/locale/lang/ar-SA.js +18 -0
- package/lib/locale/lang/ar-SA.umd.js +26 -0
- package/lib/locale/lang/ar.js +18 -0
- package/lib/locale/lang/ar.umd.js +26 -0
- package/lib/locale/lang/de-DE.js +18 -0
- package/lib/locale/lang/de-DE.umd.js +26 -0
- package/lib/locale/lang/de.js +18 -0
- package/lib/locale/lang/de.umd.js +26 -0
- package/lib/locale/lang/en.js +18 -0
- package/lib/locale/lang/en.umd.js +26 -0
- package/lib/locale/lang/es-ES.js +18 -0
- package/lib/locale/lang/es-ES.umd.js +26 -0
- package/lib/locale/lang/es.js +18 -0
- package/lib/locale/lang/es.umd.js +26 -0
- package/lib/locale/lang/fr-FR.js +18 -0
- package/lib/locale/lang/fr-FR.umd.js +26 -0
- package/lib/locale/lang/fr.js +18 -0
- package/lib/locale/lang/fr.umd.js +26 -0
- package/lib/locale/lang/index.js +50 -0
- package/lib/locale/lang/it-IT.js +18 -0
- package/lib/locale/lang/it-IT.umd.js +26 -0
- package/lib/locale/lang/it.js +18 -0
- package/lib/locale/lang/it.umd.js +26 -0
- package/lib/locale/lang/ja-JP.js +18 -0
- package/lib/locale/lang/ja-JP.umd.js +26 -0
- package/lib/locale/lang/ja.js +18 -0
- package/lib/locale/lang/ja.umd.js +26 -0
- package/lib/locale/lang/ko-KR.js +18 -0
- package/lib/locale/lang/ko-KR.umd.js +26 -0
- package/lib/locale/lang/ko.js +18 -0
- package/lib/locale/lang/ko.umd.js +26 -0
- package/lib/locale/lang/pt-BR.js +18 -0
- package/lib/locale/lang/pt-BR.umd.js +26 -0
- package/lib/locale/lang/ru-RU.js +18 -0
- package/lib/locale/lang/ru-RU.umd.js +26 -0
- package/lib/locale/lang/zh-CN.js +18 -0
- package/lib/locale/lang/zh-CN.umd.js +26 -0
- package/lib/locale/lang/zh-TW.js +18 -0
- package/lib/locale/lang/zh-TW.umd.js +26 -0
- package/lib/locale/mixin.js +9 -0
- package/package.json +15 -10
- package/src/components/Attachments/src/main.vue +2 -10
- package/src/components/Bubble/src/main.vue +288 -299
- package/src/components/BubbleList/src/main.vue +2 -19
- package/src/components/Conversations/src/main.vue +0 -41
- package/src/components/Prompts/src/main.vue +248 -248
- package/src/components/Sender/src/components/LoadingButton.vue +37 -39
- package/src/components/Sender/src/components/SpeechLoadingButton.vue +41 -43
- package/src/components/Sender/src/main.vue +13 -3
- package/src/components/Thinking/src/main.vue +13 -9
- package/src/components/ThoughtChain/src/main.vue +1 -3
- package/src/components/Typewriter/src/main.vue +3 -7
- package/src/components/Welcome/src/main.vue +151 -151
- package/src/index.js +23 -6
- package/src/locale/index.js +97 -0
- package/src/locale/lang/ar.js +18 -0
- package/src/locale/lang/de.js +18 -0
- package/src/locale/lang/en.js +18 -0
- package/src/locale/lang/es.js +18 -0
- package/src/locale/lang/fr.js +18 -0
- package/src/locale/lang/index.js +62 -0
- package/src/locale/lang/it.js +18 -0
- package/src/locale/lang/ja.js +18 -0
- package/src/locale/lang/ko.js +18 -0
- package/src/locale/lang/pt-br.js +18 -0
- package/src/locale/lang/ru-RU.js +18 -0
- package/src/locale/lang/zh-CN.js +18 -0
- package/src/locale/lang/zh-TW.js +18 -0
- package/src/locale/mixin.js +9 -0
- package/src/styles/Attachments.scss +236 -236
- package/src/styles/Bubble.scss +5 -4
- package/src/styles/BubbleList.scss +148 -148
- package/src/styles/Conversations.scss +260 -260
- package/src/styles/FilesCard.scss +222 -221
- package/src/styles/Prompts.scss +197 -195
- package/src/styles/Sender.scss +207 -199
- package/src/styles/Thinking.scss +36 -6
- package/src/styles/ThoughtChain.scss +113 -113
- package/src/styles/Typewriter.scss +66 -66
- package/src/styles/var.scss +4 -5
- package/src/theme/var.scss +183 -72
|
@@ -1,236 +1,236 @@
|
|
|
1
|
-
@import '../theme/var.scss';
|
|
2
|
-
|
|
3
|
-
/* CSS 动画样式调整 */
|
|
4
|
-
.card-motion {
|
|
5
|
-
&-enter-active,
|
|
6
|
-
&-move,
|
|
7
|
-
&-leave-active {
|
|
8
|
-
transition: all 0.3s ease;
|
|
9
|
-
opacity: 1;
|
|
10
|
-
transform: translateX(0);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
&-enter,
|
|
14
|
-
&-leave-to {
|
|
15
|
-
opacity: 0;
|
|
16
|
-
/* 从左侧外进入(进场)/ 移动到右侧外(退场) */
|
|
17
|
-
transform: translateX(-100%);
|
|
18
|
-
/* 进场初始位置在左侧外 */
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&-leave-active {
|
|
22
|
-
/* 退场时从当前位置移动到右侧外 */
|
|
23
|
-
transform: translateX(100%);
|
|
24
|
-
opacity: 0;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.el-x-attachments {
|
|
29
|
-
&-file-card-wrap {
|
|
30
|
-
display: flex;
|
|
31
|
-
height: 100%;
|
|
32
|
-
align-items: center;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&-upload-placeholder {
|
|
36
|
-
display: inline-block;
|
|
37
|
-
width: fit-content;
|
|
38
|
-
align-self: center;
|
|
39
|
-
margin: 6px;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
&-card {
|
|
43
|
-
display: inline-block;
|
|
44
|
-
vertical-align: top;
|
|
45
|
-
|
|
46
|
-
&-item {
|
|
47
|
-
margin: 6px;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
&-prev-btn,
|
|
52
|
-
&-next-btn {
|
|
53
|
-
position: absolute;
|
|
54
|
-
top: 50%;
|
|
55
|
-
transform: translateY(-50%);
|
|
56
|
-
z-index: 10;
|
|
57
|
-
background-color: rgba(0, 0, 0, 0.3);
|
|
58
|
-
color: white;
|
|
59
|
-
border: none;
|
|
60
|
-
padding: 4px 0px;
|
|
61
|
-
border-radius: 3px;
|
|
62
|
-
transition: background-color 0.3s ease;
|
|
63
|
-
|
|
64
|
-
&:hover {
|
|
65
|
-
background-color: rgba(0, 0, 0, 0.5);
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
&:active {
|
|
69
|
-
background-color: rgba(0, 0, 0, 0.7);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
&-prev-btn {
|
|
74
|
-
left: 8px;
|
|
75
|
-
border-top-left-radius: 0px;
|
|
76
|
-
border-bottom-left-radius: 0px;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
&-next-btn {
|
|
80
|
-
right: 8px;
|
|
81
|
-
border-top-right-radius: 0px;
|
|
82
|
-
border-bottom-right-radius: 0px;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
&-background {
|
|
86
|
-
position: absolute;
|
|
87
|
-
top: 0;
|
|
88
|
-
left: 0;
|
|
89
|
-
right: 0;
|
|
90
|
-
bottom: 0;
|
|
91
|
-
width: 100%;
|
|
92
|
-
pointer-events: none;
|
|
93
|
-
|
|
94
|
-
&-start {
|
|
95
|
-
position: absolute;
|
|
96
|
-
top: 0;
|
|
97
|
-
left: 0;
|
|
98
|
-
bottom: 0;
|
|
99
|
-
width: 50px;
|
|
100
|
-
background: linear-gradient(to right, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
|
|
101
|
-
z-index: 5;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
&-end {
|
|
105
|
-
position: absolute;
|
|
106
|
-
top: 0;
|
|
107
|
-
right: 0;
|
|
108
|
-
bottom: 0;
|
|
109
|
-
width: 50px;
|
|
110
|
-
background: linear-gradient(to left, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
|
|
111
|
-
z-index: 5;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
&-overflow-scrollX {
|
|
116
|
-
height: 100%;
|
|
117
|
-
|
|
118
|
-
&::-webkit-scrollbar {
|
|
119
|
-
display: none;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
scrollbar-width: none;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
&-overflow-scrollY {
|
|
126
|
-
width: 100%;
|
|
127
|
-
height: 100%;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
&-wrapper {
|
|
131
|
-
position: relative;
|
|
132
|
-
display: block;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
&-upload-btn {
|
|
136
|
-
display: flex;
|
|
137
|
-
|
|
138
|
-
::v-deep .el-upload {
|
|
139
|
-
border: 1px dashed $--border-color-base;
|
|
140
|
-
border-radius: 6px;
|
|
141
|
-
cursor: pointer;
|
|
142
|
-
position: relative;
|
|
143
|
-
overflow: hidden;
|
|
144
|
-
transition: $--all-transition;
|
|
145
|
-
box-sizing: border-box;
|
|
146
|
-
text-align: center;
|
|
147
|
-
|
|
148
|
-
&:hover {
|
|
149
|
-
border-color: $--color-primary;
|
|
150
|
-
|
|
151
|
-
.uploader-icon {
|
|
152
|
-
color: $--color-primary;
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
.uploader-icon {
|
|
158
|
-
font-size: 28px;
|
|
159
|
-
color: #8c939d;
|
|
160
|
-
text-align: center;
|
|
161
|
-
width: var(--el-x-attachments-upload-icon-size);
|
|
162
|
-
height: var(--el-x-attachments-upload-icon-size);
|
|
163
|
-
line-height: var(--el-x-attachments-upload-icon-size);
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
::v-deep .el-upload-dragger {
|
|
167
|
-
padding: 0;
|
|
168
|
-
width: auto !important;
|
|
169
|
-
height: auto !important;
|
|
170
|
-
background-color: transparent;
|
|
171
|
-
|
|
172
|
-
&:hover .el-icon {
|
|
173
|
-
color: $--color-primary;
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
/* 设置拖放区域的样式 */
|
|
179
|
-
&-drop-area {
|
|
180
|
-
position: absolute !important;
|
|
181
|
-
top: 0 !important;
|
|
182
|
-
left: 0 !important;
|
|
183
|
-
width: calc(100% - 4px) !important;
|
|
184
|
-
height: calc(100% - 4px) !important;
|
|
185
|
-
border-radius: 15px !important;
|
|
186
|
-
border: 2px dashed $--color-primary !important;
|
|
187
|
-
z-index: 9999 !important;
|
|
188
|
-
display: flex !important;
|
|
189
|
-
align-items: center !important;
|
|
190
|
-
justify-content: center !important;
|
|
191
|
-
flex-direction: column !important;
|
|
192
|
-
background: rgba(225, 225, 225, 0.8) !important; // 增加透明度
|
|
193
|
-
backdrop-filter: blur(4px) !important; // 增加模糊效果
|
|
194
|
-
animation: dragAreaShow 0.3s ease-in-out !important; // 添加显示动画
|
|
195
|
-
pointer-events: none !important; // 防止拖拽区域本身阻止事件
|
|
196
|
-
|
|
197
|
-
&-icon {
|
|
198
|
-
font-size: 50px !important;
|
|
199
|
-
color: $--color-primary !important;
|
|
200
|
-
animation: bounce 1s infinite alternate !important; // 添加跳动动画
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
&-text {
|
|
204
|
-
font-size: 16px !important;
|
|
205
|
-
color: $--color-primary !important;
|
|
206
|
-
margin-top: 10px !important;
|
|
207
|
-
text-align: center !important;
|
|
208
|
-
width: 100% !important;
|
|
209
|
-
max-width: 300px !important;
|
|
210
|
-
font-weight: bold !important;
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
// 添加动画关键帧
|
|
215
|
-
@keyframes dragAreaShow {
|
|
216
|
-
from {
|
|
217
|
-
opacity: 0;
|
|
218
|
-
transform: scale(0.9);
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
to {
|
|
222
|
-
opacity: 1;
|
|
223
|
-
transform: scale(1);
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
@keyframes bounce {
|
|
228
|
-
from {
|
|
229
|
-
transform: translateY(0);
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
to {
|
|
233
|
-
transform: translateY(-10px);
|
|
234
|
-
}
|
|
235
|
-
}
|
|
236
|
-
}
|
|
1
|
+
@import '../theme/var.scss';
|
|
2
|
+
|
|
3
|
+
/* CSS 动画样式调整 */
|
|
4
|
+
.card-motion {
|
|
5
|
+
&-enter-active,
|
|
6
|
+
&-move,
|
|
7
|
+
&-leave-active {
|
|
8
|
+
transition: all 0.3s ease;
|
|
9
|
+
opacity: 1;
|
|
10
|
+
transform: translateX(0);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&-enter,
|
|
14
|
+
&-leave-to {
|
|
15
|
+
opacity: 0;
|
|
16
|
+
/* 从左侧外进入(进场)/ 移动到右侧外(退场) */
|
|
17
|
+
transform: translateX(-100%);
|
|
18
|
+
/* 进场初始位置在左侧外 */
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&-leave-active {
|
|
22
|
+
/* 退场时从当前位置移动到右侧外 */
|
|
23
|
+
transform: translateX(100%);
|
|
24
|
+
opacity: 0;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.el-x-attachments {
|
|
29
|
+
&-file-card-wrap {
|
|
30
|
+
display: flex;
|
|
31
|
+
height: 100%;
|
|
32
|
+
align-items: center;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&-upload-placeholder {
|
|
36
|
+
display: inline-block;
|
|
37
|
+
width: fit-content;
|
|
38
|
+
align-self: center;
|
|
39
|
+
margin: 6px;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&-card {
|
|
43
|
+
display: inline-block;
|
|
44
|
+
vertical-align: top;
|
|
45
|
+
|
|
46
|
+
&-item {
|
|
47
|
+
margin: 6px;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&-prev-btn,
|
|
52
|
+
&-next-btn {
|
|
53
|
+
position: absolute;
|
|
54
|
+
top: 50%;
|
|
55
|
+
transform: translateY(-50%);
|
|
56
|
+
z-index: 10;
|
|
57
|
+
background-color: rgba(0, 0, 0, 0.3);
|
|
58
|
+
color: white;
|
|
59
|
+
border: none;
|
|
60
|
+
padding: 4px 0px;
|
|
61
|
+
border-radius: 3px;
|
|
62
|
+
transition: background-color 0.3s ease;
|
|
63
|
+
|
|
64
|
+
&:hover {
|
|
65
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&:active {
|
|
69
|
+
background-color: rgba(0, 0, 0, 0.7);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&-prev-btn {
|
|
74
|
+
left: 8px;
|
|
75
|
+
border-top-left-radius: 0px;
|
|
76
|
+
border-bottom-left-radius: 0px;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&-next-btn {
|
|
80
|
+
right: 8px;
|
|
81
|
+
border-top-right-radius: 0px;
|
|
82
|
+
border-bottom-right-radius: 0px;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
&-background {
|
|
86
|
+
position: absolute;
|
|
87
|
+
top: 0;
|
|
88
|
+
left: 0;
|
|
89
|
+
right: 0;
|
|
90
|
+
bottom: 0;
|
|
91
|
+
width: 100%;
|
|
92
|
+
pointer-events: none;
|
|
93
|
+
|
|
94
|
+
&-start {
|
|
95
|
+
position: absolute;
|
|
96
|
+
top: 0;
|
|
97
|
+
left: 0;
|
|
98
|
+
bottom: 0;
|
|
99
|
+
width: 50px;
|
|
100
|
+
background: linear-gradient(to right, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
|
|
101
|
+
z-index: 5;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
&-end {
|
|
105
|
+
position: absolute;
|
|
106
|
+
top: 0;
|
|
107
|
+
right: 0;
|
|
108
|
+
bottom: 0;
|
|
109
|
+
width: 50px;
|
|
110
|
+
background: linear-gradient(to left, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
|
|
111
|
+
z-index: 5;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
&-overflow-scrollX {
|
|
116
|
+
height: 100%;
|
|
117
|
+
|
|
118
|
+
&::-webkit-scrollbar {
|
|
119
|
+
display: none;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
scrollbar-width: none;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
&-overflow-scrollY {
|
|
126
|
+
width: 100%;
|
|
127
|
+
height: 100%;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
&-wrapper {
|
|
131
|
+
position: relative;
|
|
132
|
+
display: block;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
&-upload-btn {
|
|
136
|
+
display: flex;
|
|
137
|
+
|
|
138
|
+
::v-deep .el-upload {
|
|
139
|
+
border: 1px dashed $--border-color-base;
|
|
140
|
+
border-radius: 6px;
|
|
141
|
+
cursor: pointer;
|
|
142
|
+
position: relative;
|
|
143
|
+
overflow: hidden;
|
|
144
|
+
transition: $--all-transition;
|
|
145
|
+
box-sizing: border-box;
|
|
146
|
+
text-align: center;
|
|
147
|
+
|
|
148
|
+
&:hover {
|
|
149
|
+
border-color: $--color-primary;
|
|
150
|
+
|
|
151
|
+
.uploader-icon {
|
|
152
|
+
color: $--color-primary;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.uploader-icon {
|
|
158
|
+
font-size: 28px;
|
|
159
|
+
color: #8c939d;
|
|
160
|
+
text-align: center;
|
|
161
|
+
width: var(--el-x-attachments-upload-icon-size);
|
|
162
|
+
height: var(--el-x-attachments-upload-icon-size);
|
|
163
|
+
line-height: var(--el-x-attachments-upload-icon-size);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
::v-deep .el-upload-dragger {
|
|
167
|
+
padding: 0;
|
|
168
|
+
width: auto !important;
|
|
169
|
+
height: auto !important;
|
|
170
|
+
background-color: transparent;
|
|
171
|
+
|
|
172
|
+
&:hover .el-icon {
|
|
173
|
+
color: $--color-primary;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/* 设置拖放区域的样式 */
|
|
179
|
+
&-drop-area {
|
|
180
|
+
position: absolute !important;
|
|
181
|
+
top: 0 !important;
|
|
182
|
+
left: 0 !important;
|
|
183
|
+
width: calc(100% - 4px) !important;
|
|
184
|
+
height: calc(100% - 4px) !important;
|
|
185
|
+
border-radius: 15px !important;
|
|
186
|
+
border: 2px dashed $--color-primary !important;
|
|
187
|
+
z-index: 9999 !important;
|
|
188
|
+
display: flex !important;
|
|
189
|
+
align-items: center !important;
|
|
190
|
+
justify-content: center !important;
|
|
191
|
+
flex-direction: column !important;
|
|
192
|
+
background: rgba(225, 225, 225, 0.8) !important; // 增加透明度
|
|
193
|
+
backdrop-filter: blur(4px) !important; // 增加模糊效果
|
|
194
|
+
animation: dragAreaShow 0.3s ease-in-out !important; // 添加显示动画
|
|
195
|
+
pointer-events: none !important; // 防止拖拽区域本身阻止事件
|
|
196
|
+
|
|
197
|
+
&-icon {
|
|
198
|
+
font-size: 50px !important;
|
|
199
|
+
color: $--color-primary !important;
|
|
200
|
+
animation: bounce 1s infinite alternate !important; // 添加跳动动画
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
&-text {
|
|
204
|
+
font-size: 16px !important;
|
|
205
|
+
color: $--color-primary !important;
|
|
206
|
+
margin-top: 10px !important;
|
|
207
|
+
text-align: center !important;
|
|
208
|
+
width: 100% !important;
|
|
209
|
+
max-width: 300px !important;
|
|
210
|
+
font-weight: bold !important;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
// 添加动画关键帧
|
|
215
|
+
@keyframes dragAreaShow {
|
|
216
|
+
from {
|
|
217
|
+
opacity: 0;
|
|
218
|
+
transform: scale(0.9);
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
to {
|
|
222
|
+
opacity: 1;
|
|
223
|
+
transform: scale(1);
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
@keyframes bounce {
|
|
228
|
+
from {
|
|
229
|
+
transform: translateY(0);
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
to {
|
|
233
|
+
transform: translateY(-10px);
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
}
|
package/src/styles/Bubble.scss
CHANGED
|
@@ -7,14 +7,14 @@
|
|
|
7
7
|
|
|
8
8
|
.el-x-bubble-avatar-size {
|
|
9
9
|
::v-deep .el-avatar {
|
|
10
|
-
width: var(--el-x-bubble-avatar-placeholder-width);
|
|
11
|
-
height: var(--el-x-bubble-avatar-placeholder-height);
|
|
10
|
+
width: var(--el-x-bubble-avatar-placeholder-width) !important;
|
|
11
|
+
height: var(--el-x-bubble-avatar-placeholder-height) !important;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
.el-x-bubble-avatar-placeholder {
|
|
16
|
-
width: var(--el-x-bubble-avatar-placeholder-width);
|
|
17
|
-
height: var(--el-x-bubble-avatar-placeholder-height);
|
|
16
|
+
width: var(--el-x-bubble-avatar-placeholder-width) !important;
|
|
17
|
+
height: var(--el-x-bubble-avatar-placeholder-height) !important;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
.el-x-bubble-start {
|
|
@@ -139,6 +139,7 @@
|
|
|
139
139
|
|
|
140
140
|
/* 波浪动画 */
|
|
141
141
|
@keyframes wave {
|
|
142
|
+
|
|
142
143
|
0%,
|
|
143
144
|
100% {
|
|
144
145
|
transform: translateY(-2px);
|