|
|
@ -1,7 +1,9 @@ |
|
|
|
<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> |
|
|
@ -10,37 +12,34 @@ |
|
|
|
|
|
|
|
|
|
|
|
<div class="block"> |
|
|
|
<div class="block"> |
|
|
|
<div class="inner"> |
|
|
|
<div class="inner"> |
|
|
|
<div |
|
|
|
<div class="item wow bounceInLeft" |
|
|
|
class="item wow bounceInLeft" |
|
|
|
data-wow-delay="0.5s" |
|
|
|
data-wow-delay="0.5s" |
|
|
|
:class="{ 'cursor-pointer': isLink(modules[1].form.link.linkName) }" |
|
|
|
:class="{ 'cursor-pointer': isLink(modules[1].form.link.linkName) }" |
|
|
|
@click="openLink(modules[1].form)"> |
|
|
|
@click="openLink(modules[1].form)" |
|
|
|
<img src="@/assets/images/science/1.png" |
|
|
|
> |
|
|
|
alt="" /> |
|
|
|
<img src="@/assets/images/science/1.png" alt="" /> |
|
|
|
|
|
|
|
<div class="texts"> |
|
|
|
<div class="texts"> |
|
|
|
<h6>{{ modules[1].form.title }}</h6> |
|
|
|
<h6>{{ modules[1].form.title }}</h6> |
|
|
|
<div class="des">{{ modules[1].form.des }}</div> |
|
|
|
<div class="des">{{ modules[1].form.des }}</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
<div class="item wow bounceInRight" |
|
|
|
class="item wow bounceInRight" |
|
|
|
data-wow-delay="0.8s" |
|
|
|
data-wow-delay="0.8s" |
|
|
|
:class="{ 'cursor-pointer': isLink(modules[2].form.link.linkName) }" |
|
|
|
:class="{ 'cursor-pointer': isLink(modules[2].form.link.linkName) }" |
|
|
|
@click="openLink(modules[2].form)"> |
|
|
|
@click="openLink(modules[2].form)" |
|
|
|
<img src="@/assets/images/science/2.png" |
|
|
|
> |
|
|
|
alt="" /> |
|
|
|
<img src="@/assets/images/science/2.png" alt="" /> |
|
|
|
|
|
|
|
<div class="texts rightText"> |
|
|
|
<div class="texts rightText"> |
|
|
|
<h6>{{ modules[2].form.title }}</h6> |
|
|
|
<h6>{{ modules[2].form.title }}</h6> |
|
|
|
<div class="des">{{ modules[2].form.des }}</div> |
|
|
|
<div class="des">{{ modules[2].form.des }}</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
<div class="item wow bounceInLeft" |
|
|
|
class="item wow bounceInLeft" |
|
|
|
data-wow-delay="0.5s" |
|
|
|
data-wow-delay="0.5s" |
|
|
|
:class="{ 'cursor-pointer': isLink(modules[3].form.link.linkName) }" |
|
|
|
:class="{ 'cursor-pointer': isLink(modules[3].form.link.linkName) }" |
|
|
|
@click="openLink(modules[3].form)"> |
|
|
|
@click="openLink(modules[3].form)" |
|
|
|
<img src="@/assets/images/science/3.png" |
|
|
|
> |
|
|
|
alt="" /> |
|
|
|
<img src="@/assets/images/science/3.png" alt="" /> |
|
|
|
|
|
|
|
<div class="texts"> |
|
|
|
<div class="texts"> |
|
|
|
<h6>{{ modules[3].form.title }}</h6> |
|
|
|
<h6>{{ modules[3].form.title }}</h6> |
|
|
|
<div class="des">{{ modules[3].form.des }}</div> |
|
|
|
<div class="des">{{ modules[3].form.des }}</div> |
|
|
@ -58,36 +57,33 @@ import Util from "@/libs/util"; |
|
|
|
import WOW from "wow.js"; |
|
|
|
import WOW from "wow.js"; |
|
|
|
export default { |
|
|
|
export default { |
|
|
|
mixins: [mixins], |
|
|
|
mixins: [mixins], |
|
|
|
data() { |
|
|
|
data () { |
|
|
|
return { |
|
|
|
return { |
|
|
|
routes: [], |
|
|
|
routes: [], |
|
|
|
}; |
|
|
|
}; |
|
|
|
}, |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
mounted () { |
|
|
|
new WOW().init(); |
|
|
|
new WOW().init(); |
|
|
|
}, |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
methods: { |
|
|
|
// 获取文章详情 |
|
|
|
// 获取文章详情 |
|
|
|
getInfo() { |
|
|
|
getInfo () { |
|
|
|
// 预览/详情 |
|
|
|
// 预览/详情 |
|
|
|
this.$post( |
|
|
|
this.$post(`${this.api[this.preview ? 'getRedisCache' : 'findPage']}?columnId=${this.id}`).then(({ data }) => { |
|
|
|
`${this.api[this.preview ? "getRedisCache" : "findPage"]}?columnId=${this.id}` |
|
|
|
if (data.length) { |
|
|
|
) |
|
|
|
// state:已发布(1)则取theEditedJson,草稿(0)则取jsonBeforeEditing |
|
|
|
.then(({ data }) => { |
|
|
|
const json = JSON.parse( |
|
|
|
if (data.length) { |
|
|
|
this.preview |
|
|
|
// state:已发布(1)则取theEditedJson,草稿(0)则取jsonBeforeEditing |
|
|
|
? data |
|
|
|
const json = JSON.parse( |
|
|
|
: data[data.length - 1][ |
|
|
|
this.preview |
|
|
|
data[data.length - 1].state ? "theEditedJson" : "jsonBeforeEditing" |
|
|
|
? 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); |
|
|
|
); |
|
|
|
} |
|
|
|
this.modules = json; |
|
|
|
}) |
|
|
|
console.log("🚀 ~ file: index.vue ~ line 180 ~ this.$post ~ json", json); |
|
|
|
.catch((err) => { }); |
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
.catch((err) => {}); |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}; |
|
|
|
}; |
|
|
@ -95,333 +91,334 @@ 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'; |
|
|
|
.inner { |
|
|
|
.inner { |
|
|
|
width: 960px; |
|
|
|
width: 960px; |
|
|
|
} |
|
|
|
} |
|
|
|
.single-banner { |
|
|
|
.single-banner { |
|
|
|
.banner-img { |
|
|
|
.banner-img { |
|
|
|
height: 21.6rem; |
|
|
|
height: 21.6rem; |
|
|
|
} |
|
|
|
|
|
|
|
.texts { |
|
|
|
|
|
|
|
h6 { |
|
|
|
|
|
|
|
font-size: 2.16rem; |
|
|
|
|
|
|
|
margin-bottom: .95rem; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
.banner-des { |
|
|
|
.texts { |
|
|
|
font-size: .96rem; |
|
|
|
h6 { |
|
|
|
|
|
|
|
font-size: 2.16rem; |
|
|
|
|
|
|
|
margin-bottom: 0.95rem; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.banner-des { |
|
|
|
|
|
|
|
font-size: 0.96rem; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
.block { |
|
|
|
.block { |
|
|
|
padding: 3.85rem 0; |
|
|
|
padding: 3.85rem 0; |
|
|
|
} |
|
|
|
} |
|
|
|
.item { |
|
|
|
.item { |
|
|
|
position: relative; |
|
|
|
position: relative; |
|
|
|
margin-bottom: 2.9rem; |
|
|
|
margin-bottom: 2.9rem; |
|
|
|
width: 100%; |
|
|
|
|
|
|
|
&:hover { |
|
|
|
|
|
|
|
.texts { |
|
|
|
|
|
|
|
color: #fff; |
|
|
|
|
|
|
|
transform: scale(1.05); |
|
|
|
|
|
|
|
background: #32b6e9 !important; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
img { |
|
|
|
|
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
height: 22rem; |
|
|
|
&:hover { |
|
|
|
} |
|
|
|
.texts { |
|
|
|
&:nth-child(2) .texts { |
|
|
|
color: #fff; |
|
|
|
color: #fff; |
|
|
|
transform: scale(1.05); |
|
|
|
background: #33b3c1; |
|
|
|
background: #32b6e9 !important; |
|
|
|
} |
|
|
|
} |
|
|
|
&:nth-child(3) .texts { |
|
|
|
} |
|
|
|
color: #fff; |
|
|
|
|
|
|
|
background: #e47c22; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
&:nth-child(even) .texts { |
|
|
|
|
|
|
|
left: auto; |
|
|
|
|
|
|
|
right: -1.6rem; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.texts { |
|
|
|
|
|
|
|
position: absolute; |
|
|
|
|
|
|
|
top: 3.9rem; |
|
|
|
|
|
|
|
left: -1.4rem; |
|
|
|
|
|
|
|
width: 26.6rem; |
|
|
|
|
|
|
|
padding: 3.5rem 1.9rem; |
|
|
|
|
|
|
|
color: #333; |
|
|
|
|
|
|
|
background: #fff6e9; |
|
|
|
|
|
|
|
transition: 0.5s; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
h6 { |
|
|
|
|
|
|
|
margin-bottom: .875rem; |
|
|
|
|
|
|
|
font-size: 1.6rem; |
|
|
|
|
|
|
|
font-family: PingFangSC-Medium, PingFang SC; |
|
|
|
|
|
|
|
font-weight: 500; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.des { |
|
|
|
|
|
|
|
font-size: .88rem; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
@media (max-width: 1200px) { |
|
|
|
|
|
|
|
body { |
|
|
|
|
|
|
|
width: 100% !important; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.inner { |
|
|
|
|
|
|
|
width: 80%; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.item { |
|
|
|
|
|
|
|
img { |
|
|
|
img { |
|
|
|
|
|
|
|
width: 100%; |
|
|
|
|
|
|
|
height: 22rem; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
&:nth-child(2) .texts { |
|
|
|
|
|
|
|
color: #fff; |
|
|
|
|
|
|
|
background: #33b3c1; |
|
|
|
} |
|
|
|
} |
|
|
|
.rightText { |
|
|
|
&:nth-child(3) .texts { |
|
|
|
right: 12px !important; |
|
|
|
color: #fff; |
|
|
|
|
|
|
|
background: #e47c22; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
&:nth-child(even) .texts { |
|
|
|
|
|
|
|
left: auto; |
|
|
|
|
|
|
|
right: -1.6rem; |
|
|
|
} |
|
|
|
} |
|
|
|
.texts { |
|
|
|
.texts { |
|
|
|
width: 85%; |
|
|
|
position: absolute; |
|
|
|
box-sizing: border-box; |
|
|
|
top: 3.9rem; |
|
|
|
left: -1rem; |
|
|
|
left: -1.4rem; |
|
|
|
&:nth-child(2) { |
|
|
|
width: 26.6rem; |
|
|
|
right: -1.5rem !important; |
|
|
|
padding: 3.5rem 1.9rem; |
|
|
|
} |
|
|
|
color: #333; |
|
|
|
.des{ |
|
|
|
background: #fff6e9; |
|
|
|
-webkit-line-clamp: inherit |
|
|
|
transition: 0.5s; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
h6 { |
|
|
|
|
|
|
|
margin-bottom: 0.875rem; |
|
|
|
|
|
|
|
font-size: 1.6rem; |
|
|
|
|
|
|
|
font-family: PingFangSC-Medium, PingFang SC; |
|
|
|
|
|
|
|
font-weight: 500; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.des { |
|
|
|
|
|
|
|
font-size: 0.88rem; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
@media (max-width: 320px) { |
|
|
|
|
|
|
|
.wrap { |
|
|
|
@media (max-width: 1200px) { |
|
|
|
.single-banner { |
|
|
|
body { |
|
|
|
.banner-img { |
|
|
|
width: 100% !important; |
|
|
|
height: 12rem; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.texts { |
|
|
|
|
|
|
|
top: 5rem; |
|
|
|
|
|
|
|
left: 2rem; |
|
|
|
|
|
|
|
.banner-title{ |
|
|
|
|
|
|
|
font-size: 1.5rem; |
|
|
|
|
|
|
|
margin-bottom: .5rem; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.banner-des{ |
|
|
|
|
|
|
|
font-size: .85rem; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
.block { |
|
|
|
|
|
|
|
.inner { |
|
|
|
.inner { |
|
|
|
img { |
|
|
|
width: 80%; |
|
|
|
height: 18rem; |
|
|
|
} |
|
|
|
} |
|
|
|
.item { |
|
|
|
.texts { |
|
|
|
img { |
|
|
|
padding: 1.25rem; |
|
|
|
} |
|
|
|
top: 1.5rem; |
|
|
|
.rightText { |
|
|
|
h6 { |
|
|
|
right: 12px !important; |
|
|
|
font-size: 1.2rem; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
.des { |
|
|
|
.texts { |
|
|
|
font-size: .75rem; |
|
|
|
width: 85%; |
|
|
|
|
|
|
|
box-sizing: border-box; |
|
|
|
|
|
|
|
left: -1rem; |
|
|
|
|
|
|
|
&:nth-child(2) { |
|
|
|
|
|
|
|
right: -1.5rem !important; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.des { |
|
|
|
|
|
|
|
-webkit-line-clamp: inherit; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
@media (min-width: 320px) and (max-width: 375px) { |
|
|
|
@media (max-width: 320px) { |
|
|
|
.wrap { |
|
|
|
.wrap { |
|
|
|
.single-banner { |
|
|
|
.single-banner { |
|
|
|
.banner-img { |
|
|
|
.banner-img { |
|
|
|
height: 12rem; |
|
|
|
height: 12rem; |
|
|
|
} |
|
|
|
} |
|
|
|
.texts { |
|
|
|
.texts { |
|
|
|
top: 5rem; |
|
|
|
top: 5rem; |
|
|
|
left: 2rem; |
|
|
|
left: 2rem; |
|
|
|
.banner-title{ |
|
|
|
.banner-title { |
|
|
|
font-size: 1.5rem; |
|
|
|
font-size: 1.5rem; |
|
|
|
margin-bottom: .5rem; |
|
|
|
margin-bottom: 0.5rem; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.banner-des { |
|
|
|
|
|
|
|
font-size: 0.85rem; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.banner-des{ |
|
|
|
} |
|
|
|
font-size: .85rem; |
|
|
|
.block { |
|
|
|
|
|
|
|
.inner { |
|
|
|
|
|
|
|
img { |
|
|
|
|
|
|
|
height: 18rem; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.texts { |
|
|
|
|
|
|
|
padding: 1.25rem; |
|
|
|
|
|
|
|
top: 1.5rem; |
|
|
|
|
|
|
|
h6 { |
|
|
|
|
|
|
|
font-size: 1.2rem; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.des { |
|
|
|
|
|
|
|
font-size: 0.75rem; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.block { |
|
|
|
@media (min-width: 320px) and (max-width: 375px) { |
|
|
|
.inner { |
|
|
|
.wrap { |
|
|
|
img { |
|
|
|
.single-banner { |
|
|
|
height: 18rem; |
|
|
|
.banner-img { |
|
|
|
} |
|
|
|
height: 12rem; |
|
|
|
.texts { |
|
|
|
} |
|
|
|
padding: 1.25rem; |
|
|
|
.texts { |
|
|
|
top: 1.5rem; |
|
|
|
top: 5rem; |
|
|
|
h6 { |
|
|
|
left: 2rem; |
|
|
|
font-size: 1.4rem; |
|
|
|
.banner-title { |
|
|
|
|
|
|
|
font-size: 1.5rem; |
|
|
|
|
|
|
|
margin-bottom: 0.5rem; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.banner-des { |
|
|
|
|
|
|
|
font-size: 0.85rem; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.des { |
|
|
|
} |
|
|
|
font-size: .75rem; |
|
|
|
.block { |
|
|
|
|
|
|
|
.inner { |
|
|
|
|
|
|
|
img { |
|
|
|
|
|
|
|
height: 18rem; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.texts { |
|
|
|
|
|
|
|
padding: 1.25rem; |
|
|
|
|
|
|
|
top: 1.5rem; |
|
|
|
|
|
|
|
h6 { |
|
|
|
|
|
|
|
font-size: 1.4rem; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.des { |
|
|
|
|
|
|
|
font-size: 0.75rem; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
@media (min-width: 375px) and (max-width: 480px) { |
|
|
|
@media (min-width: 375px) and (max-width: 480px) { |
|
|
|
.wrap { |
|
|
|
.wrap { |
|
|
|
.single-banner { |
|
|
|
.single-banner { |
|
|
|
.banner-img { |
|
|
|
.banner-img { |
|
|
|
height: 12rem; |
|
|
|
height: 12rem; |
|
|
|
} |
|
|
|
} |
|
|
|
.texts { |
|
|
|
.texts { |
|
|
|
top: 5rem; |
|
|
|
top: 5rem; |
|
|
|
left: 2rem; |
|
|
|
left: 2rem; |
|
|
|
.banner-title{ |
|
|
|
.banner-title { |
|
|
|
font-size: 1.5rem; |
|
|
|
font-size: 1.5rem; |
|
|
|
margin-bottom: .5rem; |
|
|
|
margin-bottom: 0.5rem; |
|
|
|
} |
|
|
|
} |
|
|
|
.banner-des{ |
|
|
|
.banner-des { |
|
|
|
font-size: .85rem; |
|
|
|
font-size: 0.85rem; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.block { |
|
|
|
.block { |
|
|
|
.inner { |
|
|
|
.inner { |
|
|
|
img { |
|
|
|
img { |
|
|
|
height: 18rem; |
|
|
|
height: 18rem; |
|
|
|
} |
|
|
|
} |
|
|
|
.texts { |
|
|
|
.texts { |
|
|
|
padding: 1.25rem; |
|
|
|
padding: 1.25rem; |
|
|
|
top: 1.5rem; |
|
|
|
top: 1.5rem; |
|
|
|
h6 { |
|
|
|
h6 { |
|
|
|
font-size: 1.4rem; |
|
|
|
font-size: 1.4rem; |
|
|
|
} |
|
|
|
} |
|
|
|
.des { |
|
|
|
.des { |
|
|
|
font-size: 0.75rem; |
|
|
|
font-size: .75rem; |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
@media (min-width: 480px) and (max-width: 640px) { |
|
|
|
@media (min-width: 480px) and (max-width: 640px) { |
|
|
|
.wrap { |
|
|
|
.wrap { |
|
|
|
.single-banner { |
|
|
|
.single-banner { |
|
|
|
.banner-img { |
|
|
|
.banner-img { |
|
|
|
height: 12rem; |
|
|
|
height: 12rem; |
|
|
|
} |
|
|
|
} |
|
|
|
.texts { |
|
|
|
.texts { |
|
|
|
top: 5rem; |
|
|
|
top: 5rem; |
|
|
|
left: 2rem; |
|
|
|
left: 2rem; |
|
|
|
.banner-title{ |
|
|
|
.banner-title { |
|
|
|
font-size: 1.5rem; |
|
|
|
font-size: 1.5rem; |
|
|
|
margin-bottom: .5rem; |
|
|
|
margin-bottom: 0.5rem; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.banner-des { |
|
|
|
|
|
|
|
font-size: 0.85rem; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.banner-des{ |
|
|
|
|
|
|
|
font-size: .85rem; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.block { |
|
|
|
.block { |
|
|
|
.inner { |
|
|
|
.inner { |
|
|
|
img { |
|
|
|
img { |
|
|
|
height: 18rem; |
|
|
|
height: 18rem; |
|
|
|
} |
|
|
|
} |
|
|
|
.texts { |
|
|
|
.texts { |
|
|
|
padding: 1.25rem; |
|
|
|
padding: 1.25rem; |
|
|
|
top: 1.5rem; |
|
|
|
top: 1.5rem; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
@media (min-width: 640px) and (max-width: 768px) { |
|
|
|
@media (min-width: 640px) and (max-width: 768px) { |
|
|
|
.wrap { |
|
|
|
.wrap { |
|
|
|
.single-banner { |
|
|
|
.single-banner { |
|
|
|
.banner-img { |
|
|
|
.banner-img { |
|
|
|
height: 12rem; |
|
|
|
height: 12rem; |
|
|
|
} |
|
|
|
} |
|
|
|
.texts { |
|
|
|
.texts { |
|
|
|
top: 5rem; |
|
|
|
top: 5rem; |
|
|
|
left: 2rem; |
|
|
|
left: 2rem; |
|
|
|
.banner-title{ |
|
|
|
.banner-title { |
|
|
|
font-size: 1.5rem; |
|
|
|
font-size: 1.5rem; |
|
|
|
margin-bottom: .5rem; |
|
|
|
margin-bottom: 0.5rem; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.banner-des { |
|
|
|
|
|
|
|
font-size: 0.85rem; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.banner-des{ |
|
|
|
|
|
|
|
font-size: .85rem; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.block { |
|
|
|
.block { |
|
|
|
.inner { |
|
|
|
.inner { |
|
|
|
img { |
|
|
|
img { |
|
|
|
height: 18rem; |
|
|
|
height: 18rem; |
|
|
|
} |
|
|
|
} |
|
|
|
.texts { |
|
|
|
.texts { |
|
|
|
padding: 1.25rem; |
|
|
|
padding: 1.25rem; |
|
|
|
top: 1.5rem; |
|
|
|
top: 1.5rem; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
@media (min-width: 768px) and (max-width: 980px) { |
|
|
|
@media (min-width: 768px) and (max-width: 980px) { |
|
|
|
.wrap { |
|
|
|
.wrap { |
|
|
|
.single-banner { |
|
|
|
.single-banner { |
|
|
|
.banner-img { |
|
|
|
.banner-img { |
|
|
|
height: 12rem; |
|
|
|
height: 12rem; |
|
|
|
} |
|
|
|
} |
|
|
|
.texts { |
|
|
|
.texts { |
|
|
|
top: 5rem; |
|
|
|
top: 5rem; |
|
|
|
left: 2rem; |
|
|
|
left: 2rem; |
|
|
|
.banner-title{ |
|
|
|
.banner-title { |
|
|
|
font-size: 1.5rem; |
|
|
|
font-size: 1.5rem; |
|
|
|
margin-bottom: .5rem; |
|
|
|
margin-bottom: 0.5rem; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.banner-des { |
|
|
|
|
|
|
|
font-size: 0.85rem; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.banner-des{ |
|
|
|
|
|
|
|
font-size: .85rem; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.block { |
|
|
|
.block { |
|
|
|
.inner { |
|
|
|
.inner { |
|
|
|
img { |
|
|
|
img { |
|
|
|
height: 18rem; |
|
|
|
height: 18rem; |
|
|
|
} |
|
|
|
} |
|
|
|
.texts { |
|
|
|
.texts { |
|
|
|
padding: 1.25rem; |
|
|
|
padding: 1.25rem; |
|
|
|
top: 1.5rem; |
|
|
|
top: 1.5rem; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
@media (min-width: 980px) and (max-width: 1200px) { |
|
|
|
@media (min-width: 980px) and (max-width: 1200px) { |
|
|
|
.wrap { |
|
|
|
.wrap { |
|
|
|
.single-banner { |
|
|
|
.single-banner { |
|
|
|
.banner-img { |
|
|
|
.banner-img { |
|
|
|
height: 12rem; |
|
|
|
height: 12rem; |
|
|
|
} |
|
|
|
} |
|
|
|
.texts { |
|
|
|
.texts { |
|
|
|
top: 5rem; |
|
|
|
top: 5rem; |
|
|
|
left: 2rem; |
|
|
|
left: 2rem; |
|
|
|
.banner-title{ |
|
|
|
.banner-title { |
|
|
|
font-size: 1.5rem; |
|
|
|
font-size: 1.5rem; |
|
|
|
margin-bottom: .5rem; |
|
|
|
margin-bottom: 0.5rem; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.banner-des { |
|
|
|
|
|
|
|
font-size: 0.85rem; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.banner-des{ |
|
|
|
|
|
|
|
font-size: .85rem; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.block { |
|
|
|
.block { |
|
|
|
.inner { |
|
|
|
.inner { |
|
|
|
img { |
|
|
|
img { |
|
|
|
height: 18rem; |
|
|
|
height: 18rem; |
|
|
|
} |
|
|
|
} |
|
|
|
.texts { |
|
|
|
.texts { |
|
|
|
padding: 1.25rem; |
|
|
|
padding: 1.25rem; |
|
|
|
top: 1.5rem; |
|
|
|
top: 1.5rem; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
</style> |
|
|
|
</style> |
|
|
|