Karsa 5 miesięcy temu
rodzic
commit
82f134ae89

+ 3 - 3
src/views/report/ChapterDetail.vue

@@ -309,7 +309,7 @@ onMounted(()=>{
             showPreViewImg.value=true
 	    }
     })
-    getBannerlist()
+    //getBannerlist()
 })
 
 onBeforeRouteUpdate((to,from)=>{
@@ -451,13 +451,13 @@ const posterParams=computed(()=>{
     <div class="report-chapter-detail-page" v-if="info">
         <div class="hasrightaside-box">
             <div class="content-box">
-                <template v-if="bannerDataList.length > 0">
+                <!-- <template v-if="bannerDataList.length > 0">
                     <el-carousel height="90px" style="margin-bottom:20px;" :interval="4000" :indicator-position="bannerDataList.length==0?'none':''" :arrow="bannerDataList.length==0?'never':''">
                         <el-carousel-item @click="bannerClickHandler(item)" v-for="item in bannerDataList" :key="item.id">
                             <img style="width:100%;height:100%;cursor:pointer;" :src="item.image_url_pc" alt="">
                         </el-carousel-item>
                     </el-carousel>
-                </template>
+                </template> -->
                 <div class="report-box">
                     <div :style="{backgroundColor:info.report_chapter_item.canvas_color||''}">
                         <!-- 无版头板尾显示标题 -->

+ 3 - 3
src/views/report/Detail.vue

@@ -258,7 +258,7 @@ onMounted(()=>{
             showPreViewImg.value=true
 	    }
     })
-    getBannerlist()
+    // getBannerlist()
 })
 
 onBeforeRouteUpdate((to,from)=>{
@@ -604,13 +604,13 @@ const closeShowAttentionPop=()=>{
                 
                 <!-- 报告详情 -->
                 <div class="report-box" v-else>
-                    <template v-if="bannerDataList.length > 0">
+                    <!-- <template v-if="bannerDataList.length > 0">
                         <el-carousel height="90px" style="margin-bottom:20px;" :interval="4000" :indicator-position="bannerDataList.length==0?'none':''" :arrow="bannerDataList.length==0?'never':''">
                             <el-carousel-item @click="bannerClickHandler(item)" v-for="item in bannerDataList" :key="item.id">
                                 <img style="width:100%;height:100%;cursor:pointer;" :src="item.image_url_pc" alt="">
                             </el-carousel-item>
                         </el-carousel>
-                    </template>
+                    </template> -->
                     
                     <div :style="{backgroundColor:info.report_info.canvas_color||''}">
                         <!-- 无版头板尾显示标题 -->