在el-table第一例插入斜线的方法
```clike
```clike
```vue
<template>
<div>
<div class="title">测试表格</div>
<el-table
:data="tableDataTop.length > 0 ? tableDataTop : []"
style="width: 100%"
border
v-loading="loading"
:header-cell-style="{ 'text-align': 'center' }"
:cell-style="{ 'text-align': 'center', padding: '10px' }"
:row-style="{ height: '20px' }"
>
<el-table-column prop="" label="标准" width="153">
<el-table-column prop="time" label="时间" width="121">
</el-table-column>
</el-table-column>
</div>
</template>
<script>
export default {
};
</script>
<style lang="scss" scoped>
::v-deep .el-table thead.is-group th {
background: none;
}
::v-deep .el-table thead.is-group tr:first-of-type th:first-of-type {
border-bottom: none;
}
::v-deep .el-table thead.is-group tr:first-of-type th:first-of-type:before {
content: "";
position: absolute;
width: 1px;
height: 75px;
top: 0;
left: 0;
background-color: grey;
opacity: 0.3;
display: block;
transform: rotate(-54deg);
transform-origin: top;
}
::v-deep .el-table thead.is-group tr:last-of-type th:first-of-type:before {
content: "";
position: absolute;
width: 1px;
height: 75px;
bottom: 0;
right: 0;
background-color: grey;
opacity: 0.3;
display: block;
transform: rotate(-54deg);
transform-origin: bottom;
}
</style>