Commit db84ee37 authored by zhangyanni's avatar zhangyanni

会员图片

parent 0c4e9a10
......@@ -149,7 +149,7 @@ router.beforeEach((to, from, next) => {
}
}
if(window.sessionStorage.getItem("userInfo") ==null){
if(to.name == 'dashboard'||to.name=='indexView'|| to.name == 'login' || to.name == 'mobileLoginCmpt'|| to.name == 'emailLoginCmpt'|| to.name == 'mobileRegisterCmpt'|| to.name == 'emailRegisterCmpt'||to.name=='completeInfoCmpt'|| to.name == 'successCmpt'||to.name=='findPasswordCmpt'||to.name=='modifyPasswordCmpt'||to.name=='passSuccessCmpt'||to.name=='indexView'||to.name=="mobileIndex"||to.name=="mobileLogin"||to.name=="loginByPhone"||to.name=="loginByEmail"||to.name=="mobileRegister"||to.name=="registerComplete"||to.name=="shareRequire"||to.name=="shareProject"||to.name=="knowledgeList"||to.name=="knowledgeDetail"){
if(to.name == 'dashboard'||to.name=='indexView'|| to.name == 'login' || to.name == 'mobileLoginCmpt'|| to.name == 'emailLoginCmpt'|| to.name == 'mobileRegisterCmpt'|| to.name == 'emailRegisterCmpt'||to.name=='completeInfoCmpt'|| to.name == 'successCmpt'||to.name=='findPasswordCmpt'||to.name=='modifyPasswordCmpt'||to.name=='passSuccessCmpt'||to.name=='indexView'||to.name=="mobileIndex"||to.name=="mobileLogin"||to.name=="loginByPhone"||to.name=="loginByEmail"||to.name=="mobileRegister"||to.name=="registerComplete"||to.name=="shareRequire"||to.name=="shareProject"||to.name=="knowledgeList"||to.name=="knowledgeDetail"||to.name=='vip'||to.name=='vipList'){
} else{
if(to.path == '/knowledge'||to.path == '/knowledgedetails'||to.path == '/termserviceed'||to.path == '/privacypolicyed'||to.path == '/contactused'||to.path == '/aboutused'||to.path == '/casedetailsed'||to.path == '/lndustryfocused'||to.path == '/successfulcaseed'||to.path == '/usehelped'||to.path == '/useHelp'||to.path == '/reminder'||to.path == '/contactus' ||to.path == '/privacypolicy' ||to.path == '/termservice' ||to.path == '/casedetails' ||to.path == '/successfulcase' ||to.path == '/lndustryfocus' ||to.path == '/aboutus' ){
......
......@@ -3,7 +3,7 @@
<div id="bannerWrapper">
<swiper :options="swiperOption" class="swiper-wrap" ref="mySwiper" v-if="list" @click="handleToFocus" style="cursor: pointer">
<swiper-slide v-for="(item,index) in list" v-if="list" :key="index" :data-swiper-autoplay="6000">
<div class="imgSwiper" :style="{backgroundImage:index==1?'url('+imgBg+')':'url('+imgBg1+')',backgroundColor:index==0?'#19233c':'#005cc3'}"> <!--:style="{backgroundColor:index==0?'unset':'#072074'}"-->
<div class="imgSwiper" :style="{backgroundImage:index==1?'url('+imgBg+')':index==0?'url('+imgBg1+')':'url('+imgBg2+')',backgroundColor:index==0?'#19233c':index==1?'#005cc3':'#2b1306'}"> <!--:style="{backgroundColor:index==0?'unset':'#072074'}"-->
<img :src="item.image" alt=""/>
</div>
</swiper-slide>
......@@ -249,6 +249,7 @@
return {
imgBg:require('../../../assets/img/index/bannerchinese.jpg'),
imgBg1:require('../../../assets/img/slider-1920.jpg'),
imgBg2:require('../../../assets/img/vip/banner-bg.jpg'),
isInit: true,
realSwiperIndex:0,
activeInfoSwiperOption: {
......@@ -351,7 +352,7 @@
image: require('../../../assets/img/bannerImgChZn.jpg')
}, {
id: 3,
image: require('../../../assets/img/bannerImgChZn.jpg')
image: require('../../../assets/img/vip/banner-vipZh.jpg')
}];
}else{
this.list = [{
......@@ -362,7 +363,7 @@
image: require('../../../assets/img/bannerImgEn.jpg')
}, {
id: 3,
image: require('../../../assets/img/bannerImgChZn.jpg')
image: require('../../../assets/img/vip/banner-vipEn.jpg')
}];
}
......
......@@ -262,6 +262,9 @@
}, {
id: 2,
image: require('../../../assets/img/mobile/bannerzh.png')
}, {
id: 3,
image: require('../../../assets/img/vip/banner-phonevipZh.png')
}];
}else{
this.list = [{
......@@ -270,6 +273,9 @@
}, {
id: 2,
image: require('../../../assets/img/mobile/banneren.png')
}, {
id: 3,
image: require('../../../assets/img/vip/banner-phonevipEn.png')
}];
}
......@@ -281,6 +287,10 @@
globalMsg.$emit('sendIndex',3);
this.$router.push("/lndustryfocused")
}
if(this.realSwiperIndex==2){
globalMsg.$emit('sendIndex',-2);
this.$router.push("/vip")
}
},
handleToProject(data){
if(this.isCompleteInfo){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment