From b7d447a4204adf629aee3545dcddca051145c1a2 Mon Sep 17 00:00:00 2001 From: libaogang <237412637@qq.com> Date: Sun, 17 Nov 2024 20:44:10 +0800 Subject: [PATCH] =?UTF-8?q?uniapp=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- im-uniapp/App.vue | 31 +++- .../components/chat-at-box/chat-at-box.vue | 24 +-- .../chat-group-readed/chat-group-readed.vue | 5 +- im-uniapp/components/chat-item/chat-item.vue | 57 ++++--- .../chat-message-item/chat-message-item.vue | 79 +++++----- .../components/chat-record/chat-record.vue | 32 ++-- .../components/friend-item/friend-item.vue | 21 ++- .../components/group-item/group-item.vue | 23 +-- .../components/head-image/head-image.vue | 37 +++-- im-uniapp/components/nav-bar/nav-bar.vue | 118 +++++++++++++++ im-uniapp/components/pop-menu/pop-menu.vue | 32 ++-- im-uniapp/im-var.scss | 60 ++++++++ im-uniapp/im.scss | 141 +++++++++++++++++ im-uniapp/pages.json | 7 +- im-uniapp/pages/chat/chat-box.vue | 61 ++++---- im-uniapp/pages/chat/chat.vue | 31 +--- im-uniapp/pages/common/user-info.vue | 143 ++++++++++-------- im-uniapp/pages/friend/friend-add.vue | 14 +- im-uniapp/pages/friend/friend.vue | 45 +++--- im-uniapp/pages/group/group-edit.vue | 60 ++++---- im-uniapp/pages/group/group-info.vue | 65 ++++---- im-uniapp/pages/group/group-invite.vue | 33 ++-- im-uniapp/pages/group/group-member.vue | 25 ++- im-uniapp/pages/group/group.vue | 22 +-- im-uniapp/pages/login/login.vue | 13 +- im-uniapp/pages/mine/mine-edit.vue | 58 +++---- im-uniapp/pages/mine/mine-password.vue | 32 ++-- im-uniapp/pages/mine/mine.vue | 112 ++++++++------ im-uniapp/pages/register/register.vue | 11 +- im-uniapp/uni.scss | 46 ++++++ 30 files changed, 922 insertions(+), 516 deletions(-) create mode 100644 im-uniapp/components/nav-bar/nav-bar.vue create mode 100644 im-uniapp/im-var.scss create mode 100644 im-uniapp/im.scss diff --git a/im-uniapp/App.vue b/im-uniapp/App.vue index e2c7c3a..b594875 100644 --- a/im-uniapp/App.vue +++ b/im-uniapp/App.vue @@ -383,6 +383,7 @@ \ No newline at end of file diff --git a/im-uniapp/components/chat-at-box/chat-at-box.vue b/im-uniapp/components/chat-at-box/chat-at-box.vue index d9627dd..0273268 100644 --- a/im-uniapp/components/chat-at-box/chat-at-box.vue +++ b/im-uniapp/components/chat-at-box/chat-at-box.vue @@ -10,7 +10,7 @@ - + @@ -21,13 +21,13 @@ - + + size="small"> {{ m.showNickName}} - - - + + + @@ -112,7 +112,7 @@ flex-direction: column; background-color: white; padding: 10rpx; - border-radius: 15rpx; + //border-radius: 15rpx; .chat-at-top { display: flex; @@ -148,19 +148,23 @@ overflow: hidden; .member-item { - height: 120rpx; + height: 110rpx; display: flex; position: relative; padding: 0 30rpx; align-items: center; background-color: white; white-space: nowrap; + margin-bottom: 1px; + + &.checked { + background-color: $im-color-primary-light-9; + } .member-name { flex: 1; padding-left: 20rpx; - font-size: 30rpx; - font-weight: 600; + font-size: $im-font-size; line-height: 60rpx; white-space: nowrap; overflow: hidden; diff --git a/im-uniapp/components/chat-group-readed/chat-group-readed.vue b/im-uniapp/components/chat-group-readed/chat-group-readed.vue index 5a8de75..3359d70 100644 --- a/im-uniapp/components/chat-group-readed/chat-group-readed.vue +++ b/im-uniapp/components/chat-group-readed/chat-group-readed.vue @@ -2,7 +2,7 @@ - + @@ -100,7 +100,8 @@ flex-direction: column; background-color: white; padding: 10rpx; - border-radius: 15rpx; + + //border-radius: 15rpx; .scroll-bar { height: 800rpx; } diff --git a/im-uniapp/components/chat-item/chat-item.vue b/im-uniapp/components/chat-item/chat-item.vue index 7dcf1c1..dfa6265 100644 --- a/im-uniapp/components/chat-item/chat-item.vue +++ b/im-uniapp/components/chat-item/chat-item.vue @@ -3,13 +3,13 @@ - + {{chat.showName}} - + {{$date.toTimeText(chat.lastSendTime,true)}} @@ -17,7 +17,7 @@ {{atText}} {{chat.sendNickName+': '}} - + @@ -76,28 +76,29 @@ \ No newline at end of file diff --git a/im-uniapp/components/friend-item/friend-item.vue b/im-uniapp/components/friend-item/friend-item.vue index 5a475f5..726fe46 100644 --- a/im-uniapp/components/friend-item/friend-item.vue +++ b/im-uniapp/components/friend-item/friend-item.vue @@ -1,7 +1,6 @@