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 | 20 ++++++++++++++++++-- 1 files changed, 18 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/page/scheme-helper.html b/src/main/webapp/page/scheme-helper.html index 891e692..367f410 100644 --- a/src/main/webapp/page/scheme-helper.html +++ b/src/main/webapp/page/scheme-helper.html @@ -39,6 +39,11 @@ .city-box { width: 80px; } + .set-city-box { + display: inline-block; + position: relative; + bottom: -2px; + } .anchorBL { display: none; } @@ -67,7 +72,11 @@ <table> <tr> <td colspan="5" class="click-handle-title"> - ���������������<input class="city-box" type="input" /> <a id="setCityBtn" style=" text-decoration:underline; color:#00F;cursor:pointer;">������</a> + ��������������� + <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" /> <a id="setCityBtn" style=" text-decoration:underline; color:#00F;cursor:pointer;">������</a></div> </td> </tr> <tr> @@ -169,6 +178,9 @@ } return ; } + //������������������ + $('#city-name').html(regionName); + $('.city-box').val(''); map.setCurrentCity(regionName); // ��������������������������� ������������������������ // var pointArray = []; var polygonArray = []; @@ -180,6 +192,7 @@ } // map.setViewport(pointArray); //������������ //addlabel(); + //������������ markerManager.reloadCustomOverlays(); thatData._regionName = regionName; @@ -286,6 +299,9 @@ } if(!!markerManager.data['star']){ markerManager.addOverlaysToBmap(markerManager.data['star']); + } + if(markerManager.isBoundaryState()){ + markerManager.openBoundary(); } } function clearBaiduOverlays() { @@ -499,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