完整展示无卡片助手回复
This commit is contained in:
parent
56d7ac0b20
commit
591cce3a98
@ -590,6 +590,11 @@ async function scrollToBottom(behavior: "smooth" | "auto" = "smooth") {
|
|||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
class="assistant-thinking__header"
|
class="assistant-thinking__header"
|
||||||
|
:disabled="!message.riskResult && !message.responseCard"
|
||||||
|
:aria-expanded="
|
||||||
|
(!message.riskResult && !message.responseCard) ||
|
||||||
|
expandedReplies.has(message.id)
|
||||||
|
"
|
||||||
@click="toggleReply(message.id)"
|
@click="toggleReply(message.id)"
|
||||||
>
|
>
|
||||||
<span
|
<span
|
||||||
@ -603,6 +608,7 @@ async function scrollToBottom(behavior: "smooth" | "auto" = "smooth") {
|
|||||||
>
|
>
|
||||||
</span>
|
</span>
|
||||||
<ChevronDown
|
<ChevronDown
|
||||||
|
v-if="message.riskResult || message.responseCard"
|
||||||
:size="13"
|
:size="13"
|
||||||
class="assistant-thinking__arrow"
|
class="assistant-thinking__arrow"
|
||||||
:class="{ expanded: expandedReplies.has(message.id) }"
|
:class="{ expanded: expandedReplies.has(message.id) }"
|
||||||
@ -613,6 +619,7 @@ async function scrollToBottom(behavior: "smooth" | "auto" = "smooth") {
|
|||||||
class="assistant-bubble"
|
class="assistant-bubble"
|
||||||
:class="{
|
:class="{
|
||||||
'assistant-bubble--collapsed':
|
'assistant-bubble--collapsed':
|
||||||
|
(message.riskResult || message.responseCard) &&
|
||||||
!expandedReplies.has(message.id),
|
!expandedReplies.has(message.id),
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
@ -934,6 +941,8 @@ async function scrollToBottom(behavior: "smooth" | "auto" = "smooth") {
|
|||||||
color: var(--color-text-secondary);
|
color: var(--color-text-secondary);
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
line-height: 1.65;
|
line-height: 1.65;
|
||||||
|
white-space: pre-wrap;
|
||||||
|
overflow-wrap: anywhere;
|
||||||
}
|
}
|
||||||
|
|
||||||
.assistant-bubble--collapsed {
|
.assistant-bubble--collapsed {
|
||||||
@ -965,7 +974,11 @@ async function scrollToBottom(behavior: "smooth" | "auto" = "smooth") {
|
|||||||
transition: background 0.15s, color 0.15s;
|
transition: background 0.15s, color 0.15s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.assistant-thinking__header:hover {
|
.assistant-thinking__header:disabled {
|
||||||
|
cursor: default;
|
||||||
|
}
|
||||||
|
|
||||||
|
.assistant-thinking__header:not(:disabled):hover {
|
||||||
background: var(--color-bg-warm);
|
background: var(--color-bg-warm);
|
||||||
color: var(--color-text-secondary);
|
color: var(--color-text-secondary);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user