feat(flutter): 剧场搜索框改白底并新增榜单新剧预约页

This commit is contained in:
Zhou Weidong committed 2026-10-20 15:03:02 +08:00
1 parent 7a75ee6de8
commit bfba2b7c72
15 files changed
+588 -9

No files matched your search

+48
View File
@@ -0,0 +1,48 @@
// Author: fruit.com.cn
import 'package:flutter/material.dart';
import '../../core/theme/app_colors.dart';
import '../../core/widgets/empty_state.dart';
import '../../core/widgets/plain_page_scaffold.dart';
import '../../l10n/app_localizations.dart';
/// 剧场预约页:暂无预约数据源,展示空态与即将上线说明。
class ReservePage extends StatelessWidget {
const ReservePage({super.key});
@override
Widget build(BuildContext context) {
final l10n = AppLocalizations.of(context)!;
return PlainPageScaffold(
pageKey: const Key('reserve-page'),
backKey: const Key('reserve-back'),
title: l10n.reserve,
subtitle: l10n.reserveSubtitle,
child: Center(
child: SingleChildScrollView(
padding: const EdgeInsets.all(24),
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
EmptyState(
key: const Key('reserve-empty'),
icon: Icons.event_available_outlined,
title: l10n.reserveEmptyTitle,
subtitle: l10n.reserveEmptyHint,
),
const SizedBox(height: 12),
TextButton(
onPressed: null,
child: Text(
l10n.comingSoon,
style: const TextStyle(color: AppColors.subtle),
),
),
],
),
),
),
);
}
}