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
f1878cb6
Commit
f1878cb6
authored
Mar 07, 2025
by
罗超
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'B2C' of
http://gitlab.oytour.com/zk123/jz_travel
into B2C
parents
a211cc4f
517753eb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
10 deletions
+30
-10
jz_SureOrder.vue
pages/jiuzhai/jz_SureOrder.vue
+1
-1
visa_Reserve.vue
pages/visa/visa_Reserve.vue
+16
-5
visa_SureOrder.vue
pages/visa/visa_SureOrder.vue
+13
-4
No files found.
pages/jiuzhai/jz_SureOrder.vue
View file @
f1878cb6
...
@@ -446,7 +446,7 @@
...
@@ -446,7 +446,7 @@
</view>
</view>
<view
class=
"jz_form"
style=
"margin: 40rpx 0; padding: 0"
>
<view
class=
"jz_form"
style=
"margin: 40rpx 0; padding: 0"
>
<view
class=
"form-items"
>
<view
class=
"form-items"
>
<view
class=
"label"
>
在线支付
</view>
<view
class=
"label"
>
商品总价
</view>
<view
class=
"val f14 regular"
style=
"text-align: right"
>
<view
class=
"val f14 regular"
style=
"text-align: right"
>
<text
style=
"margin-right: 30rpx"
>
{{
orderData
.
model
.
GuestNum
}}
人
</text>
<text
style=
"margin-right: 30rpx"
>
{{
orderData
.
model
.
GuestNum
}}
人
</text>
<text
class=
"red"
>
¥
{{
orderData
.
model
.
PreferPrice
}}
</text>
<text
class=
"red"
>
¥
{{
orderData
.
model
.
PreferPrice
}}
</text>
...
...
pages/visa/visa_Reserve.vue
View file @
f1878cb6
...
@@ -888,6 +888,7 @@
...
@@ -888,6 +888,7 @@
},
},
goPayHandler
(
OrderNo
)
{
goPayHandler
(
OrderNo
)
{
let
that
=
this
;
let
that
=
this
;
var
price
=
(
this
.
price
-
this
.
currentCoupon
.
discountMoney
).
toFixed
(
2
)
uni
.
requestPayment
({
uni
.
requestPayment
({
provider
:
"wxpay"
,
provider
:
"wxpay"
,
timeStamp
:
this
.
orderInfo
.
timeStamp
,
timeStamp
:
this
.
orderInfo
.
timeStamp
,
...
@@ -902,11 +903,21 @@
...
@@ -902,11 +903,21 @@
title
:
"支付成功"
,
title
:
"支付成功"
,
});
});
setTimeout
(()
=>
{
setTimeout
(()
=>
{
uni
.
redirectTo
({
// #ifdef MP-DI
url
:
"/pages/jiuzhai/paysuccess?PreferPrice="
+
uni
.
redirectTo
({
that
.
price
+
url
:
"/pages/jiuzhai/paysuccess?PreferPrice="
+
"&isFrom=1"
,
price
+
});
"&isFrom=3"
,
});
// #endif
// #ifdef MP-AG
uni
.
redirectTo
({
url
:
"/pages/jiuzhai/paysuccess?PreferPrice="
+
this
.
price
+
"&isFrom=3"
,
});
// #endif
},
100
);
},
100
);
},
},
fail
:
function
(
err
)
{
fail
:
function
(
err
)
{
...
...
pages/visa/visa_SureOrder.vue
View file @
f1878cb6
...
@@ -645,11 +645,20 @@
...
@@ -645,11 +645,20 @@
title
:
"支付成功"
,
title
:
"支付成功"
,
});
});
setTimeout
(()
=>
{
setTimeout
(()
=>
{
// #ifdef MP-DI
uni
.
redirectTo
({
url
:
"/pages/jiuzhai/paysuccess?PreferPrice="
+
that
.
orderData
.
model
.
DueInMoney
+
"&isFrom=3"
,
});
// #endif
// #ifdef MP-AG
uni
.
redirectTo
({
uni
.
redirectTo
({
url
:
"/pages/jiuzhai/paysuccess?PreferPrice="
+
url
:
"/pages/jiuzhai/paysuccess?PreferPrice="
+
that
.
price
+
that
.
price
+
"&isFrom=3"
,
"&isFrom=3"
,
});
});
// #endif
},
100
);
},
100
);
},
},
fail
:
function
(
err
)
{
fail
:
function
(
err
)
{
...
...
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