From a5c50ff60d14cad5ff27bfcade405c796f9ab0d3 Mon Sep 17 00:00:00 2001
From: vincent <1341870251@qq.com>
Date: 星期六, 30 五月 2020 09:29:25 +0800
Subject: [PATCH] #

---
 src/main/webapp/views/console.html |   80 +++++++++++++++++++++++++++++++++++++++
 1 files changed, 79 insertions(+), 1 deletions(-)

diff --git a/src/main/webapp/views/console.html b/src/main/webapp/views/console.html
index 6a17a67..987f16d 100644
--- a/src/main/webapp/views/console.html
+++ b/src/main/webapp/views/console.html
@@ -1,5 +1,6 @@
 <!DOCTYPE html>
 <html lang="en">
+<!--5灞� 28鍒� 1120搴撲綅-->
 <head>
     <meta charset="UTF-8">
     <title>WCS鎺у埗涓績</title>
@@ -10,13 +11,48 @@
     <link rel="stylesheet" type="text/css" href="../static/css/common.css">
     <link rel="stylesheet" type="text/css" href="../static/css/console.css">
     <script type="text/javascript" src="../static/js/jquery/jquery-3.3.1.min.js"></script>
+    <script type="text/javascript" src="../static/js/layer/layer.js"></script>
     <style>
+        .system-state {
+            position: absolute;
+            top: 40px;
+            right: 20px;
+        }
+
+        .system-icon {
+            width: 100px;
+            height: 100px;
+            background-image: url("../static/image/stop48.png");
+            background-repeat: no-repeat;
+            background-size:100% 100%;
+            background-position: top center;
+            cursor: pointer;
+        }
 
     </style>
 </head>
 <body>
 <header>
-    <span>鎻忚堪淇℃伅</span>
+    <h1>鑷姩浠撳簱 WCS 鐩戞帶鍥�</h1>
+    <!-- 鐘舵�� -->
+    <div class="machine-state">
+        <div class="crn-state-group">
+            <span>鍫嗗灈鏈虹姸鎬�:</span>
+            <span class="crn-state" style="background-color: #21ff3a">鑷姩</span>
+            <span class="crn-state" style="background-color: red">寮傚父</span>
+        </div>
+        <div class="site-state-group">
+            <span>绔欑偣鐘舵��:</span>
+            <span class="site-state" style="background-color: #21ff3a;">鑷姩</span>
+            <span class="site-state" style="background-color: red;">寮傚父</span>
+        </div>
+    </div>
+    
+    <!-- 绯荤粺杩愯 -->
+    <div class="system-state">
+        <div class="system-icon"></div>
+    </div>
+    
 </header>
 <main>
 
@@ -96,6 +132,10 @@
             <button class="item">22</button>
             <button class="item">23</button>
             <button class="item">24</button>
+            <button class="item">25</button>
+            <button class="item">26</button>
+            <button class="item">27</button>
+            <button class="item">28</button>
             <div class="site site-none">&nbsp;&nbsp;&nbsp;&nbsp;</div>
         </div>
         <div class="stock-group">
@@ -124,6 +164,10 @@
             <button class="item">22</button>
             <button class="item">23</button>
             <button class="item">24</button>
+            <button class="item">25</button>
+            <button class="item">26</button>
+            <button class="item">27</button>
+            <button class="item">28</button>
             <div class="site site-none">&nbsp;&nbsp;&nbsp;&nbsp;</div>
         </div>
         <!-- 鍫嗗灈鏈� -->
@@ -158,6 +202,10 @@
             <button class="item">22</button>
             <button class="item">23</button>
             <button class="item">24</button>
+            <button class="item">25</button>
+            <button class="item">26</button>
+            <button class="item">27</button>
+            <button class="item">28</button>
             <div class="site site-none">&nbsp;&nbsp;&nbsp;&nbsp;</div>
         </div>
         <div class="stock-group">
@@ -186,6 +234,10 @@
             <button class="item">22</button>
             <button class="item">23</button>
             <button class="item">24</button>
+            <button class="item">25</button>
+            <button class="item">26</button>
+            <button class="item">27</button>
+            <button class="item">28</button>
             <div class="site site-none">&nbsp;&nbsp;&nbsp;&nbsp;</div>
         </div>
         <br>
@@ -219,6 +271,10 @@
             <button class="item">22</button>
             <button class="item">23</button>
             <button class="item">24</button>
+            <button class="item">25</button>
+            <button class="item">26</button>
+            <button class="item">27</button>
+            <button class="item">28</button>
             <div class="site site-none">&nbsp;&nbsp;&nbsp;&nbsp;</div>
         </div>
         <div class="stock-group">
@@ -247,6 +303,10 @@
             <button class="item">22</button>
             <button class="item">23</button>
             <button class="item">24</button>
+            <button class="item">25</button>
+            <button class="item">26</button>
+            <button class="item">27</button>
+            <button class="item">28</button>
             <div class="site site-none">&nbsp;&nbsp;&nbsp;&nbsp;</div>
         </div>
         <!-- 鍫嗗灈鏈� -->
@@ -281,6 +341,10 @@
             <button class="item">22</button>
             <button class="item">23</button>
             <button class="item">24</button>
+            <button class="item">25</button>
+            <button class="item">26</button>
+            <button class="item">27</button>
+            <button class="item">28</button>
             <div class="site site-none">&nbsp;&nbsp;&nbsp;&nbsp;</div>
         </div>
         <div class="stock-group">
@@ -309,6 +373,10 @@
             <button class="item">22</button>
             <button class="item">23</button>
             <button class="item">24</button>
+            <button class="item">25</button>
+            <button class="item">26</button>
+            <button class="item">27</button>
+            <button class="item">28</button>
             <div class="site site-none">&nbsp;&nbsp;&nbsp;&nbsp;</div>
         </div>
     </div>
@@ -317,6 +385,8 @@
     <input id="val" type="text">
     <button id="animate">animate</button>
 </main>
+
+
 </body>
 <script>
     var crn1Position = 0;
@@ -341,5 +411,13 @@
         }
     }
 
+    $('.item').on('click', function () {
+        layer.open({
+            type: 1,
+            shadeClose: true, //鐐瑰嚮閬僵鍏抽棴灞�
+            content: 'text'
+        });
+    })
+
 </script>
 </html>
\ No newline at end of file

--
Gitblit v1.9.1