处理问题
This commit is contained in:
parent
79307a0495
commit
9d096d69ae
@ -13,7 +13,7 @@ module.exports = {
|
|||||||
proxyTable: {},
|
proxyTable: {},
|
||||||
|
|
||||||
// Various Dev Server settings
|
// Various Dev Server settings
|
||||||
host: '192.168.5.59', // can be overwritten by process.env.HOST
|
host: '127.0.0.1', // can be overwritten by process.env.HOST
|
||||||
port: 8081, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
|
port: 8081, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
|
||||||
autoOpenBrowser: false,
|
autoOpenBrowser: false,
|
||||||
errorOverlay: true,
|
errorOverlay: true,
|
||||||
|
@ -34,8 +34,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="banner">
|
<div class="banner">
|
||||||
<swiper ref="mySwiper" :options="swiperOptions">
|
<swiper ref="mySwiper" :options="swiperOptions">
|
||||||
<swiper-slide v-for="(banner,idx) in bannerList" :key="idx">
|
<swiper-slide v-for="(banner,idx) in bannerList" :key="idx" style="cursor: pointer;">
|
||||||
<div class="banner-box">
|
<div class="banner-box" @click="goDetail(banner.newsContentLink, banner.templateRecordUrl, banner.newsContentType, banner.newsContentContent)">
|
||||||
<img :src="requestUrl + '/news/route/file/downloadfile/true/' + banner.newsContentCoverList" alt="">
|
<img :src="requestUrl + '/news/route/file/downloadfile/true/' + banner.newsContentCoverList" alt="">
|
||||||
</div>
|
</div>
|
||||||
</swiper-slide>
|
</swiper-slide>
|
||||||
@ -119,6 +119,13 @@ export default {
|
|||||||
self.bannerList = res.data.rows
|
self.bannerList = res.data.rows
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
goDetail: function (link, url, type, outlink) {
|
||||||
|
if (type === '6') {
|
||||||
|
window.open(outlink)
|
||||||
|
} else {
|
||||||
|
window.location.href = this.requestUrl + '/' +url
|
||||||
|
}
|
||||||
|
},
|
||||||
// 获取版块介绍
|
// 获取版块介绍
|
||||||
getHonorIntro: function () {
|
getHonorIntro: function () {
|
||||||
var self = this
|
var self = this
|
||||||
@ -311,7 +318,7 @@ export default {
|
|||||||
left 0
|
left 0
|
||||||
right 0
|
right 0
|
||||||
bottom 0
|
bottom 0
|
||||||
z-index -1
|
z-index 2
|
||||||
.swiper-container
|
.swiper-container
|
||||||
height 100% !important
|
height 100% !important
|
||||||
.banner-box
|
.banner-box
|
||||||
|
Loading…
Reference in New Issue
Block a user