From 327839229273a90bd9ca0c6112f32f9e2f49ca1a Mon Sep 17 00:00:00 2001 From: chensiAb <chenchenco03@163.com> Date: Wed, 15 May 2024 18:18:12 +0800 Subject: [PATCH] feat:'筛选项第一项支持input' --- 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