Pārlūkot izejas kodu

首页的item调整

liukai 4 mēneši atpakaļ
vecāks
revīzija
e0bc943b26

+ 5 - 3
packages/cpt_auth/lib/modules/main/main_item_module.dart

@@ -30,12 +30,14 @@ class ModuleItem extends StatelessWidget {
               isTextEllipsis: true,
               maxLines: 2,
               isFontBold: true,
-              margin: 20,
+              marginLeft: 20,
+              marginRight: 20,
+              marginTop: 20,
               fontSize: 17,
-            ).constrained(minHeight: 80),
+            ),
             Center(
               child: MyAssetImage(item.moduleIconPath, width: item.iconWidth, height: item.iconHeight),
-            ),
+            ).expanded(),
           ],
         ),
       ),