diff --git a/www/app.js b/www/app.js index d674b4e..fd34aa7 100644 --- a/www/app.js +++ b/www/app.js @@ -68,14 +68,12 @@ function showConversationList() {

AI助手

+
- -
${conversations.length === 0 ? '
暂无对话记录
' diff --git a/www/style.css b/www/style.css index 18b3636..c1a716a 100644 --- a/www/style.css +++ b/www/style.css @@ -72,6 +72,30 @@ body { overflow-y: auto; } +/* Header 中的新建对话按钮 */ +.new-chat-btn-header { + display: flex; + align-items: center; + justify-content: center; + width: 40px; + height: 40px; + background: rgba(255,255,255,0.2); + border: none; + border-radius: 10px; + color: white; + cursor: pointer; + transition: all 0.2s; +} + +.new-chat-btn-header:hover { + background: rgba(255,255,255,0.3); +} + +.new-chat-btn-header:active { + transform: scale(0.95); +} + +/* 原样式保留(备用) */ .new-chat-btn { display: flex; align-items: center;