From bdce5b978229a100b7d7a01acbdeefbd9e2b0902 Mon Sep 17 00:00:00 2001
From: chenyabin <Chenab123!>
Date: 星期二, 27 四月 2021 09:27:06 +0800
Subject: [PATCH] 图层控制面板加宽。
---
src/components/panel/RightSearchPanel.vue | 18 ++++++++++--------
1 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/src/components/panel/RightSearchPanel.vue b/src/components/panel/RightSearchPanel.vue
index ebd4277..33a4380 100644
--- a/src/components/panel/RightSearchPanel.vue
+++ b/src/components/panel/RightSearchPanel.vue
@@ -17,7 +17,8 @@
@click="()=>{selected(item)}" v-show="item.isShow">
<el-tooltip :popper-class="'map-tooltip'" effect="dark" :content="item.name" placement="left">
<li>
- <img src="../../assets/images/map-pages/icon/sl.png" class="icon">
+ <!-- <img src="../../assets/images/map-pages/icon/sl.png" class="icon"> -->
+ <i class="icon iconfont" :class="item.icon"></i>
</li>
</el-tooltip>
</ul>
@@ -263,10 +264,10 @@
cursor: pointer;
position: relative;
line-height: 0.15rem;
-
li {
margin: 0.00521rem 0;
text-align: center;
+ font-size: 20px;
img {
width: 0.1rem;
@@ -285,7 +286,7 @@
//top: 10px;
height: 0;
position: absolute;
- top: 0.42979rem;
+ top: 0.73979rem;
right: 0.14583rem;
z-index: 501;
display: -webkit-box;
@@ -599,13 +600,12 @@
.environmental-risk-list {
position: relative;
- cursor: pointer;
padding-left: 50px;
padding-top: 5px;
padding-bottom: 5px;
color: @color-shadow;
border-bottom: 1px solid @background-color-split;
-
+ h3{ cursor: pointer;}
.state {
width: 30px;
height: 30px;
@@ -618,12 +618,14 @@
background: #0B3B6D;
}
}
-
.environmental-risk-list.hover,
- .environmental-risk-list:hover {
- color: @color-over;
+ .environmental-risk-list:hover{
background: @background-color;
}
+ .environmental-risk-list.hover h3,
+ .environmental-risk-list h3:hover {
+ color: @color-highlight;
+ }
input::-webkit-input-placeholder {
color: #569ee1;
--
Gitblit v1.8.0