Fix:2528 【商城小程序】消息--历史会话界面,店铺名称过长时会挤压时间显示(店铺名称过长用“...”省略,店铺名只显示一行)

This commit is contained in:
linxi
2024-10-25 11:10:43 +08:00
parent 1eac768b76
commit a7aedcc873
+5 -1
View File
@@ -19,7 +19,7 @@
<image class="cover flex-0" :src="item.store_avatar || webUrl+'/20221114155314348118.png'"/>
<view>
<view class="flex jc-between ai-center">
<view class="name">{{ item.store_name }}</view>
<view class="name more-t">{{ item.store_name }}</view>
<view class="datetime" v-if="item.last_msg">{{ item.last_msg.created_at }}</view>
</view>
<view class="sub one-t" v-if="item.last_msg">{{ item.last_msg.msg_type===0?item.last_msg.msg_content:'[图片]' }}</view>
@@ -127,6 +127,10 @@ export default {
font-size: 22rpx;
line-height: 32rpx;
color: #999999;
width: 240rpx;
flex-wrap: nowrap;
white-space: nowrap;
text-align: center;
}
.sub {