fix(ui): 迷你播放器封面恢复左边距 + 列表底部留白加大
- global_mini_player 改封面兜底时误删了 Row 开头的 12px 间距, 封面贴到屏幕左边缘;已恢复 - UIConstants.miniPlayerBottomSpace 80 -> 100, 列表最后一项不再被迷你播放器+手势区遮住
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
// lib/constants/ui_constants.dart
|
// lib/constants/ui_constants.dart
|
||||||
class UIConstants {
|
class UIConstants {
|
||||||
static const double miniPlayerHeight = 60;
|
static const double miniPlayerHeight = 60;
|
||||||
static const double miniPlayerBottomSpace = 80; // 60 + 20 安全余量
|
static const double miniPlayerBottomSpace = 100; // 迷你播放器 60 + 手势区/安全余量
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -55,6 +55,7 @@ class GlobalMiniPlayer extends StatelessWidget {
|
|||||||
borderRadius: BorderRadius.circular(12),
|
borderRadius: BorderRadius.circular(12),
|
||||||
child: Row(
|
child: Row(
|
||||||
children: [
|
children: [
|
||||||
|
const SizedBox(width: 12),
|
||||||
Container(
|
Container(
|
||||||
width: 44,
|
width: 44,
|
||||||
height: 44,
|
height: 44,
|
||||||
|
|||||||
Reference in New Issue
Block a user