huiyi-h5/index.html

63 lines
1.8 KiB
HTML
Raw Normal View History

2024-02-10 08:25:41 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, viewport-fit=cover, user-scalable=no"/>
<link rel="icon" href="/favicon.ico" />
<script>
// ;(function () {
// const prefersDark = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches
// const setting = localStorage.getItem('vueuse-color-scheme') || 'auto'
// if (setting === 'dark' || (prefersDark && setting !== 'light'))
// document.documentElement.classList.toggle('dark', true)
// })()
</script>
</head>
<body>
<div id="app">
<style>
html,
body,
#app {
height: 100%;
margin: 0px;
padding: 0px;
width: 100%;
}
.__spinner-container {
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.__spinner {
position: relative;
width: 68px;
height: 68px;
background-color: #41b883;
animation: cube-shadow-spinner 1.8s cubic-bezier(0.75, 0, 0.5, 1)
infinite;
}
@keyframes cube-shadow-spinner {
50% {
border-radius: 50%;
transform: scale(0.5) rotate(360deg);
}
100% {
transform: scale(1) rotate(720deg);
}
}
</style>
<div class="__spinner-container">
<div class="__spinner"></div>
</div>
</div>
<script type="module" src="/src/main.ts"></script>
<noscript>
This website requires JavaScript to function properly.
Please enable JavaScript to continue.
</noscript>
</body>
</html>