From 1dfc2c2708fba01b771a2edd24c83363ee7c84d0 Mon Sep 17 00:00:00 2001
From: ZhuDongming <773644075@qq.com>
Date: Thu, 09 Apr 2020 14:32:09 +0800
Subject: [PATCH] update设备跳转到实时界面
---
src/main/webapp/view/map.jsp | 37 +++++++++++++++++--------------------
1 files changed, 17 insertions(+), 20 deletions(-)
diff --git a/src/main/webapp/view/map.jsp b/src/main/webapp/view/map.jsp
index 8eeac9e..2e3442b 100644
--- a/src/main/webapp/view/map.jsp
+++ b/src/main/webapp/view/map.jsp
@@ -81,7 +81,7 @@
display: none;
}
- .listview {
+ /*.listview {
overflow-x: hidden;
overflow-y: auto;
margin: 0;
@@ -90,7 +90,7 @@
height: 390px;
width: 92%;
position: absolute;
- }
+ }*/
.search_box {
@@ -139,11 +139,10 @@
}
.list li {
- padding: 10px 0;
border-bottom: 1px dotted #eee;
- line-height: 40px;
- height: 40px;
- font-size: 20px;
+ line-height: 25px;
+ height: 25px;
+ font-size: 12px;
/*cursor: pointer;*/
}
@@ -154,14 +153,13 @@
border-radius: 4px;
width: 40px;
text-align: center;
- height: 24px;
- line-height: 24px;
- font-size: 14px;
+ height: 20px;
+ line-height: 20px;
+ font-size: 12px;
font-weight: bolder;
- color: white;
- margin: 10px 0;
- padding: 2px 0;
+ color: lightgrey;
margin-right: 8px;
+ margin-top: 2.5px;
}
.list .state00 {
@@ -170,11 +168,9 @@
.list .state01 {
background-color: #FF9;
- color: #ff7f00;
}
.list .state02 {
-
background-color: #F93;
}
@@ -183,8 +179,6 @@
}
.list .state04 {
- /*background-color: #eee;*/
- /*color: #777 ;*/
background-color: #738d99;
}
@@ -351,10 +345,10 @@
<div class="charts_btn">
</div>
</div>
- <!-- <div class="search_box">
- <button id="searchBtn" type="button">������</button>
- <textarea style="width: 200px;height:200px;" id="searchParam"></textarea>
- </div>-->
+ <%-- <div class="search_box">
+ <button id="searchBtn" type="button">������</button>
+ <textarea style="width: 200px;height:200px;" id="searchParam"></textarea>
+ </div>--%>
<!-- <div id="popup_box">
<div id="equ_list" class="listview">
</div>
@@ -373,6 +367,8 @@
var moralMap = window.moralMap;
var params = $.parseJSON($("#mapParams").html());
moralMap['params'] = params;
+ var regionCode = params["regionCode"];
+ var provinceCode = regionCode.toString().substring(0, 2) + "0000";
var mapType = getUrlParam("mapType");
var mapOption = {};
if (!!mapType && !!eval(mapType)) {
@@ -751,6 +747,7 @@
function callJS(jsonData) {
var jsonData = JSON.parse(jsonData);
var methodName = jsonData.methodName;
+ // $("#searchParam").val(JSON.stringify(jsonData));
if ("JumpBaiduMap" == methodName) {
moralMap.callJS(jsonData);
} else if ("RefreshState" == methodName) {
--
Gitblit v1.8.0