From 17cca9b35e64550a03aa8a231bb53265cd86a00c Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <xltys1995>
Date: 星期一, 25 一月 2021 23:42:25 +0800
Subject: [PATCH] #

---
 src/main/webapp/static/css/common.css     |    6 ++++--
 src/main/webapp/views/tag/tag_detail.html |    1 +
 src/main/webapp/static/js/tag/tag.js      |    5 ++++-
 src/main/webapp/views/tag/tag.html        |    4 +++-
 4 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/src/main/webapp/static/css/common.css b/src/main/webapp/static/css/common.css
index 79acd4f..8255275 100644
--- a/src/main/webapp/static/css/common.css
+++ b/src/main/webapp/static/css/common.css
@@ -6,10 +6,12 @@
 /*}*/
 * {
     font-family: "Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","寰蒋闆呴粦",Arial,sans-serif;
-    color: #313131;
 }
 body {
     background-color: #fff;
+}
+#data-search-btn button {
+    color: #595959;
 }
 
 input::placeholder {
@@ -246,4 +248,4 @@
     font-size: 14px;
     line-height: 1;
     color: #ed4014;
-}
\ No newline at end of file
+}
diff --git a/src/main/webapp/static/js/tag/tag.js b/src/main/webapp/static/js/tag/tag.js
index 95e4cfe..57ef08c 100644
--- a/src/main/webapp/static/js/tag/tag.js
+++ b/src/main/webapp/static/js/tag/tag.js
@@ -17,13 +17,16 @@
         url: baseUrl+'/tag/list/auth',
         headers: {token: localStorage.getItem('token')},
         height: 'full-200',
+        toolbar: ['<p>',
+            '<button lay-event="add" class="layui-btn layui-btn-sm icon-btn"><i class="layui-icon">&#xe654;</i>娣诲姞</button>&nbsp;',
+            '<button lay-event="del" class="layui-btn layui-btn-sm layui-btn-danger icon-btn"><i class="layui-icon">&#xe640;</i>鍒犻櫎</button>',
+            '</p>'].join(''),
         tree: {
             iconIndex: 1,           // 鎶樺彔鍥炬爣鏄剧ず鍦ㄧ鍑犲垪
             isPidData: true,        // 鏄惁鏄痠d銆乸id褰㈠紡鏁版嵁
             idName: 'id',  // id瀛楁鍚嶇О
             pidName: 'parentId'     // pid瀛楁鍚嶇О
         },
-        toolbar: 'default',
         cols: [[
             {type: 'checkbox'}
             ,{field: 'name', align: 'left',title: '鍚嶇О'}
diff --git a/src/main/webapp/views/tag/tag.html b/src/main/webapp/views/tag/tag.html
index f9f3fcf..bec2702 100644
--- a/src/main/webapp/views/tag/tag.html
+++ b/src/main/webapp/views/tag/tag.html
@@ -10,7 +10,9 @@
     <link rel="stylesheet" href="../../static/css/cool.css" media="all">
     <link rel="stylesheet" href="../../static/css/common.css" media="all">
     <style>
-
+        .layui-btn {
+            color: #fff;
+        }
     </style>
 </head>
 <body>
diff --git a/src/main/webapp/views/tag/tag_detail.html b/src/main/webapp/views/tag/tag_detail.html
index 24586e1..87f80cd 100644
--- a/src/main/webapp/views/tag/tag_detail.html
+++ b/src/main/webapp/views/tag/tag_detail.html
@@ -30,6 +30,7 @@
         .text-right {
             text-align: right;
         }
+
 </style>
 </head>
 <body>

--
Gitblit v1.9.1