![]()
@@ -97,13 +87,14 @@
import { ref, watch, onBeforeUnmount, computed, nextTick } from 'vue'
import { storeToRefs } from 'pinia'
import { useStore } from '@/store/root'
-import { RESET, DIRECTION, list as buttonList } from './list'
import View from '@/layouts/View.vue'
import { hideMapDialog, setShopActive, setShopInactive } from '@/composables/useInitMap'
import { getBrandListByFormat, getBrandListByFloor } from '@/http/brand/api'
import BrandScroll from '@/components/BrandScroll/BrandScroll.vue'
import ScrollView from '@/base/ScrollView/ScrollView.vue'
import { useMediaQuery } from '@vueuse/core'
+import MapControl from '@/components/MapControl/MapControl.vue'
+import { RESET, DIRECTION } from '@/components/MapControl/list'
const isH = useMediaQuery('(min-aspect-ratio: 1/1)')
@@ -602,47 +593,6 @@ const handleFacility = fac => {
}
}
-.control-area {
- position: absolute;
- display: flex;
- align-items: flex-start;
- justify-content: space-between;
- height: 104px;
- left: 68px;
- top: 952px;
- z-index: 51;
-
- .hands {
- position: fixed;
- top: 408px;
- left: 68px;
- width: 246px;
- height: 80px;
- z-index: 51;
- }
-}
-
-.map-control-wrapper {
- display: flex;
-}
-.map-item {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- margin-left: 12px;
-}
-.map-icon {
- margin-bottom: 8px;
- width: 52px;
-}
-.map-name {
- font-weight: 700;
- font-size: 12px;
- line-height: 14px;
- text-align: center;
- color: rgba(0, 0, 0, 0.6);
-}
@media (min-aspect-ratio: 1/1) {
.shop-list-wrapper {
width: 510px;
@@ -659,17 +609,5 @@ const handleFacility = fac => {
margin-left: 54px;
}
}
- .control-area {
- left: 68px;
- bottom: 40px;
- right: auto;
- top: auto;
- height: auto;
- .hands {
- top: 280px;
- left: 68px;
- right: auto;
- }
- }
}