40 Star 273 Fork 85

GVPCocotais Team/Waddle

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
index.html 2.27 KB
一键复制 编辑 原始数据 按行查看 历史
藻钠Zaona 提交于 2024-07-29 00:47 . [delete]加载动画
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8" />
<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="application-name" content="Waddle" />
<meta name="apple-mobile-web-app-title" content="Waddle" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="msapplication-navbutton-color" content="#6d50f0" />
<meta name="msapplication-starturl" content="/" />
<meta name="theme-color" content="#6d50f0" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="description" content="Basic available instance built on Google Blockly." />
<link rel="icon" type="image/png" href="./src/icon/logo/waddle2mini.png" />
<link rel="apple-touch-icon" type="image/png" href="./src/icon/logo/waddle2mini.png" />
<script src="https://unpkg.com/@dotlottie/player-component@latest/dist/dotlottie-player.mjs" type="module"></script>
<title>Waddle</title>
<!-- <style>
.loading {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
</style> -->
</head>
<body>
<!-- <div class="loading">
<dotlottie-player
src="https://lottie.host/c25ba7ee-630d-49ad-baac-f9c547ffa20a/fF7eOl0RZM.lottie"
background="transparent"
speed="1"
style="width: 300px; height: 300px"
loop
autoplay
></dotlottie-player>
<script>
let a;
switch (localStorage.getItem("theme")) {
case "亮色模式":
a = "#ffffff";
break;
case "暗黑模式":
a = "#17171A";
break;
default:
if (window.matchMedia("(prefers-color-scheme: dark)").matches) {
a = "#17171A";
} else {
a = "#ffffff";
}
}
document.querySelector(".loading").style.background = a;
</script>
</div> -->
<div id="app"></div>
<script type="module" src="./src/main.js"></script>
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/cocotais/waddle.git
git@gitee.com:cocotais/waddle.git
cocotais
waddle
Waddle
master

搜索帮助