|
@@ -162,7 +162,7 @@ export function clickTab(row,hasLogin,isNoAuth,isMax){
|
|
|
}
|
|
|
}
|
|
|
// 单击banner
|
|
|
-export function clickBannerList(row,hasLogin){
|
|
|
+export function clickBannerList(row,hasLogin,isAuth){
|
|
|
// 红包
|
|
|
if(row.activeType == 'redPacket'){
|
|
|
uni.navigateTo({url:"/pages/morePage/redPacket"})
|
|
@@ -182,9 +182,14 @@ export function clickBannerList(row,hasLogin){
|
|
|
// 促销活动
|
|
|
if(row.contentType == 'PROMO_LINK'){
|
|
|
if(hasLogin){
|
|
|
- uni.navigateTo({
|
|
|
- url: '/pagesB/promoProduct?promoSn='+row.bizSn+'&title='+row.bannerName
|
|
|
- })
|
|
|
+ if(isAuth){
|
|
|
+ uni.navigateTo({
|
|
|
+ url: '/pagesB/promoProduct?promoSn='+row.bizSn+'&title='+row.bannerName
|
|
|
+ })
|
|
|
+ }else{
|
|
|
+ // 游客去认证
|
|
|
+ toAuthStore()
|
|
|
+ }
|
|
|
}else{
|
|
|
toLogin()
|
|
|
}
|