feat:修复

This commit is contained in:
lorenx 2025-02-13 16:19:46 +08:00
parent 5ba539ddcc
commit 90aa61288b
2 changed files with 6 additions and 6 deletions

BIN
dist.zip

Binary file not shown.

View File

@ -45,7 +45,7 @@
<div style="width: 100%;height: 100%;position: relative;">
<div>
<canvas
v-show="show"
v-show="showa"
ref="mapCanvas"
width="800"
height="600"
@ -53,8 +53,8 @@
style="margin-top: 150px;margin-left: 80px;"
></canvas>
<img
v-show="showa"
src="@/assets/imgs/hy.png"
v-show="show"
src="@/assets/imgs/ditua.png"
alt
style="width: 800px;height:600px;margin-top: 150px;margin-left: 80px;"
/>
@ -102,7 +102,7 @@
import PHeader from "./components/PHeader/index.vue";
import Left from "./components/Left.vue";
// import Right from "./components/Right.vue";
import amg from "@/assets/imgs/ditua.png";
import amg from "@/assets/imgs/hy.png";
// import { ref } from "vue";
@ -149,8 +149,8 @@ const clickedPoint = ref({ x: null, y: null });
const dialogWidth = "20%"; //
const points = [
{ x: 320, y: 200 },
{ x: 600, y: 400 }
{ x: 320, y: 248 },
{ x: 606, y: 400 }
];
onMounted(() => {
const canvas = mapCanvas.value;