فهرست منبع

feat(ui): 健康页「推荐阅读」统一为首页 ArticleFeed 左图右文列表

任务: ui-article-feed-unify(补全 health-main 遗漏项)
- pages/health-main/index.vue:ArticleBookshelf -> ArticleFeed,与首页/成长页推荐阅读视觉一致
- 首页/成长页推荐商品 layout=mall 商城模式已于 b608a1bbf 完成
Agnes Agent 1 هفته پیش
والد
کامیت
64b36500db
1فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 3 3
      cfc-frontend/pages/health-main/index.vue

+ 3 - 3
cfc-frontend/pages/health-main/index.vue

@@ -229,7 +229,7 @@
           <text class="section-title">📖 推荐阅读</text>
           <text class="section-more" @click="goMoreArticles">更多 ›</text>
         </view>
-        <ArticleBookshelf :articles="healthArticles" :isLoggedIn="true" @articleClick="goArticleDetail" />
+        <ArticleFeed :articles="healthArticles" @articleClick="goArticleDetail" />
       </view>
     </block>
   </view>
@@ -239,7 +239,7 @@
 import { BrandColors } from '../../utils/brand-colors.js'
 import LoginGuideCard from '../../components/LoginGuideCard.vue'
 import RadarChart from '../../components/RadarChart.vue'
-import ArticleBookshelf from '../../components/ArticleBookshelf.vue'
+import ArticleFeed from '../../components/ArticleFeed.vue'
 import ReportUploadCard from '../../components/report-upload-card.vue'
 import { parseDate } from '../../utils/format.js'
 import fontScaleMixin from '@/mixins/font-scale.js'
@@ -247,7 +247,7 @@ import shareMixin from '../../components/share-mixin.js'
 
 export default {
   mixins: [fontScaleMixin, shareMixin],
-  components: { LoginGuideCard, RadarChart, ArticleBookshelf, ReportUploadCard },
+  components: { LoginGuideCard, RadarChart, ArticleFeed, ReportUploadCard },
   data() {
     return {
       bodyColor: BrandColors.body,