From db3f739a9c1473958b4d9cd8ee0f0818e1fc2ee1 Mon Sep 17 00:00:00 2001 From: Anne_LXM Date: Thu, 25 Apr 2024 19:18:57 +0800 Subject: [PATCH] =?UTF-8?q?app=E7=AB=AF=E8=81=8A=E5=A4=A9=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E6=A0=B7=E5=BC=8F=E5=85=BC=E5=AE=B9/=E5=85=AC?= =?UTF-8?q?=E5=91=8A=E5=AD=97=E4=BD=93=E5=A4=A7=E5=B0=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../uni-im-group-notification.vue | 3 ++- components/uni-im-view-msg/uni-im-view-msg.vue | 16 +++++++++++----- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/components/uni-im-group-notification/uni-im-group-notification.vue b/components/uni-im-group-notification/uni-im-group-notification.vue index fc98457..f97d314 100644 --- a/components/uni-im-group-notification/uni-im-group-notification.vue +++ b/components/uni-im-group-notification/uni-im-group-notification.vue @@ -63,7 +63,6 @@ padding:14px 16px; background-color: #FFFFFF; width: 600rpx; - font-size: 18px; margin-top: 10px; } .group-notification .title-box{ @@ -72,6 +71,7 @@ .group-notification .title-box .title{ padding-left: 5px; color: #888; + font-size: 18px; } .group-notification .content{ color: #555; @@ -79,5 +79,6 @@ /* #ifndef APP-NVUE */ word-break: break-all; /* #endif */ + font-size: 16px; } \ No newline at end of file diff --git a/components/uni-im-view-msg/uni-im-view-msg.vue b/components/uni-im-view-msg/uni-im-view-msg.vue index 5118e08..7b4ec29 100644 --- a/components/uni-im-view-msg/uni-im-view-msg.vue +++ b/components/uni-im-view-msg/uni-im-view-msg.vue @@ -63,14 +63,20 @@ export default { max-width: 100vw !important; max-height: 100vh !important; background-color: rgba(0, 0, 0, .5); - } - .msg-list { - position: fixed; + } + .msg-list { background-color: #fff; - width: 600px; top: 25%; - left: calc(50% - 300px); } + /* #ifdef H5 */ + @media screen and (min-device-width:960px) { + .msg-list { + position: fixed; + width: 600px; + left: calc(50% - 300px); + } + } + /* #endif */ .msg-list .header { flex-direction: row; -- GitLab