Commit 1032406f7d37a4afb33018b2711a2cad70aa8008
1 parent
d2dc5dfc
要把天数显示数来
Showing
2 changed files
with
4 additions
and
1 deletions
pages/goods/goodsInfo/goodsInfo.wxml
@@ -177,6 +177,7 @@ | @@ -177,6 +177,7 @@ | ||
177 | <text class='gred' wx:else>还差<text style='color:#ff2753'>{{prom_act.ct_num - item.open_num}}</text>人成团 </text> | 177 | <text class='gred' wx:else>还差<text style='color:#ff2753'>{{prom_act.ct_num - item.open_num}}</text>人成团 </text> |
178 | <view class="t_show"> | 178 | <view class="t_show"> |
179 | 剩余 | 179 | 剩余 |
180 | + <text wx:if="{{timer[t_ind].day}}">{{timer[t_ind].day}}天:</text> | ||
180 | <text>{{timer[t_ind].hou}}</text>: | 181 | <text>{{timer[t_ind].hou}}</text>: |
181 | <text>{{timer[t_ind].min}}</text>: | 182 | <text>{{timer[t_ind].min}}</text>: |
182 | <text>{{timer[t_ind].sec}}</text> | 183 | <text>{{timer[t_ind].sec}}</text> |
pages/team/team_more/team_more.wxml
@@ -17,7 +17,9 @@ | @@ -17,7 +17,9 @@ | ||
17 | <text class='gred' wx:else>还差{{pt_act.ct_num - item.open_num}}人成团</text> | 17 | <text class='gred' wx:else>还差{{pt_act.ct_num - item.open_num}}人成团</text> |
18 | <view> | 18 | <view> |
19 | <view class="time_show_view"> | 19 | <view class="time_show_view"> |
20 | - 剩余<text>{{item.djs.hou}}</text>: | 20 | + 剩余 |
21 | + <text wx:if="{{item.djs.day}}">{{item.djs.day}}天:</text> | ||
22 | + <text>{{item.djs.hou}}</text>: | ||
21 | <text>{{item.djs.min}}</text>: | 23 | <text>{{item.djs.min}}</text>: |
22 | <text>{{item.djs.sec}}</text>结束 | 24 | <text>{{item.djs.sec}}</text>结束 |
23 | </view> | 25 | </view> |