feat(player-desktop): 优化注单侧栏面板折叠、隐藏首页滚动条、默认选中联赛、主页添加近期热门快速下注

This commit is contained in:
2026-06-30 17:42:50 +08:00
parent 8a1ba0fd95
commit 178787e89a
9 changed files with 583 additions and 90 deletions

View File

@@ -62,7 +62,9 @@ const availableLeagues = computed(() => {
return Array.from(map.values()).sort((a, b) => a.name.localeCompare(b.name));
});
const isSelected = (leagueId: string) => filterState.value.leagueIds.includes(leagueId);
const isSelected = (leagueId: string) => {
return filterState.value.leagueIds.length === 0 || filterState.value.leagueIds.includes(leagueId);
};
</script>
<template>