Commit 2383c9d0cc2d13babe893d1894feac3f926fb2c1

Authored by yvan.ni
1 parent 901156ad

专享礼包去掉会员的判断

pages/giftpack/giftpacklist/giftpacklist.js
@@ -1138,10 +1138,10 @@ Page({ @@ -1138,10 +1138,10 @@ Page({
1138 1138
1139 1139
1140 clickShare() { 1140 clickShare() {
1141 - if (!getApp().globalData.user_id) {  
1142 - getApp().goto("/packageE/pages/togoin/togoin");  
1143 - return false;  
1144 - } 1141 + // if (!getApp().globalData.user_id) {
  1142 + // getApp().goto("/packageE/pages/togoin/togoin");
  1143 + // return false;
  1144 + // }
1145 this.setData({ 1145 this.setData({
1146 share_hidden: true, 1146 share_hidden: true,
1147 }); 1147 });
@@ -1163,12 +1163,12 @@ Page({ @@ -1163,12 +1163,12 @@ Page({
1163 //--定义的保存图片方法,分享团--- 1163 //--定义的保存图片方法,分享团---
1164 saveImageToPhotosAlbum: function () { 1164 saveImageToPhotosAlbum: function () {
1165 //--先判断会员状态-- 1165 //--先判断会员状态--
1166 - var user_info = getApp().globalData.userInfo;  
1167 - if (user_info == null || user_info.mobile == undefined || user_info.mobile == "" || user_info.mobile == null) {  
1168 - //getApp().my_warnning("请先登录",0,this);  
1169 - wx.navigateTo({url: '/packageE/pages/togoin/togoin',})  
1170 - return false;  
1171 - } 1166 + // var user_info = getApp().globalData.userInfo;
  1167 + // if (user_info == null || user_info.mobile == undefined || user_info.mobile == "" || user_info.mobile == null) {
  1168 + // //getApp().my_warnning("请先登录",0,this);
  1169 + // wx.navigateTo({url: '/packageE/pages/togoin/togoin',})
  1170 + // return false;
  1171 + // }
1172 1172
1173 if (this.data.share_hidden) { 1173 if (this.data.share_hidden) {
1174 this.setData({share_hidden: false,}); 1174 this.setData({share_hidden: false,});