he wei
2023-12-25 e17ea02186df463f5104c67be7f5daf22b5abedd
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]"