Ai
1 Star 0 Fork 1

李博文/vueElementAdminJs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
index.html 1.93 KB
一键复制 编辑 原始数据 按行查看 历史
李博文 提交于 2024-12-18 22:38 +08:00 . 增加loading
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>后台管理系统</title>
<style>
.app-loading {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
display: flex;
justify-content: center;
align-items: center;
background: #f0f2f5;
z-index: 9999;
}
.app-loading .app-loading-wrap {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.app-loading .dots {
display: flex;
padding: 98px;
justify-content: center;
}
.app-loading .dots span {
display: inline-block;
margin: 0 5px;
width: 10px;
height: 10px;
border-radius: 50%;
background: var(--el-color-primary, #409eff);
animation: fade 1s infinite ease-in-out alternate;
}
.app-loading .dots span:nth-child(2) {
animation-delay: 0.2s;
}
.app-loading .dots span:nth-child(3) {
animation-delay: 0.4s;
}
.app-loading .title {
font-size: 20px;
color: #333;
text-align: center;
margin-top: 30px;
}
@keyframes fade {
from {
opacity: 1;
transform: scale(1);
}
to {
opacity: 0.2;
transform: scale(0.75);
}
}
</style>
</head>
<body>
<div id="app">
<div class="app-loading">
<div class="app-loading-wrap">
<div class="dots">
<span></span>
<span></span>
<span></span>
</div>
<div class="title">正在加载中...</div>
</div>
</div>
</div>
<script type="module" src="/src/main.js"></script>
</body>
</html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/sulbw/vue-element-admin-js.git
git@gitee.com:sulbw/vue-element-admin-js.git
sulbw
vue-element-admin-js
vueElementAdminJs
master

搜索帮助