Browse Source

bug修复

shaogen1995 4 năm trước cách đây
mục cha
commit
b5e3dab862
4 tập tin đã thay đổi với 34 bổ sung25 xóa
  1. 14 9
      src/components/About.vue
  2. 0 1
      src/components/GuideButton.vue
  3. 4 1
      src/components/RenCulture.vue
  4. 16 14
      src/view/Home.vue

+ 14 - 9
src/components/About.vue

@@ -3,15 +3,15 @@
     <div class="bac"></div>
     <div class="contact">
       <p class="title">联系我们</p>
-      <hr />
+      <div class="xian"></div>
       <a href="http://www.4dage.com" class="txt">四维时代官网</a>
       <p>商务合作:sales@4dage.com</p>
       <p>媒体合作:pr@4dage.com</p>
       <p>联系电话:400-699-8025</p>
       <p>地址:广东省珠海市高新区港湾大道港湾1号港11栋</p>
-      <p style="text-indent: 3em">北京市朝阳区三丰北里悠唐国际A</p>
+      <p style="text-indent: 3em">北京市朝阳区三丰北里悠唐国际A</p>
       <p class="title">合作单位</p>
-      <hr />
+      <div class="xian"></div>
       <a href="http://www.ncha.gov.cn/" class="txt">中国国家文物局</a>
       <a href="https://www.chinamuseum.org.cn/index.html" class="txt"
         >中国博物馆协会</a
@@ -20,12 +20,12 @@
         >中国博物馆及相关产品与技术博览会</a
       >
       <p class="title">探索四维</p>
-      <hr />
+      <div class="xian"></div>
       <a href="https://www.4dkankan.com/index.html?lang=zh" class="txt"
         >四维看看</a
       >
       <a href="https://www.cgaii.com/#/" class="txt">中德人工智能研究院</a>
-      <hr style="margin-top: 60px" />
+            <div style="margin-top: 60px" class="xian"></div>
     </div>
 
     <div class="logo">
@@ -66,17 +66,22 @@ export default {
 };
 </script>
 <style  scoped>
+.xian {
+  width: 100%;
+  height: 2px;
+  background-color: #153034;
+}
 .bac {
   position: absolute;
-  top: -13%;
+  top: -97px;
   width: 100%;
-  height: 13%;
-  background-color: rgba(0, 0, 0, 0.8);
+  height: 97px;
+  background-color: rgba(0, 0, 0, 0.9);
 }
 .About {
   position: relative;
   width: 100vw;
-  background-color: rgba(0, 0, 0, 0.8);
+  background-color: rgba(0, 0, 0, 0.9);
   padding-top: 30px;
 }
 .contact {

+ 0 - 1
src/components/GuideButton.vue

@@ -87,7 +87,6 @@ export default {
     methods:{
         hint(val){
             if(val!==1) return
-            alert('暂未开发,敬请期待。')
         },
         pageJump(url){
             window.location.href = url;

+ 4 - 1
src/components/RenCulture.vue

@@ -7,7 +7,7 @@
     <div class="conten">
       <div class="left">
         <a
-          href="https://4dkanzhan.4dkankan.com/LiangJiaHe/index.html"
+          href="https://culture.4dage.com/twoBase/LiangJiaHe/index.html"
           class="one"
         >
           <img src="../assets/images/AllWall/hswh1.png" alt="" />
@@ -97,6 +97,9 @@ export default {
 .txt {
   margin-top: 60px;
 }
+.txt img {
+  max-width: 98%;
+}
 .conten {
   width: 90%;
   margin: 28px auto 0;

+ 16 - 14
src/view/Home.vue

@@ -37,19 +37,19 @@ export default {
     International,
     About,
   },
-  created(){
-            // 判断浏览器函数
-        function isMobile() {
-            if (window.navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i)) {
-                return true; // 移动端
-            } else {
-                return false; // PC端
-            }
-        }
-        if(!isMobile()){
-            window.location.replace('https://zzbbh.4dage.com/web/index.html')
-        }
-  }
+  // created(){
+  //           // 判断浏览器函数
+  //       function isMobile() {
+  //           if (window.navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i)) {
+  //               return true; // 移动端
+  //           } else {
+  //               return false; // PC端
+  //           }
+  //       }
+  //       if(!isMobile()){
+  //           window.location.replace('https://zzbbh.4dage.com/web/index.html')
+  //       }
+  // }
 };
 </script>
 
@@ -69,10 +69,12 @@ export default {
 #iframe-container {
   width: 100vw;
   height: 100vh;
+  overflow: hidden;
 }
 #wanwuqiang {
   width: 100%;
-  height: 100%;
+  height: 102%;
   border: none;
+  overflow: hidden;
 }
 </style>