吉安感知网项目-前端
chenyao
3 mins ago 08a8157bcea47af44cc5477e5f698a0cea22a69c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 
<template>
    <div class="wrapper" :style="{ paddingTop: route.query.topMargin + 'px' }">
        <leaflet-map :weatherShow="true" :layerShow="true" :locationShow="true">
            <template #searchBar>
                <SearchBar />
            </template>
        </leaflet-map>
    </div>
</template>
 
<script setup>
import LeafletMap from '@/appComponents/LeafletMap/index.vue'
import SearchBar from './searchBar.vue'
import { useRoute } from 'vue-router'
const route = useRoute()
</script>
 
<style lang="scss" scoped>
.wrapper {
    width: 100%;
    height: 100%;
}
</style>