From 7bb642507839468eb7ff604fa5442f10e274e0ff Mon Sep 17 00:00:00 2001
From: vincent <1341870251@qq.com>
Date: 星期六, 30 五月 2020 10:31:56 +0800
Subject: [PATCH] #

---
 src/main/webapp/views/console.html |  104 ++++++++++++++++++++++++++++++++++++++++-----------
 1 files changed, 81 insertions(+), 23 deletions(-)

diff --git a/src/main/webapp/views/console.html b/src/main/webapp/views/console.html
index 987f16d..07d111d 100644
--- a/src/main/webapp/views/console.html
+++ b/src/main/webapp/views/console.html
@@ -13,12 +13,19 @@
     <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;
+        header {
+            height: 20%;
+            opacity: 0.8;
+            position: relative;
         }
-
+        /* 绯荤粺杩愯鐘舵�� */
+        .system-state {
+            float: left;
+            margin-left: 30px;
+            margin-top: 30px;
+            text-align: center;
+            color: #2d6aff;
+        }
         .system-icon {
             width: 100px;
             height: 100px;
@@ -29,30 +36,81 @@
             cursor: pointer;
         }
 
+        /* 鐘舵�佹樉绀� */
+        .data-window {
+            width: 70%;
+            text-align: center;
+        }
+        .data-window h1 {
+            font-size: 3em;
+            margin: 0;
+            letter-spacing: 1px;
+        }
+        .crn-label, .site-label {
+            display: inline-block;
+            width: 15%;
+            text-align: right;
+            margin-bottom: 5px;
+            font-size: 13px;
+        }
+        /* 鍫嗗灈鏈虹姸鎬� */
+        .crn-state-group {
+            text-align: left;
+        }
+        .crn-state {
+            display: inline-block;
+            width: 50px;
+            text-align: center;
+        }
+        /* 绔欑偣鐘舵�� */
+        .site-state-group {
+            text-align: left;
+        }
+        .site-state {
+            display: inline-block;
+            width: 50px;
+            text-align: center;
+        }
+
+
+
+
+        /* 鍒嗗壊绾� */
+        .header-hr {
+            border-radius: 5px;
+            border: 1px solid #777;
+            width: 80%;
+            position: absolute;
+            bottom: 0;
+        }
+
     </style>
 </head>
 <body>
 <header>
-    <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>
+        <span>绯荤粺杩愯涓�...</span>
     </div>
-    
+
+    <!-- 淇℃伅灞曠ず -->
+    <div class="data-window">
+        <!--<h1>鑷姩浠撳簱 WCS 鐩戞帶鍥�</h1>-->
+        <!--&lt;!&ndash;<div class="crn-state-group">&ndash;&gt;-->
+            <!--&lt;!&ndash;<label class="crn-label">鍫嗗灈鏈虹姸鎬侀鑹�:</label>&ndash;&gt;-->
+            <!--&lt;!&ndash;<span class="crn-state" style="background-color: #21ff3a">鑷姩</span>&ndash;&gt;-->
+            <!--&lt;!&ndash;<span class="crn-state" style="background-color: red">寮傚父</span>&ndash;&gt;-->
+        <!--&lt;!&ndash;</div>&ndash;&gt;-->
+        <!--&lt;!&ndash;<div class="site-state-group">&ndash;&gt;-->
+            <!--&lt;!&ndash;<label class="site-label">杈撻�佽澶囩姸鎬侀鑹�:</label>&ndash;&gt;-->
+            <!--&lt;!&ndash;<span class="site-state" style="background-color: #21ff3a;">鑷姩</span>&ndash;&gt;-->
+            <!--&lt;!&ndash;<span class="site-state" style="background-color: red;">寮傚父</span>&ndash;&gt;-->
+        <!--&lt;!&ndash;</div>&ndash;&gt;-->
+    </div>
+
+    <!--鍒嗗壊绾�-->
+    <hr class="header-hr">
 </header>
 <main>
 
@@ -73,7 +131,7 @@
     <div class="site-row site-row-2">
         <div id="site-32" class="site" style="width: 80px; height: 50px;line-height: 50px">32</div>
         <div id="site-31" class="site" >31</div>
-        <div id="site-30" class="site" style="width: 80px; height: 30px;line-height: 30px">30</div>
+        <div id="site-30" class="site" style="width: 80px; height: 30px;line-height: 30px; background-color: red;">30</div>
         <div id="site-23" class="site" >23</div>
         <div id="site-22" class="site" style="width: 80px; height: 50px;line-height: 50px">22</div>
         <div id="site-20" class="site" >20</div>

--
Gitblit v1.9.1