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
632d023f
Commit
632d023f
authored
Oct 13, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
fd5dce1f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
10 deletions
+7
-10
jz_SureOrder.vue
pages/jiuzhai/jz_SureOrder.vue
+7
-10
No files found.
pages/jiuzhai/jz_SureOrder.vue
View file @
632d023f
...
...
@@ -592,13 +592,13 @@
</view>
<view
style=
"display: flex; margin-left: 30rpx"
>
<!-- #ifdef MP-WEIXIN -->
<view
class=
"jz_OrderReNow"
@
click=
"goFukuan"
>
<view
class=
"jz_OrderReNow"
@
click=
"goFukuan"
v-if=
"showPayBtn"
>
<text
v-if=
"!submit"
>
立即支付
</text>
<u-loading
v-if=
"submit"
size=
"32"
color=
"#f5f5f5"
></u-loading>
</view>
<!-- #endif -->
<!-- #ifdef MP-ALIPAY -->
<view
class=
"jz_OrderReNow"
@
click=
"goZhifuAli"
>
<view
class=
"jz_OrderReNow"
@
click=
"goZhifuAli"
v-if=
"showPayBtn"
>
<text
v-if=
"!submit"
>
立即支付
</text>
<u-loading
v-if=
"submit"
size=
"32"
color=
"#f5f5f5"
></u-loading>
</view>
...
...
@@ -626,6 +626,7 @@ export default {
orderStatus
:
{},
submit
:
false
,
submitCancel
:
false
,
showPayBtn
:
true
,
};
},
created
()
{},
...
...
@@ -726,23 +727,19 @@ export default {
if
(
loss
==
1
||
status
==
4
)
{
this
.
orderStatus
.
code
=
-
1
;
this
.
orderStatus
.
text
=
"已取消"
;
this
.
submit
=
false
;
this
.
submitCancel
=
false
;
this
.
showPayBtn
=
false
;
}
else
if
(
status
==
2
&&
isCancel
!=
1
)
{
this
.
orderStatus
.
code
=
0
;
this
.
orderStatus
.
text
=
"待付款"
;
this
.
submit
=
true
;
this
.
submitCancel
=
true
;
this
.
showPayBtn
=
true
;
}
else
if
(
status
==
2
&&
isCancel
==
1
)
{
this
.
orderStatus
.
code
=
-
2
;
this
.
orderStatus
.
text
=
"审核中"
;
this
.
submit
=
false
;
this
.
submitCancel
=
false
;
this
.
showPayBtn
=
false
;
}
else
if
(
status
==
1
)
{
this
.
orderStatus
.
code
=
1
;
this
.
orderStatus
.
text
=
"正常"
;
this
.
submit
=
false
;
this
.
submitCancel
=
false
;
this
.
showPayBtn
=
false
;
}
},
// #ifdef MP-WEIXIN
...
...
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