Revert "feat(mobile-app): 用户资料页添加"同伴认种"标题和快捷标签"
This reverts commit d274444ca9.
This commit is contained in:
parent
d274444ca9
commit
2a31e1ba6d
|
|
@ -375,21 +375,7 @@ class _UserProfilePageState extends ConsumerState<UserProfilePage> {
|
||||||
}
|
}
|
||||||
|
|
||||||
Widget _buildStatsCard(UserProfileResponse profile) {
|
Widget _buildStatsCard(UserProfileResponse profile) {
|
||||||
return Column(
|
return Container(
|
||||||
crossAxisAlignment: CrossAxisAlignment.end,
|
|
||||||
children: [
|
|
||||||
// 右上角标题"同伴认种"
|
|
||||||
Text(
|
|
||||||
'同伴认种',
|
|
||||||
style: TextStyle(
|
|
||||||
fontSize: 18,
|
|
||||||
fontWeight: FontWeight.w600,
|
|
||||||
color: const Color(0xFF9C27B0).withValues(alpha: 0.8),
|
|
||||||
),
|
|
||||||
),
|
|
||||||
const SizedBox(height: 8),
|
|
||||||
// 统计卡片
|
|
||||||
Container(
|
|
||||||
padding: const EdgeInsets.symmetric(vertical: 16, horizontal: 12),
|
padding: const EdgeInsets.symmetric(vertical: 16, horizontal: 12),
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
color: Colors.white.withValues(alpha: 0.9),
|
color: Colors.white.withValues(alpha: 0.9),
|
||||||
|
|
@ -429,29 +415,6 @@ class _UserProfilePageState extends ConsumerState<UserProfilePage> {
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
|
||||||
const SizedBox(height: 12),
|
|
||||||
// 快捷标签行
|
|
||||||
Row(
|
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
|
|
||||||
children: [
|
|
||||||
_buildQuickLabel('引荐', const Color(0xFF4CAF50)),
|
|
||||||
_buildQuickLabel('同伴', const Color(0xFF9C27B0)),
|
|
||||||
_buildQuickLabel('本人', const Color(0xFFD4AF37)),
|
|
||||||
],
|
|
||||||
),
|
|
||||||
],
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
Widget _buildQuickLabel(String text, Color color) {
|
|
||||||
return Text(
|
|
||||||
text,
|
|
||||||
style: TextStyle(
|
|
||||||
fontSize: 20,
|
|
||||||
fontWeight: FontWeight.w600,
|
|
||||||
color: color,
|
|
||||||
),
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue