From 5b9a1d6cb3a7d59c8f2de83c495bba1a069b2723 Mon Sep 17 00:00:00 2001 From: gaosp <gaosp> Date: 星期五, 19 一月 2024 00:23:15 +0800 Subject: [PATCH] update --- src/container/list/index.vue | 36 ++++++++++++++++++++++++++++-------- 1 files changed, 28 insertions(+), 8 deletions(-) diff --git a/src/container/list/index.vue b/src/container/list/index.vue index 28e3f1c..7548ada 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-16 21:27:05 + * @LastEditTime: 2024-01-18 23:55:56 * @FilePath: /belleson-frontend/Users/mache/Documents/demo/mdc/src/container/list/index.vue --> <template> @@ -36,7 +36,7 @@ <el-pagination style="background: transparent;" :page-size="pageSize" - :pager-count="current" + :current-page="current" layout="prev, pager, next" :total="total"> </el-pagination> @@ -88,7 +88,6 @@ height: 100%; overflow: auto; .table { - .el-table::before { background-color: transparent; } @@ -162,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