-
-
-
-
- 找店
- {{ guideDesc }}
- 当前位置![]()
- {{ bf }}
-
-
- 扫我导航
-
+
+
+
- 找店
+ {{ guideDesc }}
+
-
-
- 推荐美食
-此时此刻,美食正在等你
-
-
-
+ 当前位置![]()
+ {{ bf }}
+
+
+ 扫我导航
-
-
+
-
- 推荐品牌
-心动之选,拥抱美好生活
-
-
-
+
+
-
+
+ 推荐美食
+此时此刻,美食正在等你
+
+
+
-
+
+
+
+
+ 推荐品牌
+心动之选,拥抱美好生活
+
+
+
+ {{ switchLanguage(tab, 'title') }}
+
@@ -177,177 +176,180 @@ getActivityList(3).then(({ data }) => {
}
}
.content {
+ position: relative;
width: 100%;
flex: 1;
- padding: 40px 68px 0 68px;
- .r1 {
- display: flex;
+
+ .guide {
+ position: absolute;
+ width: 339px;
height: 557px;
- .guide {
- position: relative;
- flex: 0 0 339px;
- width: 339px;
- height: 557px;
- background: var(--index-guideBackground);
- border: var(--index-guideBorder);
- border-radius: var(--global-radius, 32px);
- overflow: hidden;
- padding: 460px 0 0 40px;
+ left: 68px;
+ top: 40px;
+ background: var(--index-guideBackground);
+ border: var(--index-guideBorder);
+ border-radius: var(--global-radius, 32px);
+ overflow: hidden;
+ padding: 460px 0 0 40px;
- .top {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 432px;
- background: var(--index-guideTopBg);
- border-radius: var(--global-radius, 32px);
- padding: 40px;
- z-index: 1;
- .title {
- font-style: normal;
- font-weight: 900;
- font-size: 56px;
- line-height: 66px;
- color: #ffffff;
- }
- .meta {
- margin-top: 8px;
- font-style: normal;
- font-weight: 700;
- font-size: 16px;
- line-height: 19px;
- color: rgba(255, 255, 255, 0.8);
- }
- img {
- margin-top: 40px;
- width: 259px;
- }
- }
- .bottom-right {
- position: absolute;
- width: 108px;
- height: 156px;
- right: 0;
- bottom: 0;
- background: var(--index-guideQrcodeBg);
- padding-top: 132px;
- font-weight: 700;
- font-size: 14px;
- line-height: 16px;
- text-align: center;
- color: var(--index-guideMetaColor);
- .qrcode {
- position: absolute;
- width: 84px;
- height: 84px;
- background: #fff;
- display: flex;
- right: 12px;
- bottom: 29px;
- justify-content: center;
- align-items: center;
- }
- }
- .meta1 {
- display: inline-flex;
- font-weight: 700;
- font-size: 20px;
- line-height: 23px;
- color: var(--index-guideMetaColor);
- margin-bottom: 6px;
- img {
- width: 20px;
- height: 20px;
- margin-left: 4px;
- }
- }
- .meta2 {
- font-weight: 900;
- font-size: 32px;
- line-height: 38px;
- color: var(--index-guideColor);
- }
- }
- .food,
- .rec {
- h1 {
+ .top {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 432px;
+ background: var(--index-guideTopBg);
+ border-radius: var(--global-radius, 32px);
+ padding: 40px;
+ z-index: 1;
+ .title {
+ font-style: normal;
font-weight: 900;
font-size: 56px;
line-height: 66px;
color: #ffffff;
- margin-bottom: 8px;
}
- h2 {
+ .meta {
+ margin-top: 8px;
+ font-style: normal;
font-weight: 700;
font-size: 16px;
line-height: 19px;
color: rgba(255, 255, 255, 0.8);
}
- .grid {
+ img {
margin-top: 40px;
- display: grid;
- grid-template-columns: 1fr 1fr 1fr 1fr;
- width: 485px;
- gap: 15px;
- .item {
- width: 110px;
- height: 110px;
- background: #ffffff;
- border-radius: var(--global-radius, 12px);
- padding: 10px;
- object-fit: contain;
- }
+ width: 259px;
}
}
- .food {
- display: flex;
- flex-direction: column;
- width: 100%;
- height: 100%;
- margin-left: 40px;
- background: var(--index-foodBg);
- border-radius: var(--global-radius, 32px);
- border: var(--index-foodBorder);
- align-items: center;
- overflow: hidden;
- .title {
- margin-top: 4px;
- width: 549px;
- background: center / cover no-repeat url(./foodBg.png);
- height: 160px;
- flex: 0 0 160px;
- box-shadow: 0px 15px 26px rgba(244, 142, 88, 0.32);
- border-radius: var(--global-radius, 27px);
- padding: 32px 0 0 40px;
+ .bottom-right {
+ position: absolute;
+ width: 108px;
+ height: 156px;
+ right: 0;
+ bottom: 0;
+ background: var(--index-guideQrcodeBg);
+ padding-top: 132px;
+ font-weight: 700;
+ font-size: 14px;
+ line-height: 16px;
+ text-align: center;
+ color: var(--index-guideMetaColor);
+ .qrcode {
+ position: absolute;
+ width: 84px;
+ height: 84px;
+ background: #fff;
+ display: flex;
+ right: 12px;
+ bottom: 29px;
+ justify-content: center;
+ align-items: center;
}
}
- .rec {
- display: flex;
- flex-direction: column;
- width: 100%;
- height: 100%;
- margin-left: 40px;
- background: var(--index-recBg);
- border: var(--index-recBorder);
- border-radius: var(--global-radius, 32px);
- align-items: center;
- overflow: hidden;
- .title {
- margin-top: 8px;
- width: 549px;
- background: center / cover no-repeat;
- height: 160px;
- flex: 0 0 160px;
- box-shadow: 0px 15px 26px rgba(230, 201, 148, 0.3);
- border-radius: var(--global-radius, 27px);
- padding: 32px 0 0 40px;
+ .meta1 {
+ display: inline-flex;
+ font-weight: 700;
+ font-size: 20px;
+ line-height: 23px;
+ color: var(--index-guideMetaColor);
+ margin-bottom: 6px;
+ img {
+ width: 20px;
+ height: 20px;
+ margin-left: 4px;
+ }
+ }
+ .meta2 {
+ font-weight: 900;
+ font-size: 32px;
+ line-height: 38px;
+ color: var(--index-guideColor);
+ }
+ }
+ .food,
+ .rec {
+ position: absolute;
+ top: 40px;
+ left: 447px;
+ width: 565px;
+ height: 557px;
+ h1 {
+ font-weight: 900;
+ font-size: 56px;
+ line-height: 66px;
+ color: #ffffff;
+ margin-bottom: 8px;
+ }
+ h2 {
+ font-weight: 700;
+ font-size: 16px;
+ line-height: 19px;
+ color: rgba(255, 255, 255, 0.8);
+ }
+ .grid {
+ margin-top: 40px;
+ display: grid;
+ grid-template-columns: 1fr 1fr 1fr 1fr;
+ width: 485px;
+ gap: 15px;
+ .item {
+ width: 110px;
+ height: 110px;
+ background: #ffffff;
+ border-radius: var(--global-radius, 12px);
+ padding: 10px;
+ object-fit: contain;
}
}
}
- .r2 {
+ .food {
+ display: flex;
+ flex-direction: column;
+ margin-left: 40px;
+ background: var(--index-foodBg);
+ border-radius: var(--global-radius, 32px);
+ border: var(--index-foodBorder);
+ align-items: center;
+ overflow: hidden;
+ .title {
+ margin-top: 4px;
+ width: 549px;
+ background: center / cover no-repeat url(./foodBg.png);
+ height: 160px;
+ flex: 0 0 160px;
+ box-shadow: 0px 15px 26px rgba(244, 142, 88, 0.32);
+ border-radius: var(--global-radius, 27px);
+ padding: 32px 0 0 40px;
+ }
+ }
+ .rec {
+ display: flex;
+ flex-direction: column;
+ margin-left: 40px;
+ background: var(--index-recBg);
+ border: var(--index-recBorder);
+ border-radius: var(--global-radius, 32px);
+ align-items: center;
+ overflow: hidden;
+ .title {
+ margin-top: 8px;
+ width: 549px;
+ background: center / cover no-repeat;
+ height: 160px;
+ flex: 0 0 160px;
+ box-shadow: 0px 15px 26px rgba(230, 201, 148, 0.3);
+ border-radius: var(--global-radius, 27px);
+ padding: 32px 0 0 40px;
+ }
+ }
+
+ .menu {
+ position: absolute;
+ left: 68px;
+ right: 68px;
+ top: 637px;
display: flex;
- margin-top: 40px;
.item:nth-child(5n + 1) {
.icon {
background: var(--menu-indexBg1);
@@ -402,8 +404,11 @@ getActivityList(3).then(({ data }) => {
margin-left: 24px;
}
}
- .r3 {
- margin-top: 40px;
+ .acts {
+ position: absolute;
+ left: 68px;
+ right: 68px;
+ bottom: 46px;
width: 944px;
height: 531px;
:deep(.swiper) {
@@ -429,13 +434,13 @@ getActivityList(3).then(({ data }) => {
}
.banner-wrapper {
position: relative;
- width: 944px;
- height: 531px;
+ width: 100%;
+ height: 100%;
border-radius: var(--global-radius, 24px);
overflow: hidden;
.banner {
- width: 944px;
- height: 531px;
+ width: 100%;
+ height: 100%;
object-fit: cover;
}
.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;
+ }
+ }
+ }
+}