优化详情页面

This commit is contained in:
TOP糯米 2023-04-02 17:20:29 +08:00
parent b1fafc5074
commit e2b4812ed0
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
<div class="message-container">
<view v-if="info.title.length > 0" class="head">
<text class="title limit-line clamp-1">{{ info.title }}</text>
<text class="date">{{ info.date }}</text>
<text v-if="info.date.length > 0" class="date">{{ info.date }}</text>
</view>
<view class="body" :class="{ mt40: info.title.length > 0 }">
<rich-text :nodes="info.content"></rich-text>