|
|
|
@ -2,8 +2,7 @@ |
|
|
|
<View> |
|
|
|
<Teleport to="body"> |
|
|
|
<ScrollView v-if="!isH" scroll-x :list="currentBuildingFloorsList" class="floors-list animate__fast animate__animated animate__fadeIn"> |
|
|
|
<div style="display: inline-block; white-space: nowrap"> |
|
|
|
<div class="floors-item all" @click="showAll = true" :class="{ active: showAll }">全部楼层</div> |
|
|
|
<div style="display: inline-flex; white-space: nowrap; flex-direction: row-reverse"> |
|
|
|
<div |
|
|
|
@click="handleSelectFloor(index)" |
|
|
|
:class="{ active: !showAll && floorIdx === index, current: currentFloor.floorCode === item.floorCode }" |
|
|
|
@ -13,6 +12,7 @@ |
|
|
|
> |
|
|
|
{{ item.floor }} |
|
|
|
</div> |
|
|
|
<div class="floors-item all" @click="showAll = true" :class="{ active: showAll }">全部楼层</div> |
|
|
|
</div> |
|
|
|
</ScrollView> |
|
|
|
|
|
|
|
|