From 8112e3d6755c839e3f7ca217aca0ba83e3eebd28 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Mon, 11 Apr 2022 10:38:02 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A8=E6=A0=BC=E6=A0=B7=E5=BC=8F=E8=B7=9F?= =?UTF-8?q?=E8=81=8C=E7=AB=99=E4=B8=80=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/styles/common.scss | 47 ++++++++++++++++++++++++++++++++++++++++++ src/views/Data.vue | 42 +++++++++---------------------------- src/views/Preview.vue | 45 +++++++--------------------------------- 3 files changed, 64 insertions(+), 70 deletions(-) diff --git a/src/styles/common.scss b/src/styles/common.scss index f331c08..7c80e67 100644 --- a/src/styles/common.scss +++ b/src/styles/common.scss @@ -25,4 +25,51 @@ input::-moz-input-placeholder { } input::-ms-input-placeholder { color: #333; +} +body .cus-table.el-table { + border-radius: 4px; + th{ + background-color: #E8F0FF !important; + .cell{ + color: #222326; + font-size: 12px; + font-weight: normal; + .el-checkbox{ + &:before{ + opacity: 1; + } + } + } + } + th, td{ + padding: 10px 0; + border-bottom-color: #E1E6F2; + } + &.el-table--striped .el-table__body tr.el-table__row--striped td{ + background-color: #FAFBFF !important; + } + .el-button--text{ + padding: 0; + } +} + +.pagination { + margin: 20px 0; + text-align: center; + button,.number,.more,.el-input__inner{ + min-width: 32px !important; + height: 32px !important; + line-height: 32px; + color: #333 !important; + background-color: transparent !important; + border: 1px solid #ccc !important; + border-radius: 2px !important; + } + button i{ + color: #333; + } + .active{ + color: #fff !important; + background-color: #007eff!important; + } } \ No newline at end of file diff --git a/src/views/Data.vue b/src/views/Data.vue index f0dbdd2..c5c5785 100644 --- a/src/views/Data.vue +++ b/src/views/Data.vue @@ -1,5 +1,5 @@