diff --git a/components/diy_nav/diy_nav.wxml b/components/diy_nav/diy_nav.wxml index 0b180c0..7bd58f9 100644 --- a/components/diy_nav/diy_nav.wxml +++ b/components/diy_nav/diy_nav.wxml @@ -5,7 +5,7 @@ - @@ -13,7 +13,7 @@ - @@ -34,13 +34,13 @@ - - diff --git a/pages/goods/goodsInfo/goodsInfo.js b/pages/goods/goodsInfo/goodsInfo.js index 4e4a732..2ec65d4 100644 --- a/pages/goods/goodsInfo/goodsInfo.js +++ b/pages/goods/goodsInfo/goodsInfo.js @@ -2496,7 +2496,18 @@ Page({ var cid = e.currentTarget.dataset.cid; var index = e.currentTarget.dataset.ind; var item = this.data.quan_list[index]; - + + + //--先判断会员状态-- + var user_info = getApp().globalData.userInfo; + if (user_info == null || user_info.mobile == undefined || user_info.mobile == "" || user_info.mobile == null) { + wx.navigateTo({ + url: '/pages/getphone/getphone', + }) + return false; + } + + //如果券还在领取中,不能再点 if (item.linging == 1) { getApp().my_warnning('领取中..', 0, this);