Bladeren bron

预售界面UI修改

yangjia 1 maand geleden
bovenliggende
commit
0e9ae20d62
1 gewijzigde bestanden met toevoegingen van 18 en 9 verwijderingen
  1. 18 9
      lib/presentation/screens/finance/staking_screen.dart

+ 18 - 9
lib/presentation/screens/finance/staking_screen.dart

@@ -128,14 +128,24 @@ class _StakingScreenState extends ConsumerState<StakingScreen> {
           child: Column(
             crossAxisAlignment: CrossAxisAlignment.start,
             children: [
-              Text(
-                l10n.financeJoinPresale,
-                style: TextStyle(
-                  color: _financePrimaryText(context),
-                  fontSize: 22,
-                  fontWeight: FontWeight.w600,
-                ),
-              ),
+               Row(
+                 crossAxisAlignment:CrossAxisAlignment.center,
+                 mainAxisAlignment:MainAxisAlignment.center,
+                 children: [
+                   Image.asset("assets/images/ico_airdrop_left.png",height:10,),
+                   SizedBox(width:10,),
+                   Padding(padding:EdgeInsetsGeometry.only(bottom:5),child:Text(
+                     l10n.financeJoinPresale,
+                     style: TextStyle(
+                       color: _financePrimaryText(context),
+                       fontSize: 16,
+                       fontWeight: FontWeight.w600,
+                     ),
+                   ),),
+                   SizedBox(width:10,),
+                   Image.asset("assets/images/ico_airdrop_right.png",height:10,),
+                 ],
+               ),
               const SizedBox(height: 24),
               _LabelRow(
                 label: l10n.financeSubscribeQty,
@@ -171,7 +181,6 @@ class _StakingScreenState extends ConsumerState<StakingScreen> {
                     ),
                   ),
                   const SizedBox(width: 12),
-                  if (false)
                     _TransferButton(
                       label: l10n.stakingTransfer,
                       onPressed: () => _openSpotFundTransfer(isLoggedIn),