Эх сурвалжийг харах

git-svn-id: https://192.168.57.71/svn/qt@22 12fe181a-e57f-b044-8676-16dc139aa63e

ld_zhoutl 9 жил өмнө
parent
commit
e5867d8905

+ 19 - 19
jdc/jdcweb/trunk/src/main/webapp/WEB-INF/view/air/flightInfo.jsp

@@ -42,7 +42,7 @@
 	}
 	.spangreen{
 		font-size:14px;color:#009b00;
-		height:8px;
+		height:20px;
 	}
 	.hbdetail{
 		height:150px;
@@ -67,7 +67,18 @@
 <title>航班信息</title>
 </head>
 <body style="overflow-x: hidden;overflow-y: auto;padding:0px;margin:0px;">
-	<!-- <div style="padding:0px;margin:0px;">
+	<div style="padding:6px 0px 0px 6px">
+		<input type="text" id="flightNumber" 
+			style="height:20px;" 
+			placeholder="请输入航班号">
+		<input type="text"  id="date" style="height:20px" placeholder="请输入日期"
+				readonly="readonly" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})"
+				data-options="validType:'date'"/>
+		<input type="button" style="height:25px;font-size:16px;border-radius: 3px;border: 0;width: auto;color:#fff;background-color: #63b8f0;border-color: #34a3ec;" 
+		value="查询航班" onclick="searchHbxx()">
+	</div>
+	<div style="height:5px"></div>
+	<div style="padding:0px;margin:0px;">
 		<div id="errmsg" style="display: none;">
 			<i class="ico_sorry"></i>没有查询到您输入的航班号!
 		</div>
@@ -78,12 +89,12 @@
 		<br>
 		<div style="border-top:1px solid #f3f3f3;float: left;width:520px;
 			text-align:left;color: #009800;margin:0 0 0 8px;padding:5px 0px 0px 0px"></div>
-		<div id="cityRoute" class="hbcity" style="margin-top:55px;width:520px;text-align:center">
+		<!-- <div id="cityRoute" class="hbcity" style="margin-top:55px;width:520px;text-align:center">
 			南京  - 西安 - 兰州
-		</div>
+		</div> -->
 		<div id="hbdiv0" style="border-top:1px solid #f3f3f3;margin-top:20px;width:570px;
 			padding:10px 0 0 0;display:none;">
-			<div id="hbDetail1" class="hbdetail">
+			<!-- <div id="hbDetail1" class="hbdetail">
 				<div class="spangray">禄口机场T218℃</div><br>
 				<div class="spangray">计划: 16:05登机口</div><br>
 				<div class="spangreen">实际: --12</div><br>
@@ -104,27 +115,16 @@
 				<div class="spangray">禄口机场T218℃</div><br>
 				<div class="spangray">计划: 16:05登机口</div><br>
 				<div class="spangreen">实际: --12</div><br>
-			</div>
+			</div> -->
 		</div>
 		<div id="hbdiv1" style="border-top:1px solid #f3f3f3;margin-top:170px;
 			width:570px;padding:10px 0 0 0;display:none;">
 		</div>
 		<br>
-	</div> -->
-	<div style="padding:6px 0px 0px 6px">
-		<input type="text" id="flightNumber" 
-			style="height:20px;" 
-			placeholder="请输入航班号">
-		<input type="text"  id="date" style="height:20px" placeholder="请输入日期"
-				readonly="readonly" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})"
-				data-options="validType:'date'"/>
-		<input type="button" style="height:25px;font-size:16px;border-radius: 3px;border: 0;width: auto;color:#fff;background-color: #63b8f0;border-color: #34a3ec;" 
-		value="查询航班" onclick="searchHbxx()">
 	</div>
-	<div style="height:5px"></div>
-	<iframe id="hbdtIframe" style="border: none;"
+	<!-- <iframe id="hbdtIframe" style="border: none;"
 		src="" 
 		width="100%" height="380px">
-	</iframe>
+	</iframe> -->
 </body>
 </html>

+ 6 - 1
jdc/jdcweb/trunk/src/main/webapp/static/xt/js/air/flightInfo.js

@@ -22,7 +22,12 @@ function getDate(){
     	montStr = "0"+month;
     }
     str += montStr + "-";
-    str += mydate.getDate() + "";
+    var day = mydate.getDate();
+    var dateStr = "";
+    if(day <10) {
+    	dateStr = "0"+day;
+    }
+    str += dateStr + "";
     return str;
 }