feat: 重做首页热播榜布局
This commit is contained in:
1 parent
db8433ace3
commit
9b83283689
14 files changed
+285
-233
No files matched your search
@@ -17,6 +17,7 @@ import '../../../core/widgets/app_pull_to_refresh.dart';
|
||||
import '../../../core/widgets/empty_state.dart';
|
||||
import '../../../core/widgets/paged_list_footer.dart';
|
||||
import '../../../l10n/app_localizations.dart';
|
||||
import '../../ranking/ranking_page.dart';
|
||||
import 'home_drama_classification.dart';
|
||||
import 'home_feed_card.dart';
|
||||
import 'home_grid_header.dart';
|
||||
@@ -155,6 +156,9 @@ class _HomeFeedGridState extends State<HomeFeedGrid> {
|
||||
required HomePrimaryTab tab,
|
||||
required List<HomeGridCategoryShortcut> shortcuts,
|
||||
}) {
|
||||
if (tab == HomePrimaryTab.ranking) {
|
||||
return const RankingPage(embedded: true);
|
||||
}
|
||||
if (widget.feedController.loadingFirstPage) {
|
||||
return const Center(
|
||||
child: SizedBox.square(
|
||||
|
||||
Reference in new issue
Block a user