|
@@ -96,8 +96,8 @@
|
|
|
<div v-if="info.road_video_id">点击<span style="color: #e3b377;" @click="goVideoPage">查看视频</span></div>
|
|
|
<div class="abstract" v-if="info.report_info.abstract">摘要:{{info.report_info.abstract}}</div>
|
|
|
<div>
|
|
|
- <span>注:请务必阅读</span>
|
|
|
- <span style="color:#E3B377;margin-left:20px" @click="showDisclaimers=true">免责声明</span>
|
|
|
+ <span v-if="disclaimer">注:请务必阅读</span>
|
|
|
+ <span v-if="disclaimer" style="color:#E3B377;margin-left:20px" @click="showDisclaimers=true">免责声明</span>
|
|
|
<span
|
|
|
v-if="info.report_info.video_url&&info.report_info.video_play_seconds>0"
|
|
|
style="float:right;background:#E3B377;color:#fff;border-radius:30px;padding:0 10px;font-size:0.9em" @click="handlePlayAudioBG"
|
|
@@ -220,6 +220,7 @@ import moment from 'moment'
|
|
|
import 'moment/dist/locale/zh-cn'
|
|
|
moment.locale('zh-cn')
|
|
|
import {addTokenToIframe} from '../utils/common'
|
|
|
+import { apiBaseConfig } from '@/api/hzyb/common'
|
|
|
|
|
|
import {apiReportDetail,apiRddpShareImg,apiReportPPtImgs,apiPublicBannerMark,apiPublicBannerList} from '@/api/hzyb/report'
|
|
|
import {apiApplyPermission,apiUserInfo,apiSetCollect,apiCancelCollect} from '@/api/hzyb/user'
|
|
@@ -302,7 +303,8 @@ export default {
|
|
|
研报标题:'',
|
|
|
研报作者:'',
|
|
|
创建时间:''
|
|
|
- }
|
|
|
+ },
|
|
|
+ disclaimer:''//免责声明
|
|
|
}
|
|
|
},
|
|
|
beforeCreate(){
|
|
@@ -316,6 +318,7 @@ export default {
|
|
|
this.fromPage = this.$route.query.fromPage || ''
|
|
|
this.getDetail()
|
|
|
this.getUserInfo()
|
|
|
+ this.getConfig()
|
|
|
// this.getBannerList()
|
|
|
},
|
|
|
mounted(){
|
|
@@ -345,6 +348,14 @@ export default {
|
|
|
this.bannerDataList = res.data
|
|
|
}
|
|
|
},
|
|
|
+
|
|
|
+ getConfig() {
|
|
|
+ apiBaseConfig().then(res => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ this.disclaimer = res.data.disclaimer
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
// banner 点击事件
|
|
|
async bannerSwiperHandler(item){
|
|
|
const res = await apiPublicBannerMark({
|