加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
index.html 3.32 KB
一键复制 编辑 原始数据 按行查看 历史
iwun 提交于 2017-08-21 14:23 . fix
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0"/>
<meta name="apple-touch-fullscreen" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<meta name="x5-fullscreen" content="true">
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"/>
<title>Virtual Earth</title>
<link href="./Build/Cesium/Widgets/widgets.css" rel="stylesheet">
<link href="./css/bootstrap.min.css" rel="stylesheet">
<link href="./css/flat-ui.min.css" rel="stylesheet">
<link href="./css/bootstrap-treeview.min.css" rel="stylesheet">
<link href="./css/se.css" rel="stylesheet">
<style>
html, body, #cesiumContainer {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
overflow: hidden;
background: #000;
color: #eee;
font-family: sans-serif;
font-size: 10pt;
}
</style>
</head>
<body>
<div id="cesiumContainer">
</div>
<a href="https://github.com/iWun/3d-earth-visualization"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/38ef81f8aca64bb9a64448d0d70f1308ef5341ab/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png"></a>
<div id="loadOverlay" class='loadingOverlay'>
<ul id="loadbar" class="ins">
<li>
<div id="loadinglayer1" class="ball"></div>
<div id="loadinglayer7" class="pulse"></div>
</li>
<li>
<div id="loadinglayer2" class="ball"></div>
<div id="loadinglayer8" class="pulse"></div>
</li>
<li>
<div id="loadinglayer3" class="ball"></div>
<div id="loadinglayer9" class="pulse"></div>
</li>
<li>
<div id="loadinglayer4" class="ball"></div>
<div id="loadinglayer10" class="pulse"></div>
</li>
<li>
<div id="loadinglayer5" class="ball"></div>
<div id="loadinglayer11" class="pulse"></div>
</li>
</ul>
</div>
<script>
/* var loadingInterval = setInterval(function(){
var loadingBar = document.getElementById('loadbar');
loadingBar.className = "";
setTimeout(function(){
loadingBar.className = "ins"
},10);
},3500); */
Window.LOADING_FLAG = true;
var loadingBar = document.getElementById('loadbar');
var oldTime = new Date().getTime();
var dTime;
function run() {
var curTime = new Date().getTime();
if (curTime - oldTime >= 3500) {
loadingBar.className = "";
if (curTime - oldTime >= 3550) {
loadingBar.className = "ins";
oldTime = curTime;
}
}
if (Window.LOADING_FLAG == true) {
requestAnimationFrame(run);
}
}
requestAnimationFrame(run);
</script>
<script src="js/lib/require.min.js" data-main="js/index"></script>
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化