77 lines
2.4 KiB
HTML
77 lines
2.4 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>写实无尽海洋场景</title>
|
|
<link
|
|
rel="icon"
|
|
href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0%25' stop-color='%2359b7ff'/%3E%3Cstop offset='100%25' stop-color='%23003a70'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='64' height='64' rx='14' fill='url(%23g)'/%3E%3Cpath d='M10 38c6 0 6-4 12-4s6 4 12 4 6-4 12-4 6 4 8 4v10H10z' fill='%23ffffff' fill-opacity='.92'/%3E%3Cpath d='M10 28c6 0 6-4 12-4s6 4 12 4 6-4 12-4 6 4 8 4v6c-6 0-6-4-12-4s-6 4-12 4-6-4-12-4-6 4-8 4z' fill='%23bfe8ff' fill-opacity='.75'/%3E%3C/svg%3E"
|
|
>
|
|
<style>
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
overflow: hidden;
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
}
|
|
|
|
#container {
|
|
width: 100vw;
|
|
height: 100vh;
|
|
position: relative;
|
|
}
|
|
|
|
#loading {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
z-index: 1000;
|
|
color: white;
|
|
}
|
|
|
|
#loading h1 {
|
|
font-size: 2em;
|
|
margin-bottom: 20px;
|
|
text-shadow: 0 2px 10px rgba(0,0,0,0.3);
|
|
}
|
|
|
|
.loader {
|
|
width: 60px;
|
|
height: 60px;
|
|
border: 4px solid rgba(255,255,255,0.3);
|
|
border-top-color: white;
|
|
border-radius: 50%;
|
|
animation: spin 1s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="loading">
|
|
<h1>写实海洋场景</h1>
|
|
<div class="loader"></div>
|
|
<p style="margin-top: 20px; opacity: 0.8;">正在加载场景...</p>
|
|
</div>
|
|
|
|
<div id="container"></div>
|
|
|
|
<script type="module" src="/src/main.js"></script>
|
|
</body>
|
|
</html>
|