feat: coin log

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-06-09 19:30:52 +08:00
parent 63a286056c
commit f1e4130201
28 changed files with 323 additions and 117 deletions

View File

@@ -103,6 +103,7 @@ class _MinePageState extends State<MinePage> {
color: theme.colorScheme.primary,
fontWeight: FontWeight.bold,
);
final isVip = userInfo.vipStatus != null && userInfo.vipStatus! > 0;
return Column(
mainAxisSize: MainAxisSize.min,
children: [
@@ -125,8 +126,7 @@ class _MinePageState extends State<MinePage> {
width: 55,
height: 55,
),
if (userInfo.vipStatus != null &&
userInfo.vipStatus! > 0)
if (isVip)
Positioned(
right: -1,
bottom: -2,
@@ -161,9 +161,7 @@ class _MinePageState extends State<MinePage> {
userInfo.uname ?? '点击头像登录',
style: theme.textTheme.titleMedium!.copyWith(
height: 1,
color: userInfo.vipStatus != null &&
userInfo.vipStatus! > 0 &&
userInfo.vipType == 2
color: isVip && userInfo.vipType == 2
? context.vipColor
: null,
),