1 Star 0 Fork 252

mahuan / Cesium三维可视化管理

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
index.html 1.03 KB
一键复制 编辑 原始数据 按行查看 历史
St_song 提交于 2019-12-31 17:43 . no commit message
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>index</title>
</head>
<body>
<h1 >远程服务器未响应!<span id="content">30</span>秒!</h1>
<a href="" id="homeBtn">返回主页</a>
<script>
const url = require('url');
const path = require('path');
const fs = require("fs");
const newFile_path = path.join(__dirname, 'data/appconfig.json').replace(/\\/g, "\/");
var appCfg = JSON.parse(fs.readFileSync(newFile_path));
var serverPage=appCfg.serverPageUrl+'?licence='+appCfg.licence;
document.getElementById('homeBtn').href= serverPage+"";
//定义函数
function count() {
var myspan = document.getElementById('content');
var number = myspan.innerHTML;
number--;
document.getElementById('content').innerHTML = number;
if (number == 0) {
window.location.href = "http://localhost:8080/vfweb/school/loginout?licence=000001";
}
}
//设置定时器,调用函数
setInterval("count()", 1000);
</script>
</body>
</html>
HTML/CSS
1
https://gitee.com/mahuan777/cs3d.git
git@gitee.com:mahuan777/cs3d.git
mahuan777
cs3d
Cesium三维可视化管理
server

搜索帮助