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
Hide 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 @@
...
@@ -182,7 +182,6 @@
class=
"jz_Zailai"
class=
"jz_Zailai"
@
click
.
stop=
"goZhifu(item)"
@
click
.
stop=
"goZhifu(item)"
style=
"width: 110rpx; margin-right: 10rpx; margin-left: 0rpx"
style=
"width: 110rpx; margin-right: 10rpx; margin-left: 0rpx"
:disabled=
"disabledBtn"
>
>
付款
付款
</button>
</button>
...
@@ -251,8 +250,7 @@ export default {
...
@@ -251,8 +250,7 @@ export default {
},
},
status
:
"加载中"
,
status
:
"加载中"
,
price
:
0
,
price
:
0
,
showBar
:
true
,
showBar
:
true
disabledBtn
:
false
,
};
};
},
},
created
()
{
created
()
{
...
@@ -404,7 +402,6 @@ export default {
...
@@ -404,7 +402,6 @@ export default {
// #ifdef MP-WEIXIN
// #ifdef MP-WEIXIN
goZhifu
(
item
)
{
goZhifu
(
item
)
{
console
.
log
(
item
,
"item"
);
console
.
log
(
item
,
"item"
);
this
.
disabledBtn
=
true
;
let
url
=
"/api/WeChatPay/GetTravlePayInfo"
;
let
url
=
"/api/WeChatPay/GetTravlePayInfo"
;
let
GoodsName
=
item
.
title
;
let
GoodsName
=
item
.
title
;
GoodsName
=
GoodsName
.
slice
(
0
,
10
);
GoodsName
=
GoodsName
.
slice
(
0
,
10
);
...
@@ -435,7 +432,6 @@ export default {
...
@@ -435,7 +432,6 @@ export default {
signType
:
orderInfo
.
signType
,
signType
:
orderInfo
.
signType
,
paySign
:
orderInfo
.
sign
,
paySign
:
orderInfo
.
sign
,
success
:
function
(
res
)
{
success
:
function
(
res
)
{
this
.
disabledBtn
=
false
;
console
.
log
(
"success"
,
res
);
console
.
log
(
"success"
,
res
);
uni
.
showToast
({
uni
.
showToast
({
title
:
"支付成功"
,
title
:
"支付成功"
,
...
@@ -449,7 +445,6 @@ export default {
...
@@ -449,7 +445,6 @@ export default {
});
});
},
},
fail
:
function
(
err
)
{
fail
:
function
(
err
)
{
this
.
disabledBtn
=
false
;
console
.
log
(
"fail:"
,
err
);
console
.
log
(
"fail:"
,
err
);
uni
.
showToast
({
uni
.
showToast
({
title
:
"支付失败"
,
title
:
"支付失败"
,
...
@@ -460,7 +455,6 @@ export default {
...
@@ -460,7 +455,6 @@ export default {
// #endif
// #endif
// #ifdef MP-ALIPAY
// #ifdef MP-ALIPAY
goZhifuAli
(
item
)
{
goZhifuAli
(
item
)
{
this
.
disabledBtn
=
true
;
uni
.
showLoading
({
uni
.
showLoading
({
title
:
"支付中"
,
title
:
"支付中"
,
});
});
...
@@ -514,7 +508,6 @@ export default {
...
@@ -514,7 +508,6 @@ export default {
},
},
fail
:
function
(
err
)
{
fail
:
function
(
err
)
{
console
.
log
(
"fail:"
,
err
);
console
.
log
(
"fail:"
,
err
);
this
.
disabledBtn
=
false
;
uni
.
hideLoading
();
uni
.
hideLoading
();
uni
.
showToast
({
uni
.
showToast
({
title
:
"支付失败"
,
title
:
"支付失败"
,
...
@@ -539,7 +532,6 @@ export default {
...
@@ -539,7 +532,6 @@ export default {
(
res
)
=>
{
(
res
)
=>
{
console
.
log
(
"cb"
,
res
);
console
.
log
(
"cb"
,
res
);
uni
.
hideLoading
();
uni
.
hideLoading
();
this
.
disabledBtn
=
false
;
uni
.
redirectTo
({
uni
.
redirectTo
({
url
:
url
:
"/pages/jiuzhai/paysuccess?PreferPrice="
+
"/pages/jiuzhai/paysuccess?PreferPrice="
+
...
@@ -549,7 +541,6 @@ export default {
...
@@ -549,7 +541,6 @@ export default {
},
},
(
err
)
=>
{
(
err
)
=>
{
console
.
log
(
"cb2"
,
err
);
console
.
log
(
"cb2"
,
err
);
this
.
disabledBtn
=
false
;
uni
.
hideLoading
();
uni
.
hideLoading
();
uni
.
showToast
({
uni
.
showToast
({
title
:
"支付失败"
,
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