Quellcode durchsuchen

[feat]星座恋爱分析,UI调整

hezihao vor 8 Monaten
Ursprung
Commit
0fd42b16ac
1 geänderte Dateien mit 7 neuen und 2 gelöschten Zeilen
  1. 7 2
      lib/module/zodiac_love_intimacy/zodiac_love_intimacy_page.dart

+ 7 - 2
lib/module/zodiac_love_intimacy/zodiac_love_intimacy_page.dart

@@ -187,7 +187,7 @@ class ZodiacLoveIntimacyPage extends BasePage<ZodiacLoveIntimacyController> {
       // 未选中时的颜色
       // 未选中时的颜色
       tabTextStyle = TextStyle(
       tabTextStyle = TextStyle(
         fontSize: 14.sp,
         fontSize: 14.sp,
-        fontWeight: FontWeight.w500,
+        fontWeight: FontWeight.w600,
         color: ColorName.black60,
         color: ColorName.black60,
       );
       );
     }
     }
@@ -207,7 +207,12 @@ class ZodiacLoveIntimacyPage extends BasePage<ZodiacLoveIntimacyController> {
                   )
                   )
                   : null,
                   : null,
         ),
         ),
-        child: Center(child: Text(tabName, style: tabTextStyle)),
+        child: Center(
+          child: Container(
+            margin: EdgeInsets.only(top: 5.h),
+            child: Text(tabName, style: tabTextStyle),
+          ),
+        ),
       ),
       ),
     );
     );
   }
   }