Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
occloud-server
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yangjiarong
occloud-server
Commits
b9698d79
Commit
b9698d79
authored
Aug 01, 2022
by
liuliufashi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
671fe0c3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
index.vue
web-vue-admin/src/views/pay-info/index.vue
+24
-0
No files found.
web-vue-admin/src/views/pay-info/index.vue
View file @
b9698d79
...
...
@@ -6,6 +6,12 @@
<a-table
:columns=
"columns"
:data-source=
"list"
@
change=
"tableChange"
:pagination=
"pagination"
:scroll=
"
{ y: 'calc(100vh - 300px)' }">
<template
#
bodyCell=
"
{ column, record }">
<template
v-if=
"column.key === 'amount'"
>
<div
v-if=
"record.amount"
>
<div>
{{
record
.
amount
/
100
}}
</div>
</div>
</
template
>
<
template
v-if=
"column.key === 'nickname'"
>
<div
v-if=
"record.nickname"
>
<div>
{{
record
.
nickname
}}
</div>
...
...
@@ -30,6 +36,14 @@
~
</div>
</
template
>
<
template
v-if=
"column.key === 'status'"
>
<div
v-if=
"record.status === 0"
style=
"color: rgb(245, 108, 108);"
>
未支付
</div>
<div
v-else
style=
"color: rgb(12, 191, 33);"
>
已支付
</div>
</
template
>
</template>
</a-table>
</div>
...
...
@@ -44,6 +58,11 @@ const columns = [
dataIndex
:
'subject'
,
key
:
'subject'
,
},
{
title
:
'金额'
,
dataIndex
:
'amount'
,
key
:
'amount'
,
},
{
title
:
'订单号'
,
...
...
@@ -65,6 +84,11 @@ const columns = [
dataIndex
:
'headimgurl'
,
key
:
'headimgurl'
,
},
{
title
:
'状态'
,
dataIndex
:
'status'
,
key
:
'status'
,
},
{
title
:
'订单时间'
,
dataIndex
:
'updatetime'
,
...
...
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