mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-29 05:09:46 +01:00
update: 表格组件添加阴影效果
This commit is contained in:
parent
8a5dac181e
commit
45fd850757
1 changed files with 100 additions and 93 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue