style(mobile-app): add gradient background and card background to ranking page

- Change page background from white to gradient (light beige to light orange)
- Change card background to light white (#FFFDF8) for better contrast

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
hailin 2025-12-07 20:44:53 -08:00
parent 9ae8516179
commit d05ff9ee17
1 changed files with 23 additions and 12 deletions

View File

@ -105,18 +105,29 @@ class _RankingPageState extends ConsumerState<RankingPage> {
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Colors.white,
body: Column(
children: [
// Tab栏
_buildHeader(),
//
_buildFilterBar(),
//
Expanded(
child: _buildRankingList(),
body: Container(
decoration: const BoxDecoration(
gradient: LinearGradient(
begin: Alignment.topCenter,
end: Alignment.bottomCenter,
colors: [
Color(0xFFFFF5E6), //
Color(0xFFEAE0C8), //
],
),
],
),
child: Column(
children: [
// Tab栏
_buildHeader(),
//
_buildFilterBar(),
//
Expanded(
child: _buildRankingList(),
),
],
),
),
);
}
@ -319,7 +330,7 @@ class _RankingPageState extends ConsumerState<RankingPage> {
return Container(
padding: const EdgeInsets.all(16),
decoration: BoxDecoration(
color: const Color(0x80FFFFFF),
color: const Color(0xFFFFFDF8), //
borderRadius: BorderRadius.circular(12),
),
child: Row(