Browse Source

章节详情不拼接标题

shanbinzhang 17 hours ago
parent
commit
664fd15f7f

+ 2 - 2
src/views/report/reportDetail.vue

@@ -68,10 +68,10 @@
         </div>
       </div>
 
-      <div id="abstract">
+      <div id="abstract" v-if="reportInfo.Abstract||configInfo.Disclaimer">
         <div class="abstract_cont">
           <div v-if="reportInfo.Abstract">摘要:{{ reportInfo.Abstract }}</div>
-          <div style="color: #666; margintop: 1.2rem">
+          <div style="color: #666; margintop: 1.2rem" v-if="configInfo.Disclaimer">
             *注:请务必阅读&nbsp;<strong
               style="fontweight: normal; cursor: pointer; color: #3e8ce6"
               @click="showTips"

+ 2 - 2
src/views/report/reportDetailPdf.vue

@@ -40,10 +40,10 @@
         <!-- 晨报周报 -->
         <div class="chapter-wrap" v-if="reportInfo.HasChapter===1">
           <div class="chapter-item" v-for="item in reportInfo.ChapterList" :key="item.ReportChapterId">
-            <div style="margin-bottom:10px">
+            <!-- <div style="margin-bottom:10px">
               <span class="type" v-if="item.TypeName">{{item.TypeName}}</span>
               <span class="title">{{item.Title}}</span>
-            </div>
+            </div> -->
             <div id="resetcss" style="overflow:hidden;" v-html="item.Content"></div>
           </div>
         </div>

+ 3 - 3
src/views/smartReport/detail.vue

@@ -65,7 +65,7 @@
 
         <div class="abstract" v-if="reportInfo && !!reportInfo.NeedSplice">
           <div v-if="reportInfo.Abstract">摘要:{{ reportInfo.Abstract }}</div>
-          <div style="color: #666; margintop: 1.2rem">
+          <div style="color: #666; margintop: 1.2rem" v-if="configInfo.Disclaimer">
             *注:请务必阅读&nbsp;<strong
               style="fontweight: normal; cursor: pointer; color: #3e8ce6"
               @click="showTips"
@@ -77,10 +77,10 @@
         <!-- 章节报告 -->
         <div class="chapter-wrap" v-if="reportInfo.HasChapter===1">
           <div class="chapter-item" v-for="item in reportInfo.ChapterList" :key="item.ReportChapterId">
-            <div style="margin-bottom:10px">
+            <!-- <div style="margin-bottom:10px">
               <span class="type" v-if="item.TypeName">{{item.TypeName}}</span>
               <span class="title">{{item.Title}}</span>
-            </div>
+            </div> -->
             <div id="resetcss" style="overflow:hidden;" v-html="item.Content"></div>
           </div>
         </div>

+ 2 - 2
src/views/smartReport/detailPdf.vue

@@ -31,10 +31,10 @@
         <!-- 章节报告 -->
         <div class="chapter-wrap" v-if="reportInfo.HasChapter===1">
           <div class="chapter-item" v-for="item in reportInfo.ChapterList" :key="item.ReportChapterId">
-            <div style="margin-bottom:10px">
+            <!-- <div style="margin-bottom:10px">
               <span class="type" v-if="item.TypeName">{{item.TypeName}}</span>
               <span class="title">{{item.Title}}</span>
-            </div>
+            </div> -->
             <div id="resetcss" style="overflow:hidden;" v-html="item.Content"></div>
           </div>
         </div>