chenlei 8 ヶ月 前
コミット
4f3e3934d0

+ 2 - 2
scene/public/static/css/main.css

@@ -3156,9 +3156,9 @@ html {
   }
   }
 }
 }
 
 
-@media only screen and (max-height: 600px) {
+@media only screen and (max-height: 900px) {
   .model-title {
   .model-title {
-    top: 10%;
+    top: 25%;
     bottom: auto;
     bottom: auto;
   }
   }
 }
 }

+ 1 - 1
scene/public/static/js/Hot.js

@@ -56,7 +56,7 @@ window.initHot = function (model) {
 
 
     
     
     if (window.project_env && window.project_env == "development") {
     if (window.project_env && window.project_env == "development") {
-      return src.replace("https://www.4dmodel.com/SuperTwo/hot_online1", "http://localhost:8089");
+      return src.replace("https://www.4dmodel.com/SuperTwo/hot_online1", "http://192.168.0.18:8089");
     } else {
     } else {
       return src.replace("https://www.4dmodel.com/SuperTwo/hot_online1", "hot");
       return src.replace("https://www.4dmodel.com/SuperTwo/hot_online1", "hot");
     }
     }

+ 2 - 0
scene/src/views/gui/components/hotList.vue

@@ -138,6 +138,7 @@ export default {
     display: flex;
     display: flex;
     align-items: center;
     align-items: center;
     font-size: 16px;
     font-size: 16px;
+    
     .search-icon {
     .search-icon {
       width: 21px;
       width: 21px;
       height: 21px;
       height: 21px;
@@ -152,6 +153,7 @@ export default {
       outline: none;
       outline: none;
       border: none;
       border: none;
       padding: 10px;
       padding: 10px;
+      user-select: text;
       &::placeholder {
       &::placeholder {
         color: rgba(187, 171, 146, 0.5) !important;
         color: rgba(187, 171, 146, 0.5) !important;
       }
       }

+ 5 - 6
scene/src/views/gui/components/layerMap.vue

@@ -178,12 +178,12 @@ export default {
 //@import url(); 引入公共css类
 //@import url(); 引入公共css类
 .layer-box {
 .layer-box {
   position: fixed;
   position: fixed;
-  width: 100vw;
-  height: 100vh;
-  background: rgba(0, 0, 0, 0.6);
   top: 0;
   top: 0;
   left: 0;
   left: 0;
-  z-index: 100;
+  right: 0;
+  bottom: 0;
+  background: rgba(0, 0, 0, 0.6);
+  z-index: 10002;
   .layer-close {
   .layer-close {
     position: absolute;
     position: absolute;
     width: 56px;
     width: 56px;
@@ -408,7 +408,7 @@ export default {
   }
   }
 
 
   &.isMobile {
   &.isMobile {
-    overflow: scroll;
+    overflow-y: auto;
     .layer-close {
     .layer-close {
       width: 1.0667rem;
       width: 1.0667rem;
       height: 1.0667rem;
       height: 1.0667rem;
@@ -417,7 +417,6 @@ export default {
     }
     }
     .layer-content {
     .layer-content {
       flex-direction: column;
       flex-direction: column;
-      overflow: scroll;
       height: auto;
       height: auto;
       max-width: 91%;
       max-width: 91%;
       padding-top: 1.8667rem;
       padding-top: 1.8667rem;

+ 17 - 11
scene/src/views/gui/menu.vue

@@ -231,25 +231,28 @@
           :class="getActive(i.type)"
           :class="getActive(i.type)"
           @click.stop="hanlderButtons(i, i.type)"
           @click.stop="hanlderButtons(i, i.type)"
           v-for="(i, index) in mobileTopBtns"
           v-for="(i, index) in mobileTopBtns"
-          v-show="mode == 'dollhouse' ? ['model', 'realMap'].includes(i.type) : !['model', 'realMap'].includes(i.type)"
+          v-show="mode == 'dollhouse' ? ['model', 'realMap'].includes(i.type) : openType === 'immersive' ? ['immersive'].includes(i.type) : !['model', 'realMap'].includes(i.type)"
         >
         >
           <img class="normal" :src="i.normalIcon" alt="" />
           <img class="normal" :src="i.normalIcon" alt="" />
           <img class="active" :src="i.activeIcon" alt="" />
           <img class="active" :src="i.activeIcon" alt="" />
         </div>
         </div>
       </div>
       </div>
       <div class="mobile-bottom-button" :class="{ center: openType == 'immersive', ['show-guide']: showGuide && !isCollapse }">
       <div class="mobile-bottom-button" :class="{ center: openType == 'immersive', ['show-guide']: showGuide && !isCollapse }">
-        <div
-          class="button-item"
-          :class="`${getBottomActive(i.type)} ${i.action === 'play' && guideIsPlay && 'active pause'}`"
-          :style="`display:${i.type == 'hots' && openType == 'immersive' ? 'none' : 'block'};`"
-          @click.stop="hanlderButtons(i, i.type)"
+        <template 
           v-for="(i, index) in mobileBottomBtns"
           v-for="(i, index) in mobileBottomBtns"
-          v-if="kanzhanBtnVisible ? i.type == 'controls' : i.type !== 'controls'"
-          v-show="i.type == 'model' || i.type == 'music' || mode == 'panorama'"
         >
         >
-          <img class="normal" :src="i.normalIcon" alt="" />
-          <img class="active" :src="i.activeIcon" alt="" />
-        </div>
+          <div
+            v-if="kanzhanBtnVisible ? i.type == 'controls' : i.type !== 'controls'"
+            :key="index"
+            class="button-item"
+            :class="`${getBottomActive(i.type)} ${i.action === 'play' && guideIsPlay && 'active pause'}`"
+            :style="`display:${(['hots', 'route'].includes(i.type) && openType == 'immersive') || mode === 'dollhouse' ? 'none' : 'block'};`"
+            @click.stop="hanlderButtons(i, i.type)"
+          >
+            <img class="normal" :src="i.normalIcon" alt="" />
+            <img class="active" :src="i.activeIcon" alt="" />
+          </div>
+        </template>
       </div>
       </div>
     </template>
     </template>
     <!-- 音乐按钮 -->
     <!-- 音乐按钮 -->
@@ -600,6 +603,9 @@ export default {
       this.setData({ showGuide: false, guideIsPlay: false });
       this.setData({ showGuide: false, guideIsPlay: false });
     },
     },
     hanlderButtons(item, type) {
     hanlderButtons(item, type) {
+      // 飞入飞出中
+      if (player.flying) return;
+
       if (item.handler) {
       if (item.handler) {
         item.handler()
         item.handler()
         return
         return