|
@@ -7,14 +7,15 @@
|
|
|
|
|
|
<!-- 首页banner栏 -->
|
|
|
<div class="client-banner-box">
|
|
|
- <el-carousel trigger="click">
|
|
|
+ <el-carousel :interval="3333333" trigger="click">
|
|
|
<el-carousel-item v-for="(item,index) in bannerList" :key="index">
|
|
|
<div @click="clickBanner(item)" :style="{backgroundImage: 'url(' + item.pic + ')'}"
|
|
|
class="index-carousel-box">
|
|
|
<div class="client-container">
|
|
|
- <div class="banner-btn-groups">
|
|
|
- <freeTrialBtn class="free-train-btn btn-item" myType="kaoshi" :select="true" @need-select="onNeedSelect" />
|
|
|
- <onlineInformationBtn class="online-information-btn btn-item" />
|
|
|
+ <div class="banner-btn-groups" :class="[`btn-${index}`]">
|
|
|
+ <freeTrialBtn class="free-train-btn btn-item shouye" myType="kaoshi" :select="true" v-if="index !==3"
|
|
|
+ @need-select="onNeedSelect"/>
|
|
|
+ <onlineInformationBtn class="online-information-btn btn-item shouye"/>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -56,10 +57,12 @@
|
|
|
<!-- 产品和服务 -->
|
|
|
<div class="client-products-services client-container">
|
|
|
<h4 class="client-title">产品和服务</h4>
|
|
|
- <imgCardLv1 class="img-card" :option="item" v-for="(item,index) in productList" :key="index" :col-pc="3" :col-h5="2">
|
|
|
+ <imgCardLv1 class="img-card" :option="item" v-for="(item,index) in productList" :key="index" :col-pc="3"
|
|
|
+ :col-h5="2">
|
|
|
|
|
|
<div class="btn-groups">
|
|
|
- <applyBtn class="apply-btn btn-item" v-if="item.shenqing" @active-pc="onApplyBtnActive" @active-h5="onApplyBtnActiveH5"/>
|
|
|
+ <applyBtn class="apply-btn btn-item" v-if="item.shenqing" @active-pc="onApplyBtnActive"
|
|
|
+ @active-h5="onApplyBtnActiveH5"/>
|
|
|
<freeTrialBtn class="free-train-btn btn-item" v-if="item.mianfei" :myType="item.myType"/>
|
|
|
<onlineInformationBtn class="online-information-btn btn-item" v-if="item.zixun"/>
|
|
|
</div>
|
|
@@ -186,7 +189,7 @@ export default {
|
|
|
order: 2,
|
|
|
},
|
|
|
img: {
|
|
|
- url: require(`~/static/productImage/p04.png`),
|
|
|
+ url: require(`~/static/productImage/p04.png`),
|
|
|
order: 1,
|
|
|
},
|
|
|
mianfei: true,
|
|
@@ -227,7 +230,7 @@ export default {
|
|
|
order: 1,
|
|
|
},
|
|
|
img: {
|
|
|
- url: require(`~/static/productImage/p03.png`),
|
|
|
+ url: require(`~/static/productImage/p03.png`),
|
|
|
order: 2,
|
|
|
},
|
|
|
mianfei: true,
|
|
@@ -309,7 +312,7 @@ export default {
|
|
|
order: 1,
|
|
|
},
|
|
|
img: {
|
|
|
- url: require(`~/static/productImage/p02.png`),
|
|
|
+ url: require(`~/static/productImage/p02.png`),
|
|
|
order: 2,
|
|
|
},
|
|
|
mianfei: false,
|
|
@@ -472,13 +475,19 @@ export default {
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
.client-index-page {
|
|
|
- .free-train-btn,.apply-btn{margin-right: 16px;}
|
|
|
- .btn-groups {
|
|
|
- margin-top: 48px;
|
|
|
- }
|
|
|
+ .free-train-btn, .apply-btn {
|
|
|
+ margin-right: 16px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .btn-groups {
|
|
|
+ margin-top: 48px;
|
|
|
+ }
|
|
|
+
|
|
|
@media (max-width: 768px) {
|
|
|
.btn-groups {
|
|
|
- display: flex;justify-content: center;margin-top: 30px;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ margin-top: 30px;
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -499,7 +508,60 @@ export default {
|
|
|
.banner-btn-groups {
|
|
|
position: absolute;
|
|
|
left: 0;
|
|
|
- top: 400px;
|
|
|
+ top: 406px;
|
|
|
+}
|
|
|
+
|
|
|
+.banner-btn-groups.btn-0 {
|
|
|
+ .free-train-btn {
|
|
|
+ background: #ffbb1a;
|
|
|
+ color: #fff;
|
|
|
+ }
|
|
|
+
|
|
|
+ .online-information-btn {
|
|
|
+ background: #3dd281;
|
|
|
+ color: #fff;
|
|
|
+ border-color: #fff;
|
|
|
+ }
|
|
|
+
|
|
|
+}
|
|
|
+
|
|
|
+.banner-btn-groups.btn-1 {
|
|
|
+
|
|
|
+ .free-train-btn {
|
|
|
+ background: #ffbb1a;
|
|
|
+ color: #fff;
|
|
|
+ }
|
|
|
+
|
|
|
+ .online-information-btn {
|
|
|
+ background: #2a846a;
|
|
|
+ color: #fff;
|
|
|
+ border-color: #fff;
|
|
|
+ }
|
|
|
+
|
|
|
+}
|
|
|
+
|
|
|
+.banner-btn-groups.btn-2 {
|
|
|
+ top: 444px;
|
|
|
+
|
|
|
+ .free-train-btn {
|
|
|
+ background: #ffbb1a;
|
|
|
+ color: #fff;
|
|
|
+ }
|
|
|
+
|
|
|
+ .online-information-btn {
|
|
|
+ background: #8ec754;
|
|
|
+ color: #fff;
|
|
|
+ border-color: #fff;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
+.banner-btn-groups.btn-3 {
|
|
|
+ top: 470px;
|
|
|
+
|
|
|
+ .online-information-btn {
|
|
|
+ background: #3ef897;
|
|
|
+ color: #007e37;
|
|
|
+ border-color: #3ef897;
|
|
|
+ }
|
|
|
+}
|
|
|
</style>
|