|
|
@ -1,6 +1,6 @@ |
|
|
|
<template> |
|
|
|
<template> |
|
|
|
<div class="wrap"> |
|
|
|
<div class="wrap"> |
|
|
|
<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'"> |
|
|
|
<el-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"> |
|
|
|
<template v-for="(item, i) in modules[0].list"> |
|
|
|
<el-carousel-item v-if="item.pic && item.isEnable" :key="i"> |
|
|
|
<el-carousel-item v-if="item.pic && item.isEnable" :key="i"> |
|
|
|
<div :class="['banner-item', {'cursor-pointer': isLink(item.link.linkName)}]" @click="openLink(item)"> |
|
|
|
<div :class="['banner-item', {'cursor-pointer': isLink(item.link.linkName)}]" @click="openLink(item)"> |
|
|
@ -290,14 +290,25 @@ 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"; |
|
|
|
|
|
|
|
.wrap{ |
|
|
|
|
|
|
|
/deep/ .el-carousel { |
|
|
|
|
|
|
|
height: 30rem; |
|
|
|
|
|
|
|
.el-carousel__container{ |
|
|
|
|
|
|
|
height: 30rem; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
img{ |
|
|
|
|
|
|
|
height: 30rem; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
.tabs { |
|
|
|
.tabs { |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
justify-content: center; |
|
|
|
justify-content: center; |
|
|
|
box-shadow: 0px 2px 14px 0px rgba(167,167,167,0.26); |
|
|
|
box-shadow: 0px 2px 14px 0px rgba(167,167,167,0.26); |
|
|
|
li { |
|
|
|
li { |
|
|
|
padding: 25px 19px; |
|
|
|
padding: 1.5625rem 1.1875rem; |
|
|
|
margin: 0 10px; |
|
|
|
margin: 0 10px; |
|
|
|
font-size: 22px; |
|
|
|
font-size: 1.375rem; |
|
|
|
color: #333; |
|
|
|
color: #333; |
|
|
|
border-bottom: 4px solid transparent; |
|
|
|
border-bottom: 4px solid transparent; |
|
|
|
text-shadow: 0px 2px 14px rgba(167,167,167,0.26); |
|
|
|
text-shadow: 0px 2px 14px rgba(167,167,167,0.26); |
|
|
@ -309,26 +320,26 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.lg { |
|
|
|
.lg { |
|
|
|
width: 1505px; |
|
|
|
width: 94.0625rem; |
|
|
|
} |
|
|
|
} |
|
|
|
/deep/.articles { |
|
|
|
/deep/.articles { |
|
|
|
width: 50%; |
|
|
|
width: 50%; |
|
|
|
.el-carousel__indicators--horizontal { |
|
|
|
.el-carousel__indicators--horizontal { |
|
|
|
bottom: 20px; |
|
|
|
bottom: 1.25rem; |
|
|
|
left: 804px; |
|
|
|
left: 50.25rem; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.news-banner { |
|
|
|
.news-banner { |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
cursor: pointer; |
|
|
|
cursor: pointer; |
|
|
|
.pic { |
|
|
|
.pic { |
|
|
|
width: 700px; |
|
|
|
width: 43.75rem; |
|
|
|
height: 380px; |
|
|
|
height: 23.75rem; |
|
|
|
} |
|
|
|
} |
|
|
|
.right { |
|
|
|
.right { |
|
|
|
position: relative; |
|
|
|
position: relative; |
|
|
|
width: 50%; |
|
|
|
width: 50%; |
|
|
|
padding: 50px 50px 30px; |
|
|
|
padding: 3.125rem 3.125rem 1.875rem; |
|
|
|
background: #1583FF; |
|
|
|
background: #1583FF; |
|
|
|
color: #fff; |
|
|
|
color: #fff; |
|
|
|
&:hover { |
|
|
|
&:hover { |
|
|
@ -341,44 +352,44 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
.inds { |
|
|
|
.inds { |
|
|
|
position: absolute; |
|
|
|
position: absolute; |
|
|
|
bottom: 40px; |
|
|
|
bottom: 2.5rem; |
|
|
|
left: 60px; |
|
|
|
left: 3.75rem; |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
li { |
|
|
|
li { |
|
|
|
width: 10px; |
|
|
|
width: .625rem; |
|
|
|
height: 10px; |
|
|
|
height: .625rem; |
|
|
|
margin-right: 12px; |
|
|
|
margin-right: .75rem; |
|
|
|
background: #FFFFFF; |
|
|
|
background: #FFFFFF; |
|
|
|
border-radius: 50%; |
|
|
|
border-radius: 50%; |
|
|
|
transition: .2s; |
|
|
|
transition: .2s; |
|
|
|
&.active { |
|
|
|
&.active { |
|
|
|
width: 30px; |
|
|
|
width: 1.875rem; |
|
|
|
background: rgba(255,255,255,0.3); |
|
|
|
background: rgba(255,255,255,0.3); |
|
|
|
border-radius: 5px; |
|
|
|
border-radius: 5px; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
h6 { |
|
|
|
h6 { |
|
|
|
font-size: 24px; |
|
|
|
font-size: 1.5rem; |
|
|
|
transition: .3s; |
|
|
|
transition: .3s; |
|
|
|
} |
|
|
|
} |
|
|
|
.des { |
|
|
|
.des { |
|
|
|
margin: 30px 0; |
|
|
|
margin: 1.875rem 0; |
|
|
|
font-size: 16px; |
|
|
|
font-size: 1rem; |
|
|
|
line-height: 24px; |
|
|
|
line-height: 24px; |
|
|
|
transition: .3s; |
|
|
|
transition: .3s; |
|
|
|
} |
|
|
|
} |
|
|
|
.meta { |
|
|
|
.meta { |
|
|
|
font-size: 16px; |
|
|
|
font-size: 1rem; |
|
|
|
transition: .3s; |
|
|
|
transition: .3s; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.card { |
|
|
|
.card { |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
flex-wrap: wrap; |
|
|
|
flex-wrap: wrap; |
|
|
|
margin-top: 40px; |
|
|
|
margin-top: 2.5rem; |
|
|
|
li { |
|
|
|
li { |
|
|
|
width: calc((100% - 56px) / 3); |
|
|
|
width: calc((100% - 3.5rem) / 3); |
|
|
|
margin-right: 28px; |
|
|
|
margin-right: 28px; |
|
|
|
box-shadow: 0px 0px 20px 0px rgba(176,176,176,0.21); |
|
|
|
box-shadow: 0px 0px 20px 0px rgba(176,176,176,0.21); |
|
|
|
border-radius: 6px; |
|
|
|
border-radius: 6px; |
|
|
@ -392,19 +403,19 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
.pic { |
|
|
|
.pic { |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
height: 240px; |
|
|
|
height: 15rem; |
|
|
|
} |
|
|
|
} |
|
|
|
.texts { |
|
|
|
.texts { |
|
|
|
padding: 40px 30px; |
|
|
|
padding: 2.5rem 1.875rem; |
|
|
|
} |
|
|
|
} |
|
|
|
.meta { |
|
|
|
.meta { |
|
|
|
font-size: 16px; |
|
|
|
font-size: 1rem; |
|
|
|
color: #666; |
|
|
|
color: #666; |
|
|
|
} |
|
|
|
} |
|
|
|
.des { |
|
|
|
.des { |
|
|
|
height: 60px; |
|
|
|
height: 3.75rem; |
|
|
|
margin: 10px 0; |
|
|
|
margin: 10px 0; |
|
|
|
font-size: 20px; |
|
|
|
font-size: 1.25rem; |
|
|
|
font-family: SFProDisplay; |
|
|
|
font-family: SFProDisplay; |
|
|
|
font-weight: 500; |
|
|
|
font-weight: 500; |
|
|
|
color: #333; |
|
|
|
color: #333; |
|
|
@ -412,14 +423,14 @@ export default { |
|
|
|
-webkit-line-clamp: 2; |
|
|
|
-webkit-line-clamp: 2; |
|
|
|
} |
|
|
|
} |
|
|
|
.arrow { |
|
|
|
.arrow { |
|
|
|
width: 36px; |
|
|
|
width: 2.25rem; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.more { |
|
|
|
.more { |
|
|
|
width: 374px; |
|
|
|
width: 23.375rem; |
|
|
|
margin: 58px auto 0; |
|
|
|
margin: 3.625rem auto 0; |
|
|
|
line-height: 64px; |
|
|
|
line-height: 64px; |
|
|
|
font-size: 30px; |
|
|
|
font-size: 1.875rem; |
|
|
|
text-align: center; |
|
|
|
text-align: center; |
|
|
|
color: #1583FF; |
|
|
|
color: #1583FF; |
|
|
|
border-radius: 35px; |
|
|
|
border-radius: 35px; |
|
|
@ -429,8 +440,8 @@ export default { |
|
|
|
.shop-shows { |
|
|
|
.shop-shows { |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
.left { |
|
|
|
.left { |
|
|
|
width: 660px; |
|
|
|
width: 41.25rem; |
|
|
|
margin-right: 20px; |
|
|
|
margin-right: 1.25rem; |
|
|
|
background-color: #fff; |
|
|
|
background-color: #fff; |
|
|
|
cursor: pointer; |
|
|
|
cursor: pointer; |
|
|
|
overflow: hidden; |
|
|
|
overflow: hidden; |
|
|
@ -441,38 +452,38 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.texts { |
|
|
|
.texts { |
|
|
|
padding: 40px 30px; |
|
|
|
padding: 2.5rem 1.875rem; |
|
|
|
} |
|
|
|
} |
|
|
|
h6 { |
|
|
|
h6 { |
|
|
|
font-size: 24px; |
|
|
|
font-size: 1.5rem; |
|
|
|
color: #272727; |
|
|
|
color: #272727; |
|
|
|
} |
|
|
|
} |
|
|
|
.des { |
|
|
|
.des { |
|
|
|
margin-top: 10px; |
|
|
|
margin-top: 10px; |
|
|
|
font-size: 16px; |
|
|
|
font-size: 1rem; |
|
|
|
color: #666; |
|
|
|
color: #666; |
|
|
|
line-height: 30px; |
|
|
|
line-height: 30px; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.right { |
|
|
|
.right { |
|
|
|
width: 824px; |
|
|
|
width: 51.5rem; |
|
|
|
overflow: hidden; |
|
|
|
overflow: hidden; |
|
|
|
} |
|
|
|
} |
|
|
|
.show-card { |
|
|
|
.show-card { |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
margin-bottom: 20px; |
|
|
|
margin-bottom: 1.25rem; |
|
|
|
li { |
|
|
|
li { |
|
|
|
position: relative; |
|
|
|
position: relative; |
|
|
|
height: 197px; |
|
|
|
height: 197px; |
|
|
|
overflow: hidden; |
|
|
|
overflow: hidden; |
|
|
|
cursor: pointer; |
|
|
|
cursor: pointer; |
|
|
|
&:first-child { |
|
|
|
&:first-child { |
|
|
|
margin-right: 22px; |
|
|
|
margin-right: 1.375rem; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.pic { |
|
|
|
.pic { |
|
|
|
width: 401px; |
|
|
|
width: 25rem; |
|
|
|
height: 197px; |
|
|
|
height: 12.3125rem; |
|
|
|
transition: .3s; |
|
|
|
transition: .3s; |
|
|
|
&:hover { |
|
|
|
&:hover { |
|
|
|
transform: scale(1.05); |
|
|
|
transform: scale(1.05); |
|
|
@ -483,7 +494,7 @@ export default { |
|
|
|
bottom: 0; |
|
|
|
bottom: 0; |
|
|
|
left: 0; |
|
|
|
left: 0; |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
font-size: 16px; |
|
|
|
font-size: 1rem; |
|
|
|
color: #fff; |
|
|
|
color: #fff; |
|
|
|
line-height: 48px; |
|
|
|
line-height: 48px; |
|
|
|
text-align: center; |
|
|
|
text-align: center; |
|
|
@ -493,12 +504,12 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.card-list { |
|
|
|
.card-list { |
|
|
|
padding: 34px 26px; |
|
|
|
padding: 2.125rem 1.625rem; |
|
|
|
background-color: #fff; |
|
|
|
background-color: #fff; |
|
|
|
li { |
|
|
|
li { |
|
|
|
display: inline-flex; |
|
|
|
display: inline-flex; |
|
|
|
align-items: center; |
|
|
|
align-items: center; |
|
|
|
margin-bottom: 38px; |
|
|
|
margin-bottom: 2.375rem; |
|
|
|
transition: .3s; |
|
|
|
transition: .3s; |
|
|
|
&:hover { |
|
|
|
&:hover { |
|
|
|
transform: scale(1.05); |
|
|
|
transform: scale(1.05); |
|
|
@ -508,28 +519,28 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.pic { |
|
|
|
.pic { |
|
|
|
width: 116px; |
|
|
|
width: 7.25rem; |
|
|
|
height: 85px; |
|
|
|
height: 5.3125rem; |
|
|
|
margin-right: 28px; |
|
|
|
margin-right: 1.75rem; |
|
|
|
} |
|
|
|
} |
|
|
|
.texts { |
|
|
|
.texts { |
|
|
|
width: 504px; |
|
|
|
width: 31.5rem; |
|
|
|
margin-right: 60px; |
|
|
|
margin-right: 3.75rem; |
|
|
|
} |
|
|
|
} |
|
|
|
h6 { |
|
|
|
h6 { |
|
|
|
margin-bottom: 10px; |
|
|
|
margin-bottom: 10px; |
|
|
|
font-size: 20px; |
|
|
|
font-size: 1.25rem; |
|
|
|
color: #272727; |
|
|
|
color: #272727; |
|
|
|
} |
|
|
|
} |
|
|
|
.des { |
|
|
|
.des { |
|
|
|
font-size: 14px; |
|
|
|
font-size: .875rem; |
|
|
|
color: #666; |
|
|
|
color: #666; |
|
|
|
line-height: 24px; |
|
|
|
line-height: 24px; |
|
|
|
text-shadow: 0px 0px 30px rgba(48,48,48,0.08); |
|
|
|
text-shadow: 0px 0px 30px rgba(48,48,48,0.08); |
|
|
|
-webkit-line-clamp: 2; |
|
|
|
-webkit-line-clamp: 2; |
|
|
|
} |
|
|
|
} |
|
|
|
.arrow { |
|
|
|
.arrow { |
|
|
|
width: 36px; |
|
|
|
width: 2.25rem; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -542,7 +553,7 @@ export default { |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
} |
|
|
|
} |
|
|
|
.left { |
|
|
|
.left { |
|
|
|
width: 718px; |
|
|
|
width: 44.875rem; |
|
|
|
margin-right: 20px; |
|
|
|
margin-right: 20px; |
|
|
|
background-color: #fff; |
|
|
|
background-color: #fff; |
|
|
|
overflow: hidden; |
|
|
|
overflow: hidden; |
|
|
@ -555,7 +566,7 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
.texts { |
|
|
|
.texts { |
|
|
|
display: flex; |
|
|
|
display: flex; |
|
|
|
padding: 40px 30px; |
|
|
|
padding: 2.5rem 1.875rem; |
|
|
|
} |
|
|
|
} |
|
|
|
.meta { |
|
|
|
.meta { |
|
|
|
padding: 10px 23px 10px 0; |
|
|
|
padding: 10px 23px 10px 0; |
|
|
@ -703,6 +714,20 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@media (min-width: 280px) and (max-width: 750px) { |
|
|
|
@media (min-width: 280px) and (max-width: 750px) { |
|
|
|
|
|
|
|
.wrap{ |
|
|
|
|
|
|
|
/deep/ .el-carousel { |
|
|
|
|
|
|
|
height: 15rem; |
|
|
|
|
|
|
|
.el-carousel__container{ |
|
|
|
|
|
|
|
height: 15rem; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
img{ |
|
|
|
|
|
|
|
height: 15rem; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
.banner-item .banner-name { |
|
|
|
|
|
|
|
font-size: 1.5rem; |
|
|
|
|
|
|
|
} |
|
|
|
.tabs { |
|
|
|
.tabs { |
|
|
|
li { |
|
|
|
li { |
|
|
|
padding: 15px 10px; |
|
|
|
padding: 15px 10px; |
|
|
@ -716,7 +741,7 @@ export default { |
|
|
|
width: 90%; |
|
|
|
width: 90%; |
|
|
|
.news-banner{ |
|
|
|
.news-banner{ |
|
|
|
img{ |
|
|
|
img{ |
|
|
|
height: 350px; |
|
|
|
height: 20rem; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.b-title{ |
|
|
|
.b-title{ |
|
|
@ -728,7 +753,7 @@ export default { |
|
|
|
.shop-shows{ |
|
|
|
.shop-shows{ |
|
|
|
.left { |
|
|
|
.left { |
|
|
|
img{ |
|
|
|
img{ |
|
|
|
height: 350px; |
|
|
|
height: 20rem; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -772,7 +797,7 @@ export default { |
|
|
|
.left { |
|
|
|
.left { |
|
|
|
width: 100%; |
|
|
|
width: 100%; |
|
|
|
.pic { |
|
|
|
.pic { |
|
|
|
height: 450px; |
|
|
|
height: 20rem; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.card-list{ |
|
|
|
.card-list{ |
|
|
@ -781,7 +806,7 @@ export default { |
|
|
|
li { |
|
|
|
li { |
|
|
|
.pic { |
|
|
|
.pic { |
|
|
|
width: 100px; |
|
|
|
width: 100px; |
|
|
|
height: 120px; |
|
|
|
height: 7.5rem; |
|
|
|
} |
|
|
|
} |
|
|
|
.texts{ |
|
|
|
.texts{ |
|
|
|
h6{ |
|
|
|
h6{ |
|
|
|