1
0
mirror of https://github.com/ialley-workshop-open/uni-halo.git synced 2026-06-11 04:39:35 +08:00

fix: 修复文章搜索内容不显示问题

This commit is contained in:
小莫唐尼
2024-05-25 15:40:38 +08:00
parent 2154daea57
commit 595c2d7cb7
+4 -5
View File
@@ -29,11 +29,10 @@
<tm-translate v-for="(article, index) in dataList" :key="article.name" animation-name="fadeUp"
:wait="calcAniWait(index)">
<view class="article-card" @click="fnToArticleDetail(article)">
<text style="font-size: 32rpx;font-weight: bold;color: #333;"
v-html="article.title">{{article.title}}</text>
<text style="font-size: 28rpx;margin-top: 16rpx;color: #555;"
v-html="article.content">{{article.content}}
</text>
<rich-text style="font-size: 32rpx;font-weight: bold;color: #333;"
:nodes="article.title"> </rich-text>
<rich-text style="font-size: 28rpx;margin-top: 16rpx;color: #555;"
:nodes="article.content"> </rich-text>
<text style="font-size: 24rpx;margin-top: 24rpx;color:#888">
发布日期{{ { d: article.publishTimestamp, f: 'yyyy年MM月dd日' } | formatTime }}
</text>