xzw 4 年之前
父節點
當前提交
2ebb60ca7c
共有 4 個文件被更改,包括 16 次插入8 次删除
  1. 5 2
      index.html
  2. 7 2
      js/edit.js
  3. 2 2
      js/myShow-edit.js
  4. 2 2
      js/myShow.js

+ 5 - 2
index.html

@@ -54,7 +54,7 @@
     <div id="hot"> 
     </div>
     <div id="hotPannel">
-        <div>
+        <div class='hide'>
             <div class='title'>标题</div>
             <span class='close'></span>    
             <div>当前状态: 关</div> 
@@ -64,7 +64,10 @@
                     <input class="mui-switch mui-switch-animbg" type="checkbox"> 
                 </label> 
             </div>
-        </div>    
+        </div>
+        <div>
+        
+        </div>
     </div>
     <div id="popup">
         <div class="popup-content">

+ 7 - 2
js/edit.js

@@ -2286,7 +2286,12 @@ var SlideBar = function(o) {
             return;
         scope.setValueFromOutside(v);
     });
-
+    window.addEventListener("resize",()=>{
+        if(this.line[0].clientWidth){
+            this.getOffset() 
+            this.moveKnot();
+        }
+    })
 }
 
 SlideBar.prototype.dealInterval = function() {
@@ -2909,7 +2914,7 @@ var EditOverlay = {
         
         this.updateScale()
         
-        //this.updateOverlayPanel(this.editPlane)
+        this.updateOverlayPanel(this.editPlane)
     },
      
     getOverlayInfo: function(overlay) {

+ 2 - 2
js/myShow-edit.js

@@ -1,7 +1,7 @@
 var g_ProjectName=window.location.pathname.substring(window.location.pathname.indexOf("/")+1,window.location.pathname.lastIndexOf("/"));
-//  var g_Prefix="http://super.4dage.com/";
+  var g_Prefix="http://super.4dage.com/";
 // var g_Prefix=window.location.href.substring(0,window.location.href.indexOf("/edit.html")+1);
-var g_Prefix=window.location.origin+'/';
+//var g_Prefix=window.location.origin+'/';
 
 var s = window.location.href.split('/');
 s.pop();

+ 2 - 2
js/myShow.js

@@ -1,7 +1,7 @@
 var g_ProjectName=window.location.pathname.substring(window.location.pathname.indexOf("/")+1,window.location.pathname.lastIndexOf("/"));
-//  var g_Prefix="https://super.4dage.com/";
+  var g_Prefix="https://super.4dage.com/";
 // var g_Prefix=window.location.href.substring(0,window.location.href.indexOf("/index.html")+1);
-var g_Prefix=window.location.origin+'/';
+//var g_Prefix=window.location.origin+'/';
 
 var s = window.location.href.split('/');
 s.pop();