Authored by uedxwg

支付成功页面

... ... @@ -226,7 +226,7 @@ function submitOrder() {
// 货到付款的进入订单页面
// url = '/home/orderDetail?order_code=' + res.data.order_code;
url = '/cart/index/paySuccess' + res.data.order_code;
url = '/cart/index/paySuccess?order_code=' + res.data.order_code;
} else {
url = '/home/orders/pay?order_code=' + res.data.order_code;
}
... ...
@import "good", "chose-panel", "gift-advance-good", "order-ensure", "select-coupon", "select-address";
@import "good", "chose-panel", "gift-advance-good", "order-ensure", "select-coupon", "select-address", "pay-success";
.icon-checkbox:before { content: "\e61c"; }
... ...
.pay-success-page {
.success{
width: 100%;
height: 320rem / $pxConvertRem;
overflow: hidden;
padding-top:40rem / $pxConvertRem;
text-align: center;
span{
font-size: 220rem / $pxConvertRem;
display: inline-block;
color: #b0b0b0;
}
}
.pay-success{
text-align: center;
p{
color: #444;
line-height: 48rem / $pxConvertRem;
font-size: 28rem / $pxConvertRem;
}
span{
color: #f00;
}
}
.message{
width: 66%;
line-height: 32rem / $pxConvertRem;
font-size: 20rem / $pxConvertRem;
margin:0 auto;
color: #b0b0b0;
padding-top:8rem / $pxConvertRem;
text-align: center;
}
.btn-list{
text-align: center;
padding-top: 16rem / $pxConvertRem;
a{
display: inline-block;
width: 35%;
height: 80rem / $pxConvertRem;
line-height: 80rem / $pxConvertRem;
background: #444;
color: #fff;
border-radius: 8rem / $pxConvertRem;
margin:0 8rem / $pxConvertRem;
font-size: 32rem / $pxConvertRem;
}
}
}
\ No newline at end of file
... ...
.pay-success-page{
}
\ No newline at end of file
... ... @@ -5,12 +5,14 @@
</div>
<div class="pay-success">
<p>恭喜您,订单提交成功!</p>
<p>您需要在收货时向送货员支付¥189.00</p>
{{#Price}}
<p>您需要在收货时向送货员支付<span>¥{{Price}}</span></p>
{{/Price}}
</div>
<div class="message">预计发货时间:每日16:00之前提交订单当天发货,16:00点之后提交订单次日发货</div>
<div class="btn-list">
<span>随便逛逛</span>
<span>查看订单</span>
<a href="{{guang}}">随便逛逛</a>
<a href="{{orderDetail}}">查看订单</a>
</div>
</div>
{{> layout/footer}}
... ...
... ... @@ -517,9 +517,12 @@ class IndexController extends AbstractAction
// 设置网站标题
$this->setTitle('支付完成');
$this->setNavHeader('支付完成', false, false);
$this->_view->display('pay-success', array());
$data = array(
'Price' => '300',
'guang' => '1',
'orderDetail' => '2'
);
$this->_view->display('pay-success', $data);
}
}
... ...