-
+
{{ getFileEmoji(file.mimeType) }}
@@ -159,37 +121,23 @@
-
+
-
+
@@ -310,7 +258,7 @@ setCustomComponents("playground-demo", {
.message-bubble {
display: flex;
gap: 16px;
- padding: 20px 10%;
+ padding: 20px 22%;
animation: fadeIn 0.3s ease;
// 消息选择模式
@@ -347,9 +295,9 @@ setCustomComponents("playground-demo", {
}
.message-body {
- background: #f8fafc;
- color: #1f2937;
- border-radius: 20px 20px 4px 20px;
+ border-radius: 10px 2px 10px 10px;
+ background: #EEEFF0;
+
}
.text-content {
@@ -366,8 +314,10 @@ setCustomComponents("playground-demo", {
&.role-assistant {
.message-body {
- background: #f8fafc;
- border-radius: 20px 20px 20px 4px;
+ padding: 15px 20px;
+ gap: 15px;
+ border-radius: 2px 10px 10px 10px;
+ background: var(---F8F9FA, #F8F9FA);
.dark & {
background: #2d2d3d;
@@ -454,7 +404,6 @@ setCustomComponents("playground-demo", {
display: flex;
flex-direction: column;
gap: 8px;
- max-width: 75%;
min-width: 0;
}
@@ -491,7 +440,7 @@ setCustomComponents("playground-demo", {
// markstream-vue 样式覆盖
.text-content {
- :deep(p) {
+ :deep(p) {
margin: 0 0 12px;
&:last-child {
@@ -550,6 +499,7 @@ setCustomComponents("playground-demo", {
}
.dark & {
+
th,
td {
border-color: #374151;
@@ -589,12 +539,15 @@ setCustomComponents("playground-demo", {
:deep(h1) {
font-size: 1.5em;
}
+
:deep(h2) {
font-size: 1.3em;
}
+
:deep(h3) {
font-size: 1.15em;
}
+
:deep(h4) {
font-size: 1em;
}
@@ -851,6 +804,7 @@ setCustomComponents("playground-demo", {
&:nth-child(1) {
animation-delay: -0.32s;
}
+
&:nth-child(2) {
animation-delay: -0.16s;
}
@@ -862,6 +816,7 @@ setCustomComponents("playground-demo", {
opacity: 0;
transform: translateY(10px);
}
+
to {
opacity: 1;
transform: translateY(0);
@@ -869,11 +824,13 @@ setCustomComponents("playground-demo", {
}
@keyframes pulse {
+
0%,
100% {
opacity: 1;
transform: scale(1);
}
+
50% {
opacity: 0.5;
transform: scale(0.8);
@@ -881,12 +838,14 @@ setCustomComponents("playground-demo", {
}
@keyframes pulseDot {
+
0%,
80%,
100% {
transform: scale(0.6);
opacity: 0.5;
}
+
40% {
transform: scale(1);
opacity: 1;
diff --git a/src/components/message/components/ThinkingNode.vue b/src/components/message/components/ThinkingNode.vue
index 33ad9cf..2cddaa1 100644
--- a/src/components/message/components/ThinkingNode.vue
+++ b/src/components/message/components/ThinkingNode.vue
@@ -37,13 +37,11 @@ async function textCopy(data: any) {
-