1 Star 0 Fork 0

凌翔/果园

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
index.html 1.72 KB
一键复制 编辑 原始数据 按行查看 历史
凌翔 提交于 2020-05-15 15:04 . no commit message
<!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,user-scalable=no,initial-scale=1,maximum-scale=1,minimum-scale=1">
<title>福州钻石农场</title>
<script type="text/javascript">
var viewPath = location.hash
var timestamp = Date.parse(new Date());
// if (viewPath && viewPath.indexOf("index.html") > -1) {
// viewPath = 'http://soells.gitee.io/orchard/h5/index.html'
// } else if (viewPath) {
// viewPath = viewPath.slice(1)
// } else {
// viewPath = 'http://soells.gitee.io/orchard/h5/index.html'
// }
if (window.location.search.length > 0) {
viewPath = 'http://soells.gitee.io/orchard/h5/index.html' +
window.location.search + "&t=" + timestamp
} else {
viewPath = 'http://soells.gitee.io/orchard/h5/index.html?t=' + timestamp
}
document
.addEventListener(
'DOMContentLoaded',
function() {
document.getElementById("h5-viwer").src = viewPath
}, false);
</script>
<style type="text/css">
body {
position: absolute;
width: 100%;
height: 100%;
overflow: hidden;
}
.h5-viwer-box {
position: fixed;
width: 100%;
height: 100%;
top: 0;
right: 0;
/*top: 8vh;
box-sizing: content-box;
border: solid 10px #000000;
border-radius: 10px;
box-shadow: #DDDDDD 10px 10px 20px;*/
}
.h5-viwer {
width: 100%;
height: 100%;
border: 0;
padding: 0;
}
</style>
</head>
<body>
<div class="h5-viwer-box">
<iframe id="h5-viwer" class="h5-viwer" src=viewPath width="100%" height="100%"></iframe>
</div>
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/soells/orchard.git
git@gitee.com:soells/orchard.git
soells
orchard
果园
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385