chending1994 4 yıl önce
ebeveyn
işleme
ddd69b412f

+ 1 - 1
src/components/contact-btn/index.vue

@@ -31,7 +31,7 @@ export default {
 .fixed-btn {
   position: fixed;
   left: 50%;
-  bottom: 112upx;
+  bottom: 60upx;
   transform: translateX(-50%);
   .detail {
     width: 532upx;

+ 5 - 2
src/components/zd-open/index.vue

@@ -47,17 +47,20 @@ export default {
   methods: {
     handleErrorFn(e) {
       if (e.isTrusted == false) {
+        console.log('error');
         const that = this;
         setTimeout(function () {
+          console.log('error2');
           window.location.href = `https://android.myapp.com/myapp/detail.htm?apkName=${that.apkName}`;
         }, 500);
       }
+      console.log('error3');
     },
     handleLaunchFn(e) {
-
+      console.log('handleLaunchFn');
     },
     handleReadyFn() {
-
+      console.log('handleReadyFn');
     },
   }
 

+ 0 - 1
src/pages/activity/index.vue

@@ -86,7 +86,6 @@ export default {
   background: url('@/static/img/common/bg.png') no-repeat #01A2E8;
   background-size: cover;
   height: 100vh;
-  overflow: hidden;
   .head-top {
     image {
       width: 100%;

+ 0 - 1
src/pages/join/index.vue

@@ -88,7 +88,6 @@ export default {
   background: url('@/static/img/common/bg.png') no-repeat #01A2E8;
   background-size: cover;
   height: 100vh;
-  overflow: hidden;
   .head-top {
     image {
       width: 100%;

+ 21 - 5
src/pages/omo/component/down.vue

@@ -18,12 +18,12 @@
             <view class="info-title">{{ item.title }}</view>
             <view class="info-desc">{{ item.desc }}</view>
             <view class="info-btn">
-              <button class="detail cu-btn block">
+              <button class="detail cu-btn block" @tap="handleDownload(item)">
                 点击下载 <zd-arrow class="btn-arrow"></zd-arrow>
               </button>
-              <view class="btn btn-right-open" v-if="weappShow">
+              <!-- <view class="btn btn-right-open" v-if="weappShow">
                 <zd-open :appid="item.appid" :apkName="item.apkName" :exinfo="item.extinfo" :content="conntent"></zd-open>
-              </view>
+              </view> -->
             </view>
           </view>
         </view>
@@ -75,7 +75,23 @@ export default {
   mounted() {
 
   },
-  methods: {}
+  methods: {
+    handleDownload(item) {
+      setTimeout(function () {
+        window.location.href = `https://android.myapp.com/myapp/detail.htm?apkName=${item.apkName}`;
+      }, 500);
+      // let u = navigator.userAgent;
+      // let iosLinkUrl = type == 1 ? "https://a.app.qq.com/o/simple.jsp?pkgname=com.zaojiao.app.parent&fromcase=40002" : "https://a.app.qq.com/o/simple.jsp?pkgname=com.zaojiao.app&fromcase=40002"; //  app store 下载地址
+      // let androidLinkurl = type == 1 ? "market://details?id=com.zaojiao.app.parent" : "market://details?id=com.zaojiao.app"; //android 下载地址
+      // let isIOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端
+      // let link = isIOS ? iosLinkUrl : androidLinkurl;
+      // if (type == 1) {
+      //   $(".btn1").attr("href", link);
+      // } else {
+      //   $(".btn2").attr("href", link);
+      // }
+    }
+  }
 }
 </script>
 
@@ -83,8 +99,8 @@ export default {
 .down {
   background: url('@/static/img/common/bg.png') no-repeat #01A2E8;
   background-size: cover;
-  padding-bottom: 116upx;
   height: 100vh;
+  padding-bottom: 116upx;
   .head-top {
     image {
       width: 100%;

BIN
src/static/img/contact/icon_04.png