From 265fa2b9f6816f62fffac3db611fcb1fc9dfe1a6 Mon Sep 17 00:00:00 2001
From: bklLiudl <673013083@qq.com>
Date: 星期四, 17 十月 2024 18:47:53 +0800
Subject: [PATCH] 修改问题

---
 Pda/View/index.html |  416 ++++++++++++++++++++++++++++++----------------------------
 1 files changed, 216 insertions(+), 200 deletions(-)

diff --git a/Pda/View/index.html b/Pda/View/index.html
index 5a1b7f7..5382238 100644
--- a/Pda/View/index.html
+++ b/Pda/View/index.html
@@ -1,146 +1,161 @@
 <!DOCTYPE html>
 <html>
-	<head>
-		<meta charset="UTF-8" />
-		<meta name="viewport" content="user-scalable=0,width=device-width,initial-scale=1.0" />
-		<!-- <meta name="viewport" content="width=device-width, initial-scale=0.665, minimum-scale=0.5, maximum-scale=2.0, user-scalable=no" /> -->
-		<meta http-equiv="X-UA-Compatible" content="ie=edge" />
-		<title>Boxline PDA</title>
 
-		<link rel="stylesheet" href="../layui/css/layui.css" />
-		<link rel="stylesheet" href="../css/style.css" />
-		<script src="../js/adaptive.js"></script>
-		<!--鏇存敼妗岄潰icon 浠匒ndroid鏀寔-->
-		<link rel="shortcut icon" href="../assets/icon.png">
-		<!-- <meta name="mobile-web-app-capable" content="yes"> -->
-		
-		<link rel="stylesheet" href="../css/my.css" />
-		<style type="text/css">
-			.layout-bill-info {
-				height: 255px;
-			}
-			.layout-tbl-submit {
-				margin-top: 10px;
-			}
-			.menu {
-				height: 40px;
-			}
-			.sub-title-bg {
-				background-image: url(../assets/subtitle_bg.png);
-				/* margin:20px 10px 5px 10px; */
-				/* background-color: #009688; */
-				height: 26px;
-				line-height: 26px;
-				margin: auto;
-				margin-top: 20px;
-				width: 96%;
-			}
-			.sub-title-bg span {
-				font-size: 16px;
-				color: #FFFFFF;
-				margin-left: 4px;
-				/* background-color: #0000FF; */
-				margin-top: 0px;
-			}
-			.layout-btn-container {
-				width: 96%;
-				/* margin:5px 10px 5px 10px; */
-				margin: auto;
-			}
-			.layout-btn-container table {
-				width: 100%; 
-				border-collapse: separate;
-				border-spacing: 0px 10px;
-			}
-			.layout-btn-container table td {
-				width: 50%;
-			}
-			.btn{
-				width: 95%; 
-				height: 50px;
-				font-size: 0.8rem;
-			}
-			.btn:active{
-				opacity: 0.5;
-			}
-			.mybtn-primary {
-				color: #fff;
-				background-color: #007bff;
-				border-color: #007bff;
-				border: 1px solid transparent;
-				font-size: 16px;
-				border-radius: 5px;
-				line-height: 16px;
-				font-weight:normal;
-				height: 50px;
-				width: 98%;
-			}
-			.mybtn-primary:active {
-				opacity: 0.8;
-			}
-			.show{
-				display: block;
-			}
-			.noshow{
-				display: none;
-			}
-		</style>
-		<link rel="stylesheet" href="../css/adapter.css" />
-	</head>
-	<body>
-		<div id="" class="main-content">
-			<div id="" class="layout-title" >
-				<table border="" cellspacing="" cellpadding="">
-					<tr>
-						<td class="img-back"><a href="/View/login.html"><img src="../assets/back.jpg" ></a></td>
-						<td class="title-text" lang>涓婚〉</td>
-						<td class="title-menu-icon"><img id="menuImg" src="../assets/menu.jpg" ></td>
-					</tr>
-				</table>
+<head>
+	<meta charset="UTF-8" />
+	<meta name="viewport" content="user-scalable=0,width=device-width,initial-scale=1.0" />
+	<!-- <meta name="viewport" content="width=device-width, initial-scale=0.665, minimum-scale=0.5, maximum-scale=2.0, user-scalable=no" /> -->
+	<meta http-equiv="X-UA-Compatible" content="ie=edge" />
+	<title>Boxline PDA</title>
+
+	<link rel="stylesheet" href="../layui/css/layui.css" />
+	<link rel="stylesheet" href="../css/style.css" />
+	<script src="../js/adaptive.js"></script>
+	<!--鏇存敼妗岄潰icon 浠匒ndroid鏀寔-->
+	<link rel="shortcut icon" href="../assets/icon.png">
+	<!-- <meta name="mobile-web-app-capable" content="yes"> -->
+
+	<link rel="stylesheet" href="../css/my.css" />
+	<style type="text/css">
+		.layout-bill-info {
+			height: 255px;
+		}
+
+		.layout-tbl-submit {
+			margin-top: 10px;
+		}
+
+		.menu {
+			height: 40px;
+		}
+
+		.sub-title-bg {
+			background-image: url(../assets/subtitle_bg.png);
+			/* margin:20px 10px 5px 10px; */
+			/* background-color: #009688; */
+			height: 26px;
+			line-height: 26px;
+			margin: auto;
+			margin-top: 20px;
+			width: 96%;
+		}
+
+		.sub-title-bg span {
+			font-size: 16px;
+			color: #FFFFFF;
+			margin-left: 4px;
+			/* background-color: #0000FF; */
+			margin-top: 0px;
+		}
+
+		.layout-btn-container {
+			width: 96%;
+			/* margin:5px 10px 5px 10px; */
+			margin: auto;
+		}
+
+		.layout-btn-container table {
+			width: 100%;
+			border-collapse: separate;
+			border-spacing: 0px 10px;
+		}
+
+		.layout-btn-container table td {
+			width: 50%;
+		}
+
+		.btn {
+			width: 95%;
+			height: 50px;
+			font-size: 0.8rem;
+		}
+
+		.btn:active {
+			opacity: 0.5;
+		}
+
+		.mybtn-primary {
+			color: #fff;
+			background-color: #007bff;
+			border-color: #007bff;
+			border: 1px solid transparent;
+			font-size: 16px;
+			border-radius: 5px;
+			line-height: 16px;
+			font-weight: normal;
+			height: 50px;
+			width: 98%;
+		}
+
+		.mybtn-primary:active {
+			opacity: 0.8;
+		}
+
+		.show {
+			display: block;
+		}
+
+		.noshow {
+			display: none;
+		}
+	</style>
+	<link rel="stylesheet" href="../css/adapter.css" />
+</head>
+
+<body>
+	<div id="" class="main-content">
+		<div id="" class="layout-title">
+			<table border="" cellspacing="" cellpadding="">
+				<tr>
+					<td class="img-back"><a href="/View/login.html"><img src="../assets/back.jpg"></a></td>
+					<td class="title-text" lang>涓婚〉</td>
+					<td class="title-menu-icon"><img id="menuImg" src="../assets/menu.jpg"></td>
+				</tr>
+			</table>
+		</div>
+		<div id="" class="layout-sub-content">
+			<div id="menuList" class="menu">
+				<ul class="" style="text-align: center;">
+					<li><a lang href="/View/login.html">閲嶆柊鐧诲綍</a></li>
+				</ul>
 			</div>
-			<div id="" class="layout-sub-content">
-				<div id="menuList" class="menu">
-					<ul class="" style="text-align: center;">
-						<li><a lang href="/View/login.html">閲嶆柊鐧诲綍</a></li>
-					</ul>
-				</div>
-				<div class="" >
-					<section>
-						<div class="sub-title-bg" >
-							<span lang>鍏ュ簱浣滀笟鍖�</span>
-						</div>
-						<div class="layout-btn-container" >
-							
-							<div style="display: flex; flex-direction: row; flex-wrap: wrap;" id="ruKu">
-								<!-- <a href="/View/AsnSetting/materialEnter.html"><button type="button" class="mybtn-primary" lang>閲囪喘鍏ュ簱</button></a>
+			<div class="">
+				<section>
+					<div class="sub-title-bg">
+						<span lang>鍏ュ簱浣滀笟鍖�</span>
+					</div>
+					<div class="layout-btn-container">
+
+						<div style="display: flex; flex-direction: row; flex-wrap: wrap;" id="ruKu">
+							<!-- <a href="/View/AsnSetting/materialEnter.html"><button type="button" class="mybtn-primary" lang>閲囪喘鍏ュ簱</button></a>
 									
 								<a href="/View/AsnSetting/returnEnter.html"><button type="button" class="mybtn-primary" lang>閫�璐у叆搴�</button></a>
 									-->
-							</div> 
 						</div>
-					</section>
-					<section>
-						<div class="sub-title-bg" >
-							<span lang>鍑哄簱浣滀笟鍖�</span>
-						</div>
-						
-						<div class="layout-btn-container"> 
-							<div style="display: flex; flex-direction: row; flex-wrap: wrap;" id="chuKu">
+					</div>
+				</section>
+				<section>
+					<div class="sub-title-bg">
+						<span lang>鍑哄簱浣滀笟鍖�</span>
+					</div>
 
-							</div>
+					<div class="layout-btn-container">
+						<div style="display: flex; flex-direction: row; flex-wrap: wrap;" id="chuKu">
+
 						</div>
-					</section>
-					<section>
-						<div class="sub-title-bg" >
-							<span lang>搴撳唴浣滀笟鍖�</span>
+					</div>
+				</section>
+				<section>
+					<div class="sub-title-bg">
+						<span lang>搴撳唴浣滀笟鍖�</span>
+					</div>
+					<div class="layout-btn-container">
+						<div style="display: flex; flex-direction: row; flex-wrap: wrap;" id="kuNei">
+
 						</div>
-						<div class="layout-btn-container" >
-							<div style="display: flex; flex-direction: row; flex-wrap: wrap;" id="kuNei">
-								 
-							</div> 
-						</div>
-					</section>
-					<!-- <section>
+					</div>
+				</section>
+				<!-- <section>
 						<div class="sub-title-bg" >
 							<span lang>鍗曟嵁鎿嶄綔鍖�</span>
 						</div>
@@ -157,83 +172,84 @@
 							</table>
 						</div>
 					</section> -->
-				</div>
 			</div>
-			
 		</div>
-		
-		<script src="../js/jquery-3.5.1.min.js"></script>
-		<script src="../js/jquery.cookie.js"></script>
-		<script src="../layui/layui.js"></script>
-		<script src="../js/public.js"></script>
-		<script src="../js/language.js"></script>
-		<script>
-			layui.use([], function() {
-				// var carousel = layui.carousel;
 
-				initLanguage()
-				setLanguage()
-				
-				sendData(IP + "/Basis/GetRoleRightList", {}, 'get', function(res) {
-					if (res.code == 0) { //鎴愬姛
-						var list = res.data.filter(item => item.level == "0");
-						 
-						if (list) {
-							for (var i = 0; i < list.length; i++) {
-								if (list[i].MenuNo != "9000") { //鍒ゆ柇鏄惁鏄痯da鐨勬潈闄� 鏄細璺宠繃
-									continue;
-								}
-								list[i].MenuName
-								list[i].MenuNo 
-								//鏌ヨ鏈夋棤瀛愯彍鍗�
-								var list2 = res.data.filter(item => item.ParentNo == list[i].MenuNo);
-								console.log(list2);
-								list2.forEach(element => {
-									var html = 
-										`<a href="`+element.Url+`" style="width: 50%; margin-top: 10px;">
-											<button type="button" class="mybtn-primary"  lang>`+ element.MenuName+`</button>
-										</a>`;
-									if (element.Url.includes("AsnSetting")) {
-										$("#ruKu").append(html); 
-									}
-									if (element.Url.includes("SoSetting")) {
-										$("#chuKu").append(html); 
-									}
-									if (element.Url.includes("HouseDataSetting")) {
-										$("#kuNei").append(html); 
-									}
-								});
+	</div>
+
+	<script src="../js/jquery-3.5.1.min.js"></script>
+	<script src="../js/jquery.cookie.js"></script>
+	<script src="../layui/layui.js"></script>
+	<script src="../js/public.js"></script>
+	<script src="../js/language.js"></script>
+	<script>
+		layui.use([], function () {
+			// var carousel = layui.carousel;
+
+			initLanguage()
+			setLanguage()
+
+			sendData(IP + "/Basis/GetRoleRightList", {}, 'get', function (res) {
+				if (res.code == 0) { //鎴愬姛
+					var list = res.data.filter(item => item.level == "0");
+
+					if (list) {
+						for (var i = 0; i < list.length; i++) {
+							if (list[i].MenuNo != "9000") { //鍒ゆ柇鏄惁鏄痯da鐨勬潈闄� 鏄細璺宠繃
+								continue;
 							}
-						}  
-					} else { //涓嶆垚鍔�
-						layer.msg('鑾峰彇褰撳墠鐧诲綍浜烘潈闄愪俊鎭け璐�', {
-							icon: 2,
-							time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
-						}, function() {
-							//鍥炶皟
-						});
+							list[i].MenuName
+							list[i].MenuNo
+							//鏌ヨ鏈夋棤瀛愯彍鍗�
+							var list2 = res.data.filter(item => item.ParentNo == list[i].MenuNo);
+							console.log(list2);
+							list2.forEach(element => {
+								var html =
+									`<a href="` + element.Url + `" style="width: 50%; margin-top: 10px;">
+											<button type="button" class="mybtn-primary"  lang>`+ element.MenuName + `</button>
+										</a>`;
+								if (element.Url.includes("AsnSetting")) {
+									$("#ruKu").append(html);
+								}
+								if (element.Url.includes("SoSetting")) {
+									$("#chuKu").append(html);
+								}
+								if (element.Url.includes("HouseDataSetting")) {
+									$("#kuNei").append(html);
+								}
+							});
+						}
 					}
-				});
+				} else { //涓嶆垚鍔�
+					layer.msg('鑾峰彇褰撳墠鐧诲綍浜烘潈闄愪俊鎭け璐�', {
+						icon: 2,
+						time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級
+					}, function () {
+						//鍥炶皟
+					});
+				}
+			});
 
 
 
 
 
-				$("#menuImg").click(function(e){
-					//console.log("menuImg")
-					e.stopPropagation()
-					
-					if($("#menuList").is(":hidden")){
-						$("#menuList").show()
-					}else{
-						$("#menuList").hide()
-					}
-				})
-				$('body').click(function(){
-					// //console.log("body")
+			$("#menuImg").click(function (e) {
+				//console.log("menuImg")
+				e.stopPropagation()
+
+				if ($("#menuList").is(":hidden")) {
+					$("#menuList").show()
+				} else {
 					$("#menuList").hide()
-				})
+				}
 			})
-		</script>
-	</body>
-</html>
+			$('body').click(function () {
+				// //console.log("body")
+				$("#menuList").hide()
+			})
+		})
+	</script>
+</body>
+
+</html>
\ No newline at end of file

--
Gitblit v1.8.0