refactor: 免费获取权益卡片移到入口列表与退出登录之间

This commit is contained in:
2026-07-31 16:48:18 +08:00
parent a4670de8ed
commit 240f5d1114
+7 -7
View File
@@ -89,13 +89,6 @@ class _MinePageState extends ConsumerState<MinePage> {
),
const SizedBox(height: 12),
const _RecentDealsCard(),
if (member.value?.isVip == false) ...[
const SizedBox(height: 12),
_AdsRewardCard(
rewarding: _rewarding,
onClaim: (adType, msg) => _claimReward(adType, msg),
),
],
const SizedBox(height: 16),
Card(
child: Column(
@@ -120,6 +113,13 @@ class _MinePageState extends ConsumerState<MinePage> {
],
),
),
if (member.value?.isVip == false) ...[
const SizedBox(height: 12),
_AdsRewardCard(
rewarding: _rewarding,
onClaim: (adType, msg) => _claimReward(adType, msg),
),
],
const SizedBox(height: 24),
OutlinedButton.icon(
onPressed: () async {