修改问答助手框

This commit is contained in:
aolong
2026-04-04 10:52:34 +08:00
parent 15524123f1
commit 2213250bd4
2 changed files with 8 additions and 7 deletions

View File

@@ -881,7 +881,7 @@ async function sendChatMessage() {
: text
try {
const res = await fetch('/api/chat', {
const res = await fetch('http://StoryMapAI.api.digitalmars.com.cn/api/chat', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ question })
@@ -1365,11 +1365,14 @@ function scrollToChatBottom() {
.chat-toggle-btn {
top: 16px;
right: 16px;
border-radius: 999px;
padding: 9px 14px;
bottom: auto;
border-radius: 8px;
padding: 8px 7px;
color: #f2e3be;
cursor: pointer;
font-size: 13px;
font-size: 12px;
writing-mode: vertical-rl;
line-height: 1.15;
}
.chat-toggle-btn:hover {
@@ -1380,7 +1383,7 @@ function scrollToChatBottom() {
top: 16px;
right: 16px;
width: 350px;
height: 520px;
height: 380px;
border-radius: 12px;
display: flex;
flex-direction: column;