Browse Source

菜单位置修改

duy 1 year ago
parent
commit
89874da662

+ 1 - 1
src/views/manager/archivetree.vue

@@ -1787,7 +1787,7 @@ export default {
     console.log(e,'e');
     console.log(e,'e');
     var x = e.pageX; //这个应该是相对于整个浏览器页面的x坐标,左上角为坐标原点(0,0)
     var x = e.pageX; //这个应该是相对于整个浏览器页面的x坐标,左上角为坐标原点(0,0)
     var y = e.pageY; //这个应该是相对于整个浏览器页面的y坐标,左上角为坐标原点(0,0)
     var y = e.pageY; //这个应该是相对于整个浏览器页面的y坐标,左上角为坐标原点(0,0)
-    this.menutop = y;
+    this.menutop = y-70;
     this.menuleft = x;
     this.menuleft = x;
     this.menuvisible=true
     this.menuvisible=true
 
 

+ 1 - 1
src/views/manager/projectinfo/archivetreeRule.vue

@@ -1807,7 +1807,7 @@ export default {
     console.log(e,'e');
     console.log(e,'e');
     var x = e.pageX; //这个应该是相对于整个浏览器页面的x坐标,左上角为坐标原点(0,0)
     var x = e.pageX; //这个应该是相对于整个浏览器页面的x坐标,左上角为坐标原点(0,0)
     var y = e.pageY; //这个应该是相对于整个浏览器页面的y坐标,左上角为坐标原点(0,0)
     var y = e.pageY; //这个应该是相对于整个浏览器页面的y坐标,左上角为坐标原点(0,0)
-    this.menutop = y;
+    this.menutop = y-70;
     this.menuleft = x;
     this.menuleft = x;
     this.menuvisible=true
     this.menuvisible=true
 
 

+ 1 - 1
src/views/manager/projectinfo/tree.vue

@@ -3748,7 +3748,7 @@ export default {
     console.log(e,'e');
     console.log(e,'e');
     var x = e.pageX; //这个应该是相对于整个浏览器页面的x坐标,左上角为坐标原点(0,0)
     var x = e.pageX; //这个应该是相对于整个浏览器页面的x坐标,左上角为坐标原点(0,0)
     var y = e.pageY; //这个应该是相对于整个浏览器页面的y坐标,左上角为坐标原点(0,0)
     var y = e.pageY; //这个应该是相对于整个浏览器页面的y坐标,左上角为坐标原点(0,0)
-    this.menutop = y;
+    this.menutop = y-100;
     this.menuleft = x;
     this.menuleft = x;
     this.menuvisible=true
     this.menuvisible=true
 
 

+ 1 - 1
src/views/manager/wbsinfo/edit.vue

@@ -3332,7 +3332,7 @@ export default {
     console.log(e,'e');
     console.log(e,'e');
     var x = e.pageX; //这个应该是相对于整个浏览器页面的x坐标,左上角为坐标原点(0,0)
     var x = e.pageX; //这个应该是相对于整个浏览器页面的x坐标,左上角为坐标原点(0,0)
     var y = e.pageY; //这个应该是相对于整个浏览器页面的y坐标,左上角为坐标原点(0,0)
     var y = e.pageY; //这个应该是相对于整个浏览器页面的y坐标,左上角为坐标原点(0,0)
-    this.menutop = y;
+    this.menutop = y-100;
     this.menuleft = x;
     this.menuleft = x;
     this.menuvisible=true
     this.menuvisible=true
 
 

+ 1 - 1
src/views/measure/systemUnit.vue

@@ -331,7 +331,7 @@ import { getStore, setStore } from "@/util/store";
     console.log(e,'e');
     console.log(e,'e');
     var x = e.pageX; //这个应该是相对于整个浏览器页面的x坐标,左上角为坐标原点(0,0)
     var x = e.pageX; //这个应该是相对于整个浏览器页面的x坐标,左上角为坐标原点(0,0)
     var y = e.pageY; //这个应该是相对于整个浏览器页面的y坐标,左上角为坐标原点(0,0)
     var y = e.pageY; //这个应该是相对于整个浏览器页面的y坐标,左上角为坐标原点(0,0)
-    this.menutop = y;
+    this.menutop = y-100;
     this.menuleft = x;
     this.menuleft = x;
     this.menuvisible=true
     this.menuvisible=true