Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
U
uni-pdtravel
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
panyongping
uni-pdtravel
Commits
78d0702e
Commit
78d0702e
authored
Aug 03, 2023
by
潘永坪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单支付修改
parent
c4e51a7b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
10 deletions
+17
-10
App.vue
App.vue
+0
-2
orderPayment.vue
pages/payment/orderPayment/orderPayment.vue
+15
-7
scenicChooseProduct.vue
pages/scenic/scenicChooseProduct/scenicChooseProduct.vue
+2
-1
No files found.
App.vue
View file @
78d0702e
...
...
@@ -95,7 +95,6 @@ export default {
background
:
#F7F7F7
;
height
:
100vh
;
}
view
,
text
,
image
,
...
...
@@ -110,7 +109,6 @@ export default {
textarea
{
box-sizing
:
border-box
;
}
.btn
{
background
:
linear-gradient
(
132deg
,
#ED400C
0%
,
#FB862C
100%
);
display
:
inline-block
;
...
...
pages/payment/orderPayment/orderPayment.vue
View file @
78d0702e
...
...
@@ -73,7 +73,8 @@ export default {
orderId
:
''
,
//订单Id
openid
:
''
,
//用户Id
afterBuyUrl
:
''
,
//支付成功后地址跳转
ifyukuaiCode
:
''
//是否是渝快码跳入,渝快码跳入需要在H5端另外走流程
ifyukuaiCode
:
''
,
//是否是渝快码跳入,渝快码跳入需要在H5端另外走流程
albumOrderdetail
:
''
,
//是否跳影集订单详情
}
},
onLoad
(
option
)
{
...
...
@@ -92,6 +93,7 @@ export default {
this
.
orderId
=
option
.
orderId
||
''
}
this
.
ifyukuaiCode
=
option
.
ifyukuaiCode
||
''
this
.
albumOrderdetail
=
option
.
albumOrderdetail
||
''
this
.
openid
=
uni
.
getStorageSync
(
'openid'
)
||
''
if
(
this
.
openid
)
{
this
.
initDetail
()
...
...
@@ -158,13 +160,19 @@ export default {
}
this
.
$request
(
'orderc/order/findOrderInfo'
,
data
).
then
(
res
=>
{
if
(
res
.
code
==
'00'
)
{
if
(
res
.
data
.
orderType
==
'10'
){
//
组合票和联票跳订单列表
this
.
afterBuyUrl
=
'/pages/
my/order/orderList/orderList
'
if
(
this
.
albumOrderdetail
=
1
){
//
主要跳转影集订单详情,暂时是前端写死
this
.
afterBuyUrl
=
'/pages/
album/albumOrderdetail/albumOrderdetail
'
}
else
{
//单票跳详情
this
.
afterBuyUrl
=
'/pages/my/order/electronicTicket/electronicTicket'
if
(
res
.
data
.
orderType
==
'10'
){
//组合票和联票跳订单列表
this
.
afterBuyUrl
=
'/pages/my/order/orderList/orderList'
}
else
{
//单票跳详情
this
.
afterBuyUrl
=
'/pages/my/order/electronicTicket/electronicTicket'
}
}
this
.
bodyShow
=
true
//支付参数开始
this
.
timeStamp
=
res
.
data
.
timestamp
...
...
@@ -179,7 +187,7 @@ export default {
if
(
this
.
pdOrderMoney
==
0
&&
res
.
data
.
subOrderType
==
-
1
)
{
this
.
afterBuyUrl
=
'/pages/my/order/electronicTicket/electronicTicket'
uni
.
navigateTo
({
url
:
'/pages/payment/paySuccess/paySuccess?orderId='
+
_this
.
orderId
+
'&afterBuyUrl='
+
_this
.
afterBuyUrl
+
'&ifyukuaiCode='
+
_
this
.
ifyukuaiCode
url
:
'/pages/payment/paySuccess/paySuccess?orderId='
+
this
.
orderId
+
'&afterBuyUrl='
+
this
.
afterBuyUrl
+
'&ifyukuaiCode='
+
this
.
ifyukuaiCode
})
}
this
.
errorMessage
=
res
.
data
.
errorMessage
...
...
pages/scenic/scenicChooseProduct/scenicChooseProduct.vue
View file @
78d0702e
...
...
@@ -155,7 +155,8 @@ export default {
data
()
{
return
{
merchantId
:
''
,
//商户Id
tabbar
:[
'热门景点'
,
'一日游'
,
'摄影/旅拍'
,
'文创DIY'
],
//tabbar标题列表
// tabbar:['热门景点','一日游','摄影/旅拍','文创DIY'],//tabbar标题列表
tabbar
:[
'热门景点'
,
'一日游'
,
'摄影/旅拍'
],
//tabbar标题列表
active
:
0
,
//导航栏下标
imgList
:[],
//图片列表
scenicList
:[],
//景区数据
...
...
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