From 2750d8012f085f62071c2afd34d6a5c3c6fa2511 Mon Sep 17 00:00:00 2001 From: jinhhanhan <1683105490@qq.com> Date: Wed, 10 Dec 2025 15:30:39 +0800 Subject: [PATCH] =?UTF-8?q?chore(merge):=20=E8=BF=99=E4=B8=AA=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E6=AD=A3=E5=B8=B8=E8=BF=90=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 488 ++++------- components/hover-nav/hover-nav.vue | 81 +- pages.json | 7 - pages/index/index.vue | 470 +++++----- pages_tool/ai-chat/index.vue | 1300 ++++++++++++++-------------- project.config.json | 27 +- 6 files changed, 1117 insertions(+), 1256 deletions(-) diff --git a/App.vue b/App.vue index c1b448d..061c99f 100644 --- a/App.vue +++ b/App.vue @@ -1,43 +1,51 @@ - \ No newline at end of file diff --git a/components/hover-nav/hover-nav.vue b/components/hover-nav/hover-nav.vue index 5923a10..65fa30e 100644 --- a/components/hover-nav/hover-nav.vue +++ b/components/hover-nav/hover-nav.vue @@ -1,22 +1,27 @@ @@ -129,6 +137,7 @@ .btn-item { display: flex; justify-content: center; + align-items: center; /* 新增:让🤖表情垂直居中 */ text-align: center; flex-direction: column; line-height: 1; @@ -154,12 +163,14 @@ transform: rotate(180deg); } + &.switch {} + &.icon-xiala { margin: 0; margin-top: 0.1rpx; } - // 未读消息小红点(已无使用,可保留样式) + // 未读消息小红点 .unread-badge { position: absolute; top: -5rpx; @@ -183,6 +194,16 @@ // #endif } } + + // AI图标样式优化(让🤖表情居中显示) + .ai-icon { + font-size: 40rpx; // 调整🤖表情大小 + display: flex; + align-items: center; + justify-content: center; + width: 100%; + height: 100%; + } } } \ No newline at end of file diff --git a/pages.json b/pages.json index 7de3451..e72cc97 100644 --- a/pages.json +++ b/pages.json @@ -104,14 +104,7 @@ "navigationStyle": "custom" // #endif } - }, - { - "path": "pages/dify-chat/dify-chat", - "style": { - "navigationBarTitleText": "智能客服" - } } - ], "subPackages": [ { diff --git a/pages/index/index.vue b/pages/index/index.vue index 57f1420..2fad2c5 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -1,236 +1,236 @@ - - - - - - + \ No newline at end of file diff --git a/pages_tool/ai-chat/index.vue b/pages_tool/ai-chat/index.vue index 0af8dcc..39b3658 100644 --- a/pages_tool/ai-chat/index.vue +++ b/pages_tool/ai-chat/index.vue @@ -1,650 +1,650 @@ - - - - - + + + + + \ No newline at end of file diff --git a/project.config.json b/project.config.json index 20ba0f6..14f0be7 100644 --- a/project.config.json +++ b/project.config.json @@ -1,8 +1,7 @@ { "description": "项目配置文件", "packOptions": { - "ignore": [], - "include": [] + "ignore": [] }, "setting": { "urlCheck": true, @@ -38,20 +37,20 @@ "userConfirmedBundleSwitch": false, "packNpmManually": false, "packNpmRelationList": [], - "minifyWXSS": true, - "compileWorklet": false, - "minifyWXML": true, - "localPlugins": false, - "disableUseStrict": false, - "useCompilerPlugins": false, - "condition": false, - "swc": false, - "disableSWC": true + "minifyWXSS": true }, "compileType": "miniprogram", - "libVersion": "3.12.0", + "libVersion": "2.16.1", "appid": "wx29215aa1bd97bbd6", "projectname": "niushop_b2c_v4_uniapp", + "debugOptions": { + "hidedInDevtools": [] + }, + "scripts": {}, + "staticServerOptions": { + "baseURL": "", + "servePath": "" + }, "isGameTourist": false, "condition": { "search": { @@ -72,7 +71,5 @@ "miniprogram": { "list": [] } - }, - "simulatorPluginLibVersion": {}, - "editorSetting": {} + } } \ No newline at end of file