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