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>
|
<template>
|
||||||
<div class="custom-table-wrapper">
|
<div class="custom-table-wrapper">
|
||||||
|
<div class="table-container">
|
||||||
<el-table
|
<el-table
|
||||||
ref="tableRef"
|
ref="tableRef"
|
||||||
:data="data"
|
:data="data"
|
||||||
|
|
@ -75,6 +76,7 @@
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
</div>
|
||||||
|
|
||||||
<!-- 分页 -->
|
<!-- 分页 -->
|
||||||
<div class="table-footer">
|
<div class="table-footer">
|
||||||
|
|
@ -241,7 +243,11 @@ export default {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
min-height: 0;
|
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 {
|
.custom-table {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border: 1px solid #eef3fd;
|
border: 1px solid #eef3fd;
|
||||||
|
|
@ -269,6 +275,7 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
.table-footer {
|
.table-footer {
|
||||||
padding: 20px 0px 0px;
|
padding: 20px 0px 0px;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue