瀏覽代碼

修改名称

李雪梅 2 年之前
父節點
當前提交
fe1fa35ed4

+ 18 - 20
nngkxxdp/src/main/resources/static/district/js/sy.js

@@ -426,17 +426,12 @@ $(function() {
 	// 点击显示弹窗
 	$('.flex_li').click(function() {
 		var tabtext = $(this).text().replace(/\s+/g, '');
-		$('#gj-one').val();
-		$('#gj-two').val();
-		$('#zj-one').val();
-		$('#zj-two').val();
+		$('#gj-one').val('').siblings('#gj-two').val('');
+		$('#zj-one').val('').siblings('#zj-two').val('');
 		$(this).find('.flex_text').css('color','rgb(39, 117, 204)').parents('.flex_li').siblings().children('.img_tab').find('.flex_text').attr('style','');
 		$(this).siblings().find('.mapnav').removeClass('choice');
         if (tabtext == "政务公开") {
-			$('.show-first').fadeOut(100);
-			$('.show-fifth').fadeIn(200);
-			// xxGEO(jzs);
-			// xrjz(jzs);
+			$('.show-first').fadeOut(100).siblings('.show-fifth').fadeIn(200);
 			xxGEO(bms);
 			xrjz(bms);
 			localStorage.setItem("gjIndex","1");
@@ -444,7 +439,7 @@ $(function() {
 			localStorage.setItem("zjImg","0");
 			localStorage.setItem("zjIndex","0");
 			$('.left-map').scrollTop(0);
-		} else if (tabtext == '产业园') {
+		} else if (tabtext == '产业园') {
 			xxGEO(cyy);
 			xrxx(cyy);
 			$('.flex_box').css('padding-top',$('.wrap_fwdt').outerHeight()+10);
@@ -462,7 +457,7 @@ $(function() {
 			$('.flex_box').css('padding-top',$('.wrap_fwdt').outerHeight()+10);
 			$('.title-first1:nth-child(2)').css('padding-top',60);
 			$('.left-map').scrollTop(0);
-		}else if(tabtext == "公厕"){
+		}else if(tabtext == "便民公厕"){
 			xxGEO(gc);
 			xrxx(gc);
 			$('.flex_box').css('padding-top',$('.wrap_fwdt').outerHeight()+10);
@@ -480,7 +475,7 @@ $(function() {
 			$('.flex_box').css('padding-top',$('.wrap_fwdt').outerHeight()+10);
 			$('.title-first1:nth-child(2)').css('padding-top',60);
 			$('.left-map').scrollTop(0);
-		}else if(tabtext == "办税服务"){
+		}else if(tabtext == "办税服务"){
 			xxGEO(bsfwt);
 			xrxx(bsfwt);
 			$('.flex_box').css('padding-top',$('.wrap_fwdt').outerHeight()+10);
@@ -560,14 +555,16 @@ $(function() {
 				xxGEO(ggfwzx);
 				xrxx(ggfwzx);
 				break;
+			case "村(社区)便民服务中心":
+				xxGEO(bmfwzx);
+				xrxx(bmfwzx);
+				break;
+			case "党群服务中心":
+				xxGEO(dqfwzx);
+				xrxx(dqfwzx);
+				break;
 		}
-		if(xxtx == "村(社区)便民服务中心") {
-			xxGEO(bmfwzx);
-			xrxx(bmfwzx);
-		}else if(xxtx == "党群服务中心") {
-			xxGEO(dqfwzx);
-			xrxx(dqfwzx);
-		}else if(xxtx == "殡仪服务机构") {
+		if(xxtx == "殡仪服务机构") {
 			xxGEO(byfwjg);
 			xrxx(byfwjg);
 		}else if(xxtx == "村卫生室") {
@@ -914,7 +911,7 @@ $(function() {
 			})
 		}
 		addGEO(getClick);
-		$(this).parents('.title-first').css('background-color', '#d6e5f7').siblings().removeAttr('style');
+		$(this).parents('.title-first').css('background-color', '#d6e5f7').siblings().css('background-color', '');
 	});
 
 	$(document).on('mouseover','.title-first',function(){
@@ -1130,7 +1127,7 @@ $(function() {
 			})
 		}
 		addGEO(getClick);
-		$(this).parents('.title-first1').css('background-color', '#d6e5f7').siblings().removeAttr('style');
+		$(this).parents('.title-first1').css('background-color', '#d6e5f7').siblings().css('background-color', '');
 	});
 
 	$(document).on('click', '.typeFirst', function() {
@@ -1560,6 +1557,7 @@ $(function() {
 			myGeo.getPoint(tempAdd, function(point) {
 				if (point) {
 					var address = new BMap.Point(point.lng, point.lat);
+					// console.log(address);
 					addFirst = address;
 					for (var index = 0; index < arr.length; index++) {
 						var arrdep = arr[index].dep;

+ 5 - 5
nngkxxdp/src/main/resources/static/district/sy.html

@@ -164,7 +164,7 @@
 						<li class="flex_li">
 							<div class="img_tab">
 								<img src="img/fcyy.png">
-								<p class="flex_text">产业园</p>
+								<p class="flex_text">产业园</p>
 							</div>
 						</li>
 						<li class="flex_li">
@@ -410,7 +410,7 @@
 						<li class="flex_li">
 							<div class="img_tab">
 								<img src="img/fyl.png">
-								<p class="flex_text">医疗</p>
+								<p class="flex_text">医疗卫生</p>
 							</div>
 							<div class="flex_pop_three pop lineFour" style="display: none;">
 								<ul class="flex_wrap">
@@ -522,7 +522,7 @@
 						<li class="flex_li">
 							<div class="img_tab">
 								<img src="img/fcjr.png">
-								<p class="flex_text">残疾人服务</p>
+								<p class="flex_text">残服务</p>
 							</div>
 							<div class="flex_pop_four pop lineFour" style="display: none;">
 								<ul class="flex_wrap">
@@ -540,7 +540,7 @@
 						<li class="flex_li">
 							<div class="img_tab">
 								<img src="img/fgc.png">
-								<p class="flex_text">公厕</p>
+								<p class="flex_text">便民公厕</p>
 							</div>
 						</li>
 						<li class="flex_li">
@@ -588,7 +588,7 @@
 						<li class="flex_li">
 							<div class="img_tab">
 								<img src="img/fbsfwt.png">
-								<p class="flex_text">办税服务</p>
+								<p class="flex_text">办税服务</p>
 							</div>
 						</li>
 						<li class="flex_li"></li>