Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CFFP-HB
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chao Sun
CFFP-HB
Commits
c9cc2ac6
Commit
c9cc2ac6
authored
Dec 13, 2022
by
sunchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
微信中支付宝支付
parent
6cd51240
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
pages/orderConfirm/orderConfirm.vue
+5
-2
No files found.
pages/orderConfirm/orderConfirm.vue
View file @
c9cc2ac6
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
<text
style=
"color:#F15A1F"
v-else
>
0
</text>
<text
style=
"color:#F15A1F"
v-else
>
0
</text>
</view>
</view>
</view>
</view>
<view
class=
"confirmOrder"
@
click=
"pay()"
>
提交订单
</view>
<view
class=
"confirmOrder"
:class=
"{'gray':paymentBtnDisabled}"
@
click=
"pay()"
>
提交订单
</view>
</view>
</view>
<view
v-html=
"payForm"
>
<view
v-html=
"payForm"
>
...
@@ -214,6 +214,7 @@
...
@@ -214,6 +214,7 @@
// #ifdef APP-PLUS
// #ifdef APP-PLUS
param
.
paymentType
=
1
;
param
.
paymentType
=
1
;
api
.
unifiedPay
(
param
).
then
(
res
=>
{
api
.
unifiedPay
(
param
).
then
(
res
=>
{
this
.
paymentBtnDisabled
=
false
;
if
(
res
[
'success'
]){
if
(
res
[
'success'
]){
const
aliOrderString
=
res
[
'data'
][
'aliOrderString'
];
const
aliOrderString
=
res
[
'data'
][
'aliOrderString'
];
let
_this
=
this
let
_this
=
this
...
@@ -241,7 +242,6 @@
...
@@ -241,7 +242,6 @@
}
}
}
else
{
}
else
{
this
.
paymentBtnDisabled
=
false
;
uni
.
showModal
({
uni
.
showModal
({
content
:
res
[
'message'
],
content
:
res
[
'message'
],
success
:
function
(
res
)
{
success
:
function
(
res
)
{
...
@@ -606,6 +606,9 @@
...
@@ -606,6 +606,9 @@
padding
:
14
rpx
38
rpx
;
padding
:
14
rpx
38
rpx
;
border-radius
:
80
rpx
;
border-radius
:
80
rpx
;
}
}
.gray
{
background
:
#666
;
}
}
}
}
}
...
...
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