From 9e6807292cbe0e6af1db8f36e16e06d495953a55 Mon Sep 17 00:00:00 2001 From: hwj Date: Tue, 23 Jun 2026 11:11:57 +0800 Subject: [PATCH] =?UTF-8?q?style=EF=BC=9A=E6=B7=BB=E5=8A=A0=E5=85=A8?= =?UTF-8?q?=E5=B1=80=E9=80=89=E6=8B=A9=E6=A1=86=E9=AB=98=E5=BA=A6=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/static/scss/form-control.scss | 104 ++++++++++++++++++++++++++++++ src/static/scss/index.scss | 3 +- 2 files changed, 106 insertions(+), 1 deletion(-) create mode 100644 src/static/scss/form-control.scss diff --git a/src/static/scss/form-control.scss b/src/static/scss/form-control.scss new file mode 100644 index 0000000..d47e6f6 --- /dev/null +++ b/src/static/scss/form-control.scss @@ -0,0 +1,104 @@ +page { + --app-form-control-height: 70rpx; + --app-select-field-height: var(--app-form-control-height); + --app-input-field-height: var(--app-form-control-height); +} + +.app-select-field, +.select-field, +.mold-select-area, +.form-picker, +.picker-field, +.picker-view, +.value-field, +.template-select, +.filter-picker, +.filter-select, +.search-select, +.select-dropdown, +.select-row-card, +.dropdown-input, +.readonly-input, +.type-selector, +.date-picker-item, +.input-value, +.input-value-border, +.uni-select, +.uni-stat__select, +.uni-select__input-box, +.uni-select__input, +.uni-data-picker .input-value { + min-height: var(--app-select-field-height) !important; +} + +.app-select-field-fixed, +.select-field, +.mold-select-area, +.form-picker, +.picker-view, +.picker-field, +.value-field, +.template-select, +.filter-picker, +.filter-select, +.search-select, +.select-dropdown, +.select-row-card, +.dropdown-input, +.readonly-input, +.type-selector, +.date-picker-item, +.input-value, +.input-value-border, +.uni-select, +.uni-stat__select, +.uni-select__input-box, +.uni-select__input, +.uni-data-picker .input-value { + height: var(--app-select-field-height) !important; +} + +.app-input-field, +.form-input, +.keyword-input, +.filter-input, +.code-input, +.item-input, +.input, +.input-item, +.input-wrapper, +.input-box, +.input-with-unit, +.interval-input, +.qty-input-card, +.search-input, +.search-input-wrap, +.picker-search-input, +.device-search-input, +.scan-input, +.scan-input-row, +.modal-dropdown, +.time-field, +.key-input, +.uni-combox, +.uni-easyinput__content, +.uni-easyinput__content-input, +.uni-combox__input-box, +.uni-combox__input, +.uni-combox__input-plac, +.uni-date__x-input, +.uni-date__input, +.uni-date-range__input, +.uni-searchbar__box-search-input, +.uni-dialog-input { + min-height: var(--app-input-field-height) !important; + height: var(--app-input-field-height) !important; +} + +.multi-select-wrap { + min-height: var(--app-select-field-height) !important; +} + +.selected-items { + min-height: var(--app-select-field-height) !important; +} diff --git a/src/static/scss/index.scss b/src/static/scss/index.scss index 9ec3cd7..433c1ee 100644 --- a/src/static/scss/index.scss +++ b/src/static/scss/index.scss @@ -1,3 +1,4 @@ @import "./global.scss"; +@import "./form-control.scss"; @import "@/static/scss/colorui.css"; -@import "@/static/font/iconfont.css"; \ No newline at end of file +@import "@/static/font/iconfont.css";