Explorar el Código

等待页面调整

wang_xy hace 2 años
padre
commit
17a973eef3
Se han modificado 1 ficheros con 113 adiciones y 30 borrados
  1. 113 30
      public/index.html

+ 113 - 30
public/index.html

@@ -1,14 +1,14 @@
 <!DOCTYPE html>
 <html>
-  <head>
-    <meta charset="utf-8">
-    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
-    <meta name="renderer" content="webkit">
-    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
-    <link rel="icon" href="<%= BASE_URL %>favicon.ico">
-    <title><%= webpackConfig.name %></title>
-    <!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]-->
-	  <style>
+<head>
+  <meta charset="utf-8">
+  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+  <meta name="renderer" content="webkit">
+  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
+  <link rel="icon" href="<%= BASE_URL %>favicon.ico">
+  <title><%= webpackConfig.name %></title>
+  <!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]-->
+  <style>
     html,
     body,
     #app {
@@ -193,29 +193,112 @@
       color: #FFF;
       opacity: 0.5;
     }
-  </style>
-  </head>
-  <body>
-<!--  <link rel="stylesheet" href="./supermap/libs/plotting/leaflet/10.2.1/iclient-plot-leaflet.css">-->
-  <script type="text/javascript" include="leaflet,leaflet.sidebyside,iclient-leaflet,iclient-plot-leaflet,leaflet.draw,leaflet.markercluster,leaflet.heat" src="./supermap/dist/leaflet/include-leaflet.js"></script>
-  <script type="text/javascript" include="bootstrap,plottingPanel,fileupLoad,widgets.alert" src="./supermap/examples/js/include-web.js"></script>
-<!--  <script type="text/javascript" include="iclient-classic" src="./supermap/dist/classic/include-classic.js"></script>-->
-<!--  <script type="text/javascript" src="./supermap/libs/plotting/leaflet/10.2.1/iclient-plot-leaflet-es6.min.js"></script>-->
-  <script type="text/javascript" include="PlotPanel,StylePanel,SMLInfosPanel,iPortalStylePanel" src="./supermap/examples/js/plottingPanel/PlottingPanel.Include.js"></script>
+    .loading {
+      width: 40px;
+      height: 40px;
+      margin: 0 auto;
+      position: relative;
+      top: 40%;
+      position: relative;
+      -webkit-animation: load 1.5s linear infinite;
+    }
+
+    .loading div {
+      width: 100%;
+      height: 100%;
+      position: absolute;
+    }
+
+    .loading span {
+      display: inline-block;
+      width: 20px;
+      height: 20px;
+      border-radius: 50%;
+      background: #99CC66;
+      position: absolute;
+      left: 50%;
+      margin-top: -10px;
+      margin-left: -10px;
+      -webkit-animation: changeBgColor 3s ease infinite;
+    }
+
+    @-webkit-keyframes load {
+      0% {
+        -webkit-transform: rotate(0deg);
+      }
+      33.3% {
+        -webkit-transform: rotate(120deg);
+      }
+      66.6% {
+        -webkit-transform: rotate(240deg);
+      }
+      100% {
+        -webkit-transform: rotate(360deg);
+      }
+    }
+
+    @-webkit-keyframes changeBgColor {
+      0%, 100% {
+        background: #2db2cc;
+      }
+      33.3% {
+        background: #FFFF66;
+      }
+      66.6% {
+        background: #FF6666;
+      }
+    }
 
+    .loading div:nth-child(2) {
+      -webkit-transform: rotate(120deg);
+    }
+
+    .loading div:nth-child(3) {
+      -webkit-transform: rotate(240deg);
+    }
 
+    .loading div:nth-child(2) span {
+      -webkit-animation-delay: 1s;
+    }
+
+    .loading div:nth-child(3) span {
+      -webkit-animation-delay: 2s;
+    }
+
+  </style>
+</head>
+<body>
 <!--三个必要的js文件引入-->
 <!--<script src="./hk/jquery-1.12.4.min.js"></script>-->
-<script src="./hk/jsencrypt.min.js"></script>            <!-- 用于RSA加密 -->
-<script src="./hk/jsWebControl-1.0.0.min.js"></script>   <!-- 用于前端与插件交互 -->
-
-    <div id="app">
-	    <div id="loader-wrapper">
-		    <div id="loader"></div>
-		    <div class="loader-section section-left"></div>
-		    <div class="loader-section section-right"></div>
-		    <div class="load_title">正在加载系统资源,请耐心等待</div>
-        </div>
-	</div>
-  </body>
+<script src="hk/jsencrypt.min.js"></script>            <!-- 用于RSA加密 -->
+<script src="hk/jsWebControl-1.0.0.min.js"></script>   <!-- 用于前端与插件交互 -->
+<!--<script src="h5player/h5player.min.js"></script>-->
+
+
+
+<!--  <link rel="stylesheet" href="./supermap/libs/plotting/leaflet/10.2.1/iclient-plot-leaflet.css">-->
+<script type="text/javascript"
+        include="leaflet,leaflet.sidebyside,iclient-leaflet,iclient-plot-leaflet,leaflet.draw,leaflet.markercluster,leaflet.heat"
+        src="./supermap/dist/leaflet/include-leaflet.js"></script>
+<script type="text/javascript" include="bootstrap,plottingPanel,fileupLoad,widgets.alert"
+        src="./supermap/examples/js/include-web.js"></script>
+<!--  <script type="text/javascript" include="iclient-classic" src="./supermap/dist/classic/include-classic.js"></script>-->
+<!--  <script type="text/javascript" src="./supermap/libs/plotting/leaflet/10.2.1/iclient-plot-leaflet-es6.min.js"></script>-->
+<script type="text/javascript" include="PlotPanel,StylePanel,SMLInfosPanel,iPortalStylePanel"
+        src="./supermap/examples/js/plottingPanel/PlottingPanel.Include.js"></script>
+<div id="app">
+  <div class="loading">
+    <div><span></span></div>
+    <div><span></span></div>
+    <div><span></span></div>
+  </div>
+  <div style="top: 48%; position: absolute; left: 50%; transform: translateX(-50%);">正在努力加载中,请稍候...</div>
+  <!--<div id="loader-wrapper">-->
+  <!--<div id="loader"></div>-->
+  <!--<div class="loader-section section-left"></div>-->
+  <!--<div class="loader-section section-right"></div>-->
+  <!--<div class="load_title">正在加载系统资源,请耐心等待</div>-->
+  <!--</div>-->
+</div>
+</body>
 </html>