<!--
|
* @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>
|