feat: 样式菜单更新
This commit is contained in:
@ -11,21 +11,21 @@
|
||||
|
||||
|
||||
<div class="table-wrapper">
|
||||
<el-table
|
||||
:data="tableData"
|
||||
<el-table
|
||||
:data="tableData"
|
||||
style="width: 100%"
|
||||
stripe
|
||||
height="calc(100% - 1px)"
|
||||
height="calc(100% - 1px)"
|
||||
:header-cell-style="{
|
||||
background: 'transparent',
|
||||
color: '#ffffff',
|
||||
borderColor: '#0d4b8a'
|
||||
}"
|
||||
}"
|
||||
:row-style="{
|
||||
background: 'transparent',
|
||||
color: '#fff',
|
||||
borderColor: '#0d4b8a'
|
||||
}"
|
||||
}"
|
||||
>
|
||||
<el-table-column prop="ssbm" label="部门名称" min-width="120" show-overflow-tooltip />
|
||||
<el-table-column prop="xm" label="姓名" min-width="80" show-overflow-tooltip />
|
||||
@ -105,15 +105,17 @@ defineExpose({
|
||||
cursor: pointer;
|
||||
transition: all 0.3s ease;
|
||||
font-size: 14px;
|
||||
|
||||
opacity: 0.3;
|
||||
&:hover {
|
||||
background: rgba(0, 77, 167, 0.8);
|
||||
// background: rgba(0, 77, 167, 0.8);
|
||||
opacity: 0.4;
|
||||
}
|
||||
|
||||
&.active {
|
||||
background: rgba(0, 244, 255, 0.8);
|
||||
color: #0072ff;
|
||||
border-color: #00f4ff;
|
||||
opacity: 1;
|
||||
// background: rgba(0, 244, 255, 0.8);
|
||||
// color: #0072ff;
|
||||
// border-color: #00f4ff;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user