Browse Source

fix:项目三级页广告位区分登录链接和非登录链接

yangfeng 1 year ago
parent
commit
69c01c4103
1 changed files with 4 additions and 0 deletions
  1. 4 0
      apps/jy-pc/src/views/proposed-detail/Detail.vue

+ 4 - 0
apps/jy-pc/src/views/proposed-detail/Detail.vue

@@ -236,6 +236,10 @@ export default {
     },
     },
     onAdOpen(url) {
     onAdOpen(url) {
       if (!url) return
       if (!url) return
+      if (url.indexOf('?nol=1') > -1) {
+        this.openLogin()
+        return
+      }
       window.location.href = url
       window.location.href = url
     }
     }
   }
   }