From 627f17165b38a31a16055998c5faef0a07dddfa1 Mon Sep 17 00:00:00 2001 From: xsx <825657193@qq.com> Date: Sun, 29 Oct 2023 12:36:45 +0800 Subject: [PATCH] =?UTF-8?q?=E7=95=8C=E9=9D=A2=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- im-ui/src/components/chat/ChatMessageItem.vue | 2 +- .../src/components/chat/ChatPrivateVideo.vue | 6 +- .../src/components/chat/ChatVideoAcceptor.vue | 76 ++++++++++++++++--- im-ui/src/components/common/FullImage.vue | 16 ++-- im-ui/src/components/common/HeadImage.vue | 3 +- .../chat-message-item/chat-message-item.vue | 16 ++-- im-uniapp/pages/group/group-edit.vue | 6 +- im-uniapp/pages/mine/mine.vue | 20 +---- 8 files changed, 93 insertions(+), 52 deletions(-) diff --git a/im-ui/src/components/chat/ChatMessageItem.vue b/im-ui/src/components/chat/ChatMessageItem.vue index 0f7b3bf..58a0f6e 100644 --- a/im-ui/src/components/chat/ChatMessageItem.vue +++ b/im-ui/src/components/chat/ChatMessageItem.vue @@ -258,7 +258,7 @@ max-width: 400px; max-height: 300px; border: #dddddd solid 1px; - box-shadow: 2px 2px 2px #c0c0c0; + border: 5px solid #ccc; border-radius: 6px; cursor: pointer; } diff --git a/im-ui/src/components/chat/ChatPrivateVideo.vue b/im-ui/src/components/chat/ChatPrivateVideo.vue index 4660f59..524814c 100644 --- a/im-ui/src/components/chat/ChatPrivateVideo.vue +++ b/im-ui/src/components/chat/ChatPrivateVideo.vue @@ -5,8 +5,10 @@
- + +
diff --git a/im-ui/src/components/chat/ChatVideoAcceptor.vue b/im-ui/src/components/chat/ChatVideoAcceptor.vue index 0796c70..8f809da 100644 --- a/im-ui/src/components/chat/ChatVideoAcceptor.vue +++ b/im-ui/src/components/chat/ChatVideoAcceptor.vue @@ -1,14 +1,14 @@ @@ -103,26 +103,78 @@ + \ No newline at end of file diff --git a/im-ui/src/components/common/HeadImage.vue b/im-ui/src/components/common/HeadImage.vue index 9c34808..72ea6e0 100644 --- a/im-ui/src/components/common/HeadImage.vue +++ b/im-ui/src/components/common/HeadImage.vue @@ -32,7 +32,7 @@ }, name:{ type: String, - default: "X" + default: "?" }, online:{ type: Boolean, @@ -41,6 +41,7 @@ }, methods:{ showUserInfo(e){ + console.log(this.id) if(this.id && this.id>0){ this.$http({ url: `/user/find/${this.id}`, diff --git a/im-uniapp/components/chat-message-item/chat-message-item.vue b/im-uniapp/components/chat-message-item/chat-message-item.vue index 3357fc2..fcc805a 100644 --- a/im-uniapp/components/chat-message-item/chat-message-item.vue +++ b/im-uniapp/components/chat-message-item/chat-message-item.vue @@ -6,12 +6,8 @@ - - - - {{showName}} @@ -22,7 +18,7 @@ :nodes="$emo.transform(msgInfo.content)"> - @@ -191,6 +187,9 @@ .chat-msg-tip { line-height: 60rpx; text-align: center; + color: #555; + font-size: 24rpx; + padding: 10rpx; } .chat-msg-normal { @@ -206,8 +205,6 @@ left: 0; } - - .chat-msg-content { text-align: left; @@ -263,8 +260,9 @@ .send-image { min-width: 200rpx; - min-height: 150rpx; - max-width: 500rpx; + min-height: 200rpx; + max-width: 400rpx; + max-height: 400rpx; border: 8rpx solid #ebebf5; cursor: pointer; } diff --git a/im-uniapp/pages/group/group-edit.vue b/im-uniapp/pages/group/group-edit.vue index c09fe21..4658cd0 100644 --- a/im-uniapp/pages/group/group-edit.vue +++ b/im-uniapp/pages/group/group-edit.vue @@ -4,7 +4,7 @@ label-width="100%"> - + @@ -141,9 +141,11 @@ .group-edit { padding: 20rpx; - .head-image { + .group-image { width: 200rpx; height: 200rpx; + border: 1px solid #ccc; + border-radius: 5%; } } \ No newline at end of file diff --git a/im-uniapp/pages/mine/mine.vue b/im-uniapp/pages/mine/mine.vue index 31c6027..3c6b87e 100644 --- a/im-uniapp/pages/mine/mine.vue +++ b/im-uniapp/pages/mine/mine.vue @@ -1,9 +1,9 @@