like 6 månader sedan
förälder
incheckning
be85583e06

+ 134 - 28
snowy-admin-web/index.html

@@ -1,35 +1,141 @@
 <!DOCTYPE html>
 <html lang="zh_cn">
+
 <head>
-  <meta charset="utf-8">
-  <meta http-equiv="X-UA-Compatible" content="IE=edge">
-  <meta name="viewport" content="width=device-width,initial-scale=1.0">
-  <link rel="icon" href="/favicon.ico">
-  <title>Snowy</title>
-  <style>
-    .dot{animation:antRotate 1.2s infinite linear;transform:rotate(45deg);position:relative;display:inline-block;font-size:32px;width:32px;height:32px;box-sizing:border-box}.dot i{width:14px;height:14px;position:absolute;display:block;background-color:#1677FF;border-radius:100%;transform:scale(.75);transform-origin:50% 50%;opacity:.3;animation:antSpinMove 1s infinite linear alternate}.dot i:nth-child(1){top:0;left:0}.dot i:nth-child(2){top:0;right:0;-webkit-animation-delay:.4s;animation-delay:.4s}.dot i:nth-child(3){right:0;bottom:0;-webkit-animation-delay:.8s;animation-delay:.8s}.dot i:nth-child(4){bottom:0;left:0;-webkit-animation-delay:1.2s;animation-delay:1.2s}@keyframes antRotate{to{-webkit-transform:rotate(405deg);transform:rotate(405deg)}}@-webkit-keyframes antRotate{to{-webkit-transform:rotate(405deg);transform:rotate(405deg)}}@keyframes antSpinMove{to{opacity:1}}@-webkit-keyframes antSpinMove{to{opacity:1}}
-    .app-loading {position: absolute;top:0;left:0;right:0;bottom:0;display: flex;justify-content: center;align-items: center;flex-direction: column;background: #fff;}
-    .app-loading-logo {margin-bottom: 30px;}
-    .app-loading-logo img {width: 90px;vertical-align: bottom;}
-    .app-loading-title {font-size: 24px;color: #333;margin-top: 30px;}
-	.app-main { height: 100% }
-    @keyframes loader {
-      0% {
-        transform: rotate(0deg);
-      }
-      100% {
-        transform: rotate(360deg);
-      }
-    }
-  </style>
+	<meta charset="utf-8">
+	<meta http-equiv="X-UA-Compatible" content="IE=edge">
+	<meta name="viewport" content="width=device-width,initial-scale=1.0">
+	<link rel="icon" href="/favicon.ico">
+	<title>冷链平台</title>
+	<style>
+		.dot {
+			animation: antRotate 1.2s infinite linear;
+			transform: rotate(45deg);
+			position: relative;
+			display: inline-block;
+			font-size: 32px;
+			width: 32px;
+			height: 32px;
+			box-sizing: border-box
+		}
+
+		.dot i {
+			width: 14px;
+			height: 14px;
+			position: absolute;
+			display: block;
+			background-color: #1677FF;
+			border-radius: 100%;
+			transform: scale(.75);
+			transform-origin: 50% 50%;
+			opacity: .3;
+			animation: antSpinMove 1s infinite linear alternate
+		}
+
+		.dot i:nth-child(1) {
+			top: 0;
+			left: 0
+		}
+
+		.dot i:nth-child(2) {
+			top: 0;
+			right: 0;
+			-webkit-animation-delay: .4s;
+			animation-delay: .4s
+		}
+
+		.dot i:nth-child(3) {
+			right: 0;
+			bottom: 0;
+			-webkit-animation-delay: .8s;
+			animation-delay: .8s
+		}
+
+		.dot i:nth-child(4) {
+			bottom: 0;
+			left: 0;
+			-webkit-animation-delay: 1.2s;
+			animation-delay: 1.2s
+		}
+
+		@keyframes antRotate {
+			to {
+				-webkit-transform: rotate(405deg);
+				transform: rotate(405deg)
+			}
+		}
+
+		@-webkit-keyframes antRotate {
+			to {
+				-webkit-transform: rotate(405deg);
+				transform: rotate(405deg)
+			}
+		}
+
+		@keyframes antSpinMove {
+			to {
+				opacity: 1
+			}
+		}
+
+		@-webkit-keyframes antSpinMove {
+			to {
+				opacity: 1
+			}
+		}
+
+		.app-loading {
+			position: absolute;
+			top: 0;
+			left: 0;
+			right: 0;
+			bottom: 0;
+			display: flex;
+			justify-content: center;
+			align-items: center;
+			flex-direction: column;
+			background: #fff;
+		}
+
+		.app-loading-logo {
+			margin-bottom: 30px;
+		}
+
+		.app-loading-logo img {
+			width: 90px;
+			vertical-align: bottom;
+		}
+
+		.app-loading-title {
+			font-size: 24px;
+			color: #333;
+			margin-top: 30px;
+		}
+
+		.app-main {
+			height: 100%
+		}
+
+		@keyframes loader {
+			0% {
+				transform: rotate(0deg);
+			}
+
+			100% {
+				transform: rotate(360deg);
+			}
+		}
+	</style>
 
 </head>
+
 <body>
-<noscript>
-  <strong>We're sorry but Snowy doesn't work properly without JavaScript
-    enabled. Please enable it to continue.</strong>
-</noscript>
-<div id="app" class="app-main"></div>
-<script type="module" src="/src/main.js"></script>
+	<noscript>
+		<strong>We're sorry but Snowy doesn't work properly without JavaScript
+			enabled. Please enable it to continue.</strong>
+	</noscript>
+	<div id="app" class="app-main"></div>
+	<script type="module" src="/src/main.js"></script>
 </body>
-</html>
+
+</html>

+ 3 - 11
snowy-admin-web/src/components/HomeCard/SysCountCard/index.vue

@@ -18,15 +18,7 @@
 				<img src="/src/assets/images/home/02.png" class="right-img" />
 			</div>
 		</div>
-		<div class="ant-card-body">
-			<div class="card-left">
-				<div class="left-title">超限</div>
-				<div class="left-count">{{ dataSource.cx }}</div>
-			</div>
-			<div class="card-right">
-				<img src="/src/assets/images/home/03.png" class="right-img" />
-			</div>
-		</div>
+
 		<div class="ant-card-body">
 			<div class="card-left">
 				<div class="left-title">断线</div>
@@ -38,7 +30,7 @@
 		</div>
 		<div class="ant-card-body">
 			<div class="card-left">
-				<div class="left-title">闲置维修</div>
+				<div class="left-title">未绑定</div>
 				<div class="left-count">{{ dataSource.xzwx }}</div>
 			</div>
 			<div class="card-right">
@@ -72,7 +64,7 @@
 		justify-content: space-between;
 
 		.ant-card-body {
-			flex: 0 0 calc(20% - 10px);
+			flex: 0 0 calc(25% - 10px);
 			width: 100%;
 			height: 150px;
 			margin-bottom: 10px;

+ 2 - 2
snowy-admin-web/src/config/index.js

@@ -85,11 +85,11 @@ const DEFAULT_CONFIG = {
 		// 背景图
 		SNOWY_SYS_BACK_IMAGE: '',
 		// 系统名称
-		SNOWY_SYS_NAME: '冷链监控管理系统',
+		SNOWY_SYS_NAME: '冷链平台',
 		// 版本
 		SNOWY_SYS_VERSION: '2.0',
 		// 版权
-		SNOWY_SYS_COPYRIGHT: 'Snowy ©2022 Created by xiaonuo.vip',
+		SNOWY_SYS_COPYRIGHT: '冷链平台 ©2022 Created by xiaonuo.vip',
 		// 版权跳转URL
 		SNOWY_SYS_COPYRIGHT_URL: 'https://www.xiaonuo.vip',
 		// 默认文件存储

+ 1 - 1
snowy-admin-web/src/layout/menu/classicalMenu.vue

@@ -6,7 +6,7 @@
 			:trigger="null"
 			collapsible
 			:theme="sideTheme"
-			width="250"
+			width="220"
 			:style="{ backgroundColor: sideTheme && sideTheme == 'dark' ? '#1b1c1e' : '' }"
 		>
 			<header id="snowyHeaderLogo" class="snowy-header-logo">

+ 0 - 1
snowy-admin-web/src/utils/loading.js

@@ -17,7 +17,6 @@ export const NextLoading = {
 				  <img src="/img/logo.png"/>
 				</div>
 				<div><span class="dot dot-spin"><i></i><i></i><i></i><i></i></span></div>
-				<div class="app-loading-title">Snowy</div>
 			</div>`
 		body.insertBefore(div, body.childNodes[0])
 		window.nextLoading = true