lsc hace 3 años
padre
commit
b487a17d67
Se han modificado 3 ficheros con 12 adiciones y 12 borrados
  1. BIN
      src/assets/img/tou1.png
  2. 4 4
      src/components/function.vue
  3. 8 8
      src/components/police.vue

BIN
src/assets/img/tou1.png


+ 4 - 4
src/components/function.vue

@@ -80,7 +80,7 @@ export default {
       img: [
       img: [
         require("../assets/img/light/screan.png"),
         require("../assets/img/light/screan.png"),
         require("../assets/img/ai.png"),
         require("../assets/img/ai.png"),
-        require("../assets/img/tou.png"),
+        require("../assets/img/tou1.png"),
         require("../assets/img/police.png"),
         require("../assets/img/police.png"),
       ],
       ],
       isCamera: false,
       isCamera: false,
@@ -255,7 +255,7 @@ body {
 #screan {
 #screan {
   width: 265px;
   width: 265px;
   position: absolute;
   position: absolute;
-  z-index: 4;
+  z-index: 5;
   top: 174px;
   top: 174px;
   left: 114.3px;
   left: 114.3px;
 }
 }
@@ -271,8 +271,8 @@ body {
 #tou {
 #tou {
   width: 83px;
   width: 83px;
   position: absolute;
   position: absolute;
-  z-index: 5;
-  top: 123px;
+  z-index: 4;
+  top: 127px;
   left: 205px;
   left: 205px;
 }
 }
 
 

+ 8 - 8
src/components/police.vue

@@ -15,7 +15,7 @@
         id="tou"
         id="tou"
         v-drag="{ go, getK, setk, getC, setC, getA, setA, setPan, getPan }"
         v-drag="{ go, getK, setk, getC, setC, getA, setA, setPan, getPan }"
       >
       >
-        <img src="../assets/img/tou.png" alt="" />
+        <img src="../assets/img/tou1.png" alt="" />
       </div>
       </div>
       <div
       <div
         id="ai"
         id="ai"
@@ -252,7 +252,7 @@ export default {
             dv.style.top = policeT - 70 + "px";
             dv.style.top = policeT - 70 + "px";
 
 
             dv1.style.left = policeL + 98 + "px";
             dv1.style.left = policeL + 98 + "px";
-            dv1.style.top = policeT - 143 + "px";
+            dv1.style.top = policeT - 139 + "px";
             if (binding.value.getA() == 1) {
             if (binding.value.getA() == 1) {
               binding.value.setC(3);
               binding.value.setC(3);
             } else {
             } else {
@@ -286,7 +286,7 @@ export default {
 
 
           if (-70 < stL && stL < -15 && 45 < stP && stP < 100 && type == 2) {
           if (-70 < stL && stL < -15 && 45 < stP && stP < 100 && type == 2) {
             dv1.style.left = _panL + 42 + "px";
             dv1.style.left = _panL + 42 + "px";
-            dv1.style.top = _panT - 73 + "px";
+            dv1.style.top = _panT - 69 + "px";
 
 
             if (binding.value.getA() == 1) {
             if (binding.value.getA() == 1) {
               binding.value.setC(3);
               binding.value.setC(3);
@@ -316,7 +316,7 @@ export default {
         function moveP(nl, nt, type) {
         function moveP(nl, nt, type) {
           if (binding.value.getK() == 1 && type == 1) {
           if (binding.value.getK() == 1 && type == 1) {
             dv1.style.left = nl + 42 + "px";
             dv1.style.left = nl + 42 + "px";
-            dv1.style.top = nt - 73 + "px";
+            dv1.style.top = nt - 69 + "px";
           }
           }
 
 
           if (binding.value.getC() == 1 && type == 3) {
           if (binding.value.getC() == 1 && type == 3) {
@@ -333,7 +333,7 @@ export default {
             dv.style.top = nt - 70 + "px";
             dv.style.top = nt - 70 + "px";
 
 
             dv1.style.left = nl + 98 + "px";
             dv1.style.left = nl + 98 + "px";
-            dv1.style.top = nt - 143 + "px";
+            dv1.style.top = nt - 139 + "px";
           } else if (
           } else if (
             binding.value.getA() == 1 &&
             binding.value.getA() == 1 &&
             type == 3 &&
             type == 3 &&
@@ -353,7 +353,7 @@ export default {
             dv.style.top = nt - 70 + "px";
             dv.style.top = nt - 70 + "px";
 
 
             dv1.style.left = nl + 98 + "px";
             dv1.style.left = nl + 98 + "px";
-            dv1.style.top = nt - 143 + "px";
+            dv1.style.top = nt - 139 + "px";
           } else if (
           } else if (
             type == 3 &&
             type == 3 &&
             binding.value.getC() == 3 &&
             binding.value.getC() == 3 &&
@@ -377,7 +377,7 @@ export default {
             dv.style.top = nt - 70 + "px";
             dv.style.top = nt - 70 + "px";
 
 
             dv1.style.left = nl + 98 + "px";
             dv1.style.left = nl + 98 + "px";
-            dv1.style.top = nt - 143 + "px";
+            dv1.style.top = nt - 139 + "px";
           } else if (
           } else if (
             binding.value.getA() == 2 &&
             binding.value.getA() == 2 &&
             type == 3 &&
             type == 3 &&
@@ -476,7 +476,7 @@ body {
   left: 10%;
   left: 10%;
   top: 50%;
   top: 50%;
   transform: translateY(-50%);
   transform: translateY(-50%);
-  z-index: 4;
+  z-index: 5;
 }
 }
 
 
 #ai {
 #ai {