From e918f808a4479ff364dd6ac9bc8dae9b1f38c723 Mon Sep 17 00:00:00 2001 From: yangzhe Date: Thu, 10 Jul 2025 17:52:04 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E5=BC=80=E5=8F=91?= =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E5=99=A8=E7=AB=AF=E5=8F=A3=E4=B8=BA8088?= =?UTF-8?q?=EF=BC=8C=E8=B0=83=E6=95=B4=E8=81=8A=E5=A4=A9=E5=8E=86=E5=8F=B2?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E6=A0=B7=E5=BC=8F=E5=8F=8A=E8=83=8C=E6=99=AF?= =?UTF-8?q?=E5=9B=BE=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/ChatHistory.vue | 7 +++++-- manifest.json | 2 +- pages/home/index/index.vue | 4 +++- pages/login/login/index.vue | 2 +- vue.config.js | 4 ++-- 5 files changed, 12 insertions(+), 7 deletions(-) diff --git a/components/ChatHistory.vue b/components/ChatHistory.vue index c894044..bd5931f 100644 --- a/components/ChatHistory.vue +++ b/components/ChatHistory.vue @@ -124,7 +124,9 @@ export default { background-color: #ffffff; .drawer-header { - padding: 40rpx 32rpx; + padding: 0 32rpx; + height: 140rpx; + line-height: 120rpx; .drawer-title { font-family: DouyinSans; @@ -140,7 +142,7 @@ export default { .chat-history-list { flex: 1; - height: calc(100vh - 200rpx); + height: calc(100vh - 360rpx); .chat-day { display: flex; @@ -175,6 +177,7 @@ export default { } .drawer-footer { + margin-top: 20rpx; height: 130rpx; border: 1rpx solid #eeeeee; border-radius: 12rpx; diff --git a/manifest.json b/manifest.json index e2fa85d..c26d043 100644 --- a/manifest.json +++ b/manifest.json @@ -129,7 +129,7 @@ }, "h5" : { "devServer" : { - "port" : 8080, + "port" : 8088, "disableHostCheck" : true, // "proxy" : { // "/api" : { diff --git a/pages/home/index/index.vue b/pages/home/index/index.vue index e5dd690..12b6448 100644 --- a/pages/home/index/index.vue +++ b/pages/home/index/index.vue @@ -477,6 +477,8 @@ export default { console.log("res.....", res); const data = res.data; + this.currentConversationId = data.conversationId; + // 创建AI回复消息对象 const aiMessage = { id: @@ -564,7 +566,7 @@ export default {