فهرست منبع

修改点的样式、去掉本地化键盘按键提示

aamin 2 سال پیش
والد
کامیت
88b1a1919d

+ 0 - 1
H5场景/public/index.html

@@ -75,7 +75,6 @@
     ></script>
 
     <script src="<%= VUE_APP_STATIC_DIR %>/js/Tween.js"></script>
-    <script src="<%= VUE_APP_STATIC_DIR %>/js/flexible.js"></script>
     <!-- <script src="<%= VUE_APP_STATIC_DIR %>/js/overlay.js"></script> -->
     <script src="<%= VUE_APP_STATIC_DIR %>/js/lib/OBJLoader.js"></script>
     <!-- <script src="<%= VUE_APP_STATIC_DIR %>/js/CAD/bundle.js"></script> -->

+ 14 - 3
H5场景/public/static/css/main.css

@@ -3930,6 +3930,14 @@ a.tag-link {
     cursor: pointer;
 }
 
+@media screen and (min-width: 1000px) {
+    #gui-modes-map>div[rel] {
+        justify-content: left;
+        margin-top: -4px;
+    }
+}
+
+
 
 
 /* #gui-modes-map>div[rel]:hover,
@@ -4342,12 +4350,13 @@ a.tag-link {
 }
 
 @media only screen and (min-width: 1000px) {
+
     #play,
     #pause {
-      /* width: 200px; */
-      /* margin-left: 5vw; */
+        justify-content: left;
+        margin-top: -4px;
     }
-  }
+}
 
 .tourSpinner {
     border-radius: 45px;
@@ -4442,6 +4451,7 @@ a.tag-link {
     #drawer.open {
         width: 100vw;
     }
+
     #drawer {
         width: 100vw;
     }
@@ -7736,6 +7746,7 @@ a.hasHover.tag-link:hover {
 
 
 @media screen and (orientation: landscape) {
+
     .viewContainer,
     #gui-modes-map {
         /* display: block !important; */

+ 0 - 43
H5场景/public/static/js/flexible.js

@@ -1,43 +0,0 @@
-(function flexible(window, document) {
-  var docEl = document.documentElement;
-  var dpr = window.devicePixelRatio || 1;
-
-  // adjust body font size
-  function setBodyFontSize() {
-    if (document.body) {
-      document.body.style.fontSize = 12 * dpr + "px";
-    } else {
-      document.addEventListener("DOMContentLoaded", setBodyFontSize);
-    }
-  }
-  setBodyFontSize();
-
-  // set 1rem = viewWidth / 10
-  function setRemUnit() {
-    var rem = docEl.clientWidth / 24;
-    docEl.style.fontSize = rem + "px";
-  }
-
-  setRemUnit();
-
-  // reset rem unit on page resize
-  window.addEventListener("resize", setRemUnit);
-  window.addEventListener("pageshow", function (e) {
-    if (e.persisted) {
-      setRemUnit();
-    }
-  });
-
-  // detect 0.5px supports
-  if (dpr >= 2) {
-    var fakeBody = document.createElement("body");
-    var testElement = document.createElement("div");
-    testElement.style.border = ".5px solid transparent";
-    fakeBody.appendChild(testElement);
-    docEl.appendChild(fakeBody);
-    if (testElement.offsetHeight === 1) {
-      docEl.classList.add("hairlines");
-    }
-    docEl.removeChild(fakeBody);
-  }
-})(window, document);

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 515 - 202
H5场景/src/views/gui/menu.vue


BIN
H5场景本地化/dist.zip


+ 1 - 0
H5场景本地化/public/static/css/css/main.css

@@ -6632,6 +6632,7 @@ a.hasHover.tag-link:hover {
     height: 350px;
     width: 550px;
     border-radius: 10px;
+    display: none;
 }
 
 #interaction-modal.desktop .interaction h2 {

+ 1 - 0
H5场景本地化/public/static/css/css/sceen2.css

@@ -6589,6 +6589,7 @@ a.hasHover.tag-link:hover {
   height: 350px;
   width: 550px;
   border-radius: 10px;
+  display: none;
 }
 
 #interaction-modal.desktop .interaction h2 {

+ 19 - 8
H5场景本地化/public/static/css/main.css

@@ -3975,17 +3975,14 @@ a.tag-link {
   cursor: pointer;
 }
 
-@media only screen and (min-width: 1000px) and (max-width: 1700px) {
+@media only screen and (min-width: 1000px){
   #gui-modes-map > div[rel] {
     width: 10vw;
+    justify-content: left;
+    margin-top: -4px;
   }
 }
 
-@media only screen and (min-width: 1700px) {
-  #gui-modes-map > div[rel] {
-    width: 200px;
-  }
-}
 
 /* #gui-modes-map>div[rel]:hover,
 .pinBottom.right .rightViewContainer>div:hover,
@@ -4396,15 +4393,28 @@ a.tag-link {
   cursor: pointer;
 }
 
-@media only screen and (min-width: 1000px) {
+@media only screen and (min-width: 1000px) and (max-width: 1700px) {
+  #play,
+  #pause {
+    /* width: 200px; */
+    /* margin-left: 5vw; */
+    justify-content: left;
+    margin-top: -4px;
+  }
+}
+
+@media only screen and (min-width: 1700px) and (max-width: 2200px) {
   #play,
   #pause {
     /* width: 200px; */
     /* margin-left: 5vw; */
+    justify-content: left;
+    margin-top: -4px;
   }
 }
 
 
+
 .tourSpinner {
   border-radius: 45px;
   top: -10px;
@@ -5255,7 +5265,7 @@ a.tag-link {
   width: calc(100% - 19px);
   left: 10px;
   top: 10px;
-  padding-bottom: 10px;
+   /* padding-bottom: 10px; */
 }
 
 .tag-container.has-image:not(.has-text) .tag-text-content .tag-label,
@@ -7398,6 +7408,7 @@ a.hasHover.tag-link:hover {
   height: 350px;
   width: 550px;
   border-radius: 10px;
+  display: none;
 }
 
 #interaction-modal.desktop .interaction h2 {

+ 1 - 0
H5场景本地化/public/static/css/sceen2.css

@@ -6589,6 +6589,7 @@ a.hasHover.tag-link:hover {
   height: 350px;
   width: 550px;
   border-radius: 10px;
+  display: none;
 }
 
 #interaction-modal.desktop .interaction h2 {

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 675 - 218
H5场景本地化/src/views/gui/menu.vue


+ 1 - 1
H5场景本地化/src/views/gui/other.vue

@@ -78,4 +78,4 @@
     </div>
     <div id="tag-billboards" style="display: none"></div>
   </div>
-</template>
+</template>