Browse Source

Form详情的布局调整

liukai 1 week ago
parent
commit
9a16f36dc1

+ 2 - 9
packages/cpt_form/lib/modules/detail/detail_approved_fragment.dart

@@ -156,15 +156,8 @@ class DetailApprovedFragment extends HookConsumerWidget {
               ).expanded(),
             ],
           ).marginOnly(left: 15, right: 15),
-          MyButton(
-            onPressed: () {},
-            text: S.current.remove,
-            textColor: Colors.white,
-            fontSize: 15,
-            fontWeight: FontWeight.w400,
-            radius: 7,
-            backgroundColor: context.appColors.orangeBG,
-          ).marginOnly(top: 6, left: 15, right: 15, bottom: 17.5),
+
+          const SizedBox(height: 17.5),
         ],
       ),
     );

+ 3 - 9
packages/cpt_form/lib/modules/detail/detail_not_approved_fragment.dart

@@ -155,15 +155,9 @@ class DetailNotApprovedFragment extends HookConsumerWidget {
               ).expanded(),
             ],
           ).marginOnly(left: 15, right: 15),
-          MyButton(
-            onPressed: () {},
-            text: S.current.remove,
-            textColor: Colors.white,
-            fontSize: 15,
-            fontWeight: FontWeight.w400,
-            radius: 7,
-            backgroundColor: context.appColors.orangeBG,
-          ).marginOnly(top: 6, left: 15, right: 15, bottom: 17.5),
+
+          const SizedBox(height: 17.5),
+
         ],
       ),
     );