|
|
|
@ -1,8 +1,8 @@ |
|
|
|
<template> |
|
|
|
<View> |
|
|
|
<Teleport to="body"> |
|
|
|
<ScrollView scroll-x :list="currentBuildingFloorsList" class="floors-list animate__fast animate__animated animate__fadeIn"> |
|
|
|
<div style="display: inline-block; white-space: nowrap"> |
|
|
|
<ScrollView :list="currentBuildingFloorsList" class="floors-list animate__fast animate__animated animate__fadeIn"> |
|
|
|
<div> |
|
|
|
<div class="floors-item all" @click="showAll = true" :class="{ active: showAll }">全部楼层</div> |
|
|
|
<div |
|
|
|
@click="handleSelectFloor(index)" |
|
|
|
@ -342,11 +342,10 @@ watch( |
|
|
|
} |
|
|
|
.floors-list { |
|
|
|
position: absolute; |
|
|
|
left: 0; |
|
|
|
right: 0; |
|
|
|
width: 100vw; |
|
|
|
top: 1050px; |
|
|
|
height: 100px; |
|
|
|
right: 510px; |
|
|
|
width: 100px; |
|
|
|
top: 280px; |
|
|
|
height: calc(100vh - 280px); |
|
|
|
z-index: 60; |
|
|
|
display: block; |
|
|
|
overflow: hidden; |
|
|
|
@ -356,27 +355,21 @@ watch( |
|
|
|
display: none; |
|
|
|
} |
|
|
|
.floors-item { |
|
|
|
display: inline-flex; |
|
|
|
width: 122.5px; |
|
|
|
width: 100%; |
|
|
|
display: flex; |
|
|
|
align-items: center; |
|
|
|
justify-content: center; |
|
|
|
position: relative; |
|
|
|
height: 100px; |
|
|
|
height: 94.44px; |
|
|
|
font-family: 'Montserrat'; |
|
|
|
font-style: normal; |
|
|
|
font-weight: 700; |
|
|
|
font-size: 28px; |
|
|
|
line-height: 96%; |
|
|
|
/* identical to box height, or 27px */ |
|
|
|
|
|
|
|
text-align: center; |
|
|
|
|
|
|
|
/* W/100% */ |
|
|
|
|
|
|
|
color: #ffffff; |
|
|
|
transition: all 0.5s; |
|
|
|
&.all { |
|
|
|
width: 150px; |
|
|
|
font-weight: 700; |
|
|
|
font-size: 18px; |
|
|
|
line-height: 96%; |
|
|
|
@ -408,15 +401,15 @@ watch( |
|
|
|
} |
|
|
|
.shop-list-wrapper { |
|
|
|
position: absolute; |
|
|
|
width: 1080px; |
|
|
|
height: 914px; |
|
|
|
left: 0px; |
|
|
|
top: 1150px; |
|
|
|
width: 510px; |
|
|
|
height: calc(100vh - 280px); |
|
|
|
right: 0px; |
|
|
|
bottom: 0; |
|
|
|
background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 100%); |
|
|
|
.switch { |
|
|
|
display: flex; |
|
|
|
position: absolute; |
|
|
|
top: 35px; |
|
|
|
top: 24px; |
|
|
|
right: 68px; |
|
|
|
.btn { |
|
|
|
display: flex; |
|
|
|
@ -440,9 +433,9 @@ watch( |
|
|
|
} |
|
|
|
} |
|
|
|
.shop-scroll { |
|
|
|
height: 914px; |
|
|
|
height: 100%; |
|
|
|
overflow: hidden; |
|
|
|
margin-left: 170px; |
|
|
|
margin-left: 54px; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
@ -451,15 +444,14 @@ watch( |
|
|
|
display: flex; |
|
|
|
align-items: flex-start; |
|
|
|
justify-content: space-between; |
|
|
|
height: 104px; |
|
|
|
right: 24px; |
|
|
|
top: 952px; |
|
|
|
left: 68px; |
|
|
|
bottom: 40px; |
|
|
|
z-index: 51; |
|
|
|
|
|
|
|
.hands { |
|
|
|
position: fixed; |
|
|
|
top: 408px; |
|
|
|
right: 68px; |
|
|
|
top: 280px; |
|
|
|
left: 68px; |
|
|
|
width: 246px; |
|
|
|
height: 80px; |
|
|
|
z-index: 51; |
|
|
|
|