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";