瀏覽代碼

完善bug

shaogen1995 1 月之前
父節點
當前提交
674f0ddc44

File diff suppressed because it is too large
+ 1792 - 1748
scene-离线版/public/static/js/Hot.js


+ 2 - 2
scene-离线版/public/static/js/manage.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=window.location.href.substring(0,window.location.href.indexOf("/")+1);
+var g_Prefix="https://super.4dage.com/";
+// var g_Prefix=window.location.href.substring(0,window.location.href.indexOf("/")+1);
 var s = window.location.href.split('/');
     s.pop();
 //var g_Prefix = s.join('/');

+ 9 - 1
scene-离线版/src/views/gui/components/hotList.vue

@@ -12,6 +12,7 @@
         alt=""
         @click="searchFu"
       />
+      <div class="hotLength" v-if="dataAll.length">热点总数:{{ dataAll.length }}</div>
     </div>
     <div class="main">
       <div class="txtNone" v-if="data.length === 0">暂无热点</div>
@@ -19,7 +20,7 @@
         <span
           :class="{ active: hotInd === index }"
           @click="openHot(item, index)"
-          v-for="(item, index) in data"
+          v-for="(item, index) in data"  
           :key="index"
           >{{ item.info.title || "热点" }}</span
         >
@@ -146,6 +147,13 @@ export default {
       top: 5px;
       height: 30px;
     }
+    .hotLength{
+      position: absolute;
+      bottom: -22px;
+      left: 0;
+      color: #fff;
+      font-size: 14px;
+    }
   }
   .main {
     margin-top: 40px;

+ 3 - 1
scene-离线版/src/views/gui/menu.vue

@@ -909,10 +909,12 @@ export default {
     position: relative;
     float: left;
     width: 70px;
-    display: flex;
+    display: none;
     justify-content: center;
     align-items: center;
     cursor: pointer;
+    
+
   }
 
   .openBox {