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;