From a6378a4ecdc99fc8b2193adf193bcac98ddf05f5 Mon Sep 17 00:00:00 2001
From: Tevin <tingquanren@163.com>
Date: Thu, 13 Mar 2025 09:55:46 +0800
Subject: [PATCH] 知识库文档,根据 cursor 特点再次调整目录结构

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

diff --git a/forms/imagePicker/cImagePicker.scss b/forms/imagePicker/cImagePicker.scss
index ea70e6f..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;
@@ -50,6 +62,9 @@
             }
         }
     }
+    .at-input__icon {
+        display: none;
+    }
     .c-image-picker-view {
         .at-curtain__container {
             width: 95%;

--
Gitblit v1.9.1