From 50518ff0115ebf08fc995a8de7adb0f16f92ffa3 Mon Sep 17 00:00:00 2001 From: augushong Date: Mon, 29 Mar 2021 13:07:22 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=AF=BC=E8=88=AA=E7=BB=84?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- demo/nav.html | 48 ++++++++++++++++++++++++++++++++++++- public/cdn/layui-ul.css | 10 +++++++- view/index/index/index.html | 6 ++--- 3 files changed, 59 insertions(+), 5 deletions(-) diff --git a/demo/nav.html b/demo/nav.html index fd32f56..8aea7ae 100644 --- a/demo/nav.html +++ b/demo/nav.html @@ -1,5 +1,5 @@
- 一般垂直导航 + 银色垂直导航
+
+ +
+ 附带说明垂直导航 +
\ No newline at end of file diff --git a/public/cdn/layui-ul.css b/public/cdn/layui-ul.css index 0d8dd76..7918386 100644 --- a/public/cdn/layui-ul.css +++ b/public/cdn/layui-ul.css @@ -1,6 +1,6 @@ /* 列表开始 */ .ul-nav-tree { - border-right: 1px solid #bbb; + } .ul-nav-tree-group-title{ @@ -17,6 +17,10 @@ white-space: nowrap; } +.ul-nav-tree-item.current .ul-nav-tree-item-title{ + color: #6cf; +} + .ul-nav-tree-item-title { font-size: 15px; @@ -48,6 +52,10 @@ background-position: center; } +.ul-border-right{ + border-right: 1px solid #bbb; +} + /* 通用类结束 */ /* 用户头像开始 */ diff --git a/view/index/index/index.html b/view/index/index/index.html index 20e099f..f42147d 100644 --- a/view/index/index/index.html +++ b/view/index/index/index.html @@ -28,8 +28,8 @@
-
-
+
+
{volist name='list_post' id='category'}
@@ -38,7 +38,7 @@
{volist name='category.post' id='post'} - +
{$post.title}