style(home): 匹配观看全集设计稿配色

This commit is contained in:
Zhou Weidong committed 2026-11-04 13:42:47 +08:00
1 parent f3cfd0d0ec
commit 6acc00394b
4 files changed
+23 -31

No files matched your search

@@ -35,13 +35,8 @@ const _metadataStrutStyle = StrutStyle(
const double _watchAllInset = 12;
const double _watchAllRadius = 6;
const double _watchAllFont = 16;
const _watchAllGradient = LinearGradient(
begin: Alignment.centerLeft,
end: Alignment.centerRight,
colors: [AppColors.mineStatShade, AppColors.brandRed, AppColors.vipButtonEnd],
);
/// 「观看完整剧集」渐变按钮高度,overlay 用它安排底部避让。
/// 「观看完整剧集」按钮高度,overlay 用它安排底部避让。
const double homeFeedWatchAllHeight = _watchAllHeight;
/// 播放量紧凑展示(跟随语言):zh 20万 / en 200K / id 200 rb。
@@ -212,8 +207,8 @@ class HomeFeedWatchAllBar extends StatelessWidget {
return ClipRRect(
borderRadius: BorderRadius.circular(_watchAllRadius),
child: DecoratedBox(
key: const Key('home-feed-full-series-gradient'),
decoration: const BoxDecoration(gradient: _watchAllGradient),
key: const Key('home-feed-full-series-surface'),
decoration: const BoxDecoration(color: AppColors.watchAllSurface),
child: Material(
key: const Key('home-feed-full-series-bg'),
color: AppColors.transparent,