卡片样式详情界面优化

This commit is contained in:
DelLevin-Home
2026-08-13 09:40:39 +08:00
parent 509d1720bc
commit c16383bbe7
3 changed files with 6 additions and 3 deletions

View File

@@ -1225,7 +1225,7 @@ class _GameDetailPageState extends State<GameDetailPage> {
children: [
Center(child: _buildLayeredCover(game)),
const SizedBox(height: 20),
_buildLayeredHeader(game),
SizedBox(width: double.infinity, child: _buildLayeredHeader(game)),
const SizedBox(height: 20),
if (game.platforms.isNotEmpty)
_buildLayeredInfoRow('平台', game.platforms.join(''), colors),
@@ -1322,6 +1322,7 @@ class _GameDetailPageState extends State<GameDetailPage> {
Widget _buildLayeredHeader(Game game) {
final colors = Theme.of(context).colorScheme;
return Column(
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Text(game.title,
textAlign: TextAlign.center,