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