Przeglądaj źródła

修改南岸区经纪发展数据2022年第四季度

sunjuan 1 rok temu
rodzic
commit
8f6c275b67

+ 54 - 20
nngkxxdp/src/main/resources/static/district/css/sy.css

@@ -583,7 +583,7 @@ body {
 	display: flex;
 	align-items: center;
 	flex-wrap: wrap;
-	margin-top: 5px;
+	margin-top: 15px;
 }
 
 .flex_blue {
@@ -608,38 +608,47 @@ body {
 }
 
 .three_tag {
-	height: 26px;
-	background: rgba(244,78,5,.16);
 	text-align: center;
-	line-height: 26px;
 	font-size: 14px;
 	font-family: Microsoft YaHei;
 	font-weight: 400;
-	color: #F54E06;
 	margin-right: 10px;
-	padding: 0 5px;
+	padding: 5px 10px;
 	margin-top: 5px;
 }
 
 .content_p {
 	display: inherit;
-	width: 500px;
 	font-size: 14px;
 	font-family: Microsoft YaHei;
 	font-weight: 400;
 	color: #333333;
 	line-height: 24px;
 	margin-top: 20px;
+	text-indent: 30px;
 	/* overflow: hidden; */
 	/* text-overflow: ellipsis; */
 	/* display: -webkit-box; */
 	/* -webkit-line-clamp: 2; */
 	/* -webkit-box-orient: vertical; */
 }
+.iconBtn{
+	width: 88px;
+	height: 36px;
+	display: flex;
+	align-items: center;
+	justify-content: center;
+	color: #999999;
+	background: #FFFFFF;
+	border: 1px solid #AAAAAA;
+	margin-right: 10px;
+}
+.iconBtn img{
+	width: 17px;
+}
 
 .a_blue {
 	display: inline-block;
-	width: 500px;
 	font-size: 14px;
 	font-family: Microsoft YaHei;
 	font-weight: 400;
@@ -649,33 +658,30 @@ body {
 
 .img_box {
 	display: flex;
-	margin-top: 20px;
+	margin-top: 10px;
 }
 
 .img_box>img {
 	display: inline-block;
-	width: 128px;
-	height: 72px;
-	margin-right: 8px;
+	width: 100%;
+	height: 230px;
 }
 
 .address_box {
-	margin-top: 20px;
+	width: 80%;
+	margin-top: 15px;
 }
 
 .address_box>p {
-	width: 500px;
 	font-size: 14px;
 	font-family: Source Han Sans SC;
 	font-weight: 400;
-	color: #333333;
+	color: #666;
+	margin-top: 6px;
 }
 
 .flex_address {
-	font-size: 14px;
-	font-family: Source Han Sans SC;
-	font-weight: 400;
-	color: #2775CC;
+	margin-right: 5px;
 }
 
 .btn_box {
@@ -1192,6 +1198,16 @@ body {
 }
 
 /* 弹窗的样式 */
+.titleFirst{
+	background: #fff;
+}
+.titleFirst li{
+	padding: 0 20px;
+}
+.titleFirst li:first-child{
+	padding: 0;
+	position: relative;
+}
 .titleFirstDifrenet{
 	height: 535px;
 }
@@ -1361,7 +1377,7 @@ body {
 }
 .gzh_img{
 	position: absolute;
-    top: 27px;
+    top: 64%;
     text-align: center;
     right: -1px;
 }
@@ -1400,6 +1416,24 @@ body {
 	cursor: default;
 	margin-right: 11px;
 }
+.BMap_pop>div {
+	background: transparent !important;
+	border: 0 !important;
+}
+
+.BMap_pop>div>div {
+	background: transparent !important;
+	border: 0 !important;
+}
+
+.BMap_pop>div>img {
+	display: none;
+}
+
+.BMap_pop>img {
+	width: 0 !important;
+	height: 0 !important;
+}
 @media screen and (max-width: 1366px) {
 	.left-logo {
 		width: 316px;

BIN
nngkxxdp/src/main/resources/static/district/img/close.png


BIN
nngkxxdp/src/main/resources/static/district/img/error.png


BIN
nngkxxdp/src/main/resources/static/district/img/floor.png


BIN
nngkxxdp/src/main/resources/static/district/img/iconAddr.png


BIN
nngkxxdp/src/main/resources/static/district/img/iconPhone.png


BIN
nngkxxdp/src/main/resources/static/district/img/matter.png


BIN
nngkxxdp/src/main/resources/static/district/img/reservation.png


+ 41 - 34
nngkxxdp/src/main/resources/static/district/js/sy.js

@@ -443,7 +443,6 @@ $(function() {
 	});
 
 	var str=window.location.search;
-	console.log(str)
 	str = decodeURI(str)
 	let name = "se"
 	// $("[title='重庆市第十一中学校']").click();
@@ -1208,7 +1207,13 @@ $(function() {
 							var arrgzh = arr[index].gzh;
 							var typepage;
 							var sContnet = ''
-							sContnet += "<ul class='titleFirst'><li class='title_flex' title='"+arrdep+"'>"+arrdep
+							sContnet += "<ul class='titleFirst'>"
+							if (arrimg==""||(arrimg==undefined||arrimg==null)){
+								sContnet += ''
+							}else{
+								sContnet += "<li class='img_box'><img class='two_img' src='"+PATH+arrimg+"'><img class='infor-close-icon' style='position: absolute;width: 15px;height: 15px;right: 10px;top: 10px' src='./img/close.png'/></li>"
+							}
+							sContnet+="<li class='title_flex' title='"+arrdep+"'>"+arrdep
 							if ((arrtype==null||arrtype==undefined)||arrtype==''){
 								sContnet += ''
 							}else{
@@ -1227,66 +1232,63 @@ $(function() {
 							if ((arrtag==null||arrtag==undefined)||arrtag==''){
 								sContnet += ""
 							} else {
-								sContnet += "<li class='flex_orange'><div class='three_tag'>"+arrtag
+								sContnet += "<li class='flex_orange'><div class='three_tag' style='border: 1px solid #FF843F;background: #FFF7F3;color: #FF843F;'>"+arrtag
 								if ((arrtag2==undefined||arrtag2==null)||arrtag2==''){
 									sContnet += "</div>"
 								}else{
-									sContnet += "</div><div class='three_tag'>"+arrtag2+"</div>"
+									sContnet += "</div><div class='three_tag' style='border: 1px solid #41B643;background: #F0F6F0;color: #43BB45;'>"+arrtag2+"</div>"
 								}
 								if ((arrtag3==undefined||arrtag3==null)||arrtag3==''){
 									sContnet += "</li>"
 								} else {
-									sContnet += "<div class='three_tag'>"+arrtag3+"</div></li>"
+									sContnet += "<div class='three_tag' style='border: 1px solid #40A2F3;background: #EFF6FC;color: #40A2F3;'>"+arrtag3+"</div></li>"
 								}
 							}
-							if (arrcontent==""||(arrcontent==undefined||arrcontent==null)){
-								sContnet += ''
-							}else{
-								sContnet += "<li><a class='a_blue'><p class='content_p'>"+arrcontent+"</p></a>"
-							}
-							sContnet += "</li>"
-							if (arrimg==""||(arrimg==undefined||arrimg==null)){
+							sContnet += "<li class='address_box'><p><img style='' src='./img/iconAddr.png' class='flex_address'/>"+arraddre+"</p>"
+							if ((arrtel==null||arrtel==undefined)||arrtel==''){
 								sContnet += ''
-							}else{
-								sContnet += "<li class='img_box'><img class='two_img' src='"+PATH+arrimg+"'></li>"
+							} else {
+								sContnet += "<p><img src='./img/iconPhone.png' class='flex_address'/>"+arrtel+"</p>"
 							}
-							sContnet += "<li class='address_box'><p><span class='flex_address'>地址:</span>"+arraddre+"</p>"
 							if ((arrtime==null||arrtime==undefined)||arrtime==''){
 								sContnet += ''
 							} else if(arrSptype=='查阅场所'){
-								sContnet += "<p><span class='flex_address'>查询时间:</span>"+arrtime+"</p>"
+								sContnet += "<p style='color: #666666'><span class='flex_address'>查询时间:</span>"+arrtime+"</p>"
 							} else if(arrSptype=='受理场所'){
-								sContnet += "<p><span class='flex_address'>受理时间:</span>"+arrtime+"</p>"
+								sContnet += "<p style='color: #666666'><span class='flex_address'>受理时间:</span>"+arrtime+"</p>"
 							} else if(arrSptype=='政务服务'||arrSptype=='办税服务'){
-								sContnet += "<p><span class='flex_address'>办理时间:</span>"+arrtime+"</p>"
+								sContnet += "<p style='color: #666666'><span class='flex_address'>办理时间:</span>"+arrtime+"</p>"
 							} else {
-								sContnet += "<p><span class='flex_address'>办公时间:</span>"+arrtime+"</p>"
+								sContnet += "<p style='color: #666666'><span class='flex_address'>办公时间:</span>"+arrtime+"</p>"
 							}
-							if ((arrtel==null||arrtel==undefined)||arrtel==''){
+							if ((arrgzh==undefined||arrgzh==null)||arrgzh==''){
 								sContnet += ''
-							} else {
-								sContnet += "<p><span class='flex_address'>办公电话:</span>"+arrtel+"</p>"
+							}else if(arrSptype=="交通服务"){
+								sContnet += "<li class='gzh_img'><img class='two_img' src='"+PATH+arrgzh+"'><p>微信扫描公众号办理</p></li>"
+							}else if(arrSptype=="文体旅游"||arrtype=="城市公园"){
+								sContnet += "<li class='gzh'><img class='two_img' src='"+PATH+arrgzh+ "'><p>微信扫描公众号预约服务</p></li>"
+							}else{
+								sContnet += "<li class='gzh_img'><img class='two_img' src='"+PATH+arrgzh+ "'><p>微信扫描公众号预约挂号</p></li>"
 							}
+							sContnet += "<li style='display: flex;margin-top: 10px'><a class='correct_html iconBtn' style='color: #FFFFFF;background: #2775CC;border: 1px solid #2775CC;'><img src='./img/floor.png'/><span>大厅介绍</span></a>"
 							if ((arrUrl==undefined||arrUrl==null)||arrUrl==''){
 								sContnet += ''
 							} else if(arrSptype=="民政服务") {
-								sContnet += "<a href='"+arrUrl+"' target='_blank' style='color: #2775CC;text-decoration:underline;'>预约祭扫</a>"
+								sContnet += "<a href='"+arrUrl+"' target='_blank' style='' class='iconBtn'><img src='./img/reservation.png'/><span>预约祭扫</span></a>"
 							}else if(arrSptype=="住房保障"){
-								sContnet += "<br><a href='"+arrUrl+"' target='_blank' style='color: #2775CC;text-decoration:underline;'>公租房申请</a>"
+								sContnet += "<a href='"+arrUrl+"' target='_blank' style='' class='iconBtn'><img src='./img/reservation.png'/><span>公租房申请</span></a>"
 							} else {
-								sContnet += "<br><a href='"+arrUrl+"' target='_blank' style='color: #2775CC;text-decoration:underline;'>在线预约</a>"
+								sContnet += "<a href='"+arrUrl+"' target='_blank' style='' class='iconBtn'><img src='./img/reservation.png'/><span>在线预约</span></a>"
 							}
-							sContnet += "<br><a class='correct_html' style='color: #2775CC;text-decoration:underline;'>我要纠错</a></li>"
-							if ((arrgzh==undefined||arrgzh==null)||arrgzh==''){
-								sContnet += ''
-							}else if(arrSptype=="交通服务"){
-								sContnet += "<li class='gzh_img'><img class='two_img' src='"+PATH+arrgzh+"'><p>微信扫描公众号办理</p></li>"
-							}else if(arrSptype=="文体旅游"||arrtype=="城市公园"){
-								sContnet += "<li class='gzh'><img class='two_img' src='"+PATH+arrgzh+ "'><p>微信扫描公众号预约服务</p></li>"
+							sContnet += "<a class='correct_html iconBtn'><img style='width: 12px' src='./img/matter.png'/><span>可办事项</span></a>"
+							sContnet += "<a class='correct_html iconBtn'><img src='./img/error.png'/><span>我要纠错</span></a></li>"
+							if (arrcontent==""||(arrcontent==undefined||arrcontent==null)){
+								sContnet += '<li style="margin-top: 10px"><span>暂无数据</span></li>'
 							}else{
-								sContnet += "<li class='gzh_img'><img class='two_img' src='"+PATH+arrgzh+ "'><p>微信扫描公众号预约挂号</p></li>"
+								sContnet += "<li><a class='a_blue'><p class='content_p'>"+arrcontent+"</p></a>"
 							}
-							sContnet += "<li class='btn_box'><button class='one_bus'>公交</button><button class='two_car'>自驾</button></li></ul>"
+							sContnet += "</li>"
+							sContnet += "<li class='btn_box'><button class='one_bus'>公交</button><button class='two_car'>自驾</button></li><br/></ul>"
 							if (tempAdd==arraddre){
 								addMarker(arrIndex,address,new BMap.InfoWindow(sContnet, arraddre),arrdep,typepage);
 							}
@@ -1294,6 +1296,7 @@ $(function() {
 								infoWindow.redraw();
 							}
 						}
+
 					}
 				}, "重庆市");
 			}
@@ -1545,6 +1548,10 @@ $(function() {
 				var _this = this;
 				drivingClickEvent(_this);
 			});
+
+			$('.infor-close-icon').click(function () {
+				map.closeInfoWindow();
+			})
 			// 信息窗口内的我要纠错,点击之后跳转链接
 			$('.correct_html').click(function(){
 				var address_text = $(this).parent(".address_box").find("p:nth-child(1)").text();