瀏覽代碼

详情banner拿掉

Karsa 11 月之前
父節點
當前提交
eff6b558de
共有 2 個文件被更改,包括 6 次插入7 次删除
  1. 3 3
      src/views/hzyb/report/ChapterDetail.vue
  2. 3 4
      src/views/hzyb/report/Detail.vue

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

@@ -1,12 +1,12 @@
 <template>
 <van-pull-refresh v-model="loading" disabled style="min-height:100vh">
-  <div class="content-swipe" v-if="bannerDataList.length > 0">
+  <!-- <div class="content-swipe" v-if="bannerDataList.length > 0">
         <van-swipe class="my-swipe" :autoplay="4000" :show-indicators="false">
             <van-swipe-item v-for="item in bannerDataList" :key="item.id" @click="bannerSwiperHandler(item)">
                 <img :src="item.image_url_mobile" />
             </van-swipe-item>
         </van-swipe>
-  </div>
+  </div> -->
   <div class="chapter-detail-page" v-if="info" :style="{paddingBottom:$store.state.hzyb.audioData.url&&'80px'}">
     <div :class="['main-box',!info.auth_ok&&'main-box-noauth']">
       <!-- <div class="title">【第{{info.report_chapter_item.stage}}期 | {{info.report_chapter_item.classify_name_first}}  | {{info.report_chapter_item.type_name}}】{{info.report_chapter_item.title}}</div> -->
@@ -285,7 +285,7 @@ export default {
     this.chapterId=this.$route.query.chapterId
     this.fromPage=this.$route.query.fromPage||''
     this.getDetail()
-    this.getBannerList()
+    // this.getBannerList()
   },
   mounted(){
         $(document).on('click', '.rich-content img',function(event) {

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

@@ -1,12 +1,12 @@
 <template>
 <van-pull-refresh v-model="loading" disabled style="min-height:100vh">
-    <div class="content-swipe" v-if="bannerDataList.length > 0">
+    <!-- <div class="content-swipe" v-if="bannerDataList.length > 0">
         <van-swipe class="my-swipe" :autoplay="4000" :show-indicators="false">
             <van-swipe-item v-for="item in bannerDataList" :key="item.id" @click="bannerSwiperHandler(item)">
                 <img :src="item.image_url_mobile" />
             </van-swipe-item>
         </van-swipe>
-    </div>
+    </div> -->
     <div class="report-detail-page" @click="closeAttention" v-if="info" :style="{paddingBottom:$store.state.hzyb.audioData.url&&'80px'}">
         <!-- 晨报、周报章节 -->
         <div class="chapter-list-wrap" v-if="info.report_info.has_chapter">
@@ -304,8 +304,7 @@ export default {
         this.fromPage = this.$route.query.fromPage || ''
         this.getDetail()
         this.getUserInfo()
-        this.getBannerList()
-        console.log(11111111);
+        // this.getBannerList()
     },
     mounted(){
         $(document).on('click', '.rich-content img',function(event) {