|
@@ -6,7 +6,7 @@ import 'moment/dist/locale/zh-cn'
|
|
|
import AudioBox from './components/AudioBox.vue'
|
|
|
import SharePoster from '@/components/SharePoster.vue'
|
|
|
import Comment from '@/components/Comment.vue'
|
|
|
-import {apiReportDetail,apiReportMoreRecmd,apiReportDetailBanner,apiRddpShareImg,apiReportPPtImgs,apiReportChapterAudioSet} from '@/api/report'
|
|
|
+import {apiReportDetail,apiReportMoreRecmd,apiReportDetailBanner,apiRddpShareImg,apiReportPPtImgs,apiReportChapterAudioSet,apiPublicBannerMark} from '@/api/report'
|
|
|
import {apiGetWechatQRCode} from '@/api/common'
|
|
|
import {apiApplyPermission} from '@/api/user'
|
|
|
import preLoadImg from '@/utils/preLoadImg.js'
|
|
@@ -423,6 +423,24 @@ const handleAudioSet=(item)=>{
|
|
|
}
|
|
|
})
|
|
|
}
|
|
|
+
|
|
|
+/* 点击了banner */
|
|
|
+const bannerClickHandler = async () => {
|
|
|
+ let source = sessionStorage.getItem('platformSource')
|
|
|
+ const res = await apiPublicBannerMark({
|
|
|
+ banner_url: "https://hzchart.oss-cn-shanghai.aliyuncs.com/yb_xcx/pc_01.png",
|
|
|
+ first_source: source == 'xcx' ? 2 : 3, //一级来源 1小程序移动 2小程序pc 3研报官网
|
|
|
+ second_source: 2 //二级来源 1首页 2研报详情页
|
|
|
+ })
|
|
|
+ if(res.code ==200){
|
|
|
+ router.push({
|
|
|
+ path:'/report/disseminatePage',
|
|
|
+ })
|
|
|
+ }
|
|
|
+ // 详情页面
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
// 显示引导
|
|
|
let showAttention=ref(localStorage.getItem('showAttention')?false:true)
|
|
|
const audioPlayListPop=ref(null)
|
|
@@ -533,6 +551,11 @@ const closeShowAttentionPop=()=>{
|
|
|
</div>
|
|
|
<!-- 报告详情 -->
|
|
|
<div class="report-box" v-else>
|
|
|
+ <el-carousel height="66px" style="margin-bottom:20px;" indicator-position="none">
|
|
|
+ <el-carousel-item @click="bannerClickHandler">
|
|
|
+ <img style="width:100%;height:66px;cursor:pointer;" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/yb_xcx/banner.png" alt="">
|
|
|
+ </el-carousel-item>
|
|
|
+ </el-carousel>
|
|
|
<div class="title">{{formatTitle(info.report_info)}}</div>
|
|
|
<div class="time">
|
|
|
<span>FICC团队</span>
|