|
|
@ -52,22 +52,24 @@ |
|
|
<img class="item" v-for="shop of shopList.slice(0, 16)" :key="shop.id" :src="config.sourceUrl + shop.logoUrl" alt="" /> |
|
|
<img class="item" v-for="shop of shopList.slice(0, 16)" :key="shop.id" :src="config.sourceUrl + shop.logoUrl" alt="" /> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<div class="r2"> |
|
|
|
|
|
<div class="item" v-for="tab of sidebarList" :key="tab.title" @click="goPage(tab)"> |
|
|
|
|
|
<div class="icon"><img :src="tab.icon" /></div> |
|
|
|
|
|
<div class="title">{{ switchLanguage(tab, 'title') }}</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="r3"> |
|
|
|
|
|
<EffectFade :list="activityList ?? []"> |
|
|
|
|
|
<template v-slot="{ item }"> |
|
|
|
|
|
<div class="banner-wrapper"> |
|
|
|
|
|
<img class="banner" :src="config.sourceUrl + item.fileUrl" alt="" /> |
|
|
|
|
|
<div class="name">{{ item.activityName }}</div> |
|
|
|
|
|
|
|
|
<div class="c3"> |
|
|
|
|
|
<div class="r2"> |
|
|
|
|
|
<div class="item" v-for="tab of sidebarList" :key="tab.title" @click="goPage(tab)"> |
|
|
|
|
|
<div class="icon"><img :src="tab.icon" /></div> |
|
|
|
|
|
<div class="title">{{ switchLanguage(tab, 'title') }}</div> |
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
|
|
|
</EffectFade> |
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="r3"> |
|
|
|
|
|
<EffectFade :list="activityList ?? []"> |
|
|
|
|
|
<template v-slot="{ item }"> |
|
|
|
|
|
<div class="banner-wrapper"> |
|
|
|
|
|
<img class="banner" :src="config.sourceUrl + item.fileUrl" alt="" /> |
|
|
|
|
|
<div class="name">{{ item.activityName }}</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
</template> |
|
|
|
|
|
</EffectFade> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
@ -130,8 +132,9 @@ getActivityList(3).then(({ data }) => { |
|
|
top: 0; |
|
|
top: 0; |
|
|
.header { |
|
|
.header { |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
height: 515px; |
|
|
|
|
|
padding: 392px 0 0 68px; |
|
|
|
|
|
|
|
|
height: 280px; |
|
|
|
|
|
flex: 0 0 280px; |
|
|
|
|
|
padding: 157px 0 0 0; |
|
|
.hot-search { |
|
|
.hot-search { |
|
|
.title { |
|
|
.title { |
|
|
font-style: normal; |
|
|
font-style: normal; |
|
|
@ -139,8 +142,11 @@ getActivityList(3).then(({ data }) => { |
|
|
font-size: 20px; |
|
|
font-size: 20px; |
|
|
line-height: 23px; |
|
|
line-height: 23px; |
|
|
color: rgba(0, 0, 0, 0.8); |
|
|
color: rgba(0, 0, 0, 0.8); |
|
|
|
|
|
text-align: center; |
|
|
} |
|
|
} |
|
|
.row { |
|
|
.row { |
|
|
|
|
|
display: flex; |
|
|
|
|
|
justify-content: center; |
|
|
margin-top: 16px; |
|
|
margin-top: 16px; |
|
|
.item { |
|
|
.item { |
|
|
position: relative; |
|
|
position: relative; |
|
|
@ -179,26 +185,26 @@ getActivityList(3).then(({ data }) => { |
|
|
.content { |
|
|
.content { |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
flex: 1; |
|
|
flex: 1; |
|
|
padding: 40px 68px 0 68px; |
|
|
|
|
|
|
|
|
padding: 84px 68px; |
|
|
.r1 { |
|
|
.r1 { |
|
|
display: flex; |
|
|
display: flex; |
|
|
height: 557px; |
|
|
|
|
|
|
|
|
height: 625px; |
|
|
.guide { |
|
|
.guide { |
|
|
position: relative; |
|
|
position: relative; |
|
|
flex: 0 0 339px; |
|
|
flex: 0 0 339px; |
|
|
width: 339px; |
|
|
width: 339px; |
|
|
height: 557px; |
|
|
|
|
|
|
|
|
height: 625px; |
|
|
background: linear-gradient(99.5deg, #f0b92b 0%, #f9d556 100%); |
|
|
background: linear-gradient(99.5deg, #f0b92b 0%, #f9d556 100%); |
|
|
border-radius: 32px; |
|
|
border-radius: 32px; |
|
|
overflow: hidden; |
|
|
overflow: hidden; |
|
|
padding: 460px 0 0 40px; |
|
|
|
|
|
|
|
|
padding: 528px 0 0 40px; |
|
|
|
|
|
|
|
|
.top { |
|
|
.top { |
|
|
position: absolute; |
|
|
position: absolute; |
|
|
top: 0; |
|
|
top: 0; |
|
|
left: 0; |
|
|
left: 0; |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
height: 432px; |
|
|
|
|
|
|
|
|
height: 500px; |
|
|
background: linear-gradient(180deg, #435acd 0%, #749cf3 100%); |
|
|
background: linear-gradient(180deg, #435acd 0%, #749cf3 100%); |
|
|
border-radius: 32px; |
|
|
border-radius: 32px; |
|
|
padding: 40px; |
|
|
padding: 40px; |
|
|
@ -342,91 +348,97 @@ getActivityList(3).then(({ data }) => { |
|
|
padding: 32px 0 0 40px; |
|
|
padding: 32px 0 0 40px; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
.r2 { |
|
|
|
|
|
display: flex; |
|
|
|
|
|
margin-top: 40px; |
|
|
|
|
|
.item { |
|
|
|
|
|
|
|
|
.c3 { |
|
|
|
|
|
margin-left: 56px; |
|
|
display: flex; |
|
|
display: flex; |
|
|
flex-direction: column; |
|
|
flex-direction: column; |
|
|
flex: 1; |
|
|
|
|
|
height: 151px; |
|
|
|
|
|
justify-content: space-between; |
|
|
|
|
|
.icon { |
|
|
|
|
|
|
|
|
justify-content: flex-end; |
|
|
|
|
|
.r2 { |
|
|
display: flex; |
|
|
display: flex; |
|
|
justify-content: center; |
|
|
|
|
|
align-items: center; |
|
|
|
|
|
height: 118px; |
|
|
|
|
|
background: #ffffff; |
|
|
|
|
|
border-radius: 24px; |
|
|
|
|
|
img { |
|
|
|
|
|
width: 80px; |
|
|
|
|
|
height: 80px; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
.title { |
|
|
|
|
|
font-weight: 700; |
|
|
|
|
|
font-size: 18px; |
|
|
|
|
|
line-height: 21px; |
|
|
|
|
|
text-align: center; |
|
|
|
|
|
color: rgba(0, 0, 0, 0.8); |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
.item + .item { |
|
|
|
|
|
margin-left: 24px; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
.r3 { |
|
|
|
|
|
margin-top: 40px; |
|
|
|
|
|
width: 944px; |
|
|
|
|
|
height: 531px; |
|
|
|
|
|
:deep(.swiper) { |
|
|
|
|
|
.swiper-pagination { |
|
|
|
|
|
top: 20px; |
|
|
|
|
|
right: 27px; |
|
|
|
|
|
bottom: auto; |
|
|
|
|
|
left: auto; |
|
|
|
|
|
width: auto; |
|
|
|
|
|
.swiper-pagination-bullet { |
|
|
|
|
|
width: 34px !important; |
|
|
|
|
|
height: 4px !important; |
|
|
|
|
|
background: rgba(0, 0, 0, 0.6); |
|
|
|
|
|
border-radius: 6px !important; |
|
|
|
|
|
opacity: inherit !important; |
|
|
|
|
|
margin: 0; |
|
|
|
|
|
&.swiper-pagination-bullet-active { |
|
|
|
|
|
|
|
|
margin-top: 40px; |
|
|
|
|
|
.item { |
|
|
|
|
|
display: flex; |
|
|
|
|
|
flex-direction: column; |
|
|
|
|
|
flex: 1; |
|
|
|
|
|
height: 151px; |
|
|
|
|
|
justify-content: space-between; |
|
|
|
|
|
.icon { |
|
|
|
|
|
display: flex; |
|
|
|
|
|
justify-content: center; |
|
|
|
|
|
align-items: center; |
|
|
|
|
|
height: 118px; |
|
|
background: #ffffff; |
|
|
background: #ffffff; |
|
|
border-radius: 6px !important; |
|
|
|
|
|
|
|
|
border-radius: 24px; |
|
|
|
|
|
img { |
|
|
|
|
|
width: 80px; |
|
|
|
|
|
height: 80px; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
.title { |
|
|
|
|
|
font-weight: 700; |
|
|
|
|
|
font-size: 18px; |
|
|
|
|
|
line-height: 21px; |
|
|
|
|
|
text-align: center; |
|
|
|
|
|
color: rgba(0, 0, 0, 0.8); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
.item + .item { |
|
|
|
|
|
margin-left: 24px; |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
.banner-wrapper { |
|
|
|
|
|
position: relative; |
|
|
|
|
|
width: 944px; |
|
|
|
|
|
height: 531px; |
|
|
|
|
|
border-radius: 24px; |
|
|
|
|
|
overflow: hidden; |
|
|
|
|
|
.banner { |
|
|
|
|
|
width: 944px; |
|
|
|
|
|
height: 531px; |
|
|
|
|
|
object-fit: cover; |
|
|
|
|
|
} |
|
|
|
|
|
.name { |
|
|
|
|
|
position: absolute; |
|
|
|
|
|
bottom: 0; |
|
|
|
|
|
left: 0; |
|
|
|
|
|
width: 944px; |
|
|
|
|
|
height: 58px; |
|
|
|
|
|
background: rgba(0, 0, 0, 0.4); |
|
|
|
|
|
font-weight: 700; |
|
|
|
|
|
font-size: 24px; |
|
|
|
|
|
line-height: 58px; |
|
|
|
|
|
color: #ffffff; |
|
|
|
|
|
white-space: nowrap; |
|
|
|
|
|
overflow: hidden; |
|
|
|
|
|
text-overflow: ellipsis; |
|
|
|
|
|
padding: 0 30px; |
|
|
|
|
|
|
|
|
.r3 { |
|
|
|
|
|
margin-top: 32px; |
|
|
|
|
|
width: 784px; |
|
|
|
|
|
height: 442px; |
|
|
|
|
|
:deep(.swiper) { |
|
|
|
|
|
.swiper-pagination { |
|
|
|
|
|
top: 20px; |
|
|
|
|
|
right: 27px; |
|
|
|
|
|
bottom: auto; |
|
|
|
|
|
left: auto; |
|
|
|
|
|
width: auto; |
|
|
|
|
|
.swiper-pagination-bullet { |
|
|
|
|
|
width: 34px !important; |
|
|
|
|
|
height: 4px !important; |
|
|
|
|
|
background: rgba(0, 0, 0, 0.6); |
|
|
|
|
|
border-radius: 6px !important; |
|
|
|
|
|
opacity: inherit !important; |
|
|
|
|
|
margin: 0; |
|
|
|
|
|
&.swiper-pagination-bullet-active { |
|
|
|
|
|
background: #ffffff; |
|
|
|
|
|
border-radius: 6px !important; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
.banner-wrapper { |
|
|
|
|
|
position: relative; |
|
|
|
|
|
width: 784px; |
|
|
|
|
|
height: 442px; |
|
|
|
|
|
border-radius: 24px; |
|
|
|
|
|
overflow: hidden; |
|
|
|
|
|
.banner { |
|
|
|
|
|
width: 784px; |
|
|
|
|
|
height: 442px; |
|
|
|
|
|
object-fit: cover; |
|
|
|
|
|
} |
|
|
|
|
|
.name { |
|
|
|
|
|
position: absolute; |
|
|
|
|
|
bottom: 0; |
|
|
|
|
|
left: 0; |
|
|
|
|
|
width: 784px; |
|
|
|
|
|
height: 58px; |
|
|
|
|
|
background: rgba(0, 0, 0, 0.4); |
|
|
|
|
|
font-weight: 700; |
|
|
|
|
|
font-size: 24px; |
|
|
|
|
|
line-height: 58px; |
|
|
|
|
|
color: #ffffff; |
|
|
|
|
|
white-space: nowrap; |
|
|
|
|
|
overflow: hidden; |
|
|
|
|
|
text-overflow: ellipsis; |
|
|
|
|
|
padding: 0 30px; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|