Commit 6661b82f1270a43c09d063914e2ff69cac22315f
1 parent
14492c71
要显示绑定的门店,或者默认的门店
Showing
1 changed file
with
7 additions
and
2 deletions
pages/team/team_show/team_show.js
@@ -77,8 +77,13 @@ Page({ | @@ -77,8 +77,13 @@ Page({ | ||
77 | 77 | ||
78 | //显示加载 | 78 | //显示加载 |
79 | onShow:function(){ | 79 | onShow:function(){ |
80 | - var tg_id = this.data.tg_id; | ||
81 | - this.init(tg_id) | 80 | + var tg_id = this.data.tg_id,th=this; |
81 | + this.init(tg_id); | ||
82 | + | ||
83 | + getApp().get_user_store(function (e) { | ||
84 | + if(e) | ||
85 | + th.setData({ pick_id: e.pickup_id, end_name: e.pickup_name,ii:1 }) | ||
86 | + }) | ||
82 | }, | 87 | }, |
83 | 88 | ||
84 | //c点击打开拼团弹窗 | 89 | //c点击打开拼团弹窗 |