Commit a7fdbedf4c4eef582c31167c30b2c6a748811aba

Authored by yvan.ni
1 parent a28ac755

秒杀,拼团,

pages/activity/pind_list/pind_list.js
... ... @@ -20,6 +20,7 @@ Page({
20 20  
21 21 //------初始化加载----------
22 22 onLoad: function(t) {
  23 + wx.setNavigationBarTitle({ title: "天天拼单",})
23 24 var first_leader = t.first_leader;
24 25 var th=this;
25 26  
... ... @@ -54,10 +55,10 @@ Page({
54 55 },
55 56  
56 57 onShow: function(t) {
57   -
58   - wx.setNavigationBarTitle({ title: "天天拼单",})
  58 +
59 59 this.data.is_timer=1;
60 60 this.data.currentPage=1;
  61 + this.data.ismore=1;
61 62 this.setData({goodlist:null});
62 63 var th=this;
63 64 this.requestSalelist();
... ...
pages/activity/pind_list/pind_list.wxml
1   -<block wx:if="{{isshow}}">
2   -
3 1 <view class=" body_frame">
4 2  
5 3 <block wx:if="{{ad_data}}">
... ... @@ -89,6 +87,7 @@
89 87  
90 88 <view class="no-more" wx:if="{{goodlist.length==0}}">没有相关内容</view>
91 89 </view>
92   -</block>
  90 +
  91 +
93 92  
94 93 <share_box id="share"></share_box>
95 94 \ No newline at end of file
... ...
pages/activity/seckill_list/seckill_list.js
... ... @@ -16,6 +16,8 @@ Page({
16 16  
17 17 //------初始化加载----------
18 18 onLoad: function(t) {
  19 + wx.setNavigationBarTitle({ title: "商品秒杀",})
  20 +
19 21 var first_leader = t.first_leader;
20 22 var th=this;
21 23  
... ... @@ -51,10 +53,8 @@ Page({
51 53 },
52 54  
53 55  
54   - onShow: function(t) {
55   -
56   - wx.setNavigationBarTitle({ title: "商品秒杀",})
57   -
  56 + onShow: function(t) {
  57 + this.data.ismore=1;
58 58 this.data.is_timer=1;
59 59 this.data.currentPage=1;
60 60 var th=this;th.setData({goodlist:null,})
... ...
pages/activity/seckill_list/seckill_list.wxml
1 1 <wxs module="filters" src="../../../utils/filter.wxs"></wxs>
2   -<block wx:if="{{isshow}}">
  2 +
3 3 <view class=" body_frame">
4 4  
5 5 <block wx:if="{{ad_data}}">
... ... @@ -76,6 +76,6 @@
76 76 <view class="no-more" wx:if="{{goodlist.length==0}}">没有相关内容</view>
77 77 </view>
78 78  
79   -</block>
  79 +
80 80  
81 81 <share_box id="share"></share_box>
... ...