From e17ea02186df463f5104c67be7f5daf22b5abedd Mon Sep 17 00:00:00 2001 From: he wei <858544502@qq.com> Date: 星期一, 25 十二月 2023 17:40:01 +0800 Subject: [PATCH] U 按修改意见调整 --- src/views/home/index.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/home/index.vue b/src/views/home/index.vue index abfd7cc..f540e0b 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -70,7 +70,7 @@ // console.log("hhhh", el); let { x, y, width, height, left, right, top, bottom } = el.getBoundingClientRect(); - console.log(x, "pos"); + // console.log(x, "pos"); this.popPosition.left = right + "px"; this.popPosition.top = bottom + "px"; this.getSwitchInfo(name); @@ -258,7 +258,7 @@ <div class="svg-contain"> <div class="pos-full"> <svg width="100%" height="100%" viewBox="0 0 500 340"> - <text-box :offset="[220, 10]"></text-box> + <text-box :offset="[220, 10]" @click="(el) => showState(el, 'JK11')"></text-box> <protector-box @click="(el) => showState(el, 'JK12')" :offset="[36, 10]" @@ -374,7 +374,7 @@ <div class="svg-contain"> <div class="pos-full"> <svg width="100%" height="100%" viewBox="0 0 500 340"> - <text-box :offset="[220, 10]"></text-box> + <text-box :offset="[220, 10]" @click="(el) => showState(el, 'JK21')"></text-box> <protector-box @click="(el) => showState(el, 'JK22')" :offset="[390, 10]" -- Gitblit v1.9.1