修改消息中心的 消息数量和图片显示
This commit is contained in:
parent
f3611db63b
commit
3626999766
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user