feat(player): 剧名与选集合并为同一个弹窗

点剧名默认停在详情页签,选集入口直接停在选集页签,不再跳详情页;
详情页签补上简介、标签、收藏与相似推荐,原选集弹窗合并进来后删除。
This commit is contained in:
Vicky authored and trae-solo-agent committed 2026-10-29 15:44:10 +08:00
1 parent ad7aba3daf
commit 79463e65c2
4 files changed
+596 -174

No files matched your search

+5 -2
View File
@@ -103,7 +103,10 @@ void main() {
await _pumpSession(tester);
await tester.runAsync(() => logic.session.playbackSettled);
expect(find.byType(DramaDetailPage), findsOneWidget);
expect(find.byType(DramaDetailPage), findsNothing);
expect(find.byKey(const Key('drama-info-sheet')), findsOneWidget);
expect(find.byKey(const Key('drama-info-tab-detail')), findsOneWidget);
expect(find.byKey(const Key('drama-info-detail')), findsOneWidget);
expect(logic.session.active, same(active));
expect(logic.session.currentIndex, index);
expect(logic.session.userWantsPlay, isTrue);
@@ -118,7 +121,7 @@ void main() {
const Duration(minutes: 1, seconds: 22),
);
await tester.pageBack();
await tester.tap(find.byKey(const Key('drama-info-close')));
await tester.pump();
await tester.pump(const Duration(milliseconds: 400));
await _pumpSession(tester);