diff --git a/docs/plans/PROGRESS.md b/docs/plans/PROGRESS.md index 8aab73b..e2a00ef 100644 --- a/docs/plans/PROGRESS.md +++ b/docs/plans/PROGRESS.md @@ -1249,3 +1249,8 @@ $ flutter test - 追剧与历史页增加 keep-alive,tab 与编辑态改用局部 ValueNotifier 更新,切换不再重建整个页面。 - 编辑图标调整为 20、`#B0B0B0`,热区 40×40,保持右侧 14 边距和垂直居中。 - 列表刷新期间保留已有数据与各页滚动位置;`flutter analyze`:No issues found。 + +## 2026-10-22 播放历史继续观看按钮微调 + +- 继续观看改为无边框、无底色的纯文字按钮,默认 `#B0B0B0`、12/w500,按压态使用品牌色。 +- 保持 28 高点击热区和右侧零间距;未执行测试或 analyze。 diff --git a/lib/pages/following/following_history_card.dart b/lib/pages/following/following_history_card.dart index e38f974..e2a2af3 100644 --- a/lib/pages/following/following_history_card.dart +++ b/lib/pages/following/following_history_card.dart @@ -205,20 +205,26 @@ class FollowingHistoryCard extends StatelessWidget { Widget _continueButton(AppLocalizations l10n) { return SizedBox( height: AppDimens.followingHistoryActionHeight, - child: OutlinedButton( + child: TextButton( key: Key('following-history-continue-$dramaId'), onPressed: onContinue, - style: OutlinedButton.styleFrom( - foregroundColor: AppColors.textPrimary, - side: const BorderSide(color: AppColors.textPrimary), - padding: const EdgeInsets.symmetric(horizontal: 10), - minimumSize: Size.zero, + style: ButtonStyle( + foregroundColor: WidgetStateProperty.resolveWith( + (states) => states.contains(WidgetState.pressed) + ? AppColors.primary + : AppColors.textTabInactive, + ), + backgroundColor: const WidgetStatePropertyAll(AppColors.transparent), + overlayColor: const WidgetStatePropertyAll(AppColors.transparent), + padding: const WidgetStatePropertyAll(EdgeInsets.zero), + minimumSize: const WidgetStatePropertyAll(Size.zero), tapTargetSize: MaterialTapTargetSize.shrinkWrap, visualDensity: VisualDensity.compact, - shape: const StadiumBorder(), - textStyle: const TextStyle( - fontSize: AppDimens.followingSubtitleFont, - fontWeight: FontWeight.w400, + textStyle: const WidgetStatePropertyAll( + TextStyle( + fontSize: AppDimens.followingSubtitleFont, + fontWeight: FontWeight.w500, + ), ), ), child: Text(l10n.continueWatching),