|
@@ -156,8 +156,13 @@ export default {
|
|
|
methods: {
|
|
|
// 抖音挑战赛
|
|
|
toActivity() {
|
|
|
- // return this.$router.push(this.banner.jumpLink)
|
|
|
- this.banner.jumpLink && window.open(this.banner.jumpLink)
|
|
|
+ if(this.screenWidth > 768) {
|
|
|
+ this.banner.jumpLink && window.open(this.banner.jumpLink)
|
|
|
+ this.banner.jumpPcPicture && window.open(this.banner.jumpPcPicture)
|
|
|
+ } else {
|
|
|
+ this.banner.jumpLink && window.open(this.banner.jumpLink)
|
|
|
+ this.banner.jumpAppPicture && window.open(this.banner.jumpAppPicture)
|
|
|
+ }
|
|
|
},
|
|
|
// 从缓存中获取数据
|
|
|
initFromCache(cacheData) {
|