From 1a2c1d005bf7de2528f73638fb24d31da812aad5 Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Tue, 22 Jun 2021 17:40:13 +0800
Subject: [PATCH] 增加模型

---
 widgets/LeftNavigationBar/css/style.css |   30 +++++++++++++++++++++++++++---
 1 files changed, 27 insertions(+), 3 deletions(-)

diff --git a/widgets/LeftNavigationBar/css/style.css b/widgets/LeftNavigationBar/css/style.css
index 8e60eb2..8fb6b6f 100644
--- a/widgets/LeftNavigationBar/css/style.css
+++ b/widgets/LeftNavigationBar/css/style.css
@@ -1,7 +1,7 @@
 .jimu-widget-LeftNavigationBar {
   position: absolute !important;
   /* font-size: 14px; */
-  height: calc(100% - 25px) !important;
+  height: 100% !important;
   /* height: calc(100%) !important; */
   width: 250px !important;
   right: auto !important;
@@ -51,7 +51,6 @@
 
 .jimu-widget-LeftNavigationBar .left-navigation-bar-main {
   position: relative;
-  top: -50px;
   width: 100%;
   height: 100%;
   padding: 10px;
@@ -63,7 +62,9 @@
 }
 
 .jimu-widget-LeftNavigationBar .left-navigation-bar-main .l-n-b-m-search {
-  width: 100%;
+  position: absolute;
+  top: 16px;
+  width: calc(100% - 20px);
   height: 40px;
   /* padding: 10px; */
   border: 1px rgba(0, 0, 0, .2) solid;
@@ -107,6 +108,17 @@
   font-size: 14px;
 }
 
+.jimu-widget-LeftNavigationBar .left-navigation-bar-main #left-tree-list {
+  position: absolute;
+  top: 72px;
+  width: calc(100% - 20px);
+  height: calc(100% - 82px);
+  overflow-y: auto;
+  overflow-x: hidden;
+}
+
+
+
 .jimu-widget-LeftNavigationBar .left-navigation-bar-main #test1 {
   height: calc(100% - 58px);
   overflow: auto;
@@ -142,4 +154,16 @@
 }
 .layui-tree-spread .layui-tree-iconArrow:after{
   border-color: #c0c4cc transparent  transparent transparent  !important;
+}
+
+.jimu-widget-LeftNavigationBar .layui-tree-main {
+  width: calc(100% - 22px);
+  padding: 0;
+}
+
+.jimu-widget-LeftNavigationBar .layui-tree-txt {
+  width: calc(100% - 28px);
+  overflow: hidden;
+  text-overflow:ellipsis;
+  white-space: nowrap;
 }
\ No newline at end of file

--
Gitblit v1.9.3