diff --git a/css/demo.css b/css/demo.css
index 9de9ef8..2390a01 100644
--- a/css/demo.css
+++ b/css/demo.css
@@ -33,7 +33,7 @@ body{
}
/* .div-a{ position: fixed;width:400px;height:536px;padding:10px;z-index: 1;background-color: rgba(0,0,0,0.3);}
.div-b{ width:400px;height:536px;padding:5px;color:rgb(255, 255, 255);position: relative;} */
-.div-a{ position: fixed;width:400px;height:100%;z-index: 1;background-color: rgba(0,0,0,0.3);}
+/* .div-a{ position: fixed;height:100%;z-index: 1;background-color: rgba(0,0,0,0.3);} */
/* .div-b{ width:400px;height:536px;padding:5px;color:rgb(255, 255, 255);position: relative;} */
.div-a{
position: fixed;
@@ -46,15 +46,22 @@ body{
.div-a.active{
text-align: center;
width: 100%;
+ height: 100%;
}
-.div-a.active .div-c{
- display: none;
-}
+
.div-b,
.div-c{
color:rgb(255, 255, 255);
}
-.div-b{ height: 60%; }
+.div-b{
+ height: 60%;
+ background: green;
+}
+
+.div-b > div{
+ width: 100% !important;
+ height: 100% !important;
+}
.div-c{
position: relative;
box-sizing: border-box;
@@ -67,6 +74,15 @@ body{
content: '';
border-top: 1px solid #fff;
}
+
+.div-a.active .div-c{
+ display: none;
+}
+.div-a.active .div-b{
+ width: 100%;
+ height: 100%;
+}
+
.div-video{
height: 60%;
/* background: pink; */
@@ -78,23 +94,16 @@ body{
.screen-btn{
position: absolute;
right: 10px;
- top: 10px;
+ top: 60px;
color: #fff;
z-index: 10;
cursor: pointer;
color: #fff;
}
-.search-area{
- position: fixed;
- right: 20px;
- top: 20px;
- z-index: 10;
- text-align: right;
-}
-
.show_detail{
position: relative;
+ top: 2px;
}
.more_icon{
display: inline-block;
@@ -108,28 +117,31 @@ body{
transform: rotate(90deg);
font-size: 20px !important;
cursor: pointer;
+ color: black;
}
.detail_info{
+ /* display: block; */
display: none;
position: absolute;
background: #fff;
- padding: 10px 0;
- right: 40px;
- top: -10px;
+ /* padding: 10px 0; */
+ left: 40px;
+ top: 6px;
border-radius: 5px;
+ z-index: 50;
}
.detail_info::before{
position: absolute;
- left: 100%;
- top: 18px;
+ right: 100%;
+ top: 12px;
content: '';
width: 0;
height: 0;
- border: 8px solid transparent;
- border-left-color: #fff;
+ border: 6px solid transparent;
+ border-right-color: #fff;
}
.info_txt{
width: 50px;
@@ -139,6 +151,7 @@ body{
border-bottom: 1px solid #eee;
cursor: pointer;
text-align: left;
+ color: black;
transition: color .3s;
}
.info_txt:hover{
@@ -149,14 +162,18 @@ body{
}
.search-prov{
+ position: relative;
+ top: 5px;
font-size: 0;
+ margin-right: 10px;
/* margin-top: 5px; */
}
.search-prov,
.lat_lon_sec{
display: none;
- margin-top: 10px;
+ /* display: block; */
+ /* margin-top: 10px; */
}
.search_input,
@@ -184,32 +201,44 @@ body{
width: 150px;
padding: 0 15px;
}
+
.search_icon{
cursor: pointer;
width: 40px;
+ line-height: 40px;
text-align: center;
background: #fff;
border: 1px solid #eee;
box-sizing: border-box;
+ color: black;
/* box-shadow: 5px 5px 10px #eee; */
}
.search_input_common{
+ position: relative;
+ top: -1px;
outline: none;
border: none;
- padding: 5px 10px;
- width: 50px;
+ /* padding: 5px 10px; */
+ width: 100px;
+ height: 40px;
+ padding: 0 10px;
}
.lat_lon_search{
+ display: inline-block;
+ vertical-align: top;
+ position: relative;
+ top: 5px;
cursor: pointer;
background: #fff;
- display: inline-block;
- height: 24px;
- line-height: 24px;
- width: 24px;
+ width: 40px;
+ height: 40px;
vertical-align: top;
text-align: center;
+ margin-right: 10px;
+ line-height: 42px;
+ color: black;
}
diff --git a/css/flexleft.css b/css/flexleft.css
new file mode 100644
index 0000000..80a4525
--- /dev/null
+++ b/css/flexleft.css
@@ -0,0 +1,163 @@
+.fixed-left{
+ position: fixed;
+ top: 0px;
+ bottom: 0;
+ left: 0;
+ width: 0;
+ padding-top: 50px;
+ /* width: 400px; */
+ /* background: green; */
+ z-index: 10;
+ /* opacity: .3; */
+ z-index: 40;
+ transition: width .3s;
+ overflow: hidden;
+}
+
+.fixed-left.collpased{
+ width: 400px;
+}
+
+.fixed-left::before{
+ position: absolute;
+ left: 0;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ content: '';
+ background: rgba(0,0,0,0.3);
+}
+
+.fixed-left.active{
+ width: 100%;
+}
+
+.left_echart{
+ position: absolute;
+ width: 100%;
+ height: 60%;
+}
+
+.fixed-left.active .left_echart{
+ width: 100%;
+ height: 100%;
+ /* background: pink; */
+}
+.fixed-left.active::before{
+ position: absolute;
+ left: 0;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ content: '';
+ background: rgba(0,0,0,0.3);
+}
+.video_img{
+ position: absolute;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ height: 40%;
+}
+
+.map_header{
+ display: flex;
+ position: fixed;
+ justify-content: space-between;
+ align-items: center;
+ height: 50px;
+ left: 0;
+ right: 0;
+ background: rgba(78, 173, 222, 1);
+ z-index: 50;
+ transition: .3s;
+}
+
+.logo_txt{
+ margin-left: 15px;
+ color: #fff;
+ font-size: 18px;
+}
+
+.logo_txt .collpase-icon{
+ margin-right: 5px;
+ cursor: pointer;
+}
+
+.user_info{
+ padding-right: 30px;
+ font-size: 0;
+}
+.user_info .info-item{
+ display: inline-block;
+ vertical-align: top;
+ font-size: 14px;
+ color: #fff;
+ line-height: 50px;
+ cursor: pointer;
+}
+.info-item .user_img{
+ /* display: inline-block; */
+ position: relative;
+ width: 30px;
+ height: 30px;
+ border-radius: 50%;
+ top: 10px;
+ margin-right: 10px;
+
+}
+
+.info-item .user_nick{
+ font-size: 14px;
+}
+
+.drop-down{
+ position: relative;
+ margin-left: 10px;
+}
+.drop-down::before{
+ position: absolute;
+ content: '';
+ width: 0;
+ height: 0;
+ top: 50%;
+ right: -15px;
+ border: 5px solid transparent;
+ border-top-color: #fff;
+ margin-top: -2px;
+}
+
+.drop-down-list{
+ display: none;
+ position: absolute;
+ top: 55px;
+ right: -20px;
+ background: #fff;
+ padding: 10px 0;
+ line-height: 24px;
+ min-width: 80px;
+ text-align: right;
+}
+
+.drop-down-list::before{
+ position: absolute;
+ bottom: 100%;
+ right: 5px;
+ width: 0;
+ height: 0;
+ content: '';
+ border: 5px solid transparent;
+ border-bottom-color: #fff;
+}
+.drop-down-item{
+ padding: 0 15px;
+ font-size: 14px;
+ color: black;
+ transition: color .3s;
+}
+
+.drop-down-item:hover{
+ color: #1890ff;
+}
+
+
diff --git a/demo.html b/demo.html
index 4cb785c..4c049f7 100644
--- a/demo.html
+++ b/demo.html
@@ -4,6 +4,7 @@
map
+
@@ -15,14 +16,117 @@
-
+
+
+
+
+
+
+
+
+
-
知识图谱
-
-
-
-
+
+
-
-
diff --git a/font/demo_index.html b/font/demo_index.html
index 17f821f..865aa06 100644
--- a/font/demo_index.html
+++ b/font/demo_index.html
@@ -40,6 +40,18 @@

+
+
+ 展开
+ 
+
+
+
+
+ 收起
+ 
+
+
缩小
@@ -120,6 +132,24 @@
+
+
+
+ 展开
+
+ .icon-zhankai
+
+
+
+
+
+
+ 收起
+
+ .icon-shouqi
+
+
+
@@ -183,6 +213,22 @@
#icon-gengduo
+
+
+ 展开
+ #icon-zhankai
+
+
+
+
+ 收起
+ #icon-shouqi
+
+