Authored by 郭成尧

Merge branch 'feature/ordrEnsurOptmz' into release/5.3

@@ -444,10 +444,10 @@ class CartData @@ -444,10 +444,10 @@ class CartData
444 // 'data' => array( 444 // 'data' => array(
445 // 'activityAmount' => 0, 445 // 'activityAmount' => 0,
446 // 'hintInfo' => array( 446 // 'hintInfo' => array(
447 -// 'lastLine' => '继续结算剩余商品', 447 +// 'lastLine' => 'dfgdfsgfdsg',
448 // 'prefix' => '', 448 // 'prefix' => '',
449 -// 'suffix' => '已被抢光',  
450 -// 'productName' => 'Life.After Life 字母印花织带休闲裤【吴亦凡亲身试着】Life.After Life 字母印花织带休闲裤【吴亦凡亲身试着】字母印花织带休闲裤【吴亦凡亲身试着】【吴亦凡亲身试着】字母印花织带休闲裤【吴亦凡亲身试着】' 449 +// 'suffix' => 'sdfgsdfgsdgfd',
  450 +// 'productName' => 'sdfgsdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdfdf'
451 // ), 451 // ),
452 // 'isOpenTicket' => 'N', 452 // 'isOpenTicket' => 'N',
453 // 'is_hint' => 'Y', 453 // 'is_hint' => 'Y',
@@ -213,17 +213,17 @@ iframe[height="0"] { @@ -213,17 +213,17 @@ iframe[height="0"] {
213 position: absolute; 213 position: absolute;
214 bottom: 0; 214 bottom: 0;
215 width: 100%; 215 width: 100%;
  216 + height: 60px;
  217 + line-height: 60px;
216 218
217 a { 219 a {
218 width: 209px; 220 width: 209px;
219 - height: 50px;  
220 box-shadow: none; 221 box-shadow: none;
221 background-color: #fff; 222 background-color: #fff;
222 font-size: 1.2em; 223 font-size: 1.2em;
223 text-align: center; 224 text-align: center;
224 float: left; 225 float: left;
225 display: inline-block; 226 display: inline-block;
226 - padding-top: 24px;  
227 227
228 span { 228 span {
229 display: block; 229 display: block;
@@ -843,8 +843,10 @@ class CartModel @@ -843,8 +843,10 @@ class CartModel
843 array( 843 array(
844 'href' => Helpers::url('/cart/index/index'), 844 'href' => Helpers::url('/cart/index/index'),
845 'text' => '重新选择商品', 845 'text' => '重新选择商品',
  846 + 'class' => ''
846 ), 847 ),
847 array( 848 array(
  849 + 'href' => '',
848 'text' => '继续结算', 850 'text' => '继续结算',
849 'class' => 'order-tip-btnred' 851 'class' => 'order-tip-btnred'
850 )); 852 ));
@@ -680,7 +680,9 @@ class IndexController extends AbstractAction @@ -680,7 +680,9 @@ class IndexController extends AbstractAction
680 } 680 }
681 $result = CartModel::orderSub($uid, $addressId, $cartType, $deliveryTime, $deliveryWay, $invoices, $paymentId, $paymentType, $remark, $couponCode, $yohoCoin, $skuList, $unionKey, $userAgent, $times); 681 $result = CartModel::orderSub($uid, $addressId, $cartType, $deliveryTime, $deliveryWay, $invoices, $paymentId, $paymentType, $remark, $couponCode, $yohoCoin, $skuList, $unionKey, $userAgent, $times);
682 682
683 - $result['data']['unionCookie'] = $unionInfo; 683 + if (!empty($unionInfo)) {
  684 + $result['data']['unionCookie'] = $unionInfo;
  685 + }
684 686
685 // 记录下单异常的数据 687 // 记录下单异常的数据
686 if (empty($result)) { 688 if (empty($result)) {