From d5629816727f7cdf81119add60b01faa4c5c42a3 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 09:28:44 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E5=A4=8DAI=E8=81=8A=E5=A4=A9?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E7=9A=84=E7=82=B9=E8=B5=9E=E5=92=8C=E8=B8=A9?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E4=B8=8D=E6=98=BE=E7=A4=BA=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.js | 2 +- pages/aiChat/simple_chat.vue | 33 ++++++++++++++++++++++++++++++--- 2 files changed, 31 insertions(+), 4 deletions(-) diff --git a/config.js b/config.js index 40debdd..baedf0a 100644 --- a/config.js +++ b/config.js @@ -1,6 +1,6 @@ // 应用全局配置 module.exports = { - //baseUrl: 'http://zhxg.gxsdxy.cn/prod_api', + // baseUrl: 'http://zhxg.gxsdxy.cn/prod_api', // baseUrl: 'http://172.16.96.111:8085', // baseUrl: 'http://192.168.211.22:8085', baseUrl: 'http://localhost:8088', diff --git a/pages/aiChat/simple_chat.vue b/pages/aiChat/simple_chat.vue index 4a9bf0e..0885cc4 100644 --- a/pages/aiChat/simple_chat.vue +++ b/pages/aiChat/simple_chat.vue @@ -57,12 +57,28 @@ AI回答也可能会犯错。请核查重要信息。 + + + + + @@ -824,20 +840,31 @@ export default { gap: 12px; } +/* 图标按钮样式 - 适配u-icon组件 */ .btn-icon { - width: 16px; - height: 16px; cursor: pointer; transition: all 0.3s ease; opacity: 0.6; + margin: 0 4px; } .btn-icon-active { opacity: 1; - filter: brightness(1.2) saturate(1.5); transform: scale(1.1); } +/* 针对u-icon组件的特殊样式 */ +.btn-icon.u-icon { + display: inline-flex; + align-items: center; + justify-content: center; +} + +/* 激活状态下的颜色变化 */ +.btn-icon-active.u-icon { + color: #007aff !important; +} + /* 输入框区域 */ .input-container { display: flex;