From e97e08da74b35f446be66d7fd8c01bb4e56ecce0 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期六, 11 十二月 2021 07:57:33 +0800
Subject: [PATCH] Merge branch 'dev' of http://47.97.1.152:5880/r/ASRS-3D into dev

---
 views/index.html |  220 +++++++++++++++++++++++++++++++++++++++++-------------
 1 files changed, 165 insertions(+), 55 deletions(-)

diff --git a/views/index.html b/views/index.html
index 7abb321..2f90c55 100644
--- a/views/index.html
+++ b/views/index.html
@@ -17,6 +17,58 @@
 			canvas {
 				display: block;
 			}
+			#btn1 {
+				background-color: #4CAF50; /* Green */
+				border: none;
+				color: white;
+				padding: 15px 32px;
+				text-align: center;
+				text-decoration: none;
+				display: inline;
+				font-size: 16px;
+				position: absolute;
+				left: 1500px;
+			}
+			#btn2 {
+				position: absolute;
+				top: 45%;
+				left: 100%;
+				transform: translateY(50%);
+				width: 10%;
+				height: 10%;
+				background: rgba(255,255,255,0.3);
+				border: none;
+				color: white;
+				/*padding: 15px 32px;*/
+				text-align: center;
+				text-decoration: none;
+				/*display: none;*/
+				font-size: 16px;
+				border-radius: 0px 5px 5px 0px;
+			}
+			#btn2_m{
+				position: absolute;
+				top: 45%;
+				left: 100%;
+				transform: translateY(50%);
+				width: 10%;
+				height: 10%;
+				border-radius: 0px 5px 5px 0px;
+				background: rgba(143, 200, 227, 0.2);
+				backdrop-filter: blur(1px);
+			}
+			#maoboli {
+				position: absolute;
+				top: 50%;
+				left: 1%;
+				transform: translateY(-50%);
+				width: 20%;
+				height: 95%;
+				background: rgba(143, 200, 227, 0.2);
+				border-radius: 5px;
+				backdrop-filter: blur(1px);
+				/*display: none;*/
+			}
 			#sidebar{
 				display: none;
 				/*瀹氫綅*/
@@ -30,34 +82,37 @@
 				background: rgba(255,255,255,0.3);
 				border-radius: 5px;
 				color: #ffffff;
+				/*display: none;*/
 			}
 			#sidebar p1{
 				height: 24px;
 				font-family:   FZChaoCuHei-M10S;
-				font-weight: bold;
+				font-weight: 900;
 				font-size: 24px;
 				text-indent: 2.5%;
 				letter-spacing:1px;
 				line-height: 25px;
 				margin-top: 15px;
 				margin-left: 2.5%;
+				display: block;
 			}
 			#sidebar p2{
 				height: 10px;
+				font-size: 5px;
 				font-family:   FZChaoCuHei-M10S;
-				font-weight: bold;
-				text-indent: 2.5%;
-				letter-spacing:2px;
+				font-weight: 400;
+				letter-spacing:1px;
 				line-height: 8px;
+				margin-top: 7px;
+				transform: scale(0.8,0.8);
 			}
-
 			#baobiao1{
 				width: 99%;
-				height: 260px;
+				height: 280px;
 			}
 			#baobiao2 {
 				width: 99%;
-				height: 260px;
+				height: 280px;
 			}
 			.tablebox {
 				height: 25%;
@@ -91,14 +146,14 @@
 				text-align: center;
 			}
 			.tablebox table tr th {
-				background-color: rgba(255,255,255,0.3);
+				background-color: rgba(136,176,226,1);
 				cursor: pointer;
 			}
 			.tablebox table tr td {
 				background-color: transparent;
 			}
 			.tbl-body tr:nth-child(even) td,.tbl-body1 tr:nth-child(even) td {
-				background-color: rgba(214, 214, 224, 0.5);
+				background-color: rgba(136, 176, 226, 0.4);
 			}
 			.tablebox table tr td span,
 			.tablebox table tr td span {
@@ -110,14 +165,17 @@
 		<script type="text/javascript" src="../static/js/lib/jquery-3.3.1.min.js"></script>
 	</head>
 	<body style="position: relative">
+		<div id="maoboli"></div>
+		<button id="btn1" onclick="btn1()">灞曞紑</button>
 		<div id="sidebar">
-<!--			<h1>涓壃-绔嬩綋浠撳簱</h1>-->
-			<p1>骞垮窞甯�-骞垮窞濉斿晢鍦�</p1>
-			<p2>ZhongYang Automated warehouse</p2>
+			<p1>涓壃-鏅鸿兘绔嬩綋浠撳簱</p1>
+			<p2>ZhongYang Intelligent Three-Dimensional Warehouse</p2>
 			<div id="baobiao1"></div>
 			<div id="baobiao2"></div>
-			<div class="tablebox">
+			<div id="btn2_m"></div>
+			<button id="btn2" onclick="btn2()">闅愯棌</button>
 
+			<div class="tablebox">
 				<div class="tbl-header">
 					<table border="0" cellspacing="0" cellpadding="0" >
 						<thead>
@@ -131,7 +189,6 @@
 						<tbody style="opacity:0;" ></tbody>
 					</table>
 				</div>
-
 				<div class="tbl-body">
 					<table border="0" cellspacing="0" cellpadding="0">
 						<thead>
@@ -261,12 +318,18 @@
 			option1 = {
 				title: {
 					text: '骞村害杩�/鍑鸿揣閲�',
+					x:'5px',
+					y:'15px',
 					textStyle:{
-						color:'#F8F8FF',
+						color:'#ffffff',
+						fontWeight:400,
+						fontSize: 10,
 					},
 					subtext: 'Data',
 					subtextStyle:{
-						color:'#F8F8FF',
+						align:'center',
+						color:'#ffffff',
+						fontSize: 7,
 					},
 					show: true,
 
@@ -275,14 +338,8 @@
 					trigger: 'axis'
 				},
 				textStyle:{
-					color:'#F8F8FF',
+					color:'#f5f4f4',
 				},
-				// subtextStyle:{
-				// 	color:'#F8F8FF',
-				// },
-				// tooltip: {
-				// 	trigger: 'axis'
-				// },
 				legend: {
 					show:false,
 					data: ['杩涜揣', '鍑鸿揣']
@@ -303,8 +360,12 @@
 						type: 'category',
 						axisTick:{
 							show:false,
+							lineStyle:{
+								color:'#000'
+							}
 						},
 						axisLabel: { //  濡傛灉杩欎釜瀛楁涓嶈缃紝echarts浼氭牴鎹睆瀹藉強妯潗鏍囨暟鎹嚜鍔ㄧ粰鍑洪棿闅�
+							fontSize:9,
 							interval: 1, // 闂撮殧闀垮害锛屽彲鑷畾涔夛紙濡傛灉鏄椂闂存牸寮忥紝echarts浼氳嚜鍔ㄥ鐞嗭級
 							rotate: 0 ,// 妯潗鏍囦笂label鐨勫�炬枩搴�
 							textStyle: {
@@ -313,55 +374,45 @@
 						},
 						axisLine:{
 							lineStyle: {
-								color: '#fff',
-								// width: 8,
+								color: '#e2e1e1',// x杞村埢搴︾嚎鐨勯鑹�
 							}},
-						// prettier-ignore
 						data: ['1鏈�', '2鏈�', '3鏈�', '4鏈�', '5鏈�', '6鏈�', '7鏈�', '8鏈�', '9鏈�', '10鏈�', '11鏈�', '12鏈�']
 					}
 				],
 				yAxis: [
 					{
-						// show:false,
 						type: 'value',
 						offset: -4,
-						// interval: 35
+						axisTick:{
+							show:false,
+						},
+						axisLabel: {
+							fontSize:9,
+						},
+						splitLine:{
+							lineStyle:{
+								color:'#cdcdcd'// y杞村垎鍓茬嚎棰滆壊
+							}
+						}
+
 					}
 				],
 				series: [
 					{
-						color:['#F8F8FF'],
+						color:['#88b0e2'],
 						name: '杩涜揣',
 						type: 'bar',
 						data: [
-							204.5, 65.5, 7.0, 23.2, 25.6, 76.7, 135.6, 162.2, 32.6, 20.0, 6.4, 3.3
+							204.5, 50.5, 15.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' }]
-						// }
 					},
 					{
-						color:['#C0C0C0'],
+						color:['#f8f7f7'],
 						name: '鍑鸿揣',
 						type: 'bar',
 						data: [
-							210, 72.2, 9.0, 26.4, 28.7, 70.7, 175.6, 182.2, 48.7, 18.8, 6.0, 2.3
+							100, 75.2, 33.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' }]
-						// }
 					}
 				],
 
@@ -386,10 +437,13 @@
 					}
 				},
 				title: {
-					left: 'left',
+					x:'5px',
+					y:'15px',
 					text: '閿�鍞欢鏁�',
 					textStyle:{
-						color:'#F8F8FF',
+						color:'#ffffff',
+						fontWeight:400,
+						fontSize: 10,
 					},
 				},
 				toolbox: {
@@ -402,13 +456,41 @@
 						saveAsImage: {}
 					}
 				},
+				textStyle:{
+					color:'#f5f4f4',
+				},
 				xAxis: {
 					type: 'time',
-					boundaryGap: false
+					boundaryGap: false,
+					axisTick:{
+						show:false,
+					},
+					axisLabel: { //  濡傛灉杩欎釜瀛楁涓嶈缃紝echarts浼氭牴鎹睆瀹藉強妯潗鏍囨暟鎹嚜鍔ㄧ粰鍑洪棿闅�
+						fontSize:9,
+						interval: 1, // 闂撮殧闀垮害锛屽彲鑷畾涔夛紙濡傛灉鏄椂闂存牸寮忥紝echarts浼氳嚜鍔ㄥ鐞嗭級
+						rotate: 0 ,// 妯潗鏍囦笂label鐨勫�炬枩搴�
+						textStyle: {
+							color:'#fff'
+						}
+					},
+					axisLine:{
+						lineStyle: {
+							color: '#e2e1e1',// x杞村埢搴︾嚎鐨勯鑹�
+						}},
+
 				},
+
 				yAxis: {
 					type: 'value',
-					boundaryGap: [0, '100%']
+					boundaryGap: [0, '100%'],
+					axisLabel: {
+						fontSize:9,
+					},
+					splitLine:{
+						lineStyle:{
+							color:'#cdcdcd'// y杞村垎鍓茬嚎棰滆壊
+						}
+					}
 				},
 				dataZoom: [
 					{
@@ -427,7 +509,20 @@
 						type: 'line',
 						smooth: true,
 						symbol: 'none',
-						areaStyle: {},
+						areaStyle: {
+							normal: {
+								color: '#88b0e2' //鏀瑰彉鍖哄煙棰滆壊
+							}
+						},
+						itemStyle : {
+							normal : {
+								color:'#dddede', //鏀瑰彉鎶樼嚎鐐圭殑棰滆壊
+								lineStyle:{
+									// color:'#8cd5c2' //鏀瑰彉鎶樼嚎棰滆壊
+									width:0.5,
+								}
+							}
+						},
 						data: data
 					}
 				]
@@ -464,5 +559,20 @@
 
 
 		</script>
+		<script>
+			function btn1() {
+				$('#sidebar').show(300);
+				$('#maoboli').show(300);
+				// $('#btn1').hide(300);
+				$('#btn2').show(300);
+			}
+			function btn2() {
+				$('#sidebar').hide(300);
+				$('#maoboli').hide(300);
+				// $('#btn2').hide(300);
+				// $('#btn1').show(300);
+
+			}
+		</script>
 	</body>
 </html>

--
Gitblit v1.9.1