Pārlūkot izejas kodu

修改了ficcbanne

bding 1 mēnesi atpakaļ
vecāks
revīzija
8382e53b8b
1 mainītis faili ar 11 papildinājumiem un 5 dzēšanām
  1. 11 5
      src/views/hzyb/report/ChapterDetail.vue

+ 11 - 5
src/views/hzyb/report/ChapterDetail.vue

@@ -1,12 +1,12 @@
 <template>
 <template>
 <van-pull-refresh v-model="loading" disabled style="min-height:100vh">
 <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 class="my-swipe" :autoplay="4000" :show-indicators="false">
             <van-swipe-item v-for="item in bannerDataList" :key="item.id" @click="bannerSwiperHandler(item)">
             <van-swipe-item v-for="item in bannerDataList" :key="item.id" @click="bannerSwiperHandler(item)">
                 <img :src="item.image_url_mobile" />
                 <img :src="item.image_url_mobile" />
             </van-swipe-item>
             </van-swipe-item>
         </van-swipe>
         </van-swipe>
-  </div> -->
+  </div>
   <div class="chapter-detail-page" v-if="info" :style="{paddingBottom:$store.state.hzyb.audioData.url&&'80px'}">
   <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="['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> -->
       <!-- <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> -->
@@ -262,7 +262,13 @@ export default {
       collectIcons,
       collectIcons,
 
 
       isReportPublishCancel:false,//报告取消发布
       isReportPublishCancel:false,//报告取消发布
-      bannerDataList:[],
+      bannerDataList:[
+        {
+        id:10005,
+        image_url_mobile:'https://hzstatic.hzinsights.com/banner/yb_research/ai_detail.png',
+        reportId:13313
+        }
+      ],
 
 
       headImgStyle:null,//版头style
       headImgStyle:null,//版头style
       endImgStyle:null,//版尾style
       endImgStyle:null,//版尾style
@@ -325,11 +331,11 @@ export default {
          const res = await apiPublicBannerMark({
          const res = await apiPublicBannerMark({
              first_source: 1, //一级来源 1小程序移动 2小程序pc 3研报官网
              first_source: 1, //一级来源 1小程序移动 2小程序pc 3研报官网
              second_source: 2, //二级来源 1首页 2研报详情页
              second_source: 2, //二级来源 1首页 2研报详情页
-             id:item.id
+             id:item.id,
          })
          })
          if(res.code===200){
          if(res.code===200){
            wx.miniProgram.navigateTo({
            wx.miniProgram.navigateTo({
-             url:"/pages-report/disseminatePage/disseminatePage?imgHb="+item.jump_url_mobile+'&title='+item.remark
+             url:"/pages-report/reportDetail?reportId=" + item.reportId
            })
            })
          }
          }
     },
     },