Showing
2 changed files
with
5 additions
and
5 deletions
@@ -33,14 +33,16 @@ | @@ -33,14 +33,16 @@ | ||
33 | {{/if}} | 33 | {{/if}} |
34 | </ul> | 34 | </ul> |
35 | {{/if}} | 35 | {{/if}} |
36 | + | ||
37 | +{{# promotionInfo}} | ||
36 | <div class="activity"> | 38 | <div class="activity"> |
37 | - <h1>以参与活动</h1> | 39 | + <h1>已参与活动</h1> |
38 | <ul> | 40 | <ul> |
39 | - {{# promotionInfo}} | ||
40 | <li>{{name}}</li> | 41 | <li>{{name}}</li> |
41 | - {{/ promotionInfo}} | ||
42 | </ul> | 42 | </ul> |
43 | </div> | 43 | </div> |
44 | +{{/ promotionInfo}} | ||
45 | + | ||
44 | <div class="price-compute"> | 46 | <div class="price-compute"> |
45 | <p> | 47 | <p> |
46 | <span>总价(¥{{price}})<i>-</i></span> | 48 | <span>总价(¥{{price}})<i>-</i></span> |
@@ -789,8 +789,6 @@ class CartModel | @@ -789,8 +789,6 @@ class CartModel | ||
789 | 789 | ||
790 | $result['promotionInfo'][] = $info; | 790 | $result['promotionInfo'][] = $info; |
791 | } | 791 | } |
792 | - | ||
793 | - $result['promotionFormula'] = $data['shopping_cart_data']['promotion_formula']; | ||
794 | } | 792 | } |
795 | 793 | ||
796 | // 结算数据 | 794 | // 结算数据 |
-
Please register or login to post a comment