Commit e7f1e3f0 authored by zhangyanni's avatar zhangyanni

首页banner

parent 678b38df
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<div>
wowowo
</div>
</body>
</html>
\ No newline at end of file
......@@ -22,6 +22,11 @@
<!--<img :src="list[3].image" alt=""/>-->
<!--</div>-->
<!--</swiper-slide>-->
<swiper-slide :data-swiper-autoplay="6000">
<div class="imgSwiper" style="background-color: #180d5b;" :style="{backgroundImage:'url('+imgBg4+')'}" @click="handleToFocus(3)">
<img :src="list[3].image" alt=""/>
</div>
</swiper-slide>
<!-- 常见的小圆点 -->
<div class="swiper-pagination" v-if="list" v-for="(item,index) in list" :key="index" slot="pagination"></div>
</swiper>
......@@ -286,6 +291,7 @@
imgBg1:require('../../../assets/img/slider-1920.jpg'),
imgBg2:require('../../../assets/img/vip/banner-bg.jpg'),
imgBg3:require("../../../assets/img/banner4-3840x1060.jpg"),
imgBg4:require("../../../assets/img/gushu-bg.png"),
isInit: true,
realSwiperIndex:0,
activeInfoSwiperOption: {
......@@ -402,11 +408,15 @@
}, {
id: 3,
image: require('../../../assets/img/vip/banner-vipZh.jpg')
}
// , {
},
//{
// id: 4,
// image: require('../../../assets/img/banner4-2650x1060.jpg')
// }
// },
{
id:5,
image:require("../../../assets/img/gushu.png")
}
];
}else{
this.list = [{
......@@ -418,11 +428,15 @@
}, {
id: 3,
image: require('../../../assets/img/vip/banner-vipEn.jpg')
}
// , {
},
// {
// id: 4,
// image: require('../../../assets/img/banner4-2650x1060.jpg')
// }
// },
{
id:5,
image:require("../../../assets/img/gushu.png")
}
];
}
......@@ -572,6 +586,10 @@
globalMsg.$emit('sendIndex',-2);
this.$router.push("/vipList")
}
if(type==3){
// globalMsg.$emit('sendIndex',-2);
// this.$router.push("/vipList")
}
},
//查看更多
......
......@@ -23,6 +23,11 @@
<!--<img :src="list[3].image" alt=""/>-->
<!--</div>-->
<!--</swiper-slide>-->
<swiper-slide :data-swiper-autoplay="6000">
<div class="imgSwiper" @click="handleToFocus(3)">
<img :src="list[3].image" alt=""/>
</div>
</swiper-slide>
<!-- 常见的小圆点 -->
<div class="swiper-pagination" v-if="list" v-for="(item,index) in list" :key="index" slot="pagination"></div>
</swiper>
......@@ -314,11 +319,15 @@
}, {
id: 3,
image: require('../../../assets/img/vip/banner-phonevipZh.png')
}
// , {
},
// {
// id: 4,
// image: require('../../../assets/img/banner4-750x1048.png')
// }
// },
{
id:5,
image:require('../../../assets/img/mobile/wenjuanZh.png')
}
];
}else{
this.list = [{
......@@ -330,11 +339,15 @@
}, {
id: 3,
image: require('../../../assets/img/vip/banner-phonevipEn.png')
}
// , {
},
//{
// id: 4,
// image: require('../../../assets/img/banner4-750x1048.png')
// }
// },
{
id:5,
image:require('../../../assets/img/mobile/wenjuanZh.png')
}
];
}
......@@ -350,6 +363,10 @@
globalMsg.$emit('sendIndex',-2);
this.$router.push("/vip")
}
if(type==3){
// 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