From f5c206358932991d6d6f125185078a46ae842617 Mon Sep 17 00:00:00 2001 From: gaosp <gaosp> Date: 星期二, 16 一月 2024 22:14:46 +0800 Subject: [PATCH] update --- src/container/list/index.vue | 37 ++++++++++++++++++++++++++++++------- 1 files changed, 30 insertions(+), 7 deletions(-) diff --git a/src/container/list/index.vue b/src/container/list/index.vue index 13ad79c..cfe0cfc 100644 --- a/src/container/list/index.vue +++ b/src/container/list/index.vue @@ -1,7 +1,7 @@ <!-- * @Date: 2024-01-06 17:40:19 * @LastEditors: Sneed - * @LastEditTime: 2024-01-10 21:46:29 + * @LastEditTime: 2024-01-16 22:13:59 * @FilePath: /belleson-frontend/Users/mache/Documents/demo/mdc/src/container/list/index.vue --> <template> @@ -88,7 +88,6 @@ height: 100%; overflow: auto; .table { - .el-table::before { background-color: transparent; } @@ -103,6 +102,9 @@ background-color: transparent; border-bottom: none; padding: 0; + } + .el-table__fixed-right::before, .el-table__fixed::before { + background: transparent; } .el-table td, .el-table--striped .el-table__body tr.el-table__row--striped td,.el-table--enable-row-hover .el-table__body tr:hover>td{ color: #E6E5E5; @@ -159,21 +161,42 @@ </style> <style lang="scss" scoped> .list { - + padding: 30px; } .search { - margin: 20px 30px; + // margin: 20px 30px; padding: 30px 0px; min-height: 160px; display: flex; flex-wrap: wrap; - background: url('./search.png') center center no-repeat; - background-size: cover; + position: relative; + } + .search:before { + content: ''; + position: absolute; + top: 0; + left: 0; + right: 0; + width: 100%; + height: 4px; + background: url('./border.png') 100% 100% no-repeat; + background-size: contain; + } + .search:after { + content: ''; + position: absolute; + bottom: 0; + left: 0; + right: 0; + width: 100%; + height: 4px; + background: url('./border.png') 100% 100% no-repeat; + background-size: contain; } .table { margin-top: 20px; margin-bottom: 30px; - padding: 20px 30px; + padding: 20px 0px; background: transparent; overflow: auto; .pagination { -- Gitblit v1.9.3