update: 表格组件添加阴影效果

This commit is contained in:
zhuoqinglian 2026-06-16 09:46:25 +08:00
parent 8a5dac181e
commit 45fd850757

View file

@ -1,5 +1,6 @@
<template>
<div class="custom-table-wrapper">
<div class="table-container">
<el-table
ref="tableRef"
:data="data"
@ -75,6 +76,7 @@
</template>
</el-table-column>
</el-table>
</div>
<!-- 分页 -->
<div class="table-footer">
@ -241,7 +243,11 @@ export default {
display: flex;
flex-direction: column;
min-height: 0;
overflow: hidden;
.table-container {
height: 100%;
width: 100%;
box-shadow: 0 2px 12px rgba(74, 124, 253, 0.12);
border-radius: 6px;
.custom-table {
width: 100%;
border: 1px solid #eef3fd;
@ -269,6 +275,7 @@ export default {
}
}
}
}
.table-footer {
padding: 20px 0px 0px;
display: flex;