From f1b81cabbcc35ab8f3f871ea13c65af33e2c42a4 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期三, 22 十二月 2021 09:10:12 +0800
Subject: [PATCH] #

---
 views/index.html |  302 +++++++++++++++++++------------------------------
 1 files changed, 118 insertions(+), 184 deletions(-)

diff --git a/views/index.html b/views/index.html
index f133137..ceca883 100644
--- a/views/index.html
+++ b/views/index.html
@@ -1,196 +1,130 @@
 <!DOCTYPE html>
 <html lang="en">
-	<head>
-		<title></title>
-		<meta charset="utf-8">
-		<meta name="generator" content="Three.js Editor">
-		<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
-		<style>
-			body {
-				font-family: sans-serif;
-				font-size: 11px;
-				background-color: #000;
-				margin: 0;
-			}
-			canvas {
-				display: block;
-			}
-			#sidebar{
-				/*瀹氫綅*/
-				position: absolute;
-				top: 50%;
-				left: 1%;
-				transform: translateY(-50%);
-				width: 20%;
-				height: 95%;
-				/*鐗规晥*/
-				background: rgba(255,255,255,0.3);
-				border-radius: 5px;
-				color: #f0f8ff;
-			}
-			#sidebar h1{
-				font-family: Fantasy;
-				font-size: 36px;
-				text-indent: 5%;
-			}
-			#baobiao1{
-				width: 400px;
-				height: 300px;
-			}
+<head>
+    <title></title>
+    <meta charset="utf-8">
+    <meta name="generator" content="Three.js Editor">
+    <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
+    <link rel="stylesheet" href="../static/css/main.css">
+    <link rel="stylesheet" href="../static/css/index.css">
+    <link rel="stylesheet" href="../static/css/loader.css" media="all">
+    <script type="text/javascript" src="../static/js/lib/jquery-3.3.1.min.js"></script>
+    <script type="text/javascript" src="../static/js/lib/echarts.min.js"></script>
+    <script type="text/javascript" src="../static/js/utils.js"></script>
+    <script type="text/javascript" src="../static/js/common.js"></script>
+    <script type="text/javascript" src="../static/js/data/Asrs.js"></script>
+    <script type="text/javascript" src="../static/js/object/Cube.js"></script>
+    <script type="text/javascript" src="../static/js/object/StoreArea.js"></script>
+    <script type="text/javascript" src="../static/js/object/Store.js"></script>
+    <script type="text/javascript" src="../static/js/object/StoreGroup.js"></script>
+    <script type="text/javascript" src="../static/js/object/StoreGoods.js"></script>
+    <script type="text/javascript" src="../static/js/object/Route.js"></script>
+    <script type="text/javascript" src="../static/js/object/CrnTask.js"></script>
+    <script type="text/javascript" src="../static/js/object/Floor.js"></script>
+    <script type="text/javascript" src="../static/js/lib/btnHide.js"></script>
+    <style>
+        * {
+            margin: 0;
+            padding: 0;
+        }
+        html {
+            height: 100%;
+        }
+        body {
+            height: 100%;
+        }
+
+    </style>
+</head>
+<body>
+
+<div id="mask" class="mask"></div>
+<div id="title-box" class="title-box">
+    <div id="title" class="title"><i>A</i><i>&nbsp;</i><i>S</i><i>&nbsp;</i><i>/</i><i>&nbsp;</i><i>R</i><i>&nbsp;</i><i>S</i><i>&nbsp;</i><i>-</i><i>&nbsp;</i><i>W</i><i>&nbsp;</i><i>C</i><i>&nbsp;</i><i>S</i></div>
+    <div class="say">
+        <p>鑷姩鍖栦粨搴撴帶鍒剁郴缁燂紝鏄粙浜嶹MS鍜孭LC涔嬮棿鐨勪竴灞傜鐞嗘帶鍒剁郴缁�</p>
+        <p>鍙互鍗忚皟鍚勭鐗╂祦璁惧濡傝緭閫佹満銆佸爢鍨涙満銆佺┛姊溅浠ュ強鏈哄櫒浜恒�佽嚜鍔ㄥ寮曞皬杞︾瓑鐗╂祦璁惧涔嬮棿鐨勮繍琛�</p>
+        <p>"WAREHOUSE CONTROL SYSTEM"</p>
+    </div>
+    <div class="use">
+        <div></div>
+        銆婁腑鎵珛搴撱��
+    </div>
+</div>
+<img id="logo" class="logo" src="../static/img/logo0.png"  alt=""/>
+<div id="ship-info-box" class="ship-info-box">
+    <div class="ship-type pointernone">
+        <ul id="ship-type-ul">
+            <li>鍒濆鍖�</li>
+            <li>寰呮満鈥�</li>
+            <li>鎮ㄧ幇鍦ㄥ彲浠ヨ嚜鐢辩Щ鍔ㄨ瑙�</li>
+        </ul>
+    </div>
+    <div class="speed pointernone"><span id="speed">0</span> <i id="speed-unit">%</i></div>
+    <div id="ship-info-btn" class="btn" data-type="1">
+        <div id="btn-lock"></div>
+        <div class="btn-word">鍚姩</div>
+        <div class="line line1"></div>
+        <div class="line line2"></div>
+    </div>
+    <div id="control-remind" class="remind">鎮ㄧ幇鍦ㄥ彲浠ヨ嚜鐢辩Щ鍔ㄨ瑙�</div>
+</div>
 
 
-		</style>
-	</head>
-	<body style="position: relative">
-		<div id="sidebar">
-			<h1>涓壃-绔嬩綋浠撳簱</h1>
-			<div id="baobiao1"></div>
+<div id="container"></div>
+</body>
+<script type="module">
 
-		</div>
-		<div id="container"></div>
-		<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/echarts@5.2.2/dist/echarts.min.js"></script>
-		<script type="text/javascript">
-			var dom = document.getElementById("baobiao1");
-			var myChart = echarts.init(dom);
-			var app = {};
+    import * as THREE from '../static/js/three.module.js';
+    import { APP } from '../static/js/app.js';
 
-			var option;
+    window.THREE = THREE;
 
-			option = {
-				xAxis: {
-					type: 'category',
-					data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
-				},
-				yAxis: {
-					type: 'value'
-				},
-				series: [
-					{
-						data: [120, 200, 150, 80, 70, 110, 130],
-						type: 'bar'
-					}
-				]
-			};
+    var player = new APP.Player();
+    player.start();
 
-			option && myChart.setOption(option);
+    document.getElementById("btn-lock").addEventListener('click', function () {
+        player.lockControl();
+        removeClass(document.getElementById("ship-info-btn"), "show");
+        document.getElementById("ship-type-ul").style.transform = 'translateY(-60px)';
+    }, false);
 
+</script>
+<script>
+    var percent = 0;
+    var shipInfoBtn = document.getElementById("ship-info-btn");
+    var speedDom = document.getElementById("speed");
+    var timer = setInterval(function () {
+        if (percent < 100.00) {
+            // percent += 0.04;
+            percent += 1;
+            speedDom.innerText = percent.toFixed(2);
+        } else {
+            if (!hasClass(shipInfoBtn, "show")) {
+                addClass(shipInfoBtn, "show")
+                clearInterval(timer);
+            }
+        }
+    }, 1);
 
-			// option = {
-			// 	title: {
-			// 		text: '骞村害杩�/鍑鸿揣閲�',
-			// 		textStyle:{
-			// 			color:'#F8F8FF',
-			// 		},
-			// 		subtext: 'Data',
-			// 		subtextStyle:{
-			// 			color:'#F8F8FF',
-			// 		},
-			// 		show: true,
-			//
-			// 	},
-			// 	textStyle:{
-			// 		color:'#F8F8FF',
-			// 	},
-			// 	// subtextStyle:{
-			// 	// 	color:'#F8F8FF',
-			// 	// },
-			// 	// tooltip: {
-			// 	// 	trigger: 'axis'
-			// 	// },
-			// 	legend: {
-			// 		show:false,
-			// 		data: ['杩涜揣', '鍑鸿揣']
-			// 	},
-			// 	toolbox: {
-			// 		show: false,
-			// 		feature: {
-			// 			dataView: { show: true, readOnly: false },
-			// 			magicType: { show: true, type: ['line', 'bar'] },
-			// 			restore: { show: true },
-			// 			saveAsImage: { show: true }
-			// 		}
-			// 	},
-			// 	calculable: true,
-			// 	xAxis: [
-			// 		{
-			// 			type: 'category',
-			// 			// prettier-ignore
-			// 			data: ['涓�鏈�', '浜屾湀', '涓夋湀', '鍥涙湀', '浜旀湀', '鍏湀', '涓冩湀', '鍏湀', '涔濇湀', '鍗佹湀', '鍗佷竴鏈�', '鍗佷簩鏈�']
-			// 		}
-			// 	],
-			// 	yAxis: [
-			// 		{
-			// 			// show:false,
-			// 			type: 'value'
-			// 		}
-			// 	],
-			// 	series: [
-			// 		{
-			// 			name: '杩涜揣',
-			// 			type: 'bar',
-			// 			data: [
-			// 				2.0, 4.9, 7.0, 23.2, 25.6, 76.7, 135.6, 162.2, 32.6, 20.0, 6.4, 3.3
-			// 			],
-			// 			markPoint: {
-			// 				data: [
-			// 					{ type: 'max', name: 'Max' },
-			// 					{ type: 'min', name: 'Min' }
-			// 				]
-			// 			},
-			// 			markLine: {
-			// 				data: [{ type: 'average', name: 'Avg' }]
-			// 			}
-			// 		},
-			// 		{
-			// 			name: '鍑鸿揣',
-			// 			type: 'bar',
-			// 			data: [
-			// 				2.6, 5.9, 9.0, 26.4, 28.7, 70.7, 175.6, 182.2, 48.7, 18.8, 6.0, 2.3
-			// 			],
-			// 			markPoint: {
-			// 				data: [
-			// 					{ name: 'Max', value: 182.2, xAxis: 7, yAxis: 183 },
-			// 					{ name: 'Min', value: 2.3, xAxis: 11, yAxis: 3 }
-			// 				]
-			// 			},
-			// 			markLine: {
-			// 				data: [{ type: 'average', name: 'Avg' }]
-			// 			}
-			// 		}
-			// 	],
-			//
-			// };
-			//
-			// if (option && typeof option === 'object') {
-			// 	myChart.setOption(option);
-			// }
+    $(document).on('click','.btn-word', function () {
+        fullScreen()
+        $("#mask").fadeOut(3000, function () {
+            setTimeout(function () {
+                $("#ship-type-ul").css("transform", "translateY(-40px)");
+                $("#ship-info-btn .btn-word").text("浣撻獙璋冨害涓栫晫");
+                $("#ship-info-btn").data("type", 2).addClass("show");
+                $("#ship-info-btn #btn-lock").css("z-index", "10");
+            }, 1000);
+            setTimeout(function () {
+                $("#title-box").removeClass("show");
+            }, 5000);
+        });
+        $("#title-box, #logo").addClass("show");
+        $("#ship-info-btn").removeClass("show");
+        $('.speed.pointernone').addClass("hide");
+        $("#ship-type-ul").css("transform", "translateY(-20px)");
+    });
 
-		</script>
-		<script type="text/javascript" src="../static/js/lib/jquery-3.3.1.min.js"></script>
-		<script type="text/javascript" src="../static/js/common.js"></script>
-		<script type="text/javascript" src="../static/js/data/Warehouse.js"></script>
-		<script type="text/javascript" src="../static/js/object/Cube.js"></script>
-		<script type="text/javascript" src="../static/js/object/StoreArea.js"></script>
-		<script type="text/javascript" src="../static/js/object/Store.js"></script>
-		<script type="text/javascript" src="../static/js/object/StoreGroup.js"></script>
-		<script type="text/javascript" src="../static/js/object/StoreShelf.js"></script>
-		<script type="text/javascript" src="../static/js/object/StoreGoods.js"></script>
-		<script type="module">
-
-			import * as THREE from '../static/js/three.module.js';
-			import { APP } from '../static/js/app.js';
-
-			window.THREE = THREE;
-
-			var player = new APP.Player();
-			player.start();
-
-			// document.body.appendChild( player.dom );
-			// window.addEventListener( 'resize', function () {
-			// 	player.setSize( window.innerWidth, window.innerHeight );
-			// } );
-
-
-		</script>
-	</body>
+</script>
 </html>

--
Gitblit v1.9.1