Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨建斌
/
dy-wx2
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
8c5168a2
authored
2019-01-10 23:07:07 +0800
by
ex
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改代码
1 parent
2c7e4966
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
12 deletions
js/controller/mainController.js
js/controller/mainController.js
View file @
8c5168a
...
...
@@ -73,19 +73,20 @@ angular.module('myApp')
if
(
data
.
data
.
unfinishedOrder
.
id
)
{
$rootScope
.
isRendBike
=
true
;
$scope
.
unfinishOrder
=
data
.
data
.
unfinishedOrder
;
layer
.
open
({
content
:
'您有未支付的订单,是否前往支付?'
,
btn
:
[
'确认'
,
'取消'
],
shadeClose
:
false
,
yes
:
function
(
index
){
layer
.
close
(
index
);
$state
.
go
(
'tripDetail'
,
{
orderId
:
$scope
.
unfinishOrder
.
id
});
return
;
},
no
:
function
(
index
){
layer
.
close
(
index
);
}
});
}
layer
.
open
({
content
:
'您有未支付的订单,是否前往支付?'
,
btn
:
[
'确认'
,
'取消'
],
shadeClose
:
false
,
yes
:
function
(
index
){
layer
.
close
(
index
);
$state
.
go
(
'tripDetail'
,
{
orderId
:
$scope
.
unfinishOrder
.
id
});
return
;
},
no
:
function
(
index
){
layer
.
close
(
index
);
}
});
}
}).
error
(
function
(
data
,
status
)
{
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment