Commit 4a1b0f1b by 肖康

下单成功弹窗

parent 6203422b
...@@ -450,6 +450,39 @@ ...@@ -450,6 +450,39 @@
} }
} }
.successPops{
position: fixed;
left:0px;
top:0px;
right:0px;
bottom:0px;
z-index: 2;
.cns{
width: 500px;
height: 118px;
background: #283FEB;
border: 1px solid #FFFFFF;
opacity: 0.65;
border-radius: 10px;
box-sizing: border-box;
margin:0 auto;
position: relative;
top:50%;
margin-top: -59px;
padding:20px 30px;
color:#fff;
p{font-size: 14px;line-height: 20px;}
.btnbox{
text-align: right;
margin-top: 20px;
a{font-size: 16px;color:#fff;&.okbtn{margin-left: 40px;}}
}
}
}
.getCountryBox{ .getCountryBox{
position: relative; position: relative;
.conps{ .conps{
......
...@@ -266,9 +266,11 @@ define('confirm', ['liexin_pop','form','artTemplate'], function (require, export ...@@ -266,9 +266,11 @@ define('confirm', ['liexin_pop','form','artTemplate'], function (require, export
$.liexin_ajax('/api/order/addOrder', 'POST', { shipping_address_id:$(".address-group.ship").attr("guid"),billing_address_id:$(".address-group.bill").attr("guid"),items:JSON.stringify(arr_)}, function (res) { $.liexin_ajax('/api/order/addOrder', 'POST', { shipping_address_id:$(".address-group.ship").attr("guid"),billing_address_id:$(".address-group.bill").attr("guid"),items:JSON.stringify(arr_)}, function (res) {
if (res.code == 0) { if (res.code == 0) {
tool.setCookie("car_xk",1,-1); //下单成功删掉cookie tool.setCookie("car_xk",1,-1); //下单成功删掉cookie
liexin_pop.Tip({ title: res.msg },function(){ $(".checkorder").attr("href","/user/orderDetail?order_id="+res.data)
window.location.href="/user/order" $(".successPops").show();
}) // liexin_pop.Tip({ title: res.msg },function(){
// window.location.href="/user/order"
// })
} else { } else {
$(".ordercreates").removeClass("dis") $(".ordercreates").removeClass("dis")
liexin_pop.Tip({ title: res.msg }) liexin_pop.Tip({ title: res.msg })
......
...@@ -119,6 +119,16 @@ ...@@ -119,6 +119,16 @@
</div> </div>
@include('common.mallFooter') @include('common.mallFooter')
</div> </div>
<!--成功提示-->
<div class="successPops" style="display:none;">
<div class="cns">
<p>Save successfully! Our sales will process the order soon and give feedback within 24 hours!</p>
<div class="btnbox">
<a href="/user/orderDetail?order_id=173" class="checkorder">Check Order</a>
<a href="/user/order" class="okbtn">OK</a>
</div>
</div>
</div>
<!--新增地址弹窗--> <!--新增地址弹窗-->
<div class="addressPop" style="display:none;"> <div class="addressPop" style="display:none;">
<div class="inputboxp"> <div class="inputboxp">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment