|
@@ -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 }
|