feat: 新增运动节拍训练工具套件与子工具页面

新增运动节拍RepClock全套小程序页面、后端API与数据库服务,新增subhub子工具汇总页面,优化全局主页样式与配置,为web静态资源添加版本缓存参数,补充配套调试脚本
This commit is contained in:
yangxiangyuan
2026-09-09 14:43:06 +08:00
parent db7648eb4d
commit d4bf3627fd
69 changed files with 5759 additions and 297 deletions
+152 -25
View File
@@ -18,7 +18,7 @@ body {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 48px;
margin-bottom: 36px;
padding: 24px 32px;
background: rgba(255, 255, 255, 0.04);
border: 1px solid rgba(108, 122, 224, 0.15);
@@ -64,9 +64,85 @@ body {
border-color: rgba(255, 80, 100, 0.3);
}
.app-main {
display: flex;
flex-direction: column;
gap: 28px;
}
.hero-card {
position: relative;
display: flex;
align-items: center;
gap: 24px;
padding: 32px 36px;
border-radius: 24px;
background: linear-gradient(135deg, rgba(108, 122, 224, 0.14) 0%, rgba(176, 107, 224, 0.10) 100%);
border: 1px solid rgba(108, 122, 224, 0.28);
backdrop-filter: blur(10px);
overflow: hidden;
}
.hero-card::before {
content: '';
position: absolute;
top: -80px; right: -80px;
width: 280px; height: 280px;
background: radial-gradient(circle, rgba(176, 107, 224, 0.28) 0%, transparent 65%);
filter: blur(40px);
opacity: 0.9;
pointer-events: none;
}
.hero-card::after {
content: '';
position: absolute;
left: 16px; top: 20px; bottom: 20px;
width: 4px;
border-radius: 4px;
background: linear-gradient(180deg, #6c7ae0 0%, #b06be0 100%);
box-shadow: 0 0 18px rgba(108, 122, 224, 0.6);
}
.hero-icon {
width: 78px; height: 78px;
border-radius: 22px;
display: flex; align-items: center; justify-content: center;
background: rgba(255, 255, 255, 0.06);
border: 1px solid rgba(255, 255, 255, 0.09);
flex-shrink: 0;
position: relative; z-index: 1;
}
.hero-emoji {
font-size: 42px;
line-height: 1;
filter: drop-shadow(0 6px 18px rgba(108, 122, 224, 0.45));
animation: heroBreath 5.2s ease-in-out infinite;
}
@keyframes heroBreath {
0%, 100% { transform: scale(1); opacity: 0.96; }
50% { transform: scale(1.08); opacity: 1; }
}
.hero-body { position: relative; z-index: 1; }
.hero-title {
font-size: 24px;
font-weight: 600;
color: #f0eefc;
letter-spacing: 0.6px;
margin-bottom: 10px;
}
.hero-desc {
font-size: 14px;
color: #a8a6c8;
letter-spacing: 0.3px;
}
.kit-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 24px;
}
@@ -80,10 +156,13 @@ body {
.kit-card {
position: relative;
display: flex;
align-items: stretch;
gap: 20px;
background: rgba(255, 255, 255, 0.04);
border: 1px solid rgba(255, 255, 255, 0.06);
border-radius: 22px;
padding: 28px;
padding: 24px 22px 24px 26px;
cursor: pointer;
transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
border-color 0.3s ease,
@@ -101,10 +180,23 @@ body {
transition: opacity 0.4s ease;
opacity: 0;
z-index: 0;
pointer-events: none;
}
.kit-card::after {
content: '';
position: absolute;
left: 12px; top: 20px; bottom: 20px;
width: 3px;
border-radius: 3px;
background: linear-gradient(180deg, #6c7ae0 0%, #b06be0 100%);
box-shadow: 0 0 14px rgba(108, 122, 224, 0.45);
z-index: 0;
pointer-events: none;
}
.kit-card:hover {
transform: translateY(-6px);
transform: translateY(-5px);
border-color: rgba(108, 122, 224, 0.35);
background: rgba(255, 255, 255, 0.06);
box-shadow: 0 20px 40px rgba(108, 122, 224, 0.15);
@@ -125,46 +217,72 @@ body {
font-size: 28px;
background: linear-gradient(135deg, rgba(108, 122, 224, 0.22) 0%, rgba(176, 107, 224, 0.18) 100%);
border: 1px solid rgba(108, 122, 224, 0.3);
margin-bottom: 18px;
flex-shrink: 0;
position: relative;
z-index: 1;
}
.kit-name {
font-size: 19px;
font-weight: 600;
color: #f0f0f8;
margin-bottom: 8px;
.kit-body {
flex: 1 1 auto;
min-width: 0;
position: relative;
z-index: 1;
display: flex;
flex-direction: column;
gap: 6px;
}
.kit-name {
font-size: 18px;
font-weight: 600;
color: #f0f0f8;
}
.kit-desc {
font-size: 13.5px;
color: #9b9bb5;
line-height: 1.7;
position: relative;
z-index: 1;
}
.kit-arrow {
margin-top: 18px;
display: flex;
align-items: center;
gap: 6px;
font-size: 13px;
.kit-meta {
margin-top: 4px;
padding: 6px 10px;
border-radius: 10px;
background: rgba(108, 122, 224, 0.08);
border: 1px solid rgba(108, 122, 224, 0.18);
font-size: 11.5px;
color: #a8b4ff;
position: relative;
z-index: 1;
opacity: 0.75;
transition: gap 0.3s ease, opacity 0.3s ease;
font-family: 'JetBrains Mono', Consolas, 'Courier New', monospace;
letter-spacing: 0.2px;
align-self: flex-start;
}
.kit-card:hover .kit-arrow {
gap: 12px;
.chevron {
flex-shrink: 0;
align-self: center;
color: #a8b4ff;
font-size: 26px;
line-height: 1;
opacity: 0.75;
transition: transform 0.3s ease, opacity 0.3s ease;
position: relative; z-index: 1;
padding-left: 4px;
}
.kit-card:hover .chevron {
transform: translateX(6px);
opacity: 1;
}
.footer {
margin-top: 8px;
padding: 18px 4px 0;
text-align: center;
color: #6f6f92;
font-size: 12px;
letter-spacing: 0.5px;
}
@media (max-width: 600px) {
.app-root { padding: 20px 16px 60px; }
.app-header {
@@ -174,6 +292,15 @@ body {
gap: 12px;
}
.app-header-left .app-title { font-size: 24px; }
.hero-card {
padding: 22px 22px 22px 28px;
gap: 16px;
flex-direction: column;
align-items: flex-start;
}
.hero-icon { width: 64px; height: 64px; border-radius: 18px; }
.hero-emoji { font-size: 34px; }
.hero-title { font-size: 20px; }
.kit-grid { grid-template-columns: 1fr; gap: 16px; }
.kit-card { padding: 22px; }
.kit-card { padding: 20px 18px 20px 24px; }
}