From 38a5d315aa8f369aaf032e222918a36d8d2cdc8c Mon Sep 17 00:00:00 2001
From: lin-xin <2981207131@qq.com>
Date: Mon, 10 Sep 2018 11:17:53 +0800
Subject: [PATCH] =?UTF-8?q?'=E8=B0=83=E6=95=B4table=E7=BB=84=E4=BB=B6?=
=?UTF-8?q?=E6=A0=B7=E5=BC=8F'?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/page/BaseTable.vue | 19 +++++++++++++------
static/css/main.css | 4 ++--
2 files changed, 15 insertions(+), 8 deletions(-)
diff --git a/src/components/page/BaseTable.vue b/src/components/page/BaseTable.vue
index 7961f5e..a71b234 100644
--- a/src/components/page/BaseTable.vue
+++ b/src/components/page/BaseTable.vue
@@ -15,23 +15,23 @@
搜索
-
-
+
+
-
+
- 编辑
- 删除
+ 编辑
+ 删除
@@ -202,4 +202,11 @@
font-size: 16px;
text-align: center
}
+ .table{
+ width: 100%;
+ font-size: 14px;
+ }
+ .red{
+ color: #ff0000;
+ }
diff --git a/static/css/main.css b/static/css/main.css
index 3ae9fa6..d17d3ff 100644
--- a/static/css/main.css
+++ b/static/css/main.css
@@ -34,7 +34,7 @@ a {
.content {
width: auto;
height: 100%;
- padding: 40px;
+ padding: 10px;
overflow-y: scroll;
box-sizing: border-box;
}
@@ -51,7 +51,7 @@ a {
}
.crumbs {
- margin-bottom: 20px;
+ margin: 10px 0;
}
.pagination {
--
GitLab