Commit 708f262d authored by renhanxue's avatar renhanxue

优化用户管理

parent 02ebc25a
...@@ -11,10 +11,9 @@ ...@@ -11,10 +11,9 @@
<el-table <el-table
v-loading="loading" v-loading="loading"
:data="tableData" :data="tableData"
border class="statistics-table"
style="width: 100%" style="width: 100%"
:row-class-name="tableRowClassName" :row-class-name="tableRowClassName"
:row-style="{ height: '50px' }"
:header-cell-style="{background:'#eaf1fe',color:'#000', fontWeight: 700, height: '50px'}" :header-cell-style="{background:'#eaf1fe',color:'#000', fontWeight: 700, height: '50px'}"
> >
<el-table-column type="index" label="用户编号" align="center" width="100" /> <el-table-column type="index" label="用户编号" align="center" width="100" />
...@@ -120,3 +119,13 @@ export default { ...@@ -120,3 +119,13 @@ export default {
margin: 20px 0; margin: 20px 0;
} }
</style> </style>
<style lang="scss">
.statistics-table {
.single-row {
background: #f1f6ff;
}
td {
padding: 5px !important;
}
}
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment