1 Star 0 Fork 4

logicjwell/uni-pptx

forked from ~朴:shu/uni-pptx 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
index.html 2.22 KB
一键复制 编辑 原始数据 按行查看 历史
~朴:shu 提交于 2024-10-30 16:16 . feat:新增 index.html Loding 效果
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="shortcut icon" href="/public/icon.svg" type="image/x-icon" />
<link rel="stylesheet" href="./src/style/index.less" />
<title>UniPPT - 在线演示文稿</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
#app {
width: 1000px;
height: 100vh;
overflow: hidden;
}
.konva-root-loading {
transition: all 0.3s;
animation: dialog-enter-animation 0.3s ease-in-out;
position: absolute;
left: 0;
top: 0;
width: 100vw;
height: 100vh;
background-color: rgba(255, 255, 255, 0.5);
backdrop-filter: blur(5px);
/* 背景模糊 */
-webkit-backdrop-filter: blur(5px);
/* 兼容老版本 Safari */
z-index: 9999;
display: flex;
align-content: center;
justify-content: center;
color: var(--konva-main-color, #ff5e00);
font-size: 22px;
}
.konva-root-loading > div {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
@keyframes l3 {
to {
transform: rotate(1turn);
}
}
/* HTML: <div class="loader"></div> */
.konva-root-loading > div .loader {
margin-right: 10px;
width: 36px;
padding: 4px;
aspect-ratio: 1;
border-radius: 50%;
background: var(--konva-main-color, #ff5e00);
--_m: conic-gradient(#0000 10%, #000),
linear-gradient(#000 0 0) content-box;
-webkit-mask: var(--_m);
mask: var(--_m);
-webkit-mask-composite: source-out;
mask-composite: subtract;
animation: l3 1s infinite linear;
}
</style>
</head>
<body>
<div id="app"></div>
<div class="konva-root-loading">
<div class="konva-root-loading-content">
<div class="loader"></div>
<div class="text">资源加载中...</div>
</div>
</div>
<script type="module" src="./src/main.ts"></script>
</body>
</html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/logicjwell/uni-pptx.git
git@gitee.com:logicjwell/uni-pptx.git
logicjwell
uni-pptx
uni-pptx
master-alpha

搜索帮助