流式输出
This commit is contained in:
36
unpackage/dist/dev/app-plus/pages/Chat/Chat.css
vendored
36
unpackage/dist/dev/app-plus/pages/Chat/Chat.css
vendored
@@ -1671,7 +1671,9 @@ to { opacity: 1; transform: translateY(0);
|
||||
line-height: 1.4;
|
||||
margin: 0.375rem 0 0.25rem;
|
||||
}
|
||||
.chat-content h4, .chat-content h5, .chat-content h6 {
|
||||
.chat-content h4,
|
||||
.chat-content h5,
|
||||
.chat-content h6 {
|
||||
font-size: 1.0625rem;
|
||||
line-height: 1.5;
|
||||
margin: 0.3125rem 0 0.1875rem;
|
||||
@@ -1682,4 +1684,36 @@ to { opacity: 1; transform: translateY(0);
|
||||
font-size: 1.1875rem !important;
|
||||
line-height: 1.6;
|
||||
margin: 0.25rem 0;
|
||||
}
|
||||
|
||||
/* 流式气泡中的加载动画 */
|
||||
.bubble-loading-dots {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-start;
|
||||
padding: 0.3125rem 0;
|
||||
}
|
||||
.bubble-dot {
|
||||
width: 0.375rem;
|
||||
height: 0.375rem;
|
||||
border-radius: 50%;
|
||||
background: #a0a0b8;
|
||||
margin-right: 0.3125rem;
|
||||
animation: bubbleDotBlink 1.2s infinite ease-in-out;
|
||||
}
|
||||
.bubble-dot:nth-child(2) {
|
||||
animation-delay: 0.3s;
|
||||
}
|
||||
.bubble-dot:nth-child(3) {
|
||||
animation-delay: 0.6s;
|
||||
}
|
||||
@keyframes bubbleDotBlink {
|
||||
0%, 100% {
|
||||
opacity: 0.25;
|
||||
transform: scale(0.7);
|
||||
}
|
||||
50% {
|
||||
opacity: 1;
|
||||
transform: scale(1.1);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user