修改消息中心的 消息数量和图片显示
This commit is contained in:
parent
f3611db63b
commit
3626999766
@ -57,9 +57,10 @@
|
|||||||
{{item.sendTime}}
|
{{item.sendTime}}
|
||||||
</view>
|
</view>
|
||||||
<view class="text">
|
<view class="text">
|
||||||
{{item.content}}
|
{{Number(item.messageType==1)?item.content?item.content:'':'[图片]'}}
|
||||||
</view>
|
</view>
|
||||||
<view class="nostatus" v-if="item.unreadCount>0">
|
<view class="nostatus" v-if="item.unreadCount>0">
|
||||||
|
{{item.unreadCount}}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -162,13 +163,16 @@
|
|||||||
border-bottom: 2rpx solid #E6E6E6;
|
border-bottom: 2rpx solid #E6E6E6;
|
||||||
|
|
||||||
.nostatus {
|
.nostatus {
|
||||||
width: 15rpx;
|
width: 30rpx;
|
||||||
height: 15rpx;
|
height: 30rpx;
|
||||||
background: #F10100;
|
background: #F10100;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 20rpx;
|
right: 20rpx;
|
||||||
bottom: 25%;
|
bottom: 28%;
|
||||||
|
line-height: 15px;
|
||||||
|
text-align: center;
|
||||||
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
.time {
|
.time {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user