From 167859bd89d562e53e7f31aaf6961056dd71edef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A6=85=E9=A5=BC?= <2815246336@qq.com> Date: Tue, 26 Aug 2025 10:00:21 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E6=94=B9ai=E6=82=AC=E5=81=9C?= =?UTF-8?q?=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/components/Aichat/ChatPopup.vue | 8 ++++---- src/layout/index.vue | 23 ++++------------------ 2 files changed, 8 insertions(+), 23 deletions(-) diff --git a/src/layout/components/Aichat/ChatPopup.vue b/src/layout/components/Aichat/ChatPopup.vue index 75ab020..46518e5 100644 --- a/src/layout/components/Aichat/ChatPopup.vue +++ b/src/layout/components/Aichat/ChatPopup.vue @@ -1706,10 +1706,10 @@ export default { /* 聊天弹窗容器 */ .chat-popup { position: fixed; - bottom: 45px; - right: 60px; - width: 400px; - height: 600px; + bottom: 9vh; + right: 5vw; + width: 40vw; + height: 80vh; background: #fff; border-radius: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 8px 32px rgba(0, 0, 0, 0.1); diff --git a/src/layout/index.vue b/src/layout/index.vue index 336810e..34a71f0 100644 --- a/src/layout/index.vue +++ b/src/layout/index.vue @@ -21,7 +21,7 @@
- AI + AI
@@ -192,22 +192,7 @@ export default { } -// ai悬停 -.ai-hover { - position: fixed; - bottom: 20px; - right: 20px; - z-index: 999; - width: 50px; - height: 50px; - border-radius: 50%; - background-color: #409eff; - color: #fff; - display: flex; - justify-content: center; - align-items: center; - cursor: pointer; -} + //AI .ai-hover { @@ -215,8 +200,8 @@ export default { right: 20px; bottom: 20px; /* 和弹窗拉开距离 */ - width: 40px; - height: 40px; + width: 5vw; + height: 7vh; background-color: #409eff; border-radius: 50%; display: flex;