feat: 迁移自定义功能至 1.5.9.9 版本

包含音乐源限制、CI 防 OOM 优化、数据库连接池优化、管理端权限及 UI 细节定制等功能
This commit is contained in:
2026-09-12 19:26:42 +08:00
parent 34f0679117
commit 1106aeea6c
161 changed files with 18963 additions and 27900 deletions
+13 -16
View File
@@ -6,29 +6,26 @@
<Transition name="entry" appear>
<div v-show="active" class="content">
<div class="label">{{ yearReview.favoriteArtist }}</div>
<div class="label">特别偏爱</div>
<p class="text-intro">{{ yearReview.topArtistIntro }}</p>
<p class="text-intro">你的年度歌手是</p>
<div class="artist-container">
<div class="artist-bg-blur" />
<h2 class="artist-name">{{ data.topArtist }}</h2>
</div>
<p class="text-desc">{{ yearReview.artistDesc }}</p>
<p class="text-desc">Ta 的声音似乎特别吸引你,<br >陪伴了你无数个日夜。</p>
</div>
</Transition>
</div>
</template>
<script setup>
import { useLocale } from '~/utils/locale'
defineProps({
data: Object,
active: Boolean
})
const { yearReview } = useLocale()
</script>
<style scoped>
@@ -40,13 +37,13 @@ const { yearReview } = useLocale()
align-items: center;
justify-content: center;
overflow: hidden;
background-color: var(--panel-bg-tertiary);
background-color: var(--surface-primary, var(--bg-primary, #1a0b2e));
}
.bg-overlay {
position: absolute;
inset: 0;
background: linear-gradient(to top, var(--bg-primary), transparent, transparent);
background: linear-gradient(to top, var(--bg-primary, #111111), transparent, transparent);
opacity: 0.8;
z-index: 10;
}
@@ -56,7 +53,7 @@ const { yearReview } = useLocale()
top: 0;
width: 100%;
height: 100%;
background: linear-gradient(to bottom, var(--color-collab-hover), var(--bg-primary));
background: linear-gradient(to bottom, #581c87, #000);
opacity: 0.5;
animation: pulse 8s infinite;
}
@@ -72,19 +69,19 @@ const { yearReview } = useLocale()
}
.label {
color: var(--color-collab-light); /* purple-300 */
color: #d8b4fe; /* purple-300 */
letter-spacing: 0.3em;
text-transform: uppercase;
margin-bottom: 1.5rem;
font-size: 0.875rem;
font-weight: 700;
border-bottom: 1px solid var(--year-review-artist-label-border);
border-bottom: 1px solid rgba(168, 85, 247, 0.3);
padding-bottom: 0.5rem;
}
.text-intro {
font-size: 1.5rem;
color: var(--text-primary-lighter);
color: #d1d5db;
font-weight: 300;
margin-bottom: 3rem;
}
@@ -101,7 +98,7 @@ const { yearReview } = useLocale()
transform: translate(-50%, -50%);
width: 120%;
height: 120%;
background: var(--year-review-artist-bg-blur);
background: rgba(168, 85, 247, 0.2);
filter: blur(60px);
border-radius: 50%;
}
@@ -112,18 +109,18 @@ const { yearReview } = useLocale()
font-weight: 900;
font-style: italic;
letter-spacing: -0.05em;
background-image: linear-gradient(to bottom right, var(--color-collab-light), var(--color-pink), var(--color-orange));
background-image: linear-gradient(to bottom right, #e9d5ff, #f472b6, #fb923c);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
filter: drop-shadow(0 25px 25px var(--mask-15));
filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.15));
word-break: break-word;
padding: 0 0.5rem;
}
.text-desc {
margin-top: 3rem;
color: var(--text-muted);
color: #9ca3af;
max-width: 24rem;
margin-left: auto;
margin-right: auto;