fix(ui): 列表剧名统一两行省略,收藏卡去掉观看进度副标题

筛选、追剧收藏、新片、榜单、缓存与推荐上新等列表卡都按两行剧名预留高度,
超长标题显示省略号;收藏卡不再显示「看到第 N 集」,文字区高度同步收窄。
This commit is contained in:
Vicky authored and trae-solo-agent committed 2026-10-29 15:44:30 +08:00
1 parent 4dd37b2588
commit c311985601
9 files changed
+31 -48

No files matched your search

@@ -22,7 +22,9 @@ const int _moreLimit = 12;
const int _filmHoles = 8;
const double _cardPadding = 8;
const double _cardWidth = 124;
const double _rowHeight = 204;
/// 横向卡片行高:封面 144 + 两行剧名 + 上映日期。
const double _rowHeight = 226;
const double _cardRadius = 12;
const double _loadMoreThreshold = 200;
@@ -173,9 +175,7 @@ class _NewReleasesPageState extends State<NewReleasesPage> {
child: SizedBox(height: 14),
),
if (more.isNotEmpty) ...[
SliverToBoxAdapter(
child: _moreHeader(l10n),
),
SliverToBoxAdapter(child: _moreHeader(l10n)),
const SliverToBoxAdapter(
child: SizedBox(height: 10),
),
@@ -467,7 +467,7 @@ class _NewReleasesPageState extends State<NewReleasesPage> {
const SizedBox(height: 4),
Text(
drama.title,
maxLines: 1,
maxLines: 2,
overflow: TextOverflow.ellipsis,
style: const TextStyle(
color: AppColors.onSurface,