|
|
|
@ -1,13 +1,24 @@ |
|
|
|
|
<template> |
|
|
|
|
<div class="wrap"> |
|
|
|
|
<div class="iasf-banner"> |
|
|
|
|
<img :src="modules[0].form.pic" |
|
|
|
|
alt=""> |
|
|
|
|
<div class="texts"> |
|
|
|
|
<h6>{{ modules[0].form.title }}</h6> |
|
|
|
|
<p class="text">{{ modules[0].form.des }}</p> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
<el-carousel class="carousel" |
|
|
|
|
: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"> |
|
|
|
|
<img :class="[{'cursor-pointer': isLink(item.link.linkName)}]" |
|
|
|
|
width="100%" |
|
|
|
|
:src="item.pic" |
|
|
|
|
alt="" |
|
|
|
|
@click="openLink(item)"> |
|
|
|
|
<div class="texts"> |
|
|
|
|
<h6>{{ item.title }}</h6> |
|
|
|
|
<p class="text">{{ item.des }}</p> |
|
|
|
|
</div> |
|
|
|
|
</el-carousel-item> |
|
|
|
|
</template> |
|
|
|
|
</el-carousel> |
|
|
|
|
|
|
|
|
|
<div class="block" |
|
|
|
|
style="padding-top: 110px"> |
|
|
|
@ -78,8 +89,10 @@ |
|
|
|
|
:src="item.titleImg" |
|
|
|
|
alt=""> |
|
|
|
|
<div class="texts"> |
|
|
|
|
<h6>{{ item.title }}</h6> |
|
|
|
|
<div class="des" |
|
|
|
|
v-html="item.mainBody"></div> |
|
|
|
|
<p class="meta">{{ item.releaseTime }} {{ item.classificationName && ' | ' + item.classificationName }}</p> |
|
|
|
|
<div class="des">{{ item.title }}</div> |
|
|
|
|
</div> |
|
|
|
|
</li> |
|
|
|
|
</template> |
|
|
|
@ -414,15 +427,17 @@ export default { |
|
|
|
|
<style lang="scss" scoped> |
|
|
|
|
@import url(../../plugins/wow/animate.css); |
|
|
|
|
@import '../../styles/page/page.scss'; |
|
|
|
|
.iasf-banner { |
|
|
|
|
height: 727px; |
|
|
|
|
.carousel { |
|
|
|
|
height: 100vh; |
|
|
|
|
img { |
|
|
|
|
width: 100%; |
|
|
|
|
height: 100%; |
|
|
|
|
} |
|
|
|
|
/deep/.el-carousel__container { |
|
|
|
|
height: 100vh; |
|
|
|
|
} |
|
|
|
|
.texts { |
|
|
|
|
position: absolute; |
|
|
|
|
bottom: 40%; |
|
|
|
|
bottom: 20%; |
|
|
|
|
left: 120px; |
|
|
|
|
h6, |
|
|
|
|
.text { |
|
|
|
@ -451,6 +466,10 @@ export default { |
|
|
|
|
margin-bottom: 3.6rem; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
.inner { |
|
|
|
|
width: 1370px; |
|
|
|
|
min-width: 70%; |
|
|
|
|
} |
|
|
|
|
.card { |
|
|
|
|
display: flex; |
|
|
|
|
justify-content: space-between; |
|
|
|
@ -569,12 +588,14 @@ export default { |
|
|
|
|
color: #666; |
|
|
|
|
} |
|
|
|
|
h6 { |
|
|
|
|
margin-top: 5px; |
|
|
|
|
font-size: 1.1rem; |
|
|
|
|
font-family: PingFangSC-Semibold, PingFang SC; |
|
|
|
|
color: #333; |
|
|
|
|
@include mul-ellipsis(2); |
|
|
|
|
} |
|
|
|
|
.des { |
|
|
|
|
margin: 15px 0; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
.news-carousel { |
|
|
|
|
display: flex; |
|
|
|
@ -607,12 +628,12 @@ export default { |
|
|
|
|
cursor: pointer; |
|
|
|
|
} |
|
|
|
|
.meta { |
|
|
|
|
margin: 8px 0; |
|
|
|
|
margin: 14px 0; |
|
|
|
|
font-size: 0.9rem; |
|
|
|
|
color: rgba(255, 255, 255, 0.86); |
|
|
|
|
} |
|
|
|
|
.des { |
|
|
|
|
margin-bottom: 8px; |
|
|
|
|
margin-bottom: 14px; |
|
|
|
|
font-size: 1rem; |
|
|
|
|
font-family: PingFangSC-Medium, PingFang SC; |
|
|
|
|
cursor: pointer; |
|
|
|
@ -698,7 +719,7 @@ export default { |
|
|
|
|
.talent { |
|
|
|
|
display: flex; |
|
|
|
|
color: #fff; |
|
|
|
|
background: #1a2844; |
|
|
|
|
background: #1583ff; |
|
|
|
|
border-radius: 0px 100px 0px 100px; |
|
|
|
|
.left { |
|
|
|
|
width: 50%; |
|
|
|
@ -791,8 +812,9 @@ export default { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
.tools { |
|
|
|
|
z-index: 10; |
|
|
|
|
position: fixed; |
|
|
|
|
top: 430px; |
|
|
|
|
top: 60vh; |
|
|
|
|
right: 0; |
|
|
|
|
li { |
|
|
|
|
display: flex; |
|
|
|
@ -815,6 +837,11 @@ export default { |
|
|
|
|
margin-right: 10px; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
@media (max-width: 1450px) { |
|
|
|
|
.inner { |
|
|
|
|
width: 95%; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
@media (max-width: 1200px) { |
|
|
|
|
.card { |
|
|
|
|
flex-direction: column; |
|
|
|
@ -877,10 +904,5 @@ export default { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
@media (max-width: 1200px) { |
|
|
|
|
.iasf-banner { |
|
|
|
|
.texts { |
|
|
|
|
left: 3%; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
</style> |