update: 2026-03-28 20:59
This commit is contained in:
@@ -3,19 +3,19 @@
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="theme-color" content="#667eea" />
|
||||
<meta name="description" content="✨ 万象口袋 - 一个多功能的聚合软件应用,提供聚合应用、小游戏、AI模型工具等丰富功能" />
|
||||
<meta name="keywords" content="聚合应用,热搜榜单,小游戏,AI模型,实时资讯,工具集合" />
|
||||
<meta name="author" content="万象口袋" />
|
||||
<meta name="application-name" content="万象口袋" />
|
||||
|
||||
<!-- PWA / App meta -->
|
||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
|
||||
<meta name="apple-mobile-web-app-title" content="万象口袋" />
|
||||
<meta name="mobile-web-app-capable" content="yes" />
|
||||
<meta name="msapplication-TileColor" content="#667eea" />
|
||||
<meta name="msapplication-TileImage" content="%PUBLIC_URL%/icons/icon-192.png" />
|
||||
<meta name="theme-color" content="#81c784" />
|
||||
<meta name="description" content="万象口袋 - 一个多功能的聚合软件应用,提供聚合应用、小游戏、AI模型工具等丰富功能" />
|
||||
<meta name="keywords" content="聚合应用,热搜榜单,小游戏,AI模型,实时资讯,工具集合" />
|
||||
<meta name="author" content="万象口袋" />
|
||||
<meta name="application-name" content="万象口袋" />
|
||||
|
||||
<!-- PWA / App meta -->
|
||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
|
||||
<meta name="apple-mobile-web-app-title" content="万象口袋" />
|
||||
<meta name="mobile-web-app-capable" content="yes" />
|
||||
<meta name="msapplication-TileColor" content="#81c784" />
|
||||
<meta name="msapplication-TileImage" content="%PUBLIC_URL%/icons/icon-192.png" />
|
||||
|
||||
<!-- Open Graph / Facebook -->
|
||||
<meta property="og:type" content="website" />
|
||||
@@ -24,15 +24,15 @@
|
||||
|
||||
<!-- Twitter -->
|
||||
<meta property="twitter:card" content="summary_large_image" />
|
||||
<meta property="twitter:title" content="万象口袋" />
|
||||
<meta property="twitter:description" content="🎨一个跨平台的多功能聚合软件应用" />
|
||||
|
||||
<!-- Favicon -->
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="%PUBLIC_URL%/icons/favicon-32.png" />
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="%PUBLIC_URL%/icons/favicon-16.png" />
|
||||
|
||||
<!-- Apple Touch Icon -->
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="%PUBLIC_URL%/icons/apple-touch-icon.png" />
|
||||
<meta property="twitter:title" content="万象口袋" />
|
||||
<meta property="twitter:description" content="🎨一个跨平台的多功能聚合软件应用" />
|
||||
|
||||
<!-- Favicon -->
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="%PUBLIC_URL%/icons/favicon-32.png" />
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="%PUBLIC_URL%/icons/favicon-16.png" />
|
||||
|
||||
<!-- Apple Touch Icon -->
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="%PUBLIC_URL%/icons/apple-touch-icon.png" />
|
||||
|
||||
<!-- Manifest -->
|
||||
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
||||
@@ -44,282 +44,135 @@
|
||||
<title>万象口袋</title>
|
||||
|
||||
<style>
|
||||
/* 加载动画 */
|
||||
#loading {
|
||||
#splash {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: linear-gradient(135deg, #90EE90 0%, #F0E68C 100%);
|
||||
inset: 0;
|
||||
z-index: 9999;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
z-index: 9999;
|
||||
color: white;
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
|
||||
background: linear-gradient(135deg, #a8e6cf 0%, #dcedc1 50%, #ffd3a5 100%);
|
||||
font-family: 'KaiTi', '楷体', 'STKaiti', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* 背景粒子动画 */
|
||||
#loading::before {
|
||||
|
||||
/* 背景脉冲光晕 */
|
||||
#splash::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background:
|
||||
radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
|
||||
radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
|
||||
radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
|
||||
animation: backgroundFloat 8s ease-in-out infinite;
|
||||
width: 400px; height: 400px;
|
||||
border-radius: 50%;
|
||||
background: radial-gradient(circle, rgba(129,199,132,0.35) 0%, transparent 70%);
|
||||
animation: bgPulse 4s ease-in-out infinite;
|
||||
}
|
||||
|
||||
/* 流动渐变背景 */
|
||||
#loading::after {
|
||||
#splash::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: -50%;
|
||||
left: -50%;
|
||||
width: 200%;
|
||||
height: 200%;
|
||||
background: linear-gradient(
|
||||
45deg,
|
||||
transparent,
|
||||
rgba(255, 255, 255, 0.03),
|
||||
transparent,
|
||||
rgba(255, 255, 255, 0.03),
|
||||
transparent
|
||||
);
|
||||
animation: gradientFlow 6s linear infinite;
|
||||
width: 600px; height: 600px;
|
||||
border-radius: 50%;
|
||||
background: radial-gradient(circle, rgba(255,211,165,0.2) 0%, transparent 70%);
|
||||
animation: bgPulse 4s ease-in-out infinite 2s;
|
||||
}
|
||||
|
||||
/* Logo容器 */
|
||||
.loading-logo-container {
|
||||
|
||||
/* Logo 区域 */
|
||||
.splash-logo-wrap {
|
||||
position: relative;
|
||||
margin-bottom: 24px;
|
||||
width: 120px; height: 120px;
|
||||
margin-bottom: 28px;
|
||||
}
|
||||
|
||||
/* Logo增强动画 */
|
||||
#loading .loading-logo {
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
border-radius: 12px;
|
||||
|
||||
.splash-logo {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
animation: logoEnhanced 3s ease-in-out infinite;
|
||||
filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
|
||||
width: 100%; height: 100%;
|
||||
border-radius: 24px;
|
||||
box-shadow: 0 8px 32px rgba(46,125,50,0.25);
|
||||
animation: logoFloat 3s ease-in-out infinite;
|
||||
}
|
||||
|
||||
/* Logo光晕效果 */
|
||||
.loading-logo-container::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: -10px;
|
||||
left: -10px;
|
||||
right: -10px;
|
||||
bottom: -10px;
|
||||
background: linear-gradient(45deg, rgba(144, 238, 144, 0.3), rgba(240, 230, 140, 0.3), rgba(144, 238, 144, 0.3));
|
||||
border-radius: 20px;
|
||||
z-index: 1;
|
||||
animation: logoGlow 3s ease-in-out infinite;
|
||||
opacity: 0.4;
|
||||
}
|
||||
|
||||
/* 文字容器 */
|
||||
.loading-text-container {
|
||||
position: relative;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
/* 标题文字增强动画 */
|
||||
#loading .loading-text {
|
||||
font-size: 34px;
|
||||
font-weight: bold;
|
||||
background: linear-gradient(45deg, #ffffff, #f0f8ff, #ffffff, #e6f3ff);
|
||||
background-size: 300% 300%;
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
animation: textGradient 3s ease-in-out infinite, textFloat 4s ease-in-out infinite;
|
||||
text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
|
||||
/* 描述文字动画 */
|
||||
#loading .loading-desc {
|
||||
font-size: 20px;
|
||||
color: rgba(255, 255, 255, 0.9);
|
||||
margin-bottom: 32px;
|
||||
animation: descFloat 5s ease-in-out infinite;
|
||||
text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
/* 加载器容器 */
|
||||
.loading-spinner-container {
|
||||
position: relative;
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
}
|
||||
|
||||
/* 主加载器 */
|
||||
#loading .loading-spinner {
|
||||
width: 56px;
|
||||
height: 56px;
|
||||
border: 4px solid transparent;
|
||||
border-top: 4px solid #ffffff;
|
||||
border-right: 4px solid rgba(255, 255, 255, 0.8);
|
||||
border-bottom: 4px solid rgba(255, 255, 255, 0.6);
|
||||
border-left: 4px solid rgba(255, 255, 255, 0.4);
|
||||
border-radius: 50%;
|
||||
|
||||
/* 三层扩散环 */
|
||||
.splash-ring {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
animation: spinEnhanced 1.2s linear infinite;
|
||||
}
|
||||
|
||||
/* 外层加载器 */
|
||||
.loading-spinner-container::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
border: 3px solid transparent;
|
||||
border-top: 3px solid rgba(255, 255, 255, 0.4);
|
||||
top: 50%; left: 50%;
|
||||
border-radius: 50%;
|
||||
animation: spinSlow 2s linear infinite reverse;
|
||||
border: 2px solid rgba(129,199,132,0.5);
|
||||
transform: translate(-50%, -50%) scale(0.6);
|
||||
opacity: 0;
|
||||
animation: ringExpand 3s ease-out infinite;
|
||||
}
|
||||
|
||||
/* 内层加载器 */
|
||||
.loading-spinner-container::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
border: 2px solid transparent;
|
||||
border-top: 2px solid rgba(255, 255, 255, 0.6);
|
||||
.splash-ring:nth-child(2) { animation-delay: 0s; }
|
||||
.splash-ring:nth-child(3) { animation-delay: 1s; }
|
||||
.splash-ring:nth-child(4) { animation-delay: 2s; }
|
||||
|
||||
/* 标题 */
|
||||
.splash-title {
|
||||
font-size: 32px;
|
||||
font-weight: 800;
|
||||
color: #2e7d32;
|
||||
margin-bottom: 8px;
|
||||
text-shadow: 0 2px 8px rgba(46,125,50,0.15);
|
||||
letter-spacing: 2px;
|
||||
}
|
||||
.splash-subtitle {
|
||||
font-size: 15px;
|
||||
color: rgba(46,125,50,0.7);
|
||||
margin-bottom: 36px;
|
||||
font-weight: 500;
|
||||
letter-spacing: 4px;
|
||||
}
|
||||
|
||||
/* 三点加载指示器 */
|
||||
.splash-dots {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
}
|
||||
.splash-dot {
|
||||
width: 10px; height: 10px;
|
||||
border-radius: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
animation: spinFast 0.8s linear infinite;
|
||||
background: #81c784;
|
||||
animation: dotBounce 1.4s ease-in-out infinite;
|
||||
}
|
||||
|
||||
/* 动画定义 */
|
||||
@keyframes logoEnhanced {
|
||||
0%, 100% {
|
||||
transform: scale(1) rotate(0deg);
|
||||
filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
|
||||
}
|
||||
25% {
|
||||
transform: scale(1.05) rotate(2deg);
|
||||
filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.4));
|
||||
}
|
||||
50% {
|
||||
transform: scale(1.1) rotate(0deg);
|
||||
filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.5));
|
||||
}
|
||||
75% {
|
||||
transform: scale(1.05) rotate(-2deg);
|
||||
filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.4));
|
||||
}
|
||||
.splash-dot:nth-child(1) { animation-delay: 0s; }
|
||||
.splash-dot:nth-child(2) { animation-delay: 0.2s; }
|
||||
.splash-dot:nth-child(3) { animation-delay: 0.4s; }
|
||||
|
||||
/* ——— Animations ——— */
|
||||
@keyframes bgPulse {
|
||||
0%, 100% { transform: scale(1); opacity: 0.4; }
|
||||
50% { transform: scale(1.15); opacity: 0.7; }
|
||||
}
|
||||
|
||||
@keyframes logoGlow {
|
||||
0% { transform: scale(1); opacity: 0.2; }
|
||||
50% { transform: scale(1.02); opacity: 0.4; }
|
||||
100% { transform: scale(1); opacity: 0.2; }
|
||||
}
|
||||
|
||||
@keyframes textGradient {
|
||||
0%, 100% { background-position: 0% 50%; }
|
||||
50% { background-position: 100% 50%; }
|
||||
@keyframes logoFloat {
|
||||
0%, 100% { transform: translateY(0); }
|
||||
50% { transform: translateY(-8px); }
|
||||
}
|
||||
|
||||
@keyframes textFloat {
|
||||
0%, 100% { transform: translateY(0px); }
|
||||
50% { transform: translateY(-5px); }
|
||||
@keyframes ringExpand {
|
||||
0% { width: 100px; height: 100px; opacity: 0.6; transform: translate(-50%,-50%) scale(0.8); }
|
||||
100% { width: 260px; height: 260px; opacity: 0; transform: translate(-50%,-50%) scale(1); }
|
||||
}
|
||||
|
||||
@keyframes descFloat {
|
||||
0%, 100% { transform: translateY(0px); opacity: 0.9; }
|
||||
50% { transform: translateY(-3px); opacity: 1; }
|
||||
@keyframes dotBounce {
|
||||
0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
|
||||
40% { transform: scale(1.2); opacity: 1; }
|
||||
}
|
||||
|
||||
@keyframes spinEnhanced {
|
||||
0% { transform: translate(-50%, -50%) rotate(0deg); }
|
||||
100% { transform: translate(-50%, -50%) rotate(360deg); }
|
||||
|
||||
/* 退出动画 */
|
||||
#splash.splash-exit {
|
||||
animation: splashFadeOut 0.6s ease-in forwards;
|
||||
}
|
||||
|
||||
@keyframes spinSlow {
|
||||
0% { transform: rotate(0deg); }
|
||||
100% { transform: rotate(360deg); }
|
||||
@keyframes splashFadeOut {
|
||||
0% { opacity: 1; transform: scale(1); }
|
||||
100% { opacity: 0; transform: scale(1.05); }
|
||||
}
|
||||
|
||||
@keyframes spinFast {
|
||||
0% { transform: translate(-50%, -50%) rotate(0deg); }
|
||||
100% { transform: translate(-50%, -50%) rotate(360deg); }
|
||||
}
|
||||
|
||||
@keyframes backgroundFloat {
|
||||
0%, 100% { transform: translateY(0px) translateX(0px); }
|
||||
25% { transform: translateY(-10px) translateX(5px); }
|
||||
50% { transform: translateY(-5px) translateX(-5px); }
|
||||
75% { transform: translateY(-15px) translateX(3px); }
|
||||
}
|
||||
|
||||
@keyframes gradientFlow {
|
||||
0% { transform: translateX(-100%) translateY(-100%) rotate(0deg); }
|
||||
100% { transform: translateX(100%) translateY(100%) rotate(360deg); }
|
||||
}
|
||||
|
||||
/* 响应式设计 */
|
||||
|
||||
/* 响应式 */
|
||||
@media (max-width: 768px) {
|
||||
#loading .loading-logo {
|
||||
width: 67px;
|
||||
height: 67px;
|
||||
}
|
||||
|
||||
.loading-logo-container::before {
|
||||
top: -8px;
|
||||
left: -8px;
|
||||
right: -8px;
|
||||
bottom: -8px;
|
||||
}
|
||||
|
||||
#loading .loading-text {
|
||||
font-size: 28px;
|
||||
}
|
||||
|
||||
#loading .loading-desc {
|
||||
font-size: 17px;
|
||||
}
|
||||
|
||||
.loading-spinner-container {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
|
||||
#loading .loading-spinner {
|
||||
width: 42px;
|
||||
height: 42px;
|
||||
border-width: 3px;
|
||||
}
|
||||
|
||||
.loading-spinner-container::before {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
border-width: 2px;
|
||||
}
|
||||
|
||||
.loading-spinner-container::after {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
border-width: 2px;
|
||||
.splash-logo-wrap { width: 96px; height: 96px; margin-bottom: 22px; }
|
||||
.splash-logo { border-radius: 20px; }
|
||||
.splash-title { font-size: 26px; }
|
||||
.splash-subtitle { font-size: 13px; margin-bottom: 28px; }
|
||||
@keyframes ringExpand {
|
||||
0% { width: 80px; height: 80px; opacity: 0.6; transform: translate(-50%,-50%) scale(0.8); }
|
||||
100% { width: 200px; height: 200px; opacity: 0; transform: translate(-50%,-50%) scale(1); }
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -327,41 +180,38 @@
|
||||
<body>
|
||||
<noscript>您需要启用 JavaScript 才能运行此应用。</noscript>
|
||||
|
||||
<!-- 加载动画 -->
|
||||
<div id="loading">
|
||||
<div class="loading-logo-container">
|
||||
<img class="loading-logo" src="%PUBLIC_URL%/assets/logo.png" alt="万象口袋" />
|
||||
<!-- PWA 启动动画 -->
|
||||
<div id="splash">
|
||||
<div class="splash-logo-wrap">
|
||||
<img class="splash-logo" src="%PUBLIC_URL%/assets/logo.png" alt="万象口袋" />
|
||||
<div class="splash-ring"></div>
|
||||
<div class="splash-ring"></div>
|
||||
<div class="splash-ring"></div>
|
||||
</div>
|
||||
<div class="loading-text-container">
|
||||
<strong class="loading-text">万象口袋</strong>
|
||||
</div>
|
||||
<strong class="loading-desc">🎨 一个跨平台的多功能聚合应用(´。• ω •。`) 💬</strong>
|
||||
<div class="loading-spinner-container">
|
||||
<div class="loading-spinner"></div>
|
||||
<div class="splash-title">万象口袋</div>
|
||||
<div class="splash-subtitle">加载中</div>
|
||||
<div class="splash-dots">
|
||||
<div class="splash-dot"></div>
|
||||
<div class="splash-dot"></div>
|
||||
<div class="splash-dot"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="root"></div>
|
||||
|
||||
<script>
|
||||
// 隐藏加载动画
|
||||
window.addEventListener('load', function() {
|
||||
setTimeout(function() {
|
||||
const loading = document.getElementById('loading');
|
||||
if (loading) {
|
||||
loading.style.opacity = '0';
|
||||
loading.style.transition = 'opacity 0.5s ease';
|
||||
setTimeout(function() {
|
||||
loading.remove();
|
||||
}, 500);
|
||||
var s = document.getElementById('splash');
|
||||
if (s) {
|
||||
s.classList.add('splash-exit');
|
||||
setTimeout(function() { s.remove(); }, 600);
|
||||
}
|
||||
}, 1000);
|
||||
}, 800);
|
||||
});
|
||||
|
||||
// 错误处理
|
||||
window.addEventListener('error', function(e) {
|
||||
console.error('应用加载错误:', e.error);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
window.addEventListener('error', function(e) {
|
||||
console.error('应用加载错误:', e.error);
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user