Authored by uedxwg

移除支付成功

@@ -225,8 +225,7 @@ function submitOrder() { @@ -225,8 +225,7 @@ function submitOrder() {
225 if (payType === 2) { 225 if (payType === 2) {
226 226
227 // 货到付款的进入订单页面 227 // 货到付款的进入订单页面
228 - // url = '/home/orderDetail?order_code=' + res.data.order_code;  
229 - url = '/cart/index/paySuccess?order_code=' + res.data.order_code; 228 + url = '/home/orderDetail?order_code=' + res.data.order_code;
230 } else { 229 } else {
231 url = '/home/orders/pay?order_code=' + res.data.order_code; 230 url = '/home/orders/pay?order_code=' + res.data.order_code;
232 } 231 }
1 -@import "good", "chose-panel", "gift-advance-good", "order-ensure", "select-coupon", "select-address", "pay-success"; 1 +@import "good", "chose-panel", "gift-advance-good", "order-ensure", "select-coupon", "select-address";
2 2
3 3
4 .icon-checkbox:before { content: "\e61c"; } 4 .icon-checkbox:before { content: "\e61c"; }
1 -.pay-success-page {  
2 - .success{  
3 - width: 100%;  
4 - height: 320rem / $pxConvertRem;  
5 - overflow: hidden;  
6 - padding-top:40rem / $pxConvertRem;  
7 - text-align: center;  
8 - span{  
9 - font-size: 220rem / $pxConvertRem;  
10 - display: inline-block;  
11 - color: #b0b0b0;  
12 - }  
13 - }  
14 - .pay-success{  
15 - text-align: center;  
16 - p{  
17 - color: #444;  
18 - line-height: 48rem / $pxConvertRem;  
19 - font-size: 28rem / $pxConvertRem;  
20 - }  
21 - span{  
22 - color: #f00;  
23 - }  
24 - }  
25 - .message{  
26 - width: 66%;  
27 - line-height: 32rem / $pxConvertRem;  
28 - font-size: 20rem / $pxConvertRem;  
29 - margin:0 auto;  
30 - color: #b0b0b0;  
31 - padding-top:8rem / $pxConvertRem;  
32 - text-align: center;  
33 - }  
34 - .btn-list{  
35 - text-align: center;  
36 - padding-top: 16rem / $pxConvertRem;  
37 - a{  
38 - display: inline-block;  
39 - width: 35%;  
40 - height: 80rem / $pxConvertRem;  
41 - line-height: 80rem / $pxConvertRem;  
42 - background: #444;  
43 - color: #fff;  
44 - border-radius: 8rem / $pxConvertRem;  
45 - margin:0 8rem / $pxConvertRem;  
46 - font-size: 32rem / $pxConvertRem;  
47 - }  
48 - }  
49 -}  
1 -{{> layout/header}}  
2 -<div class="yoho-page pay-success-page">  
3 - <div class="success">  
4 - <span class="iconfont">&#xe648;</span>  
5 - </div>  
6 - <div class="pay-success">  
7 - <p>恭喜您,订单提交成功!</p>  
8 - {{#Price}}  
9 - <p>您需要在收货时向送货员支付<span>¥{{Price}}</span></p>  
10 - {{/Price}}  
11 - </div>  
12 - <div class="message">预计发货时间:每日16:00之前提交订单当天发货,16:00点之后提交订单次日发货</div>  
13 - <div class="btn-list">  
14 - <a href="{{guang}}">随便逛逛</a>  
15 - <a href="{{orderDetail}}">查看订单</a>  
16 - </div>  
17 -</div>  
18 -{{> layout/footer}}  
@@ -509,20 +509,4 @@ class IndexController extends AbstractAction @@ -509,20 +509,4 @@ class IndexController extends AbstractAction
509 $this->echoJson($result); 509 $this->echoJson($result);
510 } 510 }
511 511
512 - /**  
513 - * 货到付款页面  
514 - */  
515 - public function paySuccessAction()  
516 - {  
517 - // 设置网站标题  
518 - $this->setTitle('支付完成');  
519 - $this->setNavHeader('支付完成', false, false);  
520 - $data = array(  
521 - 'Price' => '300',  
522 - 'guang' => '1',  
523 - 'orderDetail' => '2'  
524 - );  
525 - $this->_view->display('pay-success', $data);  
526 - }  
527 -  
528 } 512 }