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;