Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
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
viitto
mallapp
Commits
a339b61b
Commit
a339b61b
authored
Mar 14, 2022
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2
parent
3a2fbdb8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
75 additions
and
40 deletions
+75
-40
index.vue
pages/order/index/index.vue
+5
-1
order-detail.vue
pages/order/order-detail.vue
+70
-39
No files found.
pages/order/index/index.vue
View file @
a339b61b
...
@@ -56,7 +56,11 @@
...
@@ -56,7 +56,11 @@
<!-- TODO 样式结构修改-->
<!-- TODO 样式结构修改-->
<view
class=
"handle"
>
<view
class=
"handle"
>
<u-button
shape=
"circle"
size=
"medium"
:custom-style=
"customStyle"
v-on:click
.
stop=
"cancel(item, index)"
v-if=
"
<u-button
shape=
"circle"
size=
"medium"
:custom-style=
"customStyle"
v-on:click
.
stop=
"cancel(item, index)"
v-if=
"
item.OrderStatus == '1' || (item.OrderStatus == '2' && item.PresentFXGrade!=1)"
>
取消订单
</u-button>
item.OrderStatus == '1'&&item.OrderEduType>0"
>
取消订单
</u-button>
<view
class=
""
v-if=
"item.OrderEduType===0"
>
<u-button
shape=
"circle"
size=
"medium"
:custom-style=
"customStyle"
v-on:click
.
stop=
"cancel(item, index)"
v-if=
"
item.OrderStatus == '1' || (item.OrderStatus == '2' && item.PresentFXGrade!=1)"
>
取消订单
</u-button>
</view>
<u-button
shape=
"circle"
size=
"medium"
:custom-style=
"themCustomStyle"
v-on:click
.
stop=
"payment(item)"
v-if=
"item.OrderStatus == '1'"
>
立即支付
</u-button>
<u-button
shape=
"circle"
size=
"medium"
:custom-style=
"themCustomStyle"
v-on:click
.
stop=
"payment(item)"
v-if=
"item.OrderStatus == '1'"
>
立即支付
</u-button>
<u-button
shape=
"circle"
size=
"medium"
:custom-style=
"item.OrderStatus == '3' ? customStyle : themCustomStyle"
<u-button
shape=
"circle"
size=
"medium"
:custom-style=
"item.OrderStatus == '3' ? customStyle : themCustomStyle"
v-if=
"item.OrderStatus != '1'"
@
click
.
stop=
"buy(item)"
>
再次购买
</u-button>
v-if=
"item.OrderStatus != '1'"
@
click
.
stop=
"buy(item)"
>
再次购买
</u-button>
...
...
pages/order/order-detail.vue
View file @
a339b61b
This diff is collapsed.
Click to expand it.
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