huangxiaojing преди 2 години
родител
ревизия
aeaa879e82
променени са 2 файла, в които са добавени 4 реда и са изтрити 6 реда
  1. 1 5
      pages/activity/invite-user/guide-pc.vue
  2. 3 1
      pages/activity/invite-user/guide.vue

+ 1 - 5
pages/activity/invite-user/guide-pc.vue

@@ -106,11 +106,7 @@ export default {
       if (item.actionType === '1' || item.actionType === '3' || item.actionType === '5' || item.actionType === '6') {
         window.open(item.clickUrl, '_blank')
       } else if (item.actionType === '4') {
-        if (this.$userAgent.isIos) {
-          window.open(item.deeplink, '_blank')
-        } else {
-          window.open(item.clickUrl, '_blank')
-        }
+        window.open(item.clickUrl, '_blank')
       }
     },
     submit(item, ele, flag) {

+ 3 - 1
pages/activity/invite-user/guide.vue

@@ -100,16 +100,18 @@ export default {
       });
     },
     playAd(item) {
-      this.submit(item, '', 2)
       if (item.actionType === '1' || item.actionType === '3' || item.actionType === '5' || item.actionType === '6') {
         window.open(item.clickUrl, '_blank')
       } else if (item.actionType === '4') {
         if (this.$userAgent.isIos) {
           window.open(item.deeplink, '_blank')
+        } else if (this.$userAgent.isAndroid) {
+          window.open('qq://' + item.clickUrl, '_blank')
         } else {
           window.open(item.clickUrl, '_blank')
         }
       }
+      this.submit(item, '', 2)
     },
     submit(item, ele, flag) {
       const data = flag === 1 ? { id: ele.id, plateId: item.plateId, type: flag, videoId: ele.id } : { type: 2, adId: item.id, adName: item.title }