diff --git a/lib/pages/home_page.dart b/lib/pages/home_page.dart index c5783ee..0493521 100644 --- a/lib/pages/home_page.dart +++ b/lib/pages/home_page.dart @@ -458,19 +458,20 @@ class _HomePageState extends BaseState { itemBuilder: (context, index) { final song = _favorites[index]; return Padding( - padding: const EdgeInsets.symmetric(vertical: 2), + padding: EdgeInsets.zero, child: ListTile( contentPadding: EdgeInsets.zero, visualDensity: VisualDensity.compact, + minVerticalPadding: 0, leading: SongArtwork( filePath: song.artworkPath, - size: 44, + size: 32, fallbackIcon: Icons.music_note, ), title: Text( song.displayTitle, style: const TextStyle( - fontSize: 16, + fontSize: 13, fontWeight: FontWeight.w400, color: Colors.white, ), @@ -479,7 +480,7 @@ class _HomePageState extends BaseState { ), subtitle: Text( song.displaySubtitle, - style: TextStyle(fontSize: 13, color: Colors.grey[400]), + style: TextStyle(fontSize: 11, color: Colors.grey[400]), maxLines: 1, overflow: TextOverflow.ellipsis, ), @@ -701,7 +702,7 @@ class _HomePageState extends BaseState { const Text( '清听', style: TextStyle( - fontSize: 28, + fontSize: 24, fontWeight: FontWeight.w600, color: Colors.white, ), @@ -738,7 +739,7 @@ class _HomePageState extends BaseState { const Text( '媒体库', style: TextStyle( - fontSize: 22, + fontSize: 20, fontWeight: FontWeight.w500, color: Color(0xFFB8D4D0), ), @@ -866,7 +867,7 @@ class _HomePageState extends BaseState { const Text( '本地音乐', style: TextStyle( - fontSize: 14, + fontSize: 13, fontWeight: FontWeight.w400, color: Colors.white70, ), @@ -894,7 +895,7 @@ class _HomePageState extends BaseState { const Text( '最近播放', style: TextStyle( - fontSize: 14, + fontSize: 13, fontWeight: FontWeight.w400, color: Colors.white70, ), @@ -932,7 +933,7 @@ class _HomePageState extends BaseState { Text( _homeTab == 0 ? '我的收藏' : '歌单列表', style: const TextStyle( - fontSize: 22, + fontSize: 20, fontWeight: FontWeight.w500, color: Color(0xFFB8D4D0), ),