Commit a3406cf135999dd531321e920b591b976cda9e72
1 parent
1ea4423e
商品详情页面组装阶梯促销
Showing
1 changed file
with
11 additions
and
0 deletions
pages/goods/goodsInfo/goodsInfo.js
@@ -7700,6 +7700,17 @@ Page({ | @@ -7700,6 +7700,17 @@ Page({ | ||
7700 | jieti_prom: prom_content, | 7700 | jieti_prom: prom_content, |
7701 | ladder_act_id: act_id | 7701 | ladder_act_id: act_id |
7702 | }) | 7702 | }) |
7703 | + | ||
7704 | + //-- 组装一下阶梯促销 -- | ||
7705 | + var s_time=res.data.data.start_time; | ||
7706 | + var e_time=res.data.data.end_time; | ||
7707 | + th.add_cx_prom_group({ | ||
7708 | + id: act_id, | ||
7709 | + title: prom_content, | ||
7710 | + show_time: ut.formatTime(s_time) + "至" + ut.formatTime(e_time), | ||
7711 | + prom_type:10 | ||
7712 | + }); | ||
7713 | + | ||
7703 | } | 7714 | } |
7704 | }) | 7715 | }) |
7705 | } | 7716 | } |