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 {