优化详情页面
This commit is contained in:
parent
b1fafc5074
commit
e2b4812ed0
|
@ -3,7 +3,7 @@
|
||||||
<div class="message-container">
|
<div class="message-container">
|
||||||
<view v-if="info.title.length > 0" class="head">
|
<view v-if="info.title.length > 0" class="head">
|
||||||
<text class="title limit-line clamp-1">{{ info.title }}</text>
|
<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>
|
||||||
<view class="body" :class="{ mt40: info.title.length > 0 }">
|
<view class="body" :class="{ mt40: info.title.length > 0 }">
|
||||||
<rich-text :nodes="info.content"></rich-text>
|
<rich-text :nodes="info.content"></rich-text>
|
||||||
|
|
Loading…
Reference in New Issue