From dfc45aceb476862eb0842c02c22b9bfb52abd8cb Mon Sep 17 00:00:00 2001 From: lifizer <913626195@qq.com> Date: Tue, 15 Jul 2025 14:10:39 +0800 Subject: [PATCH] =?UTF-8?q?Fix(=E4=BC=9A=E8=AF=9D):[#3914]=E6=B6=88?= =?UTF-8?q?=E6=81=AF=E5=86=85=E5=AE=B9=E6=98=BE=E7=A4=BA=E9=94=99=E4=B9=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg_common/views/roomLogs.vue | 29 ++++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/pkg_common/views/roomLogs.vue b/pkg_common/views/roomLogs.vue index c1667f0..962cbd0 100644 --- a/pkg_common/views/roomLogs.vue +++ b/pkg_common/views/roomLogs.vue @@ -28,11 +28,14 @@ @click.stop="removeRoom(item.room_id)" > - - - + + + - + {{ item.store_name }} 官方 商家 @@ -40,8 +43,8 @@ {{ item.last_msg.created_at }} - {{ item.last_msg.msg_type===0?item.last_msg.msg_content:'[图片]' }} - {{ item.unread_num < 99 ? item.unread_num : '99+' }} + {{ item.last_msg.msg_type=== 0 ? item.last_msg.msg_content : '[图片]' }} + {{ item.unread_num < 99 ? item.unread_num : '99+' }} @@ -197,6 +200,13 @@ export default { .item { border-radius: 8rpx; background: #FFFFFF; + .item-cont { + display: flex; + .cont { + flex: 1; + width: calc(100% - 140rpx); + } + } .cover { width: 120rpx; @@ -205,6 +215,9 @@ export default { border-radius: 20rpx; } + .name-wrap { + width: calc(100% - 240rpx); + } .name { font-size: 26rpx; font-weight: bold; @@ -216,14 +229,12 @@ export default { font-size: 22rpx; line-height: 32rpx; color: #999999; - width: 240rpx; flex-wrap: nowrap; white-space: nowrap; - text-align: center; } .sub { - width: 548rpx; + width: 100%; margin-top: 12rpx; font-size: 24rpx; line-height: 34rpx;