Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jz_Travel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhengke
jz_Travel
Commits
e2f3bc0c
Commit
e2f3bc0c
authored
Jun 03, 2021
by
ZJG
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
9bfc6419
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
8 deletions
+17
-8
pay.vue
components/pay/pay.vue
+6
-2
orderList.vue
pages/guidecar/orderList.vue
+1
-1
paysuccess.vue
pages/jiuzhai/paysuccess.vue
+10
-5
No files found.
components/pay/pay.vue
View file @
e2f3bc0c
...
...
@@ -82,8 +82,12 @@ export default {
url
:
'/pages/reserve/offline-success?payInfo='
+
JSON
.
stringify
(
that
.
payInfo
)
});
}
else
{
uni
.
navigateTo
({
url
:
'/pages/order-submit/pay-success?payInfo='
+
JSON
.
stringify
(
that
.
payInfo
)
// uni.navigateTo({
// url: '/pages/order-submit/pay-success?payInfo='+JSON.stringify(that.payInfo)
// });
uni
.
reLaunch
({
url
:
'/pages/jiuzhai/paysuccess?PreferPrice='
+
that
.
payInfo
.
total_price
+
'&isFrom=2'
});
}
...
...
pages/guidecar/orderList.vue
View file @
e2f3bc0c
...
...
@@ -257,7 +257,7 @@
},
1000
);
},
onLoad
(
option
)
{
this
.
current
=
option
.
status
||
-
1
;
this
.
current
=
option
.
status
||
0
;
this
.
getHeadList
();
this
.
payInfo
.
OpenId
=
uni
.
getStorageSync
(
'mall_UserInfo'
).
OpenId
;
this
.
u
=
uni
.
getStorageSync
(
"mall_UserInfo"
);
...
...
pages/jiuzhai/paysuccess.vue
View file @
e2f3bc0c
...
...
@@ -38,7 +38,7 @@
showCoupons
:
false
,
couponMessage
:
''
,
PreferPrice
:
''
,
isLineOrder
:
false
isLineOrder
:
0
,
};
},
onLoad
(
option
)
{
...
...
@@ -51,21 +51,26 @@
this
.
mainColor
=
this
.
$uiConfig
.
mainColor
;
this
.
themCustomStyle
.
color
=
this
.
mainColor
;
this
.
themCustomStyle
.
borderColor
=
this
.
mainColor
;
if
(
option
.
isFrom
==
1
){
this
.
isLineOrder
=
true
if
(
option
.
isFrom
){
this
.
isLineOrder
=
option
.
isFrom
}
},
methods
:
{
redictToOrders
()
{
if
(
!
this
.
isLineOrder
){
if
(
this
.
isLineOrder
==
0
){
uni
.
redirectTo
({
url
:
'/pages/jiuzhai/allorderList'
});
}
else
{
}
else
if
(
this
.
isLineOrder
==
1
)
{
uni
.
redirectTo
({
url
:
'/pages/jiuzhai/jz_MyOrder'
});
}
else
if
(
this
.
isLineOrder
==
2
){
//司导订单
uni
.
redirectTo
({
url
:
'/pages/guidecar/orderList'
});
}
},
goHome
()
{
...
...
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