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;