From 887464a8b0f3b6318d3d32f3652ea963875f009c Mon Sep 17 00:00:00 2001 From: "[yxf]" <[1524240689@qq.com]> Date: Fri, 3 Apr 2026 08:58:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9uniapp=E7=AB=AF=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E4=B8=8D=E5=BF=85=E8=A6=81=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- im-uniapp/pages.json | 84 +++++++++++++++---------------- im-uniapp/pages/chat/chat-box.vue | 23 +++++---- 2 files changed, 54 insertions(+), 53 deletions(-) diff --git a/im-uniapp/pages.json b/im-uniapp/pages.json index 539084b..19c15ba 100644 --- a/im-uniapp/pages.json +++ b/im-uniapp/pages.json @@ -12,21 +12,21 @@ }, { "path": "pages/login/login" }, - { - "path": "pages/register/register" - }, - { - "path": "pages/friend/friend" - }, - { - "path": "pages/group/group" - }, - { - "path": "pages/mine/mine" - }, - { - "path": "pages/common/user-info" - }, + // { + // "path": "pages/register/register" + // }, + // { + // "path": "pages/friend/friend" + // }, + // { + // "path": "pages/group/group" + // }, + // { + // "path": "pages/mine/mine" + // }, + // { + // "path": "pages/common/user-info" + // }, { "path": "pages/chat/chat-box", "style": { @@ -38,34 +38,34 @@ "softinputMode": "adjustResize" } } - }, - { - "path": "pages/chat/chat-private-video" - }, - { - "path": "pages/chat/chat-group-video" - }, - { - "path": "pages/friend/friend-add" - }, - { - "path": "pages/group/group-info" - }, - { - "path": "pages/group/group-edit" - }, - { - "path": "pages/group/group-invite" - }, - { - "path": "pages/group/group-member" - }, - { - "path": "pages/mine/mine-edit" - }, - { - "path": "pages/mine/mine-password" } + // { + // "path": "pages/chat/chat-private-video" + // }, + // { + // "path": "pages/chat/chat-group-video" + // }, + // { + // "path": "pages/friend/friend-add" + // }, + // { + // "path": "pages/group/group-info" + // }, + // { + // "path": "pages/group/group-edit" + // }, + // { + // "path": "pages/group/group-invite" + // }, + // { + // "path": "pages/group/group-member" + // }, + // { + // "path": "pages/mine/mine-edit" + // }, + // { + // "path": "pages/mine/mine-password" + // } ], "globalStyle": { "navigationBarTitleText": "盒子IM", diff --git a/im-uniapp/pages/chat/chat-box.vue b/im-uniapp/pages/chat/chat-box.vue index e249620..da3a7bc 100644 --- a/im-uniapp/pages/chat/chat-box.vue +++ b/im-uniapp/pages/chat/chat-box.vue @@ -32,10 +32,10 @@ - - - - + + + + @@ -52,13 +52,13 @@ - + @@ -73,7 +73,7 @@ 拍摄 - + - + @@ -1162,7 +1162,7 @@ export default { this.chat = this.chatStore.chats[chatIdx] || this.chatStore.chats[0]; if (!this.chat || !this.chat.targetId) { - throw new Error('会话不存在'); + // throw new Error('会话不存在'); } uni.hideLoading(); @@ -1384,6 +1384,7 @@ export default { } .chat-tab-bar { + width: 100%; position: fixed; bottom: 0; background-color: $im-bg;