Commit b47136d97d9e0b41ba17aa76a078ab4bbdc893e6
1 parent
5f84310d
团期已满的显示优化
Showing
1 changed file
with
11 additions
and
5 deletions
packageA/pages/serviceCard_pd/team_show/team_show.js
... | ... | @@ -544,12 +544,18 @@ Page({ |
544 | 544 | for (var i = 0; i < sf_num; i++) { |
545 | 545 | sf_arr.push(i); |
546 | 546 | } |
547 | - | |
548 | - | |
549 | - | |
547 | + | |
548 | + //-- 团期已满的优化 -- | |
550 | 549 | if(th.data.is_group_end==1 || th.data.is_group_end==2 ){ |
551 | - getApp().confirmBox(th.data.end_text); | |
552 | - getApp().goto("/pages/index/index/index"); //返回首页 | |
550 | + //getApp().confirmBox(th.data.end_text); | |
551 | + wx.showToast({ | |
552 | + title: th.data.end_text, | |
553 | + icon: 'none' | |
554 | + }); | |
555 | + setTimeout(()=>{ | |
556 | + getApp().goto("/pages/index/index/index"); //返回首页 | |
557 | + },2000) | |
558 | + | |
553 | 559 | return false; |
554 | 560 | } |
555 | 561 | ... | ... |