From 29e3bf811d1d05eae0cb0ce6f76b32d2c634c2ac Mon Sep 17 00:00:00 2001 From: fengxiang <110431245@qq.com> Date: Wed, 05 Sep 2018 10:49:26 +0800 Subject: [PATCH] 方案助手完善 --- src/main/webapp/page/scheme-helper.html | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/main/webapp/page/scheme-helper.html b/src/main/webapp/page/scheme-helper.html index 2730d73..367f410 100644 --- a/src/main/webapp/page/scheme-helper.html +++ b/src/main/webapp/page/scheme-helper.html @@ -42,7 +42,7 @@ .set-city-box { display: inline-block; position: relative; - bottom: -4px; + bottom: -2px; } .anchorBL { display: none; @@ -74,9 +74,9 @@ <td colspan="5" class="click-handle-title"> ��������������� <span id="city-name" style="width: 60px;height:20px;border-bottom:solid #1b1b1b 1px;display:inline-block"> - ������ + </span> - <div class="set-city-box"><input class="city-box" type="input" value="������"/> <a id="setCityBtn" style=" text-decoration:underline; color:#00F;cursor:pointer;">������</a></div> + <div class="set-city-box"><input class="city-box" type="input" /> <a id="setCityBtn" style=" text-decoration:underline; color:#00F;cursor:pointer;">������</a></div> </td> </tr> <tr> @@ -180,6 +180,7 @@ } //������������������ $('#city-name').html(regionName); + $('.city-box').val(''); map.setCurrentCity(regionName); // ��������������������������� ������������������������ // var pointArray = []; var polygonArray = []; @@ -298,6 +299,9 @@ } if(!!markerManager.data['star']){ markerManager.addOverlaysToBmap(markerManager.data['star']); + } + if(markerManager.isBoundaryState()){ + markerManager.openBoundary(); } } function clearBaiduOverlays() { @@ -511,7 +515,7 @@ baiduMap.centerAndZoom(searchValue); markerManager.setRegionName(searchValue, function (searchValue) { - $('.city-box').val(searchValue); + $('#city-name').val(searchValue); if(markerManager.isBoundaryState()){ switchBoundary.apply(markerManager.menuItems.boundaryMenuItem); } -- Gitblit v1.8.0