Browse Source

样式小调整

loki.wu 10 months ago
parent
commit
160e0a4ba3

+ 5 - 5
lib/pages/check/follow_up/controller.dart

@@ -112,7 +112,7 @@ class FollowUpController extends GetxController {
       if (state.followUpTime == null ||
           state.nextFollowUpTime == null ||
           state.followUpMode == null) {
-        PromptBox.snackbar("带*为必填项,不能为空",
+        PromptBox.snackbar("",
             messageText: RichText(
               text: TextSpan(
                 children: [
@@ -120,20 +120,20 @@ class FollowUpController extends GetxController {
                     text: "带",
                     style: const TextStyle(
                       color: Colors.black,
-                      fontSize: 20,
+                      fontSize: 30,
                       fontFamily: "NotoSansSC",
                       fontFamilyFallback: const ["NotoSansSC"],
                     ),
                   ),
                   TextSpan(
-                    text: "*",
-                    style: const TextStyle(color: Colors.red, fontSize: 40),
+                    text: " * ",
+                    style: const TextStyle(color: Colors.red, fontSize: 35),
                   ),
                   TextSpan(
                     text: "为必填项,不能为空",
                     style: const TextStyle(
                       color: Colors.black,
-                      fontSize: 20,
+                      fontSize: 30,
                       fontFamily: "NotoSansSC",
                       fontFamilyFallback: const ["NotoSansSC"],
                     ),

+ 1 - 1
lib/pages/check/widgets/configurable_card.dart

@@ -404,7 +404,7 @@ class _ConfigurableFormState extends State<ConfigurableCard> {
                             var value = formValue[child.key];
                             if (value == null || value.length <= 0) {
                               PromptBox.snackbar(
-                                "带*为必填项,不能为空",
+                                "",
                                 messageText: RichText(
                                   text: TextSpan(
                                     children: [