Commit 1c16cfe06393d6294646642b890a46281c7b5a7b
Merge branch 'dev' of http://git.vipzhuang.cn/wxd/MShopWeApp into dev
Showing
2 changed files
with
4 additions
and
15 deletions
packageC/pages/luckyGo/luckyGo_goodsInfo/luckyGo_goodsInfo.js
... | ... | @@ -529,10 +529,10 @@ Page({ |
529 | 529 | //--先判断会员登陆状态-- |
530 | 530 | var user_info = getApp().globalData.userInfo; |
531 | 531 | if (user_info == null || user_info.mobile == undefined || user_info.mobile == "" || user_info.mobile == null) { |
532 | - that.setData({ | |
533 | - noLogin: true | |
534 | - }) | |
535 | - return false; | |
532 | + wx.navigateTo({ | |
533 | + url: '/pages/togoin/togoin', | |
534 | + }) | |
535 | + return false; | |
536 | 536 | } |
537 | 537 | |
538 | 538 | }, |
... | ... | @@ -3908,16 +3908,6 @@ Page({ |
3908 | 3908 | // ind == 1 为普通购买 |
3909 | 3909 | openSpecModel_pt: function (e) { |
3910 | 3910 | |
3911 | - //--先判断会员登陆状态-- | |
3912 | - var user_info = getApp().globalData.userInfo; | |
3913 | - if (user_info == null || user_info.mobile == undefined || user_info.mobile == "" || user_info.mobile == null) { | |
3914 | - wx.navigateTo({ | |
3915 | - url: '/pages/togoin/togoin', | |
3916 | - }) | |
3917 | - return false; | |
3918 | - } | |
3919 | - | |
3920 | - | |
3921 | 3911 | this.setData({ open_ind_store: 9, goodsInputNum: 1 }); |
3922 | 3912 | // 判断是否有待支付订单 |
3923 | 3913 | var aid = this.data.group_id; | ... | ... |
packageC/pages/luckyGo/luckyGo_goodsInfo/luckyGo_goodsInfo.wxml
... | ... | @@ -921,7 +921,6 @@ |
921 | 921 | <!-- data-ind="2" --> |
922 | 922 | <!-- openSpecModel_pt --> |
923 | 923 | <view class="xc-ash-b f1 flex ai-center jc-center white fs26" wx:if="{{isTimeUp}}">活动已经结束</view> |
924 | - <view wx:elif="{{noLogin}}" bindtap="openSpecModel_pt">立即参团</view> | |
925 | 924 | <block wx:else> |
926 | 925 | <view class="btn-red f1 flex ai-center jc-center" bindtap="go" data-it="0" data-url="/packageC/pages/luckyGo/luckyGo_details/luckyGo_details?group_id={{luckGoInfo.id}}&goods_id={{luckGoInfo.goods_id}}&goods_name={{data.goods_name}}&team_id={{buyInfo.team_id}}" wx:if="{{showDetails}}">查看详情</view> |
927 | 926 | <view class="btn-red f1 flex ai-center jc-center" bindtap="openSpecModel_pt" data-it="0" wx:elif="{{!showDetails && surplus != 0 && canBuy}}">立即参团</view> | ... | ... |