修改消息中心的 消息数量和图片显示

This commit is contained in:
闫晓茹 2023-11-14 14:36:15 +08:00
parent f3611db63b
commit 3626999766

View File

@ -57,9 +57,10 @@
{{item.sendTime}}
</view>
<view class="text">
{{item.content}}
{{Number(item.messageType==1)?item.content?item.content:'':'[图片]'}}
</view>
<view class="nostatus" v-if="item.unreadCount>0">
{{item.unreadCount}}
</view>
</view>
</view>
@ -162,13 +163,16 @@
border-bottom: 2rpx solid #E6E6E6;
.nostatus {
width: 15rpx;
height: 15rpx;
width: 30rpx;
height: 30rpx;
background: #F10100;
border-radius: 50%;
position: absolute;
right: 20rpx;
bottom: 25%;
bottom: 28%;
line-height: 15px;
text-align: center;
color: white;
}
.time {