Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
郭成尧
8 years ago
Commit
c7e23e53c8cd3b25bdf7f44b9d72549b27cde2b3
1 parent
c3030579
order-tip-simple
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
27 deletions
public/js/home/order.page.js
public/js/home/orderdetail.page.js
public/js/home/order.page.js
View file @
c7e23e5
...
...
@@ -425,23 +425,15 @@ $reaMask.find('.box-cmp').on('touchend', function() {
return
;
}
if
(
res
.
code
===
200
)
{
dialog
.
showDialog
({
dialogText
:
'您的取消订单申请已提交,请耐心等待'
,
hasFooter
:
{
leftBtnText
:
'返回'
,
rightBtnText
:
'确定'
}
},
function
()
{
window
.
location
.
href
=
'/home/orders'
;
});
return
false
;
}
if
(
res
.
message
)
{
tip
.
show
(
res
.
message
);
}
if
(
res
.
code
===
200
)
{
setTimeout
(
function
()
{
window
.
location
.
href
=
'/home/orders'
;
},
500
);
}
}).
fail
(
function
()
{
tip
.
show
(
'网络错误'
);
});
...
...
public/js/home/orderdetail.page.js
View file @
c7e23e5
...
...
@@ -259,22 +259,15 @@ $reaMask.find('.box-cmp').on('touchend', function() {
return
;
}
if
(
res
.
code
===
200
)
{
dialog
.
showDialog
({
dialogText
:
'您的取消订单申请已提交,请耐心等待'
,
hasFooter
:
{
leftBtnText
:
'返回'
,
rightBtnText
:
'确定'
}
},
function
()
{
window
.
location
.
href
=
'/home/orders'
;
});
return
false
;
}
if
(
res
.
message
)
{
tip
.
show
(
res
.
message
);
}
if
(
res
.
code
===
200
)
{
setTimeout
(
function
()
{
window
.
location
.
href
=
'/home/orders'
;
},
500
);
}
}).
fail
(
function
()
{
tip
.
show
(
'网络错误'
);
});
...
...
Please
register
or
login
to post a comment