|
@@ -182,7 +182,7 @@ import 'moment/dist/locale/zh-cn'
|
|
|
moment.locale('zh-cn')
|
|
|
import {addTokenToIframe} from '../utils/common'
|
|
|
|
|
|
-import {apiReportDetail,apiRddpShareImg,apiReportPPtImgs,apiPublicBannerMark} from '@/api/hzyb/report'
|
|
|
+import {apiReportDetail,apiRddpShareImg,apiReportPPtImgs,apiPublicBannerMark,apiPublicBannerList} from '@/api/hzyb/report'
|
|
|
import {apiApplyPermission,apiUserInfo,apiSetCollect,apiCancelCollect} from '@/api/hzyb/user'
|
|
|
import {Popup,Image as VanImage,PullRefresh,Dialog, Toast,Swipe, SwipeItem} from 'vant'
|
|
|
import AudioBox from './components/AudioBox.vue'
|
|
@@ -270,6 +270,7 @@ export default {
|
|
|
this.getDetail()
|
|
|
this.getUserInfo()
|
|
|
this.getBannerList()
|
|
|
+ console.log(11111111);
|
|
|
},
|
|
|
mounted(){
|
|
|
$(document).on('click', '.rich-content img',function(event) {
|
|
@@ -292,8 +293,9 @@ export default {
|
|
|
methods: {
|
|
|
// banner 获取列表
|
|
|
async getBannerList(){
|
|
|
- const res = await apiPublicBannerList()
|
|
|
- if(res.code ==200){
|
|
|
+ console.log(112233333);
|
|
|
+ const res = await apiPublicBannerList()
|
|
|
+ if(res.code ===200){
|
|
|
this.bannerDataList = res.data
|
|
|
}
|
|
|
},
|