重构多个组件以优化代码格式和可读性,删除不必要的文件,更新类型定义,添加数据分析路由

This commit is contained in:
2025-03-27 18:37:01 +08:00
parent 8bcf201fd4
commit 24f1c413c4
115 changed files with 10879 additions and 2691 deletions

View File

@@ -36,33 +36,42 @@ export const Config: TemplateConfig<TraditionalConfigType> = {
<template>
WIP...
<div :style="{
backgroundImage: `${props.config?.background ? 'url(' + FILE_BASE_URL + props.config?.background[0] + ')' : ''}`,
height: '100%', 'max-width': '100%',
minHeight: '400px',
backgroundSize: 'cover',
display: 'flex',
justifyContent: 'center',
alignItems: 'center',
position: 'relative',
}">
<div :style="{
height: '100%',
width: '100%',
<div
:style="{
backgroundImage: `${props.config?.background ? 'url(' + FILE_BASE_URL + props.config?.background[0] + ')' : ''}`,
height: '100%', 'max-width': '100%',
minHeight: '400px',
backdropFilter: 'blur(10px)',
backgroundSize: 'cover',
display: 'flex',
flexDirection: 'column',
justifyContent: 'center',
alignItems: 'center',
}">
<div style="
position: 'relative',
}"
>
<div
:style="{
height: '100%',
width: '100%',
minHeight: '400px',
backdropFilter: 'blur(10px)',
display: 'flex',
flexDirection: 'column',
justifyContent: 'center',
alignItems: 'center',
}"
>
<div
style="
border-radius: 20px;
border: 3px solid var(--pinky-border-color-dark);
height: 50px;
width: 400px;
">
<div v-for="song in props.data" :key="song.id">
"
>
<div
v-for="song in props.data"
:key="song.id"
>
{{ song.name }}
</div>
</div>