ws 1 tahun lalu
induk
melakukan
e15d6c7c53

+ 8 - 0
nngkxxdp/src/main/resources/static/district/js/sy_mobile.js

@@ -55,6 +55,7 @@ $(function () {
     $(".bttom-tab").outerHeight() +
   285;
   $(".right-map").css("height", hlHeight);
+  $(".left-map").css("height", 'calc(100% - '+ (hlHeight) +'px)');
   var msHeight =
     $(".right-map").outerHeight() - $(".right-search").outerHeight() / 1.3;
   $(".right-search").css("top", msHeight);
@@ -735,6 +736,7 @@ function getDistances(lat1, lng1, lat2, lng2) {
       var hBHeight = (window.outerHeight - $(".head").outerHeight()) / 2;
       $(".show-fifth").fadeIn(500).siblings().fadeOut(50);
       $(".right-map").css("height", hBHeight+85);
+	  $(".left-map").css("height", 'calc(100% - '+ (hBHeight+85) +'px)');
       var wsHeight =
         window.outerHeight -
         $(".right-map").innerHeight() -
@@ -3044,6 +3046,7 @@ function getDistances(lat1, lng1, lat2, lng2) {
         $(".head").innerHeight();
       $(".show-sixth").show().css("height", rmHeight).siblings().hide();
       $(".right-map").css("height", hlHeight);
+	   $(".left-map").css("height", 'calc(100% - '+ (hlHeight) +'px)');
       var windowHeight =
         $(".right-map").innerHeight() - $(".head").innerHeight() + 45;
       var spWidth =
@@ -4976,6 +4979,7 @@ function getDistances(lat1, lng1, lat2, lng2) {
       $(".show-first").hide();
       $(".show-fourth").show();
       $(".right-map").css("height", hlHeight);
+	  $(".left-map").css("height", 'calc(100% - '+ (hlHeight) +'px)');
       var rmHeight =
         window.outerHeight -
         $(".right-map").innerHeight() -
@@ -4989,6 +4993,7 @@ function getDistances(lat1, lng1, lat2, lng2) {
     } else {
       $(".show-fourth").show().siblings().hide();
       $(".right-map").css("height", hlHeight);
+	  $(".left-map").css("height", 'calc(100% - '+ (hlHeight) +'px)');
       var windowHeight =
         $(".right-map").innerHeight() - $(".head").innerHeight() + 45;
       var spWidth =
@@ -5042,6 +5047,7 @@ function getDistances(lat1, lng1, lat2, lng2) {
         $(".right-search").hide();
         $(".right-map").show().siblings(".top_search").show();
         $(".right-map").css("height", hBHeight);
+		$(".left-map").css("height", 'calc(100% - '+ (hBHeight) +'px)');
         $(".content_from_ajax .layui-tab-title>li:nth-child(1)")
           .addClass("layui-this")
           .siblings()
@@ -5068,6 +5074,7 @@ function getDistances(lat1, lng1, lat2, lng2) {
         $(".right-search").hide();
         $(".right-map").show().siblings(".top_search").show();
         $(".right-map").css("height", hlHeight);
+		$(".left-map").css("height", 'calc(100% - '+ (hlHeight) +'px)');
         // $('.show-fifth .back_top').show();
         $(".content_from_ajax .layui-tab-title>li:nth-child(1)")
           .addClass("layui-this")
@@ -5166,6 +5173,7 @@ function getDistances(lat1, lng1, lat2, lng2) {
       $(".show-first").hide();
       $(".show-fourth").show();
       $(".right-map").css("height", hlHeight);
+	  $(".left-map").css("height", 'calc(100% - '+ (hlHeight) +'px)');
       var windowHeight =
         $(".right-map").innerHeight() - $(".head").innerHeight() + 45;
       var spWidth =

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

@@ -25,10 +25,13 @@
     iframe {
         border: 0px;
     }
+	.pFoot-btm {
+		margin-top: 0px !important;
+	}
 </style>
 
 <body>
-    <iframe id="childshell" width="100%" height="1000px" src="syDteail.html?isfooter=true"></iframe>
+    <iframe id="childshell" width="100%" height="100%" src="syDteail.html?isfooter=true"></iframe>
     <!--<div style="width:100%;" id="footer"></div>-->
     <!-- <iframe width="100%" height="358px" src="https://www.cqna.gov.cn/data/footer/footer.html"></iframe> -->
 	<div style="width:100%;" id="footer"></div>
@@ -44,6 +47,7 @@
 		var is_mobi = navigator.userAgent.toLowerCase().match(/(ipod|iphone|android|coolpad|mmp|smartphone|midp|wap|xoom|symbian|j2me|blackberry|wince)/i) != null;
 		if (is_mobi) {
 			$('#childshell').attr('src', 'sy_mobile.html?isfooter=true')
+			$('.pFoot-btm').css('margin-top', '0px !important')
 		}
     }
 

+ 4 - 3
nngkxxdp/src/main/resources/static/district/sy_mobile.html

@@ -8,7 +8,7 @@
     <title>重庆市南岸区政务公开惠民便民地图</title>
 </head>
 <style>
-    body{
+    html, body{
         width: 100%;
         height: 100%;
         margin: 0px;
@@ -16,11 +16,12 @@
     }
     iframe{
         border: 0px;
+		margin: 0px;
+		padding: 0px;
     }
-
 </style>
 <body>
-<iframe id="childshell" width="100%" height="1000px" src="sy_mobileDetail.html"></iframe>
+<iframe id="childshell" width="100%" height="100%" src="sy_mobileDetail.html"></iframe>
 <div style="width:100%;" id="footer"></div>
 
 </body>

+ 24 - 1
nngkxxdp/src/main/resources/static/district/sy_mobileDetail.html

@@ -20,6 +20,11 @@
 		<link rel="stylesheet" href="./css/sy_mobile_new.css">
 		<title>重庆市南岸区政务公开惠民便民地图</title>
 		<style>
+			html, body {
+				height: 100%;
+				margin: 0px;
+				padding: 0px;
+			}
 			.dept-sty {
 				margin-left: 15px;
 				margin-top: 15px;
@@ -29,6 +34,24 @@
 				overflow: hidden;
 				text-overflow: ellipsis;
 			}
+			.wrap_result {
+				height: 100% !important;
+				    margin-bottom: 15px;
+			}
+			.wrap_result1 {
+				height: 100% !important;
+				    margin-bottom: 15px;
+			}
+			.show-sixth {
+				height: 100% !important;
+			}
+			.show-fifth {
+				height: 100% !important;
+				/* overflow-y: auto; */
+			}
+			.show-fourth {
+				height: 100% !important;
+			}
 		</style>
 	</head>
 
@@ -46,7 +69,7 @@
 				<img src="./img/second-erw-3.png" alt="" class="first_erw">
 			</a>
 		</div>
-		<div class="main">
+		<div class="main" style="height: 100%;">
 
 			<div class="top_search">
 				<div class="input-icon">