shaogen1995 4 år sedan
förälder
incheckning
547ad3a59a
5 ändrade filer med 33 tillägg och 3 borttagningar
  1. BIN
      public/favicon.ico
  2. 7 0
      src/components/GuideButton.vue
  3. 4 3
      src/components/GuidePage.vue
  4. 14 0
      src/view/Home.vue
  5. 8 0
      vue.config.js

BIN
public/favicon.ico


+ 7 - 0
src/components/GuideButton.vue

@@ -36,6 +36,7 @@
                 src="@/assets/images/exbutton.png"/>
                 src="@/assets/images/exbutton.png"/>
             <div class="button-text black-text">
             <div class="button-text black-text">
                 <a :href="jumpUrl[1]"
                 <a :href="jumpUrl[1]"
+                @click="hint(1)"
                      :class="[btnIndex == 1?'hit':'']">
                      :class="[btnIndex == 1?'hit':'']">
                     {{titles[1]}}</a></div></div>
                     {{titles[1]}}</a></div></div>
         </template>
         </template>
@@ -84,6 +85,10 @@ export default {
         }
         }
     },
     },
     methods:{
     methods:{
+        hint(val){
+            if(val!==1) return
+            alert('暂未开发,敬请期待。')
+        },
         pageJump(url){
         pageJump(url){
             window.location.href = url;
             window.location.href = url;
             // console.log('jump');
             // console.log('jump');
@@ -115,6 +120,8 @@ export default {
         },
         },
         goEnd(){
         goEnd(){
             let _this = this;
             let _this = this;
+                        this.hint(this.btnIndex)
+
             clearTimeout(this.timeOutEvent)
             clearTimeout(this.timeOutEvent)
             if(_this.timeOutEvent !== 0){
             if(_this.timeOutEvent !== 0){
                 // console.log('处理单击事件');
                 // console.log('处理单击事件');

+ 4 - 3
src/components/GuidePage.vue

@@ -84,17 +84,17 @@ export default {
       change:false,
       change:false,
       // 控制页面视频弹窗的显示
       // 控制页面视频弹窗的显示
       isShow:false,
       isShow:false,
-      titles: ["点击看展", "参加云展", "往届博博会"],
+      titles: ["参加云展","点击看展", "往届博博会"],
       jumpUrl: [
       jumpUrl: [
+        "http://www.expo-museums.com/Index/column/id/162",
         "javascript:;",
         "javascript:;",
         "http://www.expo-museums.com/Index/history/column/143",
         "http://www.expo-museums.com/Index/history/column/143",
-        "http://www.expo-museums.com/Index/column/id/162",
       ],
       ],
       isShowContact: false,
       isShowContact: false,
       phones: ["13581625033(黎先生)", "15733737800(刘小姐)"],
       phones: ["13581625033(黎先生)", "15733737800(刘小姐)"],
       email: "sales@4dage.com",
       email: "sales@4dage.com",
       buttoInGuidePage: {
       buttoInGuidePage: {
-        titles: ["点击看展", "参加云展", "往届博博会"],
+        titles: ["参加云展","点击看展", "往届博博会"],
       },
       },
     };
     };
   },
   },
@@ -182,6 +182,7 @@ export default {
 }
 }
 .one > img {
 .one > img {
   width: 80%;
   width: 80%;
+  max-height:38px ;
 }
 }
 .tow > img {
 .tow > img {
   width: 70%;
   width: 70%;

+ 14 - 0
src/view/Home.vue

@@ -37,6 +37,19 @@ export default {
     International,
     International,
     About,
     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')
+        // }
+  }
 };
 };
 </script>
 </script>
 
 
@@ -60,5 +73,6 @@ export default {
 #wanwuqiang {
 #wanwuqiang {
   width: 100%;
   width: 100%;
   height: 100%;
   height: 100%;
+  border: none;
 }
 }
 </style>
 </style>

+ 8 - 0
vue.config.js

@@ -0,0 +1,8 @@
+// vue.config.js
+
+/**
+ * @type {import('@vue/cli-service').ProjectOptions}
+ */
+ module.exports = {
+    publicPath:'./'
+  }