mirror of
https://github.com/ialley-workshop-open/uni-halo.git
synced 2026-06-12 21:29:31 +08:00
fix: 修复文章搜索内容不显示问题
This commit is contained in:
@@ -29,11 +29,10 @@
|
|||||||
<tm-translate v-for="(article, index) in dataList" :key="article.name" animation-name="fadeUp"
|
<tm-translate v-for="(article, index) in dataList" :key="article.name" animation-name="fadeUp"
|
||||||
:wait="calcAniWait(index)">
|
:wait="calcAniWait(index)">
|
||||||
<view class="article-card" @click="fnToArticleDetail(article)">
|
<view class="article-card" @click="fnToArticleDetail(article)">
|
||||||
<text style="font-size: 32rpx;font-weight: bold;color: #333;"
|
<rich-text style="font-size: 32rpx;font-weight: bold;color: #333;"
|
||||||
v-html="article.title">{{article.title}}</text>
|
:nodes="article.title"> </rich-text>
|
||||||
<text style="font-size: 28rpx;margin-top: 16rpx;color: #555;"
|
<rich-text style="font-size: 28rpx;margin-top: 16rpx;color: #555;"
|
||||||
v-html="article.content">{{article.content}}
|
:nodes="article.content"> </rich-text>
|
||||||
</text>
|
|
||||||
<text style="font-size: 24rpx;margin-top: 24rpx;color:#888">
|
<text style="font-size: 24rpx;margin-top: 24rpx;color:#888">
|
||||||
发布日期:{{ { d: article.publishTimestamp, f: 'yyyy年MM月dd日' } | formatTime }}
|
发布日期:{{ { d: article.publishTimestamp, f: 'yyyy年MM月dd日' } | formatTime }}
|
||||||
</text>
|
</text>
|
||||||
|
|||||||
Reference in New Issue
Block a user