|
|
@ -1,76 +1,68 @@ |
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<div class="wrap"> |
|
|
|
<div class="wrap"> |
|
|
|
<div class="single-banner"> |
|
|
|
<div class="single-banner"> |
|
|
|
<img class="banner-img" :src="modules[0].form.pic" alt="" /> |
|
|
|
<img class="banner-img" |
|
|
|
|
|
|
|
:src="modules[0].form.pic" |
|
|
|
|
|
|
|
alt="" /> |
|
|
|
<div class="texts"> |
|
|
|
<div class="texts"> |
|
|
|
<h6 class="banner-title">{{ modules[0].form.title }}</h6> |
|
|
|
<h6 class="banner-title">{{ modules[0].form.title }}</h6> |
|
|
|
<p class="banner-des des">{{ modules[0].form.des }}</p> |
|
|
|
<p class="banner-des des">{{ modules[0].form.des }}</p> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="block gray" style="padding: 2rem 0;"> |
|
|
|
<div class="block gray" |
|
|
|
|
|
|
|
style="padding: 2rem 0;"> |
|
|
|
<div class="inner"> |
|
|
|
<div class="inner"> |
|
|
|
<Breadcrumb ref="breadcrumb" :data.sync="routes"/> |
|
|
|
<Breadcrumb ref="breadcrumb" |
|
|
|
|
|
|
|
:data.sync="routes" /> |
|
|
|
<ul class="items"> |
|
|
|
<ul class="items"> |
|
|
|
<li> |
|
|
|
<li> |
|
|
|
<img class="pic" :src="modules[1].form.pic" alt=""> |
|
|
|
<img class="pic" |
|
|
|
|
|
|
|
:src="modules[1].form.pic" |
|
|
|
|
|
|
|
alt=""> |
|
|
|
<div class="texts"> |
|
|
|
<div class="texts"> |
|
|
|
<h6>{{ modules[1].form.title }}</h6> |
|
|
|
<h6>{{ modules[1].form.title }}</h6> |
|
|
|
<div class="text" v-html="modules[1].form.des"></div> |
|
|
|
<div class="text" |
|
|
|
<img src="@/assets/images/arrow.png" alt="" :class="{'arrow': isLink(modules[1].form.link.linkName)}" @click="openLink(modules[1].form)"> |
|
|
|
v-html="modules[1].form.des"></div> |
|
|
|
|
|
|
|
<img src="@/assets/images/arrow.png" |
|
|
|
|
|
|
|
alt="" |
|
|
|
|
|
|
|
:class="{'arrow': isLink(modules[1].form.link.linkName)}" |
|
|
|
|
|
|
|
@click="openLink(modules[1].form)"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<li> |
|
|
|
<img class="pic" :src="modules[2].form.pic" alt=""> |
|
|
|
<img class="pic" |
|
|
|
|
|
|
|
:src="modules[2].form.pic" |
|
|
|
|
|
|
|
alt=""> |
|
|
|
<div class="texts"> |
|
|
|
<div class="texts"> |
|
|
|
<h6>{{ modules[2].form.title }}</h6> |
|
|
|
<h6>{{ modules[2].form.title }}</h6> |
|
|
|
<div class="text" v-html="modules[2].form.des"></div> |
|
|
|
<div class="text" |
|
|
|
<img src="@/assets/images/arrow.png" alt="" :class="{'arrow': isLink(modules[2].form.link.linkName)}" @click="openLink(modules[2].form)"> |
|
|
|
v-html="modules[2].form.des"></div> |
|
|
|
|
|
|
|
<img src="@/assets/images/arrow.png" |
|
|
|
|
|
|
|
alt="" |
|
|
|
|
|
|
|
:class="{'arrow': isLink(modules[2].form.link.linkName)}" |
|
|
|
|
|
|
|
@click="openLink(modules[2].form)"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
</ul> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="block program"> |
|
|
|
|
|
|
|
<div class="inner"> |
|
|
|
|
|
|
|
<div class="title wow fadeInUp"> |
|
|
|
|
|
|
|
<h5> |
|
|
|
|
|
|
|
{{ modules[3].form.title }} |
|
|
|
|
|
|
|
<span class="sub">{{ modules[3].form.subTitle }}</span> |
|
|
|
|
|
|
|
</h5> |
|
|
|
|
|
|
|
<span class="more" @click="toAll(modules[4].form)">MORE</span> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<template v-if="articles.length"> |
|
|
|
|
|
|
|
<div class="slide" @click="toArtice(articles[0], modules[4].form)"> |
|
|
|
|
|
|
|
<div class="texts"> |
|
|
|
|
|
|
|
<h6>{{ articles[0].title }}</h6> |
|
|
|
|
|
|
|
<div class="des">{{ articles[0].mainBody }}</div> |
|
|
|
|
|
|
|
<div class="meta">发表日期:{{ articles[0].releaseTime }}  浏览量:{{ articles[0].totalBrowsing }}</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="img-wrap"> |
|
|
|
|
|
|
|
<img class="pic" :src="articles[0].titleImg" alt=""> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<ul class="list"> |
|
|
|
|
|
|
|
<template v-for="(item, i) in articles"> |
|
|
|
|
|
|
|
<li v-if="i && i < 4" :key="i" class="wow fadeInDown" :data-wow-delay="(0.1 * i).toFixed(1) + 's'" @click="toArtice(item, modules[4].form)"> |
|
|
|
|
|
|
|
<div class="des">{{ item.title }}</div> |
|
|
|
|
|
|
|
<p class="date">{{ item.releaseTime }}</p> |
|
|
|
|
|
|
|
</li> |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
</ul> |
|
|
|
|
|
|
|
</template> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="about"> |
|
|
|
<div class="about"> |
|
|
|
<div class="inner"> |
|
|
|
<div class="inner"> |
|
|
|
<div class="texts"> |
|
|
|
<div class="texts"> |
|
|
|
<div class="title wow fadeInUp" data-wow-delay="0.7s">{{ modules[5].form.title }}</div> |
|
|
|
<div class="title wow fadeInUp" |
|
|
|
<div class="des wow fadeInDown" data-wow-delay="1s" v-html="modules[5].form.des"></div> |
|
|
|
data-wow-delay="0.7s">{{ modules[3].form.title }}</div> |
|
|
|
|
|
|
|
<div class="des wow fadeInDown" |
|
|
|
|
|
|
|
data-wow-delay="1s" |
|
|
|
|
|
|
|
v-html="modules[3].form.des"></div> |
|
|
|
|
|
|
|
<img class="m-t-10" |
|
|
|
|
|
|
|
width="42" |
|
|
|
|
|
|
|
src="@/assets/images/arrow-white.png" |
|
|
|
|
|
|
|
alt="" |
|
|
|
|
|
|
|
:class="{'arrow': isLink(modules[3].form.link.linkName)}" |
|
|
|
|
|
|
|
@click="openLink(modules[3].form)"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<img src="@/assets/images/arrow-white.png" alt="" :class="{'arrow': isLink(modules[5].form.link.linkName)}" @click="openLink(modules[5].form)"> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -83,22 +75,21 @@ import Breadcrumb from '@/components/breadcrumb' |
|
|
|
import Util from '@/libs/util' |
|
|
|
import Util from '@/libs/util' |
|
|
|
export default { |
|
|
|
export default { |
|
|
|
mixins: [mixins], |
|
|
|
mixins: [mixins], |
|
|
|
data() { |
|
|
|
data () { |
|
|
|
return { |
|
|
|
return { |
|
|
|
routes: [], |
|
|
|
routes: [], |
|
|
|
articles: [] |
|
|
|
|
|
|
|
}; |
|
|
|
}; |
|
|
|
}, |
|
|
|
}, |
|
|
|
components: { |
|
|
|
components: { |
|
|
|
Breadcrumb |
|
|
|
Breadcrumb |
|
|
|
}, |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
mounted () { |
|
|
|
new WOW().init(); |
|
|
|
new WOW().init(); |
|
|
|
this.getColumn() |
|
|
|
this.getColumn() |
|
|
|
}, |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
methods: { |
|
|
|
// 获取文章详情 |
|
|
|
// 获取文章详情 |
|
|
|
getInfo() { |
|
|
|
getInfo () { |
|
|
|
// 预览/详情 |
|
|
|
// 预览/详情 |
|
|
|
this.$post( |
|
|
|
this.$post( |
|
|
|
`${this.api[this.preview ? "getRedisCache" : "findPage"]}?columnId=${this.id}` |
|
|
|
`${this.api[this.preview ? "getRedisCache" : "findPage"]}?columnId=${this.id}` |
|
|
@ -110,25 +101,17 @@ export default { |
|
|
|
this.preview |
|
|
|
this.preview |
|
|
|
? data |
|
|
|
? data |
|
|
|
: data[data.length - 1][ |
|
|
|
: data[data.length - 1][ |
|
|
|
data[data.length - 1].state ? "theEditedJson" : "jsonBeforeEditing" |
|
|
|
data[data.length - 1].state ? "theEditedJson" : "jsonBeforeEditing" |
|
|
|
] |
|
|
|
] |
|
|
|
); |
|
|
|
); |
|
|
|
this.modules = json; |
|
|
|
this.modules = json; |
|
|
|
console.log("🚀 ~ file: index.vue ~ line 180 ~ this.$post ~ json", json); |
|
|
|
console.log("🚀 ~ file: index.vue ~ line 180 ~ this.$post ~ json", json); |
|
|
|
|
|
|
|
|
|
|
|
// 获取文章列表 |
|
|
|
|
|
|
|
if (json[4].form.column.length) { |
|
|
|
|
|
|
|
const { column, articleNum } = json[4].form |
|
|
|
|
|
|
|
this.$post(`${this.api.queryArticlesByColumnType}?columnId=${column[column.length - 1]}`).then(({ data }) => { |
|
|
|
|
|
|
|
this.articles = Util.removeTag(data.slice(0, articleNum || 7)) |
|
|
|
|
|
|
|
}).catch(err => {}) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
.catch((err) => {}); |
|
|
|
.catch((err) => { }); |
|
|
|
}, |
|
|
|
}, |
|
|
|
// 获取父级所有栏目名称和id |
|
|
|
// 获取父级所有栏目名称和id |
|
|
|
getParent(data, id) { |
|
|
|
getParent (data, id) { |
|
|
|
for (const e of data) { |
|
|
|
for (const e of data) { |
|
|
|
if (e.id == id) { |
|
|
|
if (e.id == id) { |
|
|
|
this.routes.push({ |
|
|
|
this.routes.push({ |
|
|
@ -150,10 +133,10 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
// 获取上级面包屑 |
|
|
|
// 获取上级面包屑 |
|
|
|
getColumn() { |
|
|
|
getColumn () { |
|
|
|
this.$post(`${this.api.oneLevelChecksThemAll}?id=${this.id}&isSort=1&siteId=${this.site}`).then(({ data }) => { |
|
|
|
this.$post(`${this.api.oneLevelChecksThemAll}?id=${this.id}&isSort=1&siteId=${this.site}`).then(({ data }) => { |
|
|
|
this.getParent(data, this.id) |
|
|
|
this.getParent(data, this.id) |
|
|
|
}).catch(err => {}) |
|
|
|
}).catch(err => { }) |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}; |
|
|
|
}; |
|
|
@ -161,224 +144,224 @@ export default { |
|
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
|
<style lang="scss" scoped> |
|
|
|
@import url(../../plugins/wow/animate.css); |
|
|
|
@import url(../../plugins/wow/animate.css); |
|
|
|
@import "../../styles/page/page.scss"; |
|
|
|
@import '../../styles/page/page.scss'; |
|
|
|
.items { |
|
|
|
.items { |
|
|
|
margin-top: 2rem; |
|
|
|
margin-top: 2rem; |
|
|
|
li { |
|
|
|
li { |
|
|
|
position: relative; |
|
|
|
position: relative; |
|
|
|
height: 600px; |
|
|
|
height: 600px; |
|
|
|
margin-bottom: 60px; |
|
|
|
margin-bottom: 60px; |
|
|
|
&:nth-child(even) { |
|
|
|
&:nth-child(even) { |
|
|
|
.texts { |
|
|
|
.texts { |
|
|
|
left: auto; |
|
|
|
left: auto; |
|
|
|
right: 100px; |
|
|
|
right: 100px; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.pic { |
|
|
|
.pic { |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
height: 100%; |
|
|
|
height: 100%; |
|
|
|
} |
|
|
|
} |
|
|
|
.texts { |
|
|
|
.texts { |
|
|
|
position: absolute; |
|
|
|
position: absolute; |
|
|
|
top: 100px; |
|
|
|
top: 100px; |
|
|
|
left: 80px; |
|
|
|
left: 80px; |
|
|
|
width: 500px; |
|
|
|
width: 500px; |
|
|
|
padding: 30px; |
|
|
|
padding: 30px; |
|
|
|
color: #333; |
|
|
|
color: #333; |
|
|
|
background-color: rgba(255, 255, 255, .85); |
|
|
|
background-color: rgba(255, 255, 255, 0.85); |
|
|
|
border-radius: 0px 0px 100px 0px; |
|
|
|
border-radius: 0px 0px 100px 0px; |
|
|
|
border-top: 4px solid #0280F1; |
|
|
|
border-top: 4px solid #0280f1; |
|
|
|
} |
|
|
|
} |
|
|
|
h6 { |
|
|
|
h6 { |
|
|
|
font-size: 1.2rem; |
|
|
|
font-size: 1.2rem; |
|
|
|
font-family: PingFangSC-Medium, PingFang SC; |
|
|
|
font-family: PingFangSC-Medium, PingFang SC; |
|
|
|
} |
|
|
|
} |
|
|
|
.text { |
|
|
|
.text { |
|
|
|
margin: 1rem 0; |
|
|
|
margin: 1rem 0; |
|
|
|
font-size: 1rem; |
|
|
|
font-size: 1rem; |
|
|
|
line-height: 1.6; |
|
|
|
line-height: 1.6; |
|
|
|
} |
|
|
|
} |
|
|
|
.icon { |
|
|
|
.icon { |
|
|
|
width: 40px; |
|
|
|
width: 40px; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
.program { |
|
|
|
.program { |
|
|
|
background: #fff; |
|
|
|
background: #fff; |
|
|
|
.title { |
|
|
|
.title { |
|
|
|
position: relative; |
|
|
|
position: relative; |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
justify-content: space-between; |
|
|
|
justify-content: space-between; |
|
|
|
align-items: flex-end; |
|
|
|
align-items: flex-end; |
|
|
|
padding-bottom: 25px; |
|
|
|
padding-bottom: 25px; |
|
|
|
margin-bottom: 30px; |
|
|
|
margin-bottom: 30px; |
|
|
|
border-bottom: 1px solid #ddd; |
|
|
|
border-bottom: 1px solid #ddd; |
|
|
|
align-items: center; |
|
|
|
align-items: center; |
|
|
|
h5 { |
|
|
|
h5 { |
|
|
|
padding-left: 16px; |
|
|
|
padding-left: 16px; |
|
|
|
font-size: 1.6rem; |
|
|
|
font-size: 1.6rem; |
|
|
|
font-family: PingFangSC-Medium, PingFang SC; |
|
|
|
font-family: PingFangSC-Medium, PingFang SC; |
|
|
|
font-weight: 500; |
|
|
|
font-weight: 500; |
|
|
|
color: #333333; |
|
|
|
color: #333333; |
|
|
|
line-height: 1; |
|
|
|
line-height: 1; |
|
|
|
border-left: 6px solid #2B96EF; |
|
|
|
border-left: 6px solid #2b96ef; |
|
|
|
} |
|
|
|
} |
|
|
|
.sub { |
|
|
|
.sub { |
|
|
|
font-size: 1.1rem; |
|
|
|
font-size: 1.1rem; |
|
|
|
font-family: PingFangSC-Medium, PingFang SC; |
|
|
|
font-family: PingFangSC-Medium, PingFang SC; |
|
|
|
font-weight: 500; |
|
|
|
font-weight: 500; |
|
|
|
color: #AFB7BF; |
|
|
|
color: #afb7bf; |
|
|
|
} |
|
|
|
} |
|
|
|
.more { |
|
|
|
.more { |
|
|
|
font-size: .8rem; |
|
|
|
font-size: 0.8rem; |
|
|
|
color: #666; |
|
|
|
color: #666; |
|
|
|
cursor: pointer; |
|
|
|
cursor: pointer; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.slide { |
|
|
|
.slide { |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
margin-bottom: 14px; |
|
|
|
margin-bottom: 14px; |
|
|
|
cursor: pointer; |
|
|
|
cursor: pointer; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.texts { |
|
|
|
|
|
|
|
width: 51%; |
|
|
|
|
|
|
|
padding: 56px; |
|
|
|
|
|
|
|
background: #FBFBFB; |
|
|
|
|
|
|
|
h6 { |
|
|
|
|
|
|
|
font-size: 1.3rem; |
|
|
|
|
|
|
|
font-family: PingFangSC-Medium, PingFang SC; |
|
|
|
|
|
|
|
font-weight: 500; |
|
|
|
|
|
|
|
color: #333333; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
.des { |
|
|
|
.texts { |
|
|
|
margin: 35px 0 25px; |
|
|
|
width: 51%; |
|
|
|
font-size: 1rem; |
|
|
|
padding: 56px; |
|
|
|
color: #666; |
|
|
|
background: #fbfbfb; |
|
|
|
line-height: 32px; |
|
|
|
h6 { |
|
|
|
|
|
|
|
font-size: 1.3rem; |
|
|
|
|
|
|
|
font-family: PingFangSC-Medium, PingFang SC; |
|
|
|
|
|
|
|
font-weight: 500; |
|
|
|
|
|
|
|
color: #333333; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.des { |
|
|
|
|
|
|
|
margin: 35px 0 25px; |
|
|
|
|
|
|
|
font-size: 1rem; |
|
|
|
|
|
|
|
color: #666; |
|
|
|
|
|
|
|
line-height: 32px; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.meta { |
|
|
|
|
|
|
|
font-size: 0.9rem; |
|
|
|
|
|
|
|
color: #666; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.meta { |
|
|
|
.img-wrap { |
|
|
|
font-size: .9rem; |
|
|
|
width: 49%; |
|
|
|
color: #666; |
|
|
|
height: 430px; |
|
|
|
|
|
|
|
overflow: hidden; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.img-wrap { |
|
|
|
|
|
|
|
width: 49%; |
|
|
|
|
|
|
|
height: 430px; |
|
|
|
|
|
|
|
overflow: hidden; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.pic { |
|
|
|
|
|
|
|
width: 100%; |
|
|
|
|
|
|
|
height: 100%; |
|
|
|
|
|
|
|
transition: .5s; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
&:hover { |
|
|
|
|
|
|
|
.pic { |
|
|
|
.pic { |
|
|
|
transform: scale(1.3); |
|
|
|
width: 100%; |
|
|
|
} |
|
|
|
height: 100%; |
|
|
|
} |
|
|
|
transition: 0.5s; |
|
|
|
.list { |
|
|
|
|
|
|
|
display: flex; |
|
|
|
|
|
|
|
li { |
|
|
|
|
|
|
|
width: calc((100% - 28px) / 3); |
|
|
|
|
|
|
|
height: 204px; |
|
|
|
|
|
|
|
padding: 36px 22px; |
|
|
|
|
|
|
|
margin-right: 14px; |
|
|
|
|
|
|
|
background: url(../../assets/images/sfel/7.png) no-repeat center; |
|
|
|
|
|
|
|
background-size: 100% 100%; |
|
|
|
|
|
|
|
transition: .5s; |
|
|
|
|
|
|
|
cursor: pointer; |
|
|
|
|
|
|
|
&:nth-child(2) { |
|
|
|
|
|
|
|
background-image: url(../../assets/images/sfel/8.png); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
&:nth-child(3) { |
|
|
|
|
|
|
|
margin-right: 0; |
|
|
|
|
|
|
|
background-image: url(../../assets/images/sfel/9.png); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
&:hover { |
|
|
|
|
|
|
|
transform: translateY(20px); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
.des { |
|
|
|
&:hover { |
|
|
|
height: 90px; |
|
|
|
.pic { |
|
|
|
margin-bottom: 30px; |
|
|
|
transform: scale(1.3); |
|
|
|
font-size: 1rem; |
|
|
|
} |
|
|
|
font-family: PingFangSC-Medium, PingFang SC; |
|
|
|
|
|
|
|
font-weight: 500; |
|
|
|
|
|
|
|
color: #FFFFFF; |
|
|
|
|
|
|
|
line-height: 30px; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
.date { |
|
|
|
.list { |
|
|
|
font-size: .9rem; |
|
|
|
display: flex; |
|
|
|
font-family: LaoSangamMN; |
|
|
|
li { |
|
|
|
color: #FFFFFF; |
|
|
|
width: calc((100% - 28px) / 3); |
|
|
|
|
|
|
|
height: 204px; |
|
|
|
|
|
|
|
padding: 36px 22px; |
|
|
|
|
|
|
|
margin-right: 14px; |
|
|
|
|
|
|
|
background: url(../../assets/images/sfel/7.png) no-repeat center; |
|
|
|
|
|
|
|
background-size: 100% 100%; |
|
|
|
|
|
|
|
transition: 0.5s; |
|
|
|
|
|
|
|
cursor: pointer; |
|
|
|
|
|
|
|
&:nth-child(2) { |
|
|
|
|
|
|
|
background-image: url(../../assets/images/sfel/8.png); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
&:nth-child(3) { |
|
|
|
|
|
|
|
margin-right: 0; |
|
|
|
|
|
|
|
background-image: url(../../assets/images/sfel/9.png); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
&:hover { |
|
|
|
|
|
|
|
transform: translateY(20px); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.des { |
|
|
|
|
|
|
|
height: 90px; |
|
|
|
|
|
|
|
margin-bottom: 30px; |
|
|
|
|
|
|
|
font-size: 1rem; |
|
|
|
|
|
|
|
font-family: PingFangSC-Medium, PingFang SC; |
|
|
|
|
|
|
|
font-weight: 500; |
|
|
|
|
|
|
|
color: #ffffff; |
|
|
|
|
|
|
|
line-height: 30px; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.date { |
|
|
|
|
|
|
|
font-size: 0.9rem; |
|
|
|
|
|
|
|
font-family: LaoSangamMN; |
|
|
|
|
|
|
|
color: #ffffff; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
.about { |
|
|
|
.about { |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
flex-direction: column; |
|
|
|
flex-direction: column; |
|
|
|
justify-content: center; |
|
|
|
justify-content: center; |
|
|
|
height: 840px; |
|
|
|
height: 840px; |
|
|
|
text-align: center; |
|
|
|
text-align: center; |
|
|
|
background: url(../../assets/images/about-bg.png) no-repeat center center; |
|
|
|
background: url(../../assets/images/about-bg.png) no-repeat center center; |
|
|
|
background-size: 100% 100%; |
|
|
|
background-size: 100% 100%; |
|
|
|
.texts { |
|
|
|
.texts { |
|
|
|
padding: 2.375rem 3.75rem; |
|
|
|
padding: 2.375rem 3.75rem; |
|
|
|
color: #fff; |
|
|
|
color: #fff; |
|
|
|
background: rgba(111, 69, 36, .56); |
|
|
|
background: rgba(111, 69, 36, 0.56); |
|
|
|
border-radius: 17px; |
|
|
|
border-radius: 17px; |
|
|
|
transition: .3s; |
|
|
|
transition: 0.3s; |
|
|
|
&:hover { |
|
|
|
&:hover { |
|
|
|
background: rgba(239, 126, 10, .56); |
|
|
|
background: rgba(239, 126, 10, 0.56); |
|
|
|
transform: translateY(10px); |
|
|
|
transform: translateY(10px); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.title { |
|
|
|
|
|
|
|
margin-bottom: 1rem; |
|
|
|
|
|
|
|
font-size: 1.8rem; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.des { |
|
|
|
|
|
|
|
font-size: 1rem; |
|
|
|
|
|
|
|
line-height: 1.6; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.title { |
|
|
|
|
|
|
|
margin-bottom: 1rem; |
|
|
|
|
|
|
|
font-size: 1.8rem; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.des { |
|
|
|
|
|
|
|
font-size: 1rem; |
|
|
|
|
|
|
|
line-height: 1.6; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
@media (max-width: 1200px) { |
|
|
|
@media (max-width: 1200px) { |
|
|
|
.items { |
|
|
|
.items { |
|
|
|
li { |
|
|
|
li { |
|
|
|
.texts { |
|
|
|
.texts { |
|
|
|
left: 0; |
|
|
|
left: 0; |
|
|
|
width: 98%; |
|
|
|
width: 98%; |
|
|
|
} |
|
|
|
} |
|
|
|
&:nth-child(even) { |
|
|
|
&:nth-child(even) { |
|
|
|
.texts { |
|
|
|
.texts { |
|
|
|
right: auto; |
|
|
|
right: auto; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.about { |
|
|
|
.about { |
|
|
|
height: 30rem; |
|
|
|
height: 30rem; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
@media (max-width: 780px) { |
|
|
|
@media (max-width: 780px) { |
|
|
|
.program { |
|
|
|
.program { |
|
|
|
.slide { |
|
|
|
.slide { |
|
|
|
flex-direction: column; |
|
|
|
flex-direction: column; |
|
|
|
} |
|
|
|
} |
|
|
|
.texts { |
|
|
|
.texts { |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
} |
|
|
|
} |
|
|
|
.img-wrap { |
|
|
|
.img-wrap { |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
height: 250px; |
|
|
|
height: 250px; |
|
|
|
} |
|
|
|
} |
|
|
|
.list { |
|
|
|
.list { |
|
|
|
flex-direction: column; |
|
|
|
flex-direction: column; |
|
|
|
li { |
|
|
|
li { |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
margin-bottom: 1rem; |
|
|
|
margin-bottom: 1rem; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
</style> |
|
|
|
</style> |
|
|
|