|
|
|
@ -3,7 +3,7 @@ |
|
|
|
|
<el-carousel height="480px" :interval="6000" :arrow="(modules[0] && modules[0].list.filter(e => e.isEnable).length > 1) ? 'hover' : 'never'" :indicator-position="modules[0].list.filter(e => e.isEnable).length > 1 ? '' : 'none'"> |
|
|
|
|
<template v-for="(item, i) in modules[0].list"> |
|
|
|
|
<el-carousel-item v-if="item.pic && item.isEnable" :key="i"> |
|
|
|
|
<div :class="['banner-item', {'cursor-pointer': item.link.linkName !== '无'}]" @click="openLink(item)"> |
|
|
|
|
<div :class="['banner-item', {'cursor-pointer': isLink(item.link.linkName)}]" @click="openLink(item)"> |
|
|
|
|
<img :src="item.pic" alt=""> |
|
|
|
|
<p class="banner-name">{{ item.title }}</p> |
|
|
|
|
</div> |
|
|
|
@ -12,7 +12,7 @@ |
|
|
|
|
</el-carousel> |
|
|
|
|
|
|
|
|
|
<div class="block history gray"> |
|
|
|
|
<div :class="['inner', {'cursor-pointer': modules[1].form.link.linkName !== '无'}]" @click="openLink(modules[1].form)"> |
|
|
|
|
<div :class="['inner', {'cursor-pointer': isLink(modules[1].form.link.linkName)}]" @click="openLink(modules[1].form)"> |
|
|
|
|
<h2 class="wow fadeInLeft" style="margin-left: 57px">{{ modules[1].form.title }}</h2> |
|
|
|
|
<div class="texts wow fadeInDown" data-wow-delay="0.5s"> |
|
|
|
|
<div class="left"> |
|
|
|
@ -30,19 +30,19 @@ |
|
|
|
|
<h2 class="b-title wow fadeInUp">{{ modules[2].form.title }}</h2> |
|
|
|
|
<p class="intro wow fadeInUp" data-wow-delay="0.5s">{{ modules[2].form.des }}</p> |
|
|
|
|
<ul class="card"> |
|
|
|
|
<li :class="['item1 wow fadeInLeft', {'cursor-pointer': modules[3].form.link.linkName !== '无'}]" data-wow-delay="0.7s" @click="openLink(modules[3].form)"> |
|
|
|
|
<li :class="['item1 wow fadeInLeft', {'cursor-pointer': isLink(modules[3].form.link.linkName)}]" data-wow-delay="0.7s" @click="openLink(modules[3].form)"> |
|
|
|
|
<h6>{{ modules[3].form.title }}</h6> |
|
|
|
|
<div class="des" v-html="modules[3].form.des"></div> |
|
|
|
|
</li> |
|
|
|
|
<li :class="['item2 wow fadeInRight', {'cursor-pointer': modules[4].form.link.linkName !== '无'}]" data-wow-delay="0.9s" @click="openLink(modules[4].form)"> |
|
|
|
|
<li :class="['item2 wow fadeInRight', {'cursor-pointer': isLink(modules[4].form.link.linkName)}]" data-wow-delay="0.9s" @click="openLink(modules[4].form)"> |
|
|
|
|
<h6>{{ modules[4].form.title }}</h6> |
|
|
|
|
<div class="des" v-html="modules[4].form.des"></div> |
|
|
|
|
</li> |
|
|
|
|
<li :class="['item3 wow fadeInLeft', {'cursor-pointer': modules[5].form.link.linkName !== '无'}]" data-wow-delay="1.1s" @click="openLink(modules[5].form)"> |
|
|
|
|
<li :class="['item3 wow fadeInLeft', {'cursor-pointer': isLink(modules[5].form.link.linkName)}]" data-wow-delay="1.1s" @click="openLink(modules[5].form)"> |
|
|
|
|
<h6>{{ modules[5].form.title }}</h6> |
|
|
|
|
<div class="des" v-html="modules[5].form.des"></div> |
|
|
|
|
</li> |
|
|
|
|
<li :class="['item4 wow fadeInRight', {'cursor-pointer': modules[6].form.link.linkName !== '无'}]" data-wow-delay="1.3s" @click="openLink(modules[6].form)"> |
|
|
|
|
<li :class="['item4 wow fadeInRight', {'cursor-pointer': isLink(modules[6].form.link.linkName)}]" data-wow-delay="1.3s" @click="openLink(modules[6].form)"> |
|
|
|
|
<h6>{{ modules[6].form.title }}</h6> |
|
|
|
|
<div class="des" v-html="modules[6].form.des"></div> |
|
|
|
|
</li> |
|
|
|
@ -84,7 +84,7 @@ |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="plan"> |
|
|
|
|
<div :class="['inner', {'cursor-pointer': modules[14].form.link.linkName !== '无'}]" @click="openLink(modules[14].form)"> |
|
|
|
|
<div :class="['inner', {'cursor-pointer': isLink(modules[14].form.link.linkName)}]" @click="openLink(modules[14].form)"> |
|
|
|
|
<img class="pic wow fadeInLeft" :src="modules[14].form.pic" alt=""> |
|
|
|
|
<div class="texts wow fadeInRight"> |
|
|
|
|
<h6>{{ modules[14].form.title }}</h6> |
|
|
|
@ -106,7 +106,7 @@ |
|
|
|
|
<p class="sub">{{ item.subTitle }}</p> |
|
|
|
|
<h6>{{ item.title }}</h6> |
|
|
|
|
<p class="des">{{ item.des }}</p> |
|
|
|
|
<img :class="{'arrow': item.link.linkName !== '无'}" src="@/assets/images/arrow.png" alt="" @click="openLink(item)"> |
|
|
|
|
<img :class="{'arrow': isLink(item.link.linkName)}" src="@/assets/images/arrow.png" alt="" @click="openLink(item)"> |
|
|
|
|
</div> |
|
|
|
|
</li> |
|
|
|
|
</template> |
|
|
|
@ -119,17 +119,17 @@ |
|
|
|
|
<h2 class="b-title wow fadeInUp">{{ modules[17].form.title }}</h2> |
|
|
|
|
<p class="intro wow fadeInUp" data-wow-delay="0.5s">{{ modules[17].form.des }}</p> |
|
|
|
|
<ul class="list"> |
|
|
|
|
<li class="wow fadeInDown" data-wow-delay="0.6s" :class="{'cursor-pointer': modules[18].form.link.linkName !== '无'}" @click="openLink(modules[18].form)"> |
|
|
|
|
<li class="wow fadeInDown" data-wow-delay="0.6s" :class="{'cursor-pointer': isLink(modules[18].form.link.linkName)}" @click="openLink(modules[18].form)"> |
|
|
|
|
<img class="pic" :src="modules[18].form.pic" alt=""> |
|
|
|
|
<h6>{{ modules[18].form.title }}</h6> |
|
|
|
|
<p class="des">{{ modules[18].form.des }}</p> |
|
|
|
|
</li> |
|
|
|
|
<li class="wow fadeInDown" data-wow-delay="0.8s" :class="{'cursor-pointer': modules[19].form.link.linkName !== '无'}" @click="openLink(modules[19].form)"> |
|
|
|
|
<li class="wow fadeInDown" data-wow-delay="0.8s" :class="{'cursor-pointer': isLink(modules[19].form.link.linkName)}" @click="openLink(modules[19].form)"> |
|
|
|
|
<img class="pic" :src="modules[19].form.pic" alt=""> |
|
|
|
|
<h6>{{ modules[19].form.title }}</h6> |
|
|
|
|
<p class="des">{{ modules[19].form.des }}</p> |
|
|
|
|
</li> |
|
|
|
|
<li class="wow fadeInDown" data-wow-delay="1s" :class="{'cursor-pointer': modules[20].form.link.linkName !== '无'}" @click="openLink(modules[20].form)"> |
|
|
|
|
<li class="wow fadeInDown" data-wow-delay="1s" :class="{'cursor-pointer': isLink(modules[20].form.link.linkName)}" @click="openLink(modules[20].form)"> |
|
|
|
|
<img class="pic" :src="modules[20].form.pic" alt=""> |
|
|
|
|
<h6>{{ modules[20].form.title }}</h6> |
|
|
|
|
<p class="des">{{ modules[20].form.des }}</p> |
|
|
|
@ -142,7 +142,7 @@ |
|
|
|
|
<div class="inner staff-inner"> |
|
|
|
|
<h2 class="b-title wow fadeInUp">{{ modules[21].form.title }}</h2> |
|
|
|
|
<p class="intro wow fadeInUp" data-wow-delay="0.5s">{{ modules[21].form.des }}</p> |
|
|
|
|
<div :class="['staff wow fadeInDown', {'cursor-pointer': modules[22].form.link.linkName !== '无'}]" data-wow-delay="0.7s" @click="openLink(modules[22].form)"> |
|
|
|
|
<div :class="['staff wow fadeInDown', {'cursor-pointer': isLink(modules[22].form.link.linkName)}]" data-wow-delay="0.7s" @click="openLink(modules[22].form)"> |
|
|
|
|
<div class="left"> |
|
|
|
|
<h6>{{ modules[22].form.title }}</h6> |
|
|
|
|
<div class="des">{{ modules[22].form.des }}</div> |
|
|
|
@ -180,7 +180,7 @@ export default { |
|
|
|
|
data : |
|
|
|
|
data[data.length - 1][data[data.length - 1].state ? 'theEditedJson' : 'jsonBeforeEditing']) |
|
|
|
|
this.modules = json |
|
|
|
|
console.log("🚀 ~ file: index.vue ~ line 180 ~ this.$post ~ json", json[0]) |
|
|
|
|
console.log("🚀 ~ file: index.vue ~ line 180 ~ this.$post ~ json", json) |
|
|
|
|
} |
|
|
|
|
}).catch(err => {}) |
|
|
|
|
}, |
|
|
|
|