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