|
|
@ -15,7 +15,6 @@ |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<div class="content"> |
|
|
<div class="content"> |
|
|
<div class="r1"> |
|
|
|
|
|
<div class="guide" @click="goPage({ title: '地图导览', path: '/guide' })"> |
|
|
<div class="guide" @click="goPage({ title: '地图导览', path: '/guide' })"> |
|
|
<div class="top"> |
|
|
<div class="top"> |
|
|
<div class="title">找店</div> |
|
|
<div class="title">找店</div> |
|
|
@ -52,14 +51,14 @@ |
|
|
<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="menu"> |
|
|
<div class="item" v-for="tab of sidebarList" :key="tab.title" @click="goPage(tab)"> |
|
|
<div class="item" v-for="tab of sidebarList" :key="tab.title" @click="goPage(tab)"> |
|
|
<div class="icon"><img :src="theme.images[tab.moduleName]" /></div> |
|
|
<div class="icon"><img :src="theme.images[tab.moduleName]" /></div> |
|
|
<div class="title">{{ switchLanguage(tab, 'title') }}</div> |
|
|
<div class="title">{{ switchLanguage(tab, 'title') }}</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<div class="r3"> |
|
|
|
|
|
|
|
|
<div class="acts"> |
|
|
<EffectFade :list="activityList ?? []"> |
|
|
<EffectFade :list="activityList ?? []"> |
|
|
<template v-slot="{ item }"> |
|
|
<template v-slot="{ item }"> |
|
|
<div class="banner-wrapper"> |
|
|
<div class="banner-wrapper"> |
|
|
@ -177,17 +176,16 @@ getActivityList(3).then(({ data }) => { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
.content { |
|
|
.content { |
|
|
|
|
|
position: relative; |
|
|
width: 100%; |
|
|
width: 100%; |
|
|
flex: 1; |
|
|
flex: 1; |
|
|
padding: 40px 68px 0 68px; |
|
|
|
|
|
.r1 { |
|
|
|
|
|
display: flex; |
|
|
|
|
|
height: 557px; |
|
|
|
|
|
|
|
|
|
|
|
.guide { |
|
|
.guide { |
|
|
position: relative; |
|
|
|
|
|
flex: 0 0 339px; |
|
|
|
|
|
|
|
|
position: absolute; |
|
|
width: 339px; |
|
|
width: 339px; |
|
|
height: 557px; |
|
|
height: 557px; |
|
|
|
|
|
left: 68px; |
|
|
|
|
|
top: 40px; |
|
|
background: var(--index-guideBackground); |
|
|
background: var(--index-guideBackground); |
|
|
border: var(--index-guideBorder); |
|
|
border: var(--index-guideBorder); |
|
|
border-radius: var(--global-radius, 32px); |
|
|
border-radius: var(--global-radius, 32px); |
|
|
@ -271,6 +269,11 @@ getActivityList(3).then(({ data }) => { |
|
|
} |
|
|
} |
|
|
.food, |
|
|
.food, |
|
|
.rec { |
|
|
.rec { |
|
|
|
|
|
position: absolute; |
|
|
|
|
|
top: 40px; |
|
|
|
|
|
left: 447px; |
|
|
|
|
|
width: 565px; |
|
|
|
|
|
height: 557px; |
|
|
h1 { |
|
|
h1 { |
|
|
font-weight: 900; |
|
|
font-weight: 900; |
|
|
font-size: 56px; |
|
|
font-size: 56px; |
|
|
@ -303,8 +306,6 @@ getActivityList(3).then(({ data }) => { |
|
|
.food { |
|
|
.food { |
|
|
display: flex; |
|
|
display: flex; |
|
|
flex-direction: column; |
|
|
flex-direction: column; |
|
|
width: 100%; |
|
|
|
|
|
height: 100%; |
|
|
|
|
|
margin-left: 40px; |
|
|
margin-left: 40px; |
|
|
background: var(--index-foodBg); |
|
|
background: var(--index-foodBg); |
|
|
border-radius: var(--global-radius, 32px); |
|
|
border-radius: var(--global-radius, 32px); |
|
|
@ -325,8 +326,6 @@ getActivityList(3).then(({ data }) => { |
|
|
.rec { |
|
|
.rec { |
|
|
display: flex; |
|
|
display: flex; |
|
|
flex-direction: column; |
|
|
flex-direction: column; |
|
|
width: 100%; |
|
|
|
|
|
height: 100%; |
|
|
|
|
|
margin-left: 40px; |
|
|
margin-left: 40px; |
|
|
background: var(--index-recBg); |
|
|
background: var(--index-recBg); |
|
|
border: var(--index-recBorder); |
|
|
border: var(--index-recBorder); |
|
|
@ -344,10 +343,13 @@ getActivityList(3).then(({ data }) => { |
|
|
padding: 32px 0 0 40px; |
|
|
padding: 32px 0 0 40px; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
.r2 { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.menu { |
|
|
|
|
|
position: absolute; |
|
|
|
|
|
left: 68px; |
|
|
|
|
|
right: 68px; |
|
|
|
|
|
top: 637px; |
|
|
display: flex; |
|
|
display: flex; |
|
|
margin-top: 40px; |
|
|
|
|
|
.item:nth-child(5n + 1) { |
|
|
.item:nth-child(5n + 1) { |
|
|
.icon { |
|
|
.icon { |
|
|
background: var(--menu-indexBg1); |
|
|
background: var(--menu-indexBg1); |
|
|
@ -402,8 +404,11 @@ getActivityList(3).then(({ data }) => { |
|
|
margin-left: 24px; |
|
|
margin-left: 24px; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
.r3 { |
|
|
|
|
|
margin-top: 40px; |
|
|
|
|
|
|
|
|
.acts { |
|
|
|
|
|
position: absolute; |
|
|
|
|
|
left: 68px; |
|
|
|
|
|
right: 68px; |
|
|
|
|
|
bottom: 46px; |
|
|
width: 944px; |
|
|
width: 944px; |
|
|
height: 531px; |
|
|
height: 531px; |
|
|
:deep(.swiper) { |
|
|
:deep(.swiper) { |
|
|
@ -429,13 +434,13 @@ getActivityList(3).then(({ data }) => { |
|
|
} |
|
|
} |
|
|
.banner-wrapper { |
|
|
.banner-wrapper { |
|
|
position: relative; |
|
|
position: relative; |
|
|
width: 944px; |
|
|
|
|
|
height: 531px; |
|
|
|
|
|
|
|
|
width: 100%; |
|
|
|
|
|
height: 100%; |
|
|
border-radius: var(--global-radius, 24px); |
|
|
border-radius: var(--global-radius, 24px); |
|
|
overflow: hidden; |
|
|
overflow: hidden; |
|
|
.banner { |
|
|
.banner { |
|
|
width: 944px; |
|
|
|
|
|
height: 531px; |
|
|
|
|
|
|
|
|
width: 100%; |
|
|
|
|
|
height: 100%; |
|
|
object-fit: cover; |
|
|
object-fit: cover; |
|
|
} |
|
|
} |
|
|
.name { |
|
|
.name { |
|
|
@ -469,4 +474,50 @@ getActivityList(3).then(({ data }) => { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
@media (min-aspect-ratio: 1/1) { |
|
|
|
|
|
.index-container { |
|
|
|
|
|
.header { |
|
|
|
|
|
height: 280px; |
|
|
|
|
|
flex: 0 0 280px; |
|
|
|
|
|
padding: 157px 0 0 0; |
|
|
|
|
|
.hot-search { |
|
|
|
|
|
.title { |
|
|
|
|
|
text-align: center; |
|
|
|
|
|
} |
|
|
|
|
|
.row { |
|
|
|
|
|
display: flex; |
|
|
|
|
|
justify-content: center; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
.content { |
|
|
|
|
|
.guide { |
|
|
|
|
|
top: 84px; |
|
|
|
|
|
width: 339px; |
|
|
|
|
|
height: 625px; |
|
|
|
|
|
padding: 528px 0 0 40px; |
|
|
|
|
|
.top { |
|
|
|
|
|
height: 500px; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
.rec, |
|
|
|
|
|
.food { |
|
|
|
|
|
height: 625px; |
|
|
|
|
|
top: 84px; |
|
|
|
|
|
} |
|
|
|
|
|
.menu { |
|
|
|
|
|
left: 1068px; |
|
|
|
|
|
right: 68px; |
|
|
|
|
|
top: 84px; |
|
|
|
|
|
} |
|
|
|
|
|
.acts { |
|
|
|
|
|
top: 267px; |
|
|
|
|
|
left: 1068px; |
|
|
|
|
|
right: 68px; |
|
|
|
|
|
width: 784px; |
|
|
|
|
|
height: 442px; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
</style> |
|
|
</style> |
|
|
|