Commit 9a025b2e03a6d5a25bdb5417fa86e178ca0557ac

Authored by 前端开发-罗建龙
1 parent 2e775b71

每月礼包优化

packageE/pages/user/monthgiftbag/giftpackinfo/giftpackinfo.js
... ... @@ -372,16 +372,9 @@ Page({
372 372 }
373 373  
374 374 if (!d || !d.user_id ) {
375   - if (scene==1154) {
376   - wx.navigateTo({
377   - url: '/packageE/pages/togoin/togoin',
378   - })
379   - return
380   - }else{
381 375 getApp().my_warnning("请先登录", 0, th);
382 376 return false;
383   - }
384   -
  377 +
385 378 }
386 379 //如果还没有开始的话
387 380 if (th.data.isStart != 1) {
... ... @@ -418,19 +411,17 @@ Page({
418 411 GetBuyIntegral: function (e) {
419 412 var that = this.data;
420 413 var th = this;
421   -
  414 + let scene =this.data.scene;
  415 + if (scene==1154) {
  416 + wx.navigateTo({
  417 + url: '/packageE/pages/togoin/togoin',
  418 + })
  419 + return
  420 + }
422 421 if (!d || !d.user_id ) {
423   -  let scene = that.data.scene;
424   - if (scene==1154) {
425   - wx.navigateTo({
426   - url: '/packageE/pages/togoin/togoin',
427   - })
428   - return
429   - }else{
430 422 getApp().my_warnning("请先登录", 0, th);
431 423 return false;
432   - }
433   -
  424 +
434 425 }
435 426  
436 427 //如果还没有开始的话
... ...