From f3016800deb09b296c93e1d6329aea47ffe27942 Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Thu, 17 Jun 2021 17:36:15 +0800
Subject: [PATCH] 图层管理相关调整
---
widgets/Layermanagement/css/style.css | 109 +++++++++++++++++++++++++++++++++++++++++++++++++++---
1 files changed, 103 insertions(+), 6 deletions(-)
diff --git a/widgets/Layermanagement/css/style.css b/widgets/Layermanagement/css/style.css
index ff596e2..b426d55 100644
--- a/widgets/Layermanagement/css/style.css
+++ b/widgets/Layermanagement/css/style.css
@@ -1,10 +1,10 @@
.jimu-widget-Layermanagement {
-
+ color: #555;
}
.jimu-widget-Layermanagement .layer-tab {
position: fixed;
- top: 100px;
+ top: 72px;
right: 10px;
}
@@ -22,7 +22,6 @@
position: relative;
border: 1px solid #444;
border-color: #fff;
- color: #edffff;
fill: #edffff;
margin: 1px 2px;
cursor: pointer;
@@ -37,10 +36,108 @@
}
.jimu-widget-Layermanagement .layer-list {
+ display: none;
position: fixed;
- top: 100px;
+ top: 72px;
right: 60px;
width: 320px;
- height: 420px;
+ min-height: 80px;
background: #fff;
-}
\ No newline at end of file
+ border-radius: 5px;
+ box-shadow: 0 0 8px #fff;
+}
+
+.jimu-widget-Layermanagement .layer-list ul {
+ max-height: 360px;
+ overflow-y: auto;
+}
+
+.jimu-widget-Layermanagement .layer-list h3 {
+ position: relative;
+ margin: 0;
+ line-height: 40px;
+ height: 40px;
+ font-size: 16px;
+ font-weight: normal;
+ text-align: center;
+}
+
+.jimu-widget-Layermanagement .layer-list h3 .sign-head-th-xx {
+ position: absolute;
+ right: 0px;
+}
+
+.jimu-widget-Layermanagement .layer-list li {
+ padding: 0 10px;
+}
+
+.jimu-widget-Layermanagement .layer-list li>div {
+ display: flex;
+ align-items: center;
+ height: 36px;
+}
+
+.jimu-widget-Layermanagement .layer-list li>div span {
+ width: calc(100% - 102px);
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+}
+
+.jimu-widget-Layermanagement .layer-list .control-btn {
+ padding: 0 !important;
+ width: 24px !important;
+ height: 24px !important;
+ line-height: 24px !important;
+ margin-left: 10px;
+}
+
+.jimu-widget-Layermanagement .layer-list .layui-btn {
+ border: none;
+}
+
+.jimu-widget-Layermanagement .layer-list .control-btn img{
+ margin: auto;
+ width: 16px;
+ height: 16px;
+}
+
+
+.jimu-widget-Layermanagement .tree-layer-opcity {
+ display: none;
+ position: fixed;
+ top: 72px;
+ right: 390px;
+ width: 260px;
+ height: auto;
+ background: #Fff;
+ border-radius: 5px;
+ box-shadow: 0 0 8px #fff;
+ }
+
+ .jimu-widget-Layermanagement .tree-layer-opcity h3 {
+ margin: 0;
+ height: 36px;
+ line-height: 36px;
+ text-align: center;
+ }
+
+
+ .jimu-widget-Layermanagement .tree-layer-opcity .close {
+ position: absolute;
+ top: 4px;
+ right: 4px;
+ }
+
+ .jimu-widget-Layermanagement .tree-layer-opcity li>div:first-child {
+ padding: 0 10px;
+ line-height: 28px;
+ overflow: hidden;
+ text-overflow:ellipsis;
+ white-space: nowrap;
+ }
+
+ .jimu-widget-Layermanagement .tree-layer-opcity li>div:last-child {
+ margin: 10px 10px;
+ width: calc(100% - 20px);
+ }
\ No newline at end of file
--
Gitblit v1.9.3