From d47574f80173c73cdb526c653dd6418d76416d6e Mon Sep 17 00:00:00 2001
From: Tevin <tingquanren@163.com>
Date: Tue, 09 Apr 2024 14:56:04 +0800
Subject: [PATCH] 公共工具,添加防抖节流函数

---
 forms/imagePicker/cImagePicker.scss |   30 +++++++++++++++++++++---------
 1 files changed, 21 insertions(+), 9 deletions(-)

diff --git a/forms/imagePicker/cImagePicker.scss b/forms/imagePicker/cImagePicker.scss
index cedeaa3..4b49961 100644
--- a/forms/imagePicker/cImagePicker.scss
+++ b/forms/imagePicker/cImagePicker.scss
@@ -9,20 +9,32 @@
     .at-input {
         padding: 0;
     }
-    .at-input__input {
+    .at-input__container {
+        .at-input__title {
+            width: 200px;
+            margin-right: 0;
+        }
         .weui-input {
             display: none;
         }
         .at-image-picker {
-            padding-bottom: 0.25rem;
+            padding-bottom: 18px;
+        }
+        .at-image-picker__item:not(.at-image-picker__choose-btn) {
+            border: 1PX #f2f2f2 solid;
+
         }
         .at-image-picker__flex-box {
-            padding: 0.21333rem 0 0;
-            margin-left: -0.21333rem;
+            padding: 18px 18px 0 0;
         }
         .at-image-picker__preview-img {
-            text-align: center;
-            background-color: #f8f8f8;
+            position: relative;
+            background-color: #f2f2f2;
+            img {
+                display: block;
+                @include position(absolute, 50% 50% n n);
+                transform: translate(-50%, -50%);
+            }
         }
         .at-image-picker__choose-btn {
             .add-bar {
@@ -30,8 +42,8 @@
                 &:last-child {
                     display: inline-block;
                 }
-                width: 1.6rem;
-                height: 1.6rem;
+                width: 75px;
+                height: 75px;
                 font-family: iconfont;
                 font-style: normal;
                 font-weight: 400;
@@ -39,7 +51,7 @@
                 text-transform: none;
                 text-rendering: auto;
                 line-height: 1;
-                font-size: 1.6rem;
+                font-size: 75px;
                 color: #cfe0ed;
                 -webkit-font-smoothing: antialiased;
                 vertical-align: middle;

--
Gitblit v1.9.1