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