From f97bff5a5e292123260a95612b65bc36c3d4342d Mon Sep 17 00:00:00 2001
From: Tevin <tingquanren@163.com>
Date: Thu, 30 Sep 2021 11:34:27 +0800
Subject: [PATCH] 优化图片上传组件,屏蔽非图片格式,增加限制数量

---
 forms/form/cForm.scss |   21 +++++++++++++++++++--
 1 files changed, 19 insertions(+), 2 deletions(-)

diff --git a/forms/form/cForm.scss b/forms/form/cForm.scss
index 02b16a7..97e2028 100644
--- a/forms/form/cForm.scss
+++ b/forms/form/cForm.scss
@@ -8,6 +8,9 @@
 .c-form {
     width: 100%;
     .c-form-item {
+        .at-input__title {
+            margin-right: 20px;
+        }
         .at-input__title--required {
             position: relative;
             &::before {
@@ -54,10 +57,11 @@
     }
     .c-form-submit {
         margin-top: 37px;
-        padding: 0 20px;
+        padding: 0 20px 30px;
         [type=primary] {
+            height: 80px;
             font-size: 33px;
-            line-height: 2.2;
+            line-height: 78px;
             border: 1PX solid #2093df;
             background: #2093df;
             &:not([disabled]):active {
@@ -65,6 +69,19 @@
                 border: 1PX solid #2093df;
                 background: #2093df;
             }
+            &::after {
+                display: none;
+            }
+        }
+        &.c-form-submit-fixed {
+            height: 80px;
+            .c-form-submit-inner {
+                @include position(fixed, n 0 0 n, 10);
+                width: 100%;
+                padding: 20px 20px 30px;
+                box-sizing: border-box;
+                background-color: #fff;
+            }
         }
     }
 }
\ No newline at end of file

--
Gitblit v1.9.1