Merge branch 'develop' of http://git.dev.yoho.cn/web/yohobuy into develop
Showing
3 changed files
with
5 additions
and
5 deletions
@@ -49,9 +49,9 @@ | @@ -49,9 +49,9 @@ | ||
49 | {{count}}张可用 | 49 | {{count}}张可用 |
50 | </span> | 50 | </span> |
51 | 51 | ||
52 | - {{#if name}} | ||
53 | - <span class="used coupon-use" data-name="{{name}}"> | ||
54 | - {{name}} | 52 | + {{#if couponName}} |
53 | + <span class="used coupon-use" data-name="{{couponName}}"> | ||
54 | + {{couponName}} | ||
55 | <i class="iconfont"></i> | 55 | <i class="iconfont"></i> |
56 | </span> | 56 | </span> |
57 | {{^}} | 57 | {{^}} |
@@ -488,7 +488,7 @@ class CartModel | @@ -488,7 +488,7 @@ class CartModel | ||
488 | 488 | ||
489 | // 优惠券数据 | 489 | // 优惠券数据 |
490 | $coupons = array(); | 490 | $coupons = array(); |
491 | - !empty($orderCompute['coupon_amount']) && $coupons['name'] = $orderInfo['couponName']; | 491 | + !empty($orderCompute['coupon_amount']) && $coupons['couponName'] = $orderInfo['couponName']; |
492 | $coupons += self::getCouponList($uid, true); | 492 | $coupons += self::getCouponList($uid, true); |
493 | $result['coupon'] = $coupons; | 493 | $result['coupon'] = $coupons; |
494 | } | 494 | } |
@@ -271,7 +271,7 @@ class IndexController extends AbstractAction | @@ -271,7 +271,7 @@ class IndexController extends AbstractAction | ||
271 | $this->auditJumpLogin(); | 271 | $this->auditJumpLogin(); |
272 | 272 | ||
273 | $this->setTitle('确认订单'); | 273 | $this->setTitle('确认订单'); |
274 | - $this->setNavHeader('确认订单', true, false); // 不显示右上角home按钮 | 274 | + $this->setNavHeader('确认订单', Helpers::url('/cart/index/index'), false); // 不显示右上角home按钮 |
275 | 275 | ||
276 | // 购物车商品为空跳转到购物车页面 | 276 | // 购物车商品为空跳转到购物车页面 |
277 | $shoppingKey = Helpers::getShoppingKeyByCookie(); | 277 | $shoppingKey = Helpers::getShoppingKeyByCookie(); |
-
Please register or login to post a comment