吉安感知网项目-前端
罗广辉
2026-01-06 457ec00abf3dbc49fca614a4e0a2ea122f7fad3f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!--
 * @Author       : yuan
 * @Date         : 2025-10-14 13:57:35
 * @LastEditors  : yuan
 * @LastEditTime : 2025-10-21 11:40:25
 * @FilePath     : \src\appPages\Map\index.vue
 * @Description  : 
 * Copyright 2025 OBKoro1, All Rights Reserved. 
 * 2025-10-14 13:57:35
-->
<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>