消息日志ui
parent
0313c372d0
commit
51e739964b
|
|
@ -79,8 +79,9 @@
|
||||||
<!-- 右侧时间+角标列 -->
|
<!-- 右侧时间+角标列 -->
|
||||||
<view class="item-right">
|
<view class="item-right">
|
||||||
<view class="item-time">
|
<view class="item-time">
|
||||||
<uni-dateformat :date="item.createTime" :format="isTodayDate(item.createTime)?'hh:mm':'yyyy-MM-dd hh:mm:ss'"
|
<uni-dateformat v-if="item.createTime" :date="item.createTime" :format="isTodayDate(item.createTime)?'hh:mm':'yyyy-MM-dd hh:mm:ss'"
|
||||||
:threshold="[60000, 3600000]"></uni-dateformat>
|
:threshold="[60000, 3600000]"></uni-dateformat>
|
||||||
|
<view v-else>--</view>
|
||||||
</view>
|
</view>
|
||||||
<view v-if="item.numBadge>0 && !item.badge">
|
<view v-if="item.numBadge>0 && !item.badge">
|
||||||
<uni-badge :text="item.numBadge" type="error" size="mini" />
|
<uni-badge :text="item.numBadge" type="error" size="mini" />
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue