mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-04-06 03:57:53 +08:00
Improve billing table design
This commit is contained in:
parent
25ab264b73
commit
5fb6a714aa
@ -20,14 +20,40 @@
|
|||||||
<el-row :gutter="20" class="card-content">
|
<el-row :gutter="20" class="card-content">
|
||||||
<el-tabs type="border-card">
|
<el-tabs type="border-card">
|
||||||
<el-tab-pane label="Statements">
|
<el-tab-pane label="Statements">
|
||||||
<el-table
|
<table class="info-table" cellspacing="0">
|
||||||
:data="tableData"
|
<thead>
|
||||||
style="width: 100%"
|
<tr>
|
||||||
>
|
<th class="thead-text">DATE</th>
|
||||||
<el-table-column prop="date" label="DATE" width="180" />
|
<th class="thead-text">ORDER ID</th>
|
||||||
<el-table-column prop="orderId" label="ORDER ID" width="180" />
|
<th class="thead-text">AMOUNT</th>
|
||||||
<el-table-column prop="amount" label="AMOUNT" />
|
</tr>
|
||||||
</el-table>
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td>22-11-2021</td>
|
||||||
|
<td>4576786</td>
|
||||||
|
<td>£20</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td>16-11-2021</td>
|
||||||
|
<td>4576786</td>
|
||||||
|
<td>£40</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td>22-11-2021</td>
|
||||||
|
<td>4576786</td>
|
||||||
|
<td>£40</td>
|
||||||
|
</tr>
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td>22-11-2021</td>
|
||||||
|
<td>4576786</td>
|
||||||
|
<td>£20</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
<el-tab-pane label="Credit Cards">
|
<el-tab-pane label="Credit Cards">
|
||||||
<el-table :data="tableData" style="width: 100%">
|
<el-table :data="tableData" style="width: 100%">
|
||||||
@ -160,12 +186,55 @@ export default {
|
|||||||
padding-bottom: 30px;
|
padding-bottom: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
thead {
|
.info-table {
|
||||||
background: red!important;
|
width: 481px;
|
||||||
|
background-color: white;
|
||||||
|
// border-collapse: collapse;
|
||||||
|
border-collapse: separate;
|
||||||
|
border-spacing: 0 5px;
|
||||||
|
border-radius: 10px;
|
||||||
|
overflow: hidden;
|
||||||
|
th:not(:first-child) {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-table__header-wrapper {
|
thead {
|
||||||
background: #778298 !important;
|
background: #778298 0% 0% no-repeat padding-box;
|
||||||
|
color: white;
|
||||||
|
th {
|
||||||
|
padding: 10px;
|
||||||
|
height: 37px;
|
||||||
|
text-align: left;
|
||||||
|
font: normal normal 15px/18px SF Pro Display Bold;
|
||||||
|
letter-spacing: 0px;
|
||||||
|
color: #ffffff;
|
||||||
|
text-transform: uppercase;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
tbody {
|
||||||
|
tr {
|
||||||
|
background: #F2F3F5;
|
||||||
|
padding-top: 10px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
td:not(:first-child) {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
color: #192440;
|
||||||
|
td {
|
||||||
|
padding: 20px 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
td:nth-child(1) {
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
td:nth-child(3) {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-row {
|
.el-row {
|
||||||
|
@ -193,6 +193,7 @@ export default {
|
|||||||
.injury-bloc {
|
.injury-bloc {
|
||||||
height: 60px;
|
height: 60px;
|
||||||
background: #f2f3f5;
|
background: #f2f3f5;
|
||||||
|
border-radius: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.injury-text {
|
.injury-text {
|
||||||
@ -200,6 +201,7 @@ export default {
|
|||||||
font: normal normal 16px/21px SF Pro Display Bold;
|
font: normal normal 16px/21px SF Pro Display Bold;
|
||||||
letter-spacing: 0px;
|
letter-spacing: 0px;
|
||||||
color: #192440;
|
color: #192440;
|
||||||
|
border-radius: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.injury-book {
|
.injury-book {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user