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 | 185 ++++++++++++++++++++++++++++++++-------------
1 files changed, 130 insertions(+), 55 deletions(-)
diff --git a/src/main/webapp/views/console.html b/src/main/webapp/views/console.html
index 0555f12..07d111d 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,74 +11,106 @@
<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>
- /* 绔欑偣 */
- .site {
- color: #333;
- height: 20px;
- border: 1px solid #fff;
- cursor: pointer;
- width: 50px;
+ header {
+ height: 20%;
+ opacity: 0.8;
+ position: relative;
+ }
+ /* 绯荤粺杩愯鐘舵�� */
+ .system-state {
+ float: left;
+ margin-left: 30px;
+ margin-top: 30px;
text-align: center;
- background-color: #21ff3a;
+ color: #2d6aff;
+ }
+ .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;
+ }
+
+ /* 鐘舵�佹樉绀� */
+ .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;
}
- /* 鏃犳晥绔欑偣锛堝繀椤诲湪site涓嬮潰锛� */
- .site-none {
- border: none;
- background-color: transparent;
+ /* 鍫嗗灈鏈虹姸鎬� */
+ .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;
}
- /* --------- 璐ф灦鎬绘垚 --------- */
- .main-part {
- position: absolute;
- top: 250px;
- left: 400px;
- }
- /* --------- 杈撻�佺嚎鎬绘垚 --------- */
- .site-row {
+
+
+ /* 鍒嗗壊绾� */
+ .header-hr {
+ border-radius: 5px;
+ border: 1px solid #777;
+ width: 80%;
position: absolute;
- top: 122px;
- }
- /* 杈撻�佺嚎绗竴鍒� */
- .site-row-1 {
- left: 200px;
- }
- .site-row-1 .site {
- width: 100px;
- }
- /* 杈撻�佺嚎绗簩鍒� */
- .site-row-2 {
- left: 300px;
- }
- .site-row-2 .site {
- width: 100px;
- }
- /* 杈撻�佺嚎绗笁鍒� */
- .site-row-3 {
- left: 400px;
- width: 100px;
- }
- .site-row-3 .site {
- float: left;
- width: 100px;
- }
- /* 杈撻�佺嚎绗洓鍒� */
- .site-row-4 {
- left: 500px;
- width: 100px;
- }
- .site-row-4 .site {
- float: right;
- width: 100px;
+ bottom: 0;
}
</style>
</head>
<body>
<header>
- <span>鎻忚堪淇℃伅</span>
+ <!-- 绯荤粺杩愯鐘舵�� -->
+ <div class="system-state">
+ <div class="system-icon"></div>
+ <span>绯荤粺杩愯涓�...</span>
+ </div>
+
+ <!-- 淇℃伅灞曠ず -->
+ <div class="data-window">
+ <!--<h1>鑷姩浠撳簱 WCS 鐩戞帶鍥�</h1>-->
+ <!--<!–<div class="crn-state-group">–>-->
+ <!--<!–<label class="crn-label">鍫嗗灈鏈虹姸鎬侀鑹�:</label>–>-->
+ <!--<!–<span class="crn-state" style="background-color: #21ff3a">鑷姩</span>–>-->
+ <!--<!–<span class="crn-state" style="background-color: red">寮傚父</span>–>-->
+ <!--<!–</div>–>-->
+ <!--<!–<div class="site-state-group">–>-->
+ <!--<!–<label class="site-label">杈撻�佽澶囩姸鎬侀鑹�:</label>–>-->
+ <!--<!–<span class="site-state" style="background-color: #21ff3a;">鑷姩</span>–>-->
+ <!--<!–<span class="site-state" style="background-color: red;">寮傚父</span>–>-->
+ <!--<!–</div>–>-->
+ </div>
+
+ <!--鍒嗗壊绾�-->
+ <hr class="header-hr">
</header>
<main>
@@ -98,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>
@@ -157,6 +190,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"> </div>
</div>
<div class="stock-group">
@@ -185,6 +222,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"> </div>
</div>
<!-- 鍫嗗灈鏈� -->
@@ -219,6 +260,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"> </div>
</div>
<div class="stock-group">
@@ -247,6 +292,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"> </div>
</div>
<br>
@@ -280,6 +329,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"> </div>
</div>
<div class="stock-group">
@@ -308,6 +361,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"> </div>
</div>
<!-- 鍫嗗灈鏈� -->
@@ -342,6 +399,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"> </div>
</div>
<div class="stock-group">
@@ -370,6 +431,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"> </div>
</div>
</div>
@@ -378,6 +443,8 @@
<input id="val" type="text">
<button id="animate">animate</button>
</main>
+
+
</body>
<script>
var crn1Position = 0;
@@ -402,5 +469,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