Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
semour
/
semour_web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
4a1b0f1b
authored
Nov 30, 2022
by
肖康
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
下单成功弹窗
parent
6203422b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
48 additions
and
3 deletions
public/assets/css/car/confirm.less
public/assets/css/car/confirm.min.css
public/assets/js/car/confirm.js
resources/views/car/confirm.blade.php
public/assets/css/car/confirm.less
View file @
4a1b0f1b
...
@@ -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{
...
...
public/assets/css/car/confirm.min.css
View file @
4a1b0f1b
This diff is collapsed.
Click to expand it.
public/assets/js/car/confirm.js
View file @
4a1b0f1b
...
@@ -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
})
...
...
resources/views/car/confirm.blade.php
View file @
4a1b0f1b
...
@@ -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
">
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment