瀏覽代碼

标红处理

bding 1 年之前
父節點
當前提交
3e6f3b2058
共有 1 個文件被更改,包括 5 次插入2 次删除
  1. 5 2
      pages-search/components/synthetical.vue

+ 5 - 2
pages-search/components/synthetical.vue

@@ -15,7 +15,7 @@
               <ActivityItem :list="item.Activity" />
             </block>
             <block v-if="item.Source === 'industrialsource'">
-              <Industrialsource :list="item.IndustrialResource"/>
+              <Industrialsource :list="item.IndustrialResource" />
             </block>
             <block v-if="['researchsummary', 'minutessummary', 'meetingreviewchapt', 'productinterior'].includes(item.Source)">
               <item-content :list="dataListItem(item)" @showMorningDialog="showMorningDialog" />
@@ -31,7 +31,7 @@
               <ChartItem :list="item.Newchart" :isMyChartCollection="isMyChartCollection" @myChartIsTop="myChartIsTop" @myChartCollect="myChartCollect" />
             </block>
             <block v-if="item.Source === 'industrialsource'">
-              <Industrialsource :list="item.IndustrialResource"/>
+              <Industrialsource :list="item.IndustrialResource" />
             </block>
             <block v-if="item.Source === 'roadshow' || item.Source === 'activityvideo' || item.Source === 'activityvoice'">
               <RoadshowItem :list="item.Roadshow" @isCollectionHandeler="isCollectionHandeler" />
@@ -117,6 +117,9 @@ export default {
               ThreeSummary: item.Researchsummary || item.Minutessummary || item.Meetingreviewchapt || item.ProductInterior,
               IndustrialResource: item.IndustrialResource,
             };
+            if (obj.Article && obj.Article.BodyHighlight) {
+              obj.Article.Body = obj.Article.BodyHighlight;
+            }
             listArr.push({ ...obj, IsShowData: obj.Article || obj.Newchart || obj.Roadshow || obj.Activity || obj.ThreeSummary || obj.IndustrialResource });
           });
         this.newDataList = this.pageNumSynthetical === 1 ? listArr : [...this.newDataList, ...listArr];