|
@@ -1,22 +1,22 @@
|
|
|
<template>
|
|
|
<div class="data_body">
|
|
|
- <div style="width: 100%; height: 100%">
|
|
|
+ <div style="width: 100%; height: 100%; ">
|
|
|
<el-table
|
|
|
:data="tableData"
|
|
|
- style="width: 100%; height: 100%; overflow: auto"
|
|
|
+ style="width: 100%; "
|
|
|
:header-cell-style="{ background: '#E0EAFB' }"
|
|
|
:row-class-name="tableRowClassName"
|
|
|
>
|
|
|
- <el-table-column prop="rank" label="排行" width="100" align="center">
|
|
|
+ <el-table-column prop="rank" label="排行" min-width="50" align="center">
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
prop="name"
|
|
|
label="类别名称"
|
|
|
- width="170"
|
|
|
+ min-width="80"
|
|
|
align="center"
|
|
|
>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="sum" label="授课次数" width="170" align="center">
|
|
|
+ <el-table-column prop="sum" label="授课次数" min-width="80" align="center">
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
</div>
|
|
@@ -66,5 +66,6 @@ export default {
|
|
|
padding: 0;
|
|
|
width: 95%;
|
|
|
background: #fff;
|
|
|
+ overflow: auto;
|
|
|
}
|
|
|
</style>
|