From 6f7a815b2d6e4f30e7ccf901b24d5103aaa72078 Mon Sep 17 00:00:00 2001
From: zyx <zyx123456>
Date: 星期一, 25 十二月 2023 10:23:08 +0800
Subject: [PATCH] Merge branch 'tzskasrs-1' of http://47.97.1.152:5880/r/zy-asrs into tzskasrs-1

---
 src/main/webapp/views/pda/index.html |   83 +++++++++++++++++++++++++++++++++++++++++
 1 files changed, 83 insertions(+), 0 deletions(-)

diff --git a/src/main/webapp/views/pda/index.html b/src/main/webapp/views/pda/index.html
index ee9f937..50ecb47 100644
--- a/src/main/webapp/views/pda/index.html
+++ b/src/main/webapp/views/pda/index.html
@@ -2,9 +2,92 @@
 <html lang="en">
 <head>
     <meta charset="UTF-8">
+    <meta name="viewport" content="width=device-width, target-densitydpi=high-dpi, initial-scale=1.0, user-scalable=no"/>
     <title>PDA棣栭〉</title>
+    <script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script>
+    <style>
+        * {
+            margin: 0;
+            padding: 0;
+            box-sizing: border-box;
+            -webkit-box-sizing: border-box;
+            -moz-box-sizing: border-box;
+        }
+        html {
+            height: 100%;
+            /*line-height: 1.5;*/
+        }
+        body {
+            height: 100%;
+            /*overflow: hidden;*/
+        }
+
+        /* 瀵艰埅 */
+        .nav {
+            background-color: #fff; /*todo*/
+            color: #000;
+            list-style-type: none;
+            position: fixed;
+            width: 100%;
+            overflow: hidden;
+            box-shadow: 0 1px 2px 0 rgba(0,0,0,.1)
+        }
+        .nav li {
+            float: left;
+            border-right: 1px solid #f1f1f1; /*todo*/
+        }
+        .nav li a {
+            font-size: 20px;
+            letter-spacing: 1px;
+            display: block;
+            text-decoration: none;
+            padding: 3px 10px;
+            text-align: center;
+            /*transform:scale(1.5);*/
+            /*-webkit-transform:scale(1.5);*/
+            /*-moz-transform:scale(1.5);*/
+        }
+        .nav li a:hover {
+            color: #000;
+        }
+        .nav-unselect {
+            color: #666;
+        }
+        .nav-select {
+            background-color: #f1f1f1;  /*todo*/
+            color: #000;
+        }
+
+        /* 涓讳綋 */
+        #content {
+            padding-top: 32px;
+            width: 100%;
+            height: 100%;
+        }
+        iframe {
+            border-width: 0;
+        }
+    </style>
 </head>
 <body>
 
+<!-- 瀵艰埅鏍� -->
+<ul class="nav">
+    <li><a id="comb" onclick="nav(this.id)" class="nav-select" href="#">缁勬墭</a></li>
+    <li><a id="stockIn" onclick="nav(this.id)" class="nav-unselect" href="#">鍏ュ簱</a></li>
+    <li><a id="stockOut" onclick="nav(this.id)" class="nav-unselect" href="#">鍑哄簱</a></li>
+</ul>
+
+<!-- 涓讳綋鍐呭 -->
+<iframe id="content" src="comb.html"></iframe>
+
 </body>
+<script>
+    // 瀵艰埅鏍�
+    function nav(id) {
+        $('.nav-select').attr("class", "nav-unselect");
+        $('#'+id).attr("class", "nav-select");
+        $('#content').attr("src", id+".html");
+    }
+</script>
 </html>
\ No newline at end of file

--
Gitblit v1.9.1