Authored by 毕凯

优惠券列表

@@ -49,7 +49,7 @@ @@ -49,7 +49,7 @@
49 .not-use { 49 .not-use {
50 display: block; 50 display: block;
51 width: pxToRem(560px); 51 width: pxToRem(560px);
52 - margin: pxToRem(30px) auto; 52 + margin: pxToRem(30px) auto 0;
53 text-align: center; 53 text-align: center;
54 font-size: pxToRem(32px); 54 font-size: pxToRem(32px);
55 line-height: 2.5; 55 line-height: 2.5;
@@ -555,8 +555,8 @@ class CartModel @@ -555,8 +555,8 @@ class CartModel
555 $notAvailableRes = self::searchCoupon($uid, $val['couponCode']); 555 $notAvailableRes = self::searchCoupon($uid, $val['couponCode']);
556 // 处理可用的优惠券 556 // 处理可用的优惠券
557 if ($val['isValidity'] === 'N' || (isset($notAvailableRes['code']) && $notAvailableRes['code'] !== 200)) { 557 if ($val['isValidity'] === 'N' || (isset($notAvailableRes['code']) && $notAvailableRes['code'] !== 200)) {
558 -// $val['notAvailable'] = true;  
559 - continue; 558 + $val['notAvailable'] = true;
  559 + // continue;
560 } 560 }
561 $result[] = $val; 561 $result[] = $val;
562 } 562 }