Browse Source

样式细微bug调整

任一存 2 years ago
parent
commit
1e0c4b70b7
3 changed files with 6 additions and 6 deletions
  1. 2 2
      public/4dage/css/reset.css
  2. 1 1
      public/static/css/oldVer/main0.css
  3. 3 3
      public/static/js/Hot.js

+ 2 - 2
public/4dage/css/reset.css

@@ -52,8 +52,8 @@ table {
 }
 button{outline:none;}
 input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{
-        -webkit-appearance:textfield;
+  -webkit-appearance:textfield;
 }
 input[type="number"]{
-        -moz-appearance:textfield;
+  -moz-appearance:textfield;
 }

+ 1 - 1
public/static/css/oldVer/main0.css

@@ -48,7 +48,7 @@ iframe{
 	height: 100%;
 	overflow-x: hidden;
 }
-#id1{ width: 100%; height: 100%;}
+#id1{ width: 100%; height: calc(100% - 4px);}
 #popup.wait{
 	opacity:0.1; 
 }

+ 3 - 3
public/static/js/Hot.js

@@ -37,7 +37,7 @@ window.initHot = function (model) {
     var getCommonHotspotUrl = function (link) {
         var querySectionInLink = link.split('?')[1]
         var langParam = "en" == manage.number("lang") ? "&lang=" + manage.number("lang") : "";
-        // return `http://192.168.20.16:8085/#/${browser.isMobile() ? 'mobile' : 'web'}/?${querySectionInLink}&time=${randomTime().getTime()}&id=${window.number}${langParam}`
+        // return `http://192.168.20.16:8087/#/${browser.isMobile() ? 'mobile' : 'web'}/?${querySectionInLink}&time=${randomTime().getTime()}&id=${window.number}${langParam}`
         return `/AnhuiDaily/hotspot/index.html#/${browser.isMobile() ? 'mobile' : 'web'}/?${querySectionInLink}&time=${randomTime().getTime()}&id=${window.number}${langParam}`
     }
     var removeSrcPostMark = function (url) {//去除texture.load时自动加上的'?'
@@ -1140,7 +1140,7 @@ window.initHot = function (model) {
           
           if (openHot && this.info.linkType != "common" && this.info.iframe && this.info.iframe[0]) {
             if (this.info.linkType === 'jumpLink' && !this.info.iframe[0].startsWith('external-')) { // 场景跳转(热点编辑里添加网页链接——跳转)
-              
+
               // 注意,因为网站用了vue router, url里看上去像是查询片段的那一段其实是放在hash片段中的。
               const hotspotWebQuerySection = new URLSearchParams(this.info.iframe[0].split('?')[1])
               const targetSceneCode = hotspotWebQuerySection.get('m')
@@ -1245,7 +1245,7 @@ window.initHot = function (model) {
               var n = document.createElement("iframe")
           
               SoundManager.play('hot')
-          
+              
               var src = getCommonHotspotUrl(this.info.link)
               n.src = src
               n.id = "id1",