1 Star 0 Fork 7

徒步青年i/icloud-mobile

forked from JGDT/icloud-mobile 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
index.html 1.79 KB
一键复制 编辑 原始数据 按行查看 历史
happyplus_chen 提交于 2023-07-06 16:49 . feat: h5 loading
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<script>
var coverSupport =
'CSS' in window &&
typeof CSS.supports === 'function' &&
(CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
document.write(
'<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
(coverSupport ? ', viewport-fit=cover' : '') +
'" />'
)
</script>
<title></title>
<% if(isH5){ %>
<style>
.app-loading {
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.loader {
width: 48px;
height: 48px;
border: 5px solid #9e9e9e;
border-bottom-color: transparent;
border-radius: 50%;
display: inline-block;
box-sizing: border-box;
animation: rotation 1s linear infinite;
}
@keyframes rotation {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
</style>
<% }%>
<!--preload-links-->
<!--app-context-->
</head>
<body>
<div id="app">
<% if(isH5){ %>
<div class="app-loading">
<div style="font-size: 25px">应用云平台</div>
<div style="font-size: 18px">一体化运营管理平台</div>
<img
style="width: 100px; height: 62px; margin-top: 20px"
src="../../../static/images/logo.png"
alt=""
/>
<div style="position: fixed; bottom: 30px">
<div class="loader"></div>
</div>
</div>
<% }%>
</div>
<script type="module" src="/src/main.js"></script>
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xiaolin1129/icloud-mobile.git
git@gitee.com:xiaolin1129/icloud-mobile.git
xiaolin1129
icloud-mobile
icloud-mobile
dev

搜索帮助

0d507c66 1850385 C8b1a773 1850385