|
@@ -14,7 +14,7 @@
|
|
|
|
|
|
<!-- 首页banner栏 -->
|
|
|
<div class="client-banner-box">
|
|
|
- <el-carousel trigger="click">
|
|
|
+ <el-carousel trigger="click" v-if="bannerList.length>0">
|
|
|
<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>
|
|
|
</el-carousel-item>
|
|
@@ -143,7 +143,7 @@
|
|
|
<div class="client-news-information mta-hidden-xs">
|
|
|
<h4 class="client-title">新闻资讯</h4>
|
|
|
<div class="client-container">
|
|
|
- <div class="industry-information-box">
|
|
|
+ <div class="industry-information-box" v-if="topCarousels.length>0">
|
|
|
<div class="industry-information-left">
|
|
|
<img :src="topCarousels[0].pic" alt="新闻资讯" />
|
|
|
<h4 @click="checkInfo(topCarousels[0])">{{ topCarousels[0].title }}<i></i></h4>
|
|
@@ -168,7 +168,7 @@
|
|
|
<!-- 新闻资讯 手机-->
|
|
|
<div class="client-newsInfo-phone mta-hidden-sm">
|
|
|
<h4 class="client-title">新闻资讯</h4>
|
|
|
- <el-carousel :interval="5000" type="card" height="300px" indicator-position="none" arrow="never">
|
|
|
+ <el-carousel :interval="5000" v-if="topCarousels.length>0" type="card" height="300px" indicator-position="none" arrow="never">
|
|
|
<el-carousel-item v-for="(item,index) in topCarousels" :key="index" class="el-row">
|
|
|
<img :src="item.pic" alt="新闻资讯" @click="checkInfo(item)"/>
|
|
|
<div class="newsInfo-card-content" @click="checkInfo(item)">
|
|
@@ -414,6 +414,7 @@
|
|
|
const options = {
|
|
|
phone: this.telChangeDate.tel,
|
|
|
code: this.telChangeDate.verification,
|
|
|
+ company: this.telChangeDate.company,
|
|
|
};
|
|
|
|
|
|
this.$axios.$post('/develop/add',options).then(res=>{
|