39 lines
675 B
Vue
39 lines
675 B
Vue
![]() |
<script setup>
|
||
|
import { reactive, ref } from "vue"
|
||
|
import border from "@/components/border.vue";
|
||
|
|
||
|
import AMap from "./AMap.vue";
|
||
|
</script>
|
||
|
|
||
|
<template>
|
||
|
<div class="box">
|
||
|
<div class="map">
|
||
|
<AMap></AMap>
|
||
|
</div>
|
||
|
<div class="border"></div>
|
||
|
</div>
|
||
|
</template>
|
||
|
|
||
|
<style scoped lang="scss">
|
||
|
.box {
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
position: relative;
|
||
|
.border {
|
||
|
position: absolute;
|
||
|
top: 0;
|
||
|
left: 0;
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
border: 1px solid rgba(91, 219, 246, 1);
|
||
|
box-shadow: inset 1px 1px 40px rgba(91, 219, 246, 0.5);
|
||
|
pointer-events: none;
|
||
|
}
|
||
|
.map {
|
||
|
height: 98%;
|
||
|
width: 100%;
|
||
|
margin: 0.5rem 0;
|
||
|
}
|
||
|
}
|
||
|
</style>
|