Fix:2528 【商城小程序】消息--历史会话界面,店铺名称过长时会挤压时间显示(店铺名称过长用“...”省略,店铺名只显示一行)
This commit is contained in:
@@ -19,7 +19,7 @@
|
|||||||
<image class="cover flex-0" :src="item.store_avatar || webUrl+'/20221114155314348118.png'"/>
|
<image class="cover flex-0" :src="item.store_avatar || webUrl+'/20221114155314348118.png'"/>
|
||||||
<view>
|
<view>
|
||||||
<view class="flex jc-between ai-center">
|
<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 class="datetime" v-if="item.last_msg">{{ item.last_msg.created_at }}</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="sub one-t" v-if="item.last_msg">{{ item.last_msg.msg_type===0?item.last_msg.msg_content:'[图片]' }}</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;
|
font-size: 22rpx;
|
||||||
line-height: 32rpx;
|
line-height: 32rpx;
|
||||||
color: #999999;
|
color: #999999;
|
||||||
|
width: 240rpx;
|
||||||
|
flex-wrap: nowrap;
|
||||||
|
white-space: nowrap;
|
||||||
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sub {
|
.sub {
|
||||||
|
|||||||
Reference in New Issue
Block a user