From 79093d86271c471f6471f79de37a8f655eede32b Mon Sep 17 00:00:00 2001 From: jasonchenwork Date: Thu, 26 Jun 2025 14:26:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E6=89=8B=E6=A9=9F=E9=BB=9E?= =?UTF-8?q?=E6=AD=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/superstar/_www/new-songs.html | 12 ++++++------ themes/superstar/_www/sound-control.html | 6 +++--- themes/superstar/_www/top-ranking.html | 10 ++++------ 3 files changed, 13 insertions(+), 15 deletions(-) diff --git a/themes/superstar/_www/new-songs.html b/themes/superstar/_www/new-songs.html index 88eb526..ccf6de9 100644 --- a/themes/superstar/_www/new-songs.html +++ b/themes/superstar/_www/new-songs.html @@ -254,7 +254,7 @@ 歌名 歌手 - 語別 + @@ -270,7 +270,7 @@

歌名:

編號:

歌手:

-

語別:

+ @@ -350,15 +350,15 @@ const row = document.createElement('tr'); const songNameCell = document.createElement('td'); const singerCell = document.createElement('td'); - const languageCell = document.createElement('td'); + // const languageCell = document.createElement('td'); songNameCell.textContent = song.Song; singerCell.textContent = song.ArtistA; - languageCell.textContent = song.Category; + // languageCell.textContent = song.Category; row.appendChild(songNameCell); row.appendChild(singerCell); - row.appendChild(languageCell); + // row.appendChild(languageCell); row.addEventListener('click', (e) => { e.preventDefault(); @@ -369,7 +369,7 @@ document.getElementById('detail-song-name').textContent = song.Song; document.getElementById('detail-song-number').textContent = song.SongNumber; document.getElementById('detail-singer').textContent = song.ArtistA; - document.getElementById('detail-language').textContent = song.Category; + // document.getElementById('detail-language').textContent = song.Category; document.getElementById('song-details').style.display = 'block'; }); diff --git a/themes/superstar/_www/sound-control.html b/themes/superstar/_www/sound-control.html index d2239f1..3e30c1c 100644 --- a/themes/superstar/_www/sound-control.html +++ b/themes/superstar/_www/sound-control.html @@ -86,14 +86,14 @@ @media (max-width: 600px) { .content { display: grid; - grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); - gap: 10px; + grid-template-columns: repeat(3, 1fr); + gap: 5px; } } .card { background: linear-gradient(135deg, #FF4081, #FF4081); color: white; - width: 130px; + width: 100%; display: flex; align-items: center; justify-content: center; diff --git a/themes/superstar/_www/top-ranking.html b/themes/superstar/_www/top-ranking.html index 9fedd27..7aa050d 100644 --- a/themes/superstar/_www/top-ranking.html +++ b/themes/superstar/_www/top-ranking.html @@ -259,7 +259,6 @@ 歌名 歌手 - 語別 @@ -275,7 +274,7 @@

歌名:

編號:

歌手:

-

語別:

+ @@ -355,15 +354,14 @@ const row = document.createElement('tr'); const songNameCell = document.createElement('td'); const singerCell = document.createElement('td'); - const languageCell = document.createElement('td'); + songNameCell.textContent = song.Song; singerCell.textContent = song.ArtistA; - languageCell.textContent = song.Category; + row.appendChild(songNameCell); row.appendChild(singerCell); - row.appendChild(languageCell); row.addEventListener('click', (e) => { e.preventDefault(); // 阻止默認行為 @@ -376,7 +374,7 @@ document.getElementById('detail-song-name').textContent = song.Song; document.getElementById('detail-song-number').textContent = song.SongNumber; document.getElementById('detail-singer').textContent = song.ArtistA; - document.getElementById('detail-language').textContent = song.Category; + // document.getElementById('detail-language').textContent = song.Category; // 顯示詳情視窗和遮罩 document.getElementById('song-details').style.display = 'block';