From 0482f1627049d9b86148470da9cb3d6a1c181f60 Mon Sep 17 00:00:00 2001
From: Tevin <tingquanren@163.com>
Date: Wed, 20 Jul 2022 15:25:11 +0800
Subject: [PATCH] 修复空图片回调两次的问题

---
 forms/form/cForm.scss |   43 +++++++++++++++++++++++++++++++++----------
 1 files changed, 33 insertions(+), 10 deletions(-)

diff --git a/forms/form/cForm.scss b/forms/form/cForm.scss
index fa48852..1df4dfb 100644
--- a/forms/form/cForm.scss
+++ b/forms/form/cForm.scss
@@ -6,8 +6,13 @@
 @import "../../common/sassMixin";
 
 .c-form {
+    display: block;
     width: 100%;
+    background-color: #fff;
     .c-form-item {
+        .at-input {
+            background-color: transparent;
+        }
         .at-input__title {
             margin-right: 20px;
         }
@@ -24,15 +29,14 @@
         .title {
             display: inline;
             .icon {
-                @include flexbox(inline, center center);
-                margin-top: 4px;
+                display: inline-block;
                 margin-right: 14px;
                 width: 40px;
-                min-width: 40px;
                 height: 40px;
+                vertical-align: middle;
+                text-align: center;
+                line-height: 36px;
                 color: transparent;
-                font-size: 24px;
-                line-height: 1;
                 border: 2px solid rgba(97, 144, 232, .2);
                 border-radius: 50%;
                 background-color: #fff;
@@ -43,25 +47,31 @@
                     border: none;
                     background-color: #6190e8;
                 }
+                .at-icon {
+                    font-size: 24px;
+                    line-height: 1;
+                }
             }
             .tips {
+                vertical-align: middle;
                 color: rgb(117, 117, 117);
                 ;
             }
         }
         .protocol {
             display: inline;
-            color: #2b69de;
-            font-size: 30px;
+            color: #2093df;
+            font-size: 36px;
+            vertical-align: middle;
         }
     }
     .c-form-submit {
         margin-top: 37px;
         padding: 0 20px 30px;
         [type=primary] {
-            height: 80px;
-            font-size: 33px;
-            line-height: 78px;
+            height: 90px;
+            font-size: 36px;
+            line-height: 88px;
             border: 1PX solid #2093df;
             background: #2093df;
             &:not([disabled]):active {
@@ -73,5 +83,18 @@
                 display: none;
             }
         }
+        &.c-form-submit-fixed {
+            margin: -3px 0 140px;
+            padding: 1px 0 0;
+            .c-form-submit-inner {
+                @include position(fixed, n 0 0 n, 0);
+                width: 100%;
+            }
+            [type=primary] {
+                height: 90px;
+                line-height: 88px;
+                border-radius: 0;
+            }
+        }
     }
 }
\ No newline at end of file

--
Gitblit v1.9.1