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
d2e7b505
Commit
d2e7b505
authored
Oct 14, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
119ad12a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
10 deletions
+1
-10
jz_MyOrder.vue
pages/jiuzhai/jz_MyOrder.vue
+1
-10
No files found.
pages/jiuzhai/jz_MyOrder.vue
View file @
d2e7b505
...
...
@@ -182,7 +182,6 @@
class=
"jz_Zailai"
@
click
.
stop=
"goZhifu(item)"
style=
"width: 110rpx; margin-right: 10rpx; margin-left: 0rpx"
:disabled=
"disabledBtn"
>
付款
</button>
...
...
@@ -251,8 +250,7 @@ export default {
},
status
:
"加载中"
,
price
:
0
,
showBar
:
true
,
disabledBtn
:
false
,
showBar
:
true
};
},
created
()
{
...
...
@@ -404,7 +402,6 @@ export default {
// #ifdef MP-WEIXIN
goZhifu
(
item
)
{
console
.
log
(
item
,
"item"
);
this
.
disabledBtn
=
true
;
let
url
=
"/api/WeChatPay/GetTravlePayInfo"
;
let
GoodsName
=
item
.
title
;
GoodsName
=
GoodsName
.
slice
(
0
,
10
);
...
...
@@ -435,7 +432,6 @@ export default {
signType
:
orderInfo
.
signType
,
paySign
:
orderInfo
.
sign
,
success
:
function
(
res
)
{
this
.
disabledBtn
=
false
;
console
.
log
(
"success"
,
res
);
uni
.
showToast
({
title
:
"支付成功"
,
...
...
@@ -449,7 +445,6 @@ export default {
});
},
fail
:
function
(
err
)
{
this
.
disabledBtn
=
false
;
console
.
log
(
"fail:"
,
err
);
uni
.
showToast
({
title
:
"支付失败"
,
...
...
@@ -460,7 +455,6 @@ export default {
// #endif
// #ifdef MP-ALIPAY
goZhifuAli
(
item
)
{
this
.
disabledBtn
=
true
;
uni
.
showLoading
({
title
:
"支付中"
,
});
...
...
@@ -514,7 +508,6 @@ export default {
},
fail
:
function
(
err
)
{
console
.
log
(
"fail:"
,
err
);
this
.
disabledBtn
=
false
;
uni
.
hideLoading
();
uni
.
showToast
({
title
:
"支付失败"
,
...
...
@@ -539,7 +532,6 @@ export default {
(
res
)
=>
{
console
.
log
(
"cb"
,
res
);
uni
.
hideLoading
();
this
.
disabledBtn
=
false
;
uni
.
redirectTo
({
url
:
"/pages/jiuzhai/paysuccess?PreferPrice="
+
...
...
@@ -549,7 +541,6 @@ export default {
},
(
err
)
=>
{
console
.
log
(
"cb2"
,
err
);
this
.
disabledBtn
=
false
;
uni
.
hideLoading
();
uni
.
showToast
({
title
:
"支付失败"
,
...
...
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