From 58b438acef21fc8a50e2333e92751cac519e68c6 Mon Sep 17 00:00:00 2001
From: hdw <496960745@qq.com>
Date: 星期二, 04 十二月 2018 08:50:56 +0800
Subject: [PATCH] 首页地图图标显示级别调整

---
 gx_tieta/WebRoot/index.jsp |   54 ++++++++++++++++++++++++++++++------------------------
 1 files changed, 30 insertions(+), 24 deletions(-)

diff --git a/gx_tieta/WebRoot/index.jsp b/gx_tieta/WebRoot/index.jsp
index b17e1e2..4fbf7be 100644
--- a/gx_tieta/WebRoot/index.jsp
+++ b/gx_tieta/WebRoot/index.jsp
@@ -1727,6 +1727,30 @@
 	
 	// 鏅�氭満鎴挎弿杩�
 	function mapImgDescNormal(iconExplain) {
+		// 鎺夌珯鏈烘埧
+		var iconList = $('<div class="explain-list" style="padding: 4px 6px; border-bottom: 1px slid #ccc; display:block"></div>');
+		var input = $('<input type="checkbox" data-img="item-timeout" checked="checked">');
+		var icon = $('<img src="'+mapImages.timeout+'">');
+		var span = $('<span>鎺夌珯鏈烘埧</span>');
+		var badge = $('<a href="javascript:;" class="layui-badge-rim mrr8 badge-down">0</a>');
+		iconList.append(input);
+		iconList.append(span);
+		iconList.append(icon);
+		iconList.append(badge);
+		iconExplain.append(iconList);
+		
+		// 鍋滅數鏈烘埧
+		var iconList = $('<div class="explain-list" style="padding: 4px 6px; border-bottom: 1px slid #ccc; display:block"></div>');
+		var input = $('<input type="checkbox" data-img="item-poff" checked="checked">');
+		var icon = $('<img src="'+mapImages.powercut+'">');
+		var span = $('<span>鍋滅數鏈烘埧</span>');
+		var badge = $('<a href="javascript:;" class="layui-badge-rim mrr8 badge-powercut">0</a>');
+		iconList.append(input);
+		iconList.append(span);
+		iconList.append(icon);
+		iconList.append(badge);
+		iconExplain.append(iconList);
+	
 		// 钀藉悗鏈烘埧
 		var iconList = $('<div class="explain-list" style="padding: 4px 6px; border-bottom: 1px slid #ccc; display:block"></div>');
 		var input = $('<input type="checkbox" data-img="item-behind" checked="checked">');
@@ -1752,17 +1776,7 @@
 		iconList.append('<div class="clear"></div>');
 		iconExplain.append(iconList);
 		
-		// 鎺夌珯鏈烘埧
-		var iconList = $('<div class="explain-list" style="padding: 4px 6px; border-bottom: 1px slid #ccc; display:block"></div>');
-		var input = $('<input type="checkbox" data-img="item-down" checked="checked">');
-		var icon = $('<img src="'+mapImages.timeout+'">');
-		var span = $('<span>鎺夌珯鏈烘埧</span>');
-		var badge = $('<a href="javascript:;" class="layui-badge-rim mrr8 badge-down">0</a>');
-		iconList.append(input);
-		iconList.append(span);
-		iconList.append(icon);
-		iconList.append(badge);
-		iconExplain.append(iconList);
+		
 		
 		// 鏈烘埧寤舵椂
 		var iconList = $('<div class="explain-list" style="padding: 4px 6px; border-bottom: 1px slid #ccc; display:block"></div>');
@@ -1773,18 +1787,6 @@
 		iconList.append(span);
 		iconList.append(icon);
 		//iconExplain.append(iconList);
-		
-		// 鍋滅數鏈烘埧
-		var iconList = $('<div class="explain-list" style="padding: 4px 6px; border-bottom: 1px slid #ccc; display:block"></div>');
-		var input = $('<input type="checkbox" data-img="item-poff" checked="checked">');
-		var icon = $('<img src="'+mapImages.powercut+'">');
-		var span = $('<span>鍋滅數鏈烘埧</span>');
-		var badge = $('<a href="javascript:;" class="layui-badge-rim mrr8 badge-powercut">0</a>');
-		iconList.append(input);
-		iconList.append(span);
-		iconList.append(icon);
-		iconList.append(badge);
-		iconExplain.append(iconList);
 		
 		// 姝e父鏈烘埧
 		var iconList = $('<div class="explain-list" style="padding: 4px 6px; border-bottom: 1px slid #ccc; display:block"></div>');
@@ -2635,7 +2637,7 @@
 	        			bmap.updateDots(_list);
 	        		}
 	        	}
-	        	//console.log(updateStationData);
+	        	console.log(updateStationData);
 	        	updateMapDotIcon(map, updateStationData, true);
 	        	// 鏇存柊鍒嗛〉淇℃伅
 	        	mapPages.pageCurr++;
@@ -3311,6 +3313,7 @@
 		var rs = new Object();
 		rs.normal = "User_ChartAction!serchByInfo?json={Chart_file:'"+user_logo+"',Chart_name:chart_normal}";	// 鏅�氭満鎴垮浘鏍�
 		rs.behind = "User_ChartAction!serchByInfo?json={Chart_file:'"+user_logo+"',Chart_name:chart_behind}";	// 钀藉悗鍥炬爣
+		//rs.diaozhan = "User_ChartAction!serchByInfo?json={Chart_file:'"+user_logo+"',Chart_name:chart_diaozhan}";	// 寤舵椂鏈烘埧鍥炬爣
 		rs.timeout = "User_ChartAction!serchByInfo?json={Chart_file:'"+user_logo+"',Chart_name:chart_timeout}";	// 寤舵椂鏈烘埧鍥炬爣
 		rs.warn = "User_ChartAction!serchByInfo?json={Chart_file:'"+user_logo+"',Chart_name:chart_warn}";	// 鍛婅鏈烘埧鍥炬爣
 		rs.nuclear = "User_ChartAction!serchByInfo?json={Chart_file:'"+user_logo+"',Chart_name:chart_nuclear_cap}";	// 鏍稿鏀剧數
@@ -3519,6 +3522,9 @@
 	 		case 'item-behind':	 // 钀藉悗
 	 			rs = imgs.behind;
 	 			break;
+	 		case 'item-diaozhan':
+	 			rs = imgs.timeout;  // 鎺夌珯
+	 			break;
 	 		case 'item-timeout':	// 寤舵椂
 	 			rs = imgs.timeout;
 	 			break;

--
Gitblit v1.9.1