diff --git a/data/config.json b/data/config.json
index 188ff8c..9da7f4f 100644
--- a/data/config.json
+++ b/data/config.json
@@ -896,9 +896,15 @@
"filterZeroScore": true
},
"crown": {
- "size": null,
+ "size": 72,
"animationEnabled": true
},
+ "crownPosition": {
+ "top": -80,
+ "left": null,
+ "right": null,
+ "bottom": null
+ },
"team": {
"showMemberCount": false,
"showLeader": true,
@@ -966,7 +972,10 @@
"enabled": true
},
"pattern": {
- "strongBeats": [],
+ "strongBeats": [
+ 1,
+ 4
+ ],
"totalBeats": 4,
"accentMultiplier": 1.5,
"accentFrequencyOffset": 10,
diff --git a/public/completed_performance.png b/public/completed_performance.png
new file mode 100644
index 0000000..b993cd8
Binary files /dev/null and b/public/completed_performance.png differ
diff --git a/public/individual-propagation.png b/public/individual-propagation.png
new file mode 100644
index 0000000..b2fdba4
Binary files /dev/null and b/public/individual-propagation.png differ
diff --git a/public/team-propagation.png b/public/team-propagation.png
new file mode 100644
index 0000000..72f3e3f
Binary files /dev/null and b/public/team-propagation.png differ
diff --git a/src/App.vue b/src/App.vue
index 13e359a..15a04aa 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -19,7 +19,16 @@
-
皇冠大小默认为英雄冠军头像的1.2倍,建议设置为合适的大小以确保美观
+皇冠位置默认值为顶部-100px且水平居中;负值向上/左偏移,正值向下/右偏移
@@ -971,6 +1004,12 @@ onMounted(async () => { localTeamRankings.value = [...teamRankings]; localBonusRules.value = [...bonusRules]; localDisplayConfig.value = { ...displayConfig }; + // 确保皇冠位置配置存在 + if (!localDisplayConfig.value.crownPosition) { + localDisplayConfig.value.crownPosition = { top: '-100px' }; + } else if (!localDisplayConfig.value.crownPosition.top) { + localDisplayConfig.value.crownPosition.top = '-100px'; + } localBattleEndTime.value = { ...battleEndTime }; localDrumConfig.value = { ...drumConfig }; diff --git a/src/views/BattleRanking.vue b/src/views/BattleRanking.vue index 168055d..cfbcfe2 100644 --- a/src/views/BattleRanking.vue +++ b/src/views/BattleRanking.vue @@ -1,5 +1,5 @@ -
+
+