@cloudbase/weda-ui-mp 3.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/actions/showMessage/index.js +3 -0
- package/actions/showModal/index.js +3 -0
- package/actions/showToast/index.js +3 -0
- package/app.js +0 -0
- package/components/button/index.js +89 -0
- package/components/button/index.json +4 -0
- package/components/button/index.wxml +22 -0
- package/components/button/index.wxss +13 -0
- package/components/calendar/arrowright--line.svg +3 -0
- package/components/calendar/index.js +439 -0
- package/components/calendar/index.json +5 -0
- package/components/calendar/index.wxml +35 -0
- package/components/calendar/index.wxss +203 -0
- package/components/carousel/index.js +91 -0
- package/components/carousel/index.json +7 -0
- package/components/carousel/index.wxml +6 -0
- package/components/chart/bar/index.js +331 -0
- package/components/chart/bar/index.json +6 -0
- package/components/chart/bar/index.wxml +1 -0
- package/components/chart/bar/index.wxss +9 -0
- package/components/chart/common/config/bar.js +50 -0
- package/components/chart/common/config/global.js +16 -0
- package/components/chart/common/config/line.js +48 -0
- package/components/chart/common/config/pie.js +36 -0
- package/components/chart/common/core/eChartBar.js +267 -0
- package/components/chart/common/core/eChartBase.js +450 -0
- package/components/chart/common/core/eChartLine.js +251 -0
- package/components/chart/common/core/eChartPie.js +169 -0
- package/components/chart/common/data-transform.js +284 -0
- package/components/chart/common/lib/echarts.min.js +18 -0
- package/components/chart/ec-canvas/ec-canvas.js +277 -0
- package/components/chart/ec-canvas/ec-canvas.json +4 -0
- package/components/chart/ec-canvas/ec-canvas.wxml +4 -0
- package/components/chart/ec-canvas/ec-canvas.wxss +4 -0
- package/components/chart/ec-canvas/wx-canvas.js +111 -0
- package/components/chart/line/index.js +326 -0
- package/components/chart/line/index.json +6 -0
- package/components/chart/line/index.wxml +1 -0
- package/components/chart/line/index.wxss +9 -0
- package/components/chart/pie/index.js +257 -0
- package/components/chart/pie/index.json +6 -0
- package/components/chart/pie/index.wxml +1 -0
- package/components/chart/pie/index.wxss +9 -0
- package/components/chart/statisticsCard/index.js +255 -0
- package/components/chart/statisticsCard/index.json +4 -0
- package/components/chart/statisticsCard/index.wxml +9 -0
- package/components/chart/statisticsCard/index.wxss +42 -0
- package/components/common/form-item-wrapper/index.js +20 -0
- package/components/common/form-item-wrapper/index.json +5 -0
- package/components/common/form-item-wrapper/index.wxml +3 -0
- package/components/container/index.js +32 -0
- package/components/container/index.json +4 -0
- package/components/container/index.wxml +3 -0
- package/components/customer-service/index.js +41 -0
- package/components/customer-service/index.json +5 -0
- package/components/customer-service/index.wxml +3 -0
- package/components/customer-service/index.wxss +7 -0
- package/components/dataView/index.js +109 -0
- package/components/dataView/index.json +7 -0
- package/components/dataView/index.wxml +25 -0
- package/components/dataView/index.wxss +0 -0
- package/components/form/checkbox/index.js +145 -0
- package/components/form/checkbox/index.json +7 -0
- package/components/form/checkbox/index.wxml +13 -0
- package/components/form/checkbox/index.wxss +1 -0
- package/components/form/form/index.js +189 -0
- package/components/form/form/index.json +4 -0
- package/components/form/form/index.wxml +5 -0
- package/components/form/form/index.wxss +3 -0
- package/components/form/form/wd-form.wxss +1091 -0
- package/components/form/formcell/index.js +57 -0
- package/components/form/formcell/index.json +4 -0
- package/components/form/formcell/index.wxml +11 -0
- package/components/form/formcell/index.wxss +31 -0
- package/components/form/input/index.js +116 -0
- package/components/form/input/index.json +7 -0
- package/components/form/input/index.wxml +25 -0
- package/components/form/input/index.wxss +22 -0
- package/components/form/location/components/mapChoose/index.js +495 -0
- package/components/form/location/components/mapChoose/index.json +4 -0
- package/components/form/location/components/mapChoose/index.wxml +54 -0
- package/components/form/location/components/mapChoose/index.wxss +301 -0
- package/components/form/location/index.js +494 -0
- package/components/form/location/index.json +10 -0
- package/components/form/location/index.wxml +29 -0
- package/components/form/location/index.wxss +151 -0
- package/components/form/location/location-btn.svg +4 -0
- package/components/form/location/location.svg +4 -0
- package/components/form/radio/index.js +124 -0
- package/components/form/radio/index.json +7 -0
- package/components/form/radio/index.wxml +13 -0
- package/components/form/radio/index.wxss +1 -0
- package/components/form/select/allTimePicker/dataUtils.js +377 -0
- package/components/form/select/allTimePicker/index.js +487 -0
- package/components/form/select/allTimePicker/index.json +7 -0
- package/components/form/select/allTimePicker/index.wxml +35 -0
- package/components/form/select/allTimePicker/index.wxss +118 -0
- package/components/form/select/dropdown-select/index.js +262 -0
- package/components/form/select/dropdown-select/index.json +4 -0
- package/components/form/select/dropdown-select/index.wxml +35 -0
- package/components/form/select/dropdown-select/index.wxss +293 -0
- package/components/form/select/formats-util.js +15 -0
- package/components/form/select/index.js +1017 -0
- package/components/form/select/index.json +10 -0
- package/components/form/select/index.wxml +56 -0
- package/components/form/select/index.wxss +61 -0
- package/components/form/select/region/index.js +120 -0
- package/components/form/selectMultiple/dropdown-select/index.js +202 -0
- package/components/form/selectMultiple/dropdown-select/index.json +4 -0
- package/components/form/selectMultiple/dropdown-select/index.wxml +37 -0
- package/components/form/selectMultiple/dropdown-select/index.wxss +305 -0
- package/components/form/selectMultiple/index.js +328 -0
- package/components/form/selectMultiple/index.json +9 -0
- package/components/form/selectMultiple/index.wxml +20 -0
- package/components/form/selectMultiple/index.wxss +127 -0
- package/components/form/switch/index.js +90 -0
- package/components/form/switch/index.json +7 -0
- package/components/form/switch/index.wxml +11 -0
- package/components/form/switch/index.wxss +1 -0
- package/components/form/textarea/index.js +90 -0
- package/components/form/textarea/index.json +7 -0
- package/components/form/textarea/index.wxml +8 -0
- package/components/form/textarea/index.wxss +10 -0
- package/components/form/tips/index.js +41 -0
- package/components/form/tips/index.json +4 -0
- package/components/form/tips/index.wxml +1 -0
- package/components/form/tips/index.wxss +5 -0
- package/components/form/uploader/compress.js +31 -0
- package/components/form/uploader/index.js +289 -0
- package/components/form/uploader/index.json +10 -0
- package/components/form/uploader/index.wxml +38 -0
- package/components/form/uploader/index.wxss +47 -0
- package/components/form/uploader/weui-uploader.js +310 -0
- package/components/form/uploader/weui-uploader.json +7 -0
- package/components/form/uploader/weui-uploader.wxml +49 -0
- package/components/form/uploader/weui-uploader.wxss +19 -0
- package/components/form/uploaderFile/index.js +481 -0
- package/components/form/uploaderFile/index.json +9 -0
- package/components/form/uploaderFile/index.wxml +52 -0
- package/components/form/uploaderFile/index.wxss +171 -0
- package/components/form-checkbox/index.js +78 -0
- package/components/form-checkbox/index.json +9 -0
- package/components/form-checkbox/index.wxml +6 -0
- package/components/form-date/index.js +72 -0
- package/components/form-date/index.json +9 -0
- package/components/form-date/index.wxml +25 -0
- package/components/form-email/index.js +99 -0
- package/components/form-email/index.json +9 -0
- package/components/form-email/index.wxml +28 -0
- package/components/form-field-behavior/form-field-behavior.js +423 -0
- package/components/form-field-behavior/item-behavior.js +445 -0
- package/components/form-field-behavior/validator.js +132 -0
- package/components/form-image-uploader/index.js +83 -0
- package/components/form-image-uploader/index.json +9 -0
- package/components/form-image-uploader/index.wxml +27 -0
- package/components/form-input/index.js +103 -0
- package/components/form-input/index.json +9 -0
- package/components/form-input/index.wxml +29 -0
- package/components/form-location/index.js +98 -0
- package/components/form-location/index.json +9 -0
- package/components/form-location/index.wxml +28 -0
- package/components/form-multi-region/index.js +62 -0
- package/components/form-multi-region/index.json +9 -0
- package/components/form-multi-region/index.wxml +6 -0
- package/components/form-phone/index.js +95 -0
- package/components/form-phone/index.json +9 -0
- package/components/form-phone/index.wxml +28 -0
- package/components/form-radio/index.js +70 -0
- package/components/form-radio/index.json +9 -0
- package/components/form-radio/index.wxml +6 -0
- package/components/form-region/index.js +59 -0
- package/components/form-region/index.json +9 -0
- package/components/form-region/index.wxml +6 -0
- package/components/form-select/index.js +114 -0
- package/components/form-select/index.json +9 -0
- package/components/form-select/index.wxml +31 -0
- package/components/form-select-multiple/index.js +97 -0
- package/components/form-select-multiple/index.json +9 -0
- package/components/form-select-multiple/index.wxml +29 -0
- package/components/form-switch/index.js +43 -0
- package/components/form-switch/index.json +9 -0
- package/components/form-switch/index.wxml +6 -0
- package/components/form-text-area/index.js +95 -0
- package/components/form-text-area/index.json +9 -0
- package/components/form-text-area/index.wxml +26 -0
- package/components/form-time/index.js +72 -0
- package/components/form-time/index.json +9 -0
- package/components/form-time/index.wxml +6 -0
- package/components/form-upload-file/index.js +73 -0
- package/components/form-upload-file/index.json +9 -0
- package/components/form-upload-file/index.wxml +26 -0
- package/components/form-url/index.js +104 -0
- package/components/form-url/index.json +9 -0
- package/components/form-url/index.wxml +28 -0
- package/components/formdetail/index.js +330 -0
- package/components/formdetail/index.json +7 -0
- package/components/formdetail/index.wxml +7 -0
- package/components/formdetail/index.wxss +277 -0
- package/components/formdetail/wd-form-detail.wxss +245 -0
- package/components/graphicCard/chevron-right.svg +3 -0
- package/components/graphicCard/index.js +205 -0
- package/components/graphicCard/index.json +7 -0
- package/components/graphicCard/index.wxml +27 -0
- package/components/graphicCard/index.wxss +165 -0
- package/components/grid/_util.wxss +67 -0
- package/components/grid/col/index.js +110 -0
- package/components/grid/col/index.json +4 -0
- package/components/grid/col/index.wxml +3 -0
- package/components/grid/index.js +94 -0
- package/components/grid/index.json +4 -0
- package/components/grid/index.wxml +3 -0
- package/components/grid/index.wxss +1206 -0
- package/components/grid/row/index.js +78 -0
- package/components/grid/row/index.json +4 -0
- package/components/grid/row/index.wxml +3 -0
- package/components/image/index.js +203 -0
- package/components/image/index.json +7 -0
- package/components/image/index.wxml +9 -0
- package/components/image/index.wxss +49 -0
- package/components/listView/arrow-right-line.svg +3 -0
- package/components/listView/emptyText.svg +7 -0
- package/components/listView/index.js +656 -0
- package/components/listView/index.json +7 -0
- package/components/listView/index.wxml +82 -0
- package/components/listView/index.wxss +290 -0
- package/components/listView/more-line.svg +3 -0
- package/components/lottery/index.js +301 -0
- package/components/lottery/index.json +4 -0
- package/components/lottery/index.wxml +41 -0
- package/components/lottery/index.wxss +340 -0
- package/components/modal/index.js +65 -0
- package/components/modal/index.json +9 -0
- package/components/modal/index.wxml +18 -0
- package/components/modal/index.wxss +56 -0
- package/components/navLayout/index.js +123 -0
- package/components/navLayout/index.json +8 -0
- package/components/navLayout/index.wxml +22 -0
- package/components/navLayout/index.wxss +131 -0
- package/components/navigationBar/index.js +205 -0
- package/components/navigationBar/index.json +5 -0
- package/components/navigationBar/index.wxml +83 -0
- package/components/navigationBar/index.wxss +205 -0
- package/components/qrcode/index.js +155 -0
- package/components/qrcode/index.json +5 -0
- package/components/qrcode/index.wxml +2 -0
- package/components/qrcode/index.wxss +10 -0
- package/components/richText/index.js +90 -0
- package/components/richText/index.json +4 -0
- package/components/richText/index.wxml +3 -0
- package/components/richText/index.wxss +67 -0
- package/components/scrollView/index.js +119 -0
- package/components/scrollView/index.json +4 -0
- package/components/scrollView/index.wxml +38 -0
- package/components/slot/index.js +25 -0
- package/components/slot/index.json +4 -0
- package/components/slot/index.wxml +3 -0
- package/components/status-content/arrow-right.svg +1 -0
- package/components/status-content/close.svg +1 -0
- package/components/status-content/error.svg +6 -0
- package/components/status-content/index.js +51 -0
- package/components/status-content/index.json +4 -0
- package/components/status-content/index.wxml +28 -0
- package/components/status-content/index.wxss +145 -0
- package/components/swiper/index.js +65 -0
- package/components/swiper/index.json +4 -0
- package/components/swiper/index.wxml +3 -0
- package/components/tabs/index.js +67 -0
- package/components/tabs/index.json +4 -0
- package/components/tabs/index.wxml +10 -0
- package/components/tabs/index.wxss +61 -0
- package/components/text/index.js +40 -0
- package/components/text/index.json +4 -0
- package/components/text/index.wxml +7 -0
- package/components/text/index.wxss +27 -0
- package/components/tooltip/index.js +290 -0
- package/components/tooltip/index.json +4 -0
- package/components/tooltip/index.wxml +18 -0
- package/components/tooltip/index.wxss +72 -0
- package/components/tooltip/wd-tooltip.wxss +25 -0
- package/components/wd-ad/index.js +66 -0
- package/components/wd-ad/index.json +5 -0
- package/components/wd-ad/index.wxml +3 -0
- package/components/wd-ad/index.wxss +3 -0
- package/components/wd-audio/index.js +273 -0
- package/components/wd-audio/index.json +5 -0
- package/components/wd-audio/index.wxml +3 -0
- package/components/wd-audio/index.wxss +0 -0
- package/components/wd-button/index.js +284 -0
- package/components/wd-button/index.json +7 -0
- package/components/wd-button/index.wxml +32 -0
- package/components/wd-button/index.wxss +2 -0
- package/components/wd-button/wd-button.wxss +498 -0
- package/components/wd-calendar/arrowright--line.svg +3 -0
- package/components/wd-calendar/index.js +157 -0
- package/components/wd-calendar/index.json +5 -0
- package/components/wd-calendar/index.wxml +36 -0
- package/components/wd-calendar/index.wxss +203 -0
- package/components/wd-calendar/weeks.js +41 -0
- package/components/wd-canvas/index.js +250 -0
- package/components/wd-canvas/index.json +5 -0
- package/components/wd-canvas/index.wxml +2 -0
- package/components/wd-canvas/index.wxss +0 -0
- package/components/wd-card/index.js +76 -0
- package/components/wd-card/index.json +5 -0
- package/components/wd-card/index.wxml +11 -0
- package/components/wd-card/index.wxss +6 -0
- package/components/wd-card/wd-card.wxss +114 -0
- package/components/wd-checkbox-list/index.js +170 -0
- package/components/wd-checkbox-list/index.json +7 -0
- package/components/wd-checkbox-list/index.wxml +37 -0
- package/components/wd-checkbox-list/index.wxss +2 -0
- package/components/wd-checkbox-list/wd-checkbox-list.wxss +253 -0
- package/components/wd-date/calendar/index.js +111 -0
- package/components/wd-date/calendar/index.json +7 -0
- package/components/wd-date/calendar/index.wxml +38 -0
- package/components/wd-date/calendar/index.wxss +0 -0
- package/components/wd-date/date-picker/index.js +101 -0
- package/components/wd-date/date-picker/index.json +9 -0
- package/components/wd-date/date-picker/index.wxml +41 -0
- package/components/wd-date/date-picker/index.wxss +7 -0
- package/components/wd-date/index.js +129 -0
- package/components/wd-date/index.json +10 -0
- package/components/wd-date/index.wxml +36 -0
- package/components/wd-date/index.wxss +9 -0
- package/components/wd-date/modal/index.js +28 -0
- package/components/wd-date/modal/index.json +5 -0
- package/components/wd-date/modal/index.wxml +14 -0
- package/components/wd-date/modal/index.wxss +3 -0
- package/components/wd-date/time-picker/index.js +202 -0
- package/components/wd-date/time-picker/index.json +5 -0
- package/components/wd-date/time-picker/index.wxml +13 -0
- package/components/wd-date/time-picker/index.wxss +9 -0
- package/components/wd-date/wd-date.wxss +0 -0
- package/components/wd-date/year-month-picker/index.js +128 -0
- package/components/wd-date/year-month-picker/index.json +5 -0
- package/components/wd-date/year-month-picker/index.wxml +8 -0
- package/components/wd-date/year-month-picker/index.wxss +9 -0
- package/components/wd-date-range/index.js +172 -0
- package/components/wd-date-range/index.json +10 -0
- package/components/wd-date-range/index.wxml +41 -0
- package/components/wd-date-range/index.wxss +9 -0
- package/components/wd-date-range/wd-date-range.wxss +0 -0
- package/components/wd-divider/index.js +46 -0
- package/components/wd-divider/index.json +5 -0
- package/components/wd-divider/index.wxml +1 -0
- package/components/wd-divider/index.wxss +2 -0
- package/components/wd-divider/wd-divider.wxss +26 -0
- package/components/wd-form/form-utils.js +55 -0
- package/components/wd-form/index.js +748 -0
- package/components/wd-form/index.json +5 -0
- package/components/wd-form/index.wxml +13 -0
- package/components/wd-form/index.wxss +23 -0
- package/components/wd-form/remote-value.js +76 -0
- package/components/wd-form/wd-form.wxss +1091 -0
- package/components/wd-form-item/index.js +106 -0
- package/components/wd-form-item/index.json +7 -0
- package/components/wd-form-item/index.wxml +47 -0
- package/components/wd-form-item/index.wxss +2 -0
- package/components/wd-form-item/wd-form-item.wxss +1091 -0
- package/components/wd-form-item-read-only/index.js +59 -0
- package/components/wd-form-item-read-only/index.json +5 -0
- package/components/wd-form-item-read-only/index.wxml +10 -0
- package/components/wd-icon/index.js +140 -0
- package/components/wd-icon/index.json +7 -0
- package/components/wd-icon/index.wxml +4 -0
- package/components/wd-icon/index.wxss +4 -0
- package/components/wd-icon/wd-font-icon.wxss +4432 -0
- package/components/wd-icon/wd-icon.wxss +148 -0
- package/components/wd-image/index.js +244 -0
- package/components/wd-image/index.json +7 -0
- package/components/wd-image/index.wxml +11 -0
- package/components/wd-image/index.wxss +11 -0
- package/components/wd-image/wd-image.wxss +80 -0
- package/components/wd-input/index.js +62 -0
- package/components/wd-input/index.json +7 -0
- package/components/wd-input/index.wxml +57 -0
- package/components/wd-input/inner-input/index.js +202 -0
- package/components/wd-input/inner-input/index.json +9 -0
- package/components/wd-input/inner-input/index.wxml +79 -0
- package/components/wd-input/inner-input/index.wxss +2 -0
- package/components/wd-input/inner-input/wd-input.wxss +1574 -0
- package/components/wd-input-email/index.js +63 -0
- package/components/wd-input-email/index.json +7 -0
- package/components/wd-input-email/index.wxml +55 -0
- package/components/wd-input-group/index.js +57 -0
- package/components/wd-input-group/index.json +5 -0
- package/components/wd-input-group/index.wxml +16 -0
- package/components/wd-input-group/index.wxss +1 -0
- package/components/wd-input-group/wd-input-group.wxss +99 -0
- package/components/wd-input-number/index.js +575 -0
- package/components/wd-input-number/index.json +10 -0
- package/components/wd-input-number/index.wxml +66 -0
- package/components/wd-input-number/index.wxss +8 -0
- package/components/wd-input-number/number.js +309 -0
- package/components/wd-input-number/wd-input-number.wxss +243 -0
- package/components/wd-input-phone/index.js +80 -0
- package/components/wd-input-phone/index.json +7 -0
- package/components/wd-input-phone/index.wxml +55 -0
- package/components/wd-input-url/index.js +63 -0
- package/components/wd-input-url/index.json +7 -0
- package/components/wd-input-url/index.wxml +55 -0
- package/components/wd-input-wrap/index.js +112 -0
- package/components/wd-input-wrap/index.json +7 -0
- package/components/wd-input-wrap/index.wxml +32 -0
- package/components/wd-input-wrap/index.wxss +2 -0
- package/components/wd-input-wrap/wd-input-wrap.wxss +220 -0
- package/components/wd-layout/index.js +33 -0
- package/components/wd-layout/index.json +5 -0
- package/components/wd-layout/index.wxml +13 -0
- package/components/wd-layout/index.wxss +2 -0
- package/components/wd-layout/wd-layout.wxss +78 -0
- package/components/wd-location/index.js +49 -0
- package/components/wd-location/index.json +10 -0
- package/components/wd-location/index.wxml +47 -0
- package/components/wd-menu-base-layout/index.js +20 -0
- package/components/wd-menu-base-layout/index.json +5 -0
- package/components/wd-menu-base-layout/index.wxml +3 -0
- package/components/wd-menu-horizontal-layout/index.js +20 -0
- package/components/wd-menu-horizontal-layout/index.json +5 -0
- package/components/wd-menu-horizontal-layout/index.wxml +3 -0
- package/components/wd-menu-layout/index.js +69 -0
- package/components/wd-menu-layout/index.json +8 -0
- package/components/wd-menu-layout/index.wxml +57 -0
- package/components/wd-menu-layout/index.wxss +13 -0
- package/components/wd-menu-layout/utils/index.js +40 -0
- package/components/wd-menu-layout/wd-menu-layout.wxss +632 -0
- package/components/wd-menu-list/index.js +246 -0
- package/components/wd-menu-list/index.json +7 -0
- package/components/wd-menu-list/index.wxml +50 -0
- package/components/wd-menu-list/index.wxss +146 -0
- package/components/wd-menu-list/wd-menu-list.wxss +621 -0
- package/components/wd-menu-nav-layout/index.js +20 -0
- package/components/wd-menu-nav-layout/index.json +5 -0
- package/components/wd-menu-nav-layout/index.wxml +3 -0
- package/components/wd-menu-plant-layout/index.js +20 -0
- package/components/wd-menu-plant-layout/index.json +5 -0
- package/components/wd-menu-plant-layout/index.wxml +3 -0
- package/components/wd-menu-tab-layout/index.js +20 -0
- package/components/wd-menu-tab-layout/index.json +5 -0
- package/components/wd-menu-tab-layout/index.wxml +3 -0
- package/components/wd-menu-vertical-layout/index.js +20 -0
- package/components/wd-menu-vertical-layout/index.json +5 -0
- package/components/wd-menu-vertical-layout/index.wxml +3 -0
- package/components/wd-modal/index.js +184 -0
- package/components/wd-modal/index.json +5 -0
- package/components/wd-modal/index.wxml +16 -0
- package/components/wd-modal/index.wxss +2 -0
- package/components/wd-modal/wd-modal.wxss +206 -0
- package/components/wd-official-account/index.js +28 -0
- package/components/wd-official-account/index.json +5 -0
- package/components/wd-official-account/index.wxml +1 -0
- package/components/wd-official-account/index.wxss +4 -0
- package/components/wd-progress/index.js +127 -0
- package/components/wd-progress/index.json +7 -0
- package/components/wd-progress/index.wxml +29 -0
- package/components/wd-progress/index.wxss +2 -0
- package/components/wd-progress/wd-progress.wxss +1123 -0
- package/components/wd-radio-list/index.js +157 -0
- package/components/wd-radio-list/index.json +7 -0
- package/components/wd-radio-list/index.wxml +37 -0
- package/components/wd-radio-list/index.wxss +2 -0
- package/components/wd-radio-list/wd-radio-list.wxss +181 -0
- package/components/wd-rating/index.js +359 -0
- package/components/wd-rating/index.json +9 -0
- package/components/wd-rating/index.wxml +37 -0
- package/components/wd-rating/index.wxss +2 -0
- package/components/wd-rating/wd-rating.wxss +1116 -0
- package/components/wd-region/index.js +38 -0
- package/components/wd-region/index.json +10 -0
- package/components/wd-region/index.wxml +28 -0
- package/components/wd-region/index.wxss +4 -0
- package/components/wd-select/index.js +78 -0
- package/components/wd-select/index.json +10 -0
- package/components/wd-select/index.wxml +51 -0
- package/components/wd-select/select.wxss +728 -0
- package/components/wd-select-multiple/index.js +74 -0
- package/components/wd-select-multiple/index.json +10 -0
- package/components/wd-select-multiple/index.wxml +51 -0
- package/components/wd-side-tab/index.js +113 -0
- package/components/wd-side-tab/index.json +7 -0
- package/components/wd-side-tab/index.wxml +6 -0
- package/components/wd-side-tab/index.wxss +1 -0
- package/components/wd-switch/index.js +67 -0
- package/components/wd-switch/index.json +7 -0
- package/components/wd-switch/index.wxml +28 -0
- package/components/wd-switch/index.wxss +2 -0
- package/components/wd-switch/wd-switch.wxss +1212 -0
- package/components/wd-tabbar/index.js +196 -0
- package/components/wd-tabbar/index.json +7 -0
- package/components/wd-tabbar/index.wxml +10 -0
- package/components/wd-tabbar/index.wxss +2 -0
- package/components/wd-tabbar/wd-tabbar.wxss +87 -0
- package/components/wd-tabs/index.js +62 -0
- package/components/wd-tabs/index.json +5 -0
- package/components/wd-tabs/index.wxml +34 -0
- package/components/wd-tabs/index.wxss +8 -0
- package/components/wd-tabs/wd-tabs.wxss +265 -0
- package/components/wd-tag/index.js +171 -0
- package/components/wd-tag/index.json +7 -0
- package/components/wd-tag/index.wxml +22 -0
- package/components/wd-tag/index.wxss +3 -0
- package/components/wd-tag/tag-behavior.js +57 -0
- package/components/wd-tag/tag-item/index.js +198 -0
- package/components/wd-tag/tag-item/index.json +7 -0
- package/components/wd-tag/tag-item/index.wxml +15 -0
- package/components/wd-tag/wd-tag.wxss +319 -0
- package/components/wd-tag-select/index.js +107 -0
- package/components/wd-tag-select/index.json +8 -0
- package/components/wd-tag-select/index.wxml +42 -0
- package/components/wd-tag-select/index.wxss +4 -0
- package/components/wd-tag-select/wd-tag-select.wxss +1253 -0
- package/components/wd-text/index.js +162 -0
- package/components/wd-text/index.json +5 -0
- package/components/wd-text/index.wxml +8 -0
- package/components/wd-text/index.wxss +2 -0
- package/components/wd-text/wd-text.wxss +256 -0
- package/components/wd-textarea/index.js +94 -0
- package/components/wd-textarea/index.json +7 -0
- package/components/wd-textarea/index.wxml +31 -0
- package/components/wd-textarea/index.wxss +7 -0
- package/components/wd-textarea/wd-textarea.wxss +91 -0
- package/components/wd-time/index.js +124 -0
- package/components/wd-time/index.json +11 -0
- package/components/wd-time/index.wxml +36 -0
- package/components/wd-time/index.wxss +9 -0
- package/components/wd-time/wd-time.wxss +0 -0
- package/components/wd-top-tab/index.js +113 -0
- package/components/wd-top-tab/index.json +7 -0
- package/components/wd-top-tab/index.wxml +6 -0
- package/components/wd-top-tab/index.wxss +5 -0
- package/components/wd-unified-link/index.js +115 -0
- package/components/wd-unified-link/index.json +5 -0
- package/components/wd-unified-link/index.wxml +3 -0
- package/components/wd-unified-link/index.wxss +2 -0
- package/components/wd-unified-link/wd-link.wxss +45 -0
- package/components/wd-upload-file/index.js +46 -0
- package/components/wd-upload-file/index.json +8 -0
- package/components/wd-upload-file/index.wxml +39 -0
- package/components/wd-upload-image/index.js +64 -0
- package/components/wd-upload-image/index.json +8 -0
- package/components/wd-upload-image/index.wxml +45 -0
- package/components/web-view/index.js +69 -0
- package/components/web-view/index.json +5 -0
- package/components/web-view/index.wxml +1 -0
- package/components/web-view/index.wxss +1 -0
- package/components/wedaVideo/index.js +179 -0
- package/components/wedaVideo/index.json +4 -0
- package/components/wedaVideo/index.wxml +29 -0
- package/components/wedaVideo/index.wxss +20 -0
- package/components/wxOpenApi/phone/index.js +122 -0
- package/components/wxOpenApi/phone/index.json +4 -0
- package/components/wxOpenApi/phone/index.wxml +4 -0
- package/components/wxOpenApi/phone/index.wxss +22 -0
- package/components/wxOpenApi/phoneCode/index.js +102 -0
- package/components/wxOpenApi/phoneCode/index.json +4 -0
- package/components/wxOpenApi/phoneCode/index.wxml +4 -0
- package/components/wxOpenApi/phoneCode/index.wxss +22 -0
- package/components/wxOpenApi/share/index.js +134 -0
- package/components/wxOpenApi/share/index.json +4 -0
- package/components/wxOpenApi/share/index.wxml +4 -0
- package/components/wxOpenApi/share/index.wxss +22 -0
- package/components/wxOpenApi/userInfo/index.js +97 -0
- package/components/wxOpenApi/userInfo/index.json +4 -0
- package/components/wxOpenApi/userInfo/index.wxml +4 -0
- package/components/wxOpenApi/userInfo/index.wxss +22 -0
- package/index.json +128 -0
- package/package.json +16 -0
- package/style/utils.wxss +162 -0
- package/style/wd-design.wxss +606 -0
- package/style/weda-ui.wxss +1412 -0
- package/style/wedatea2td.wxss +56 -0
- package/utils/classnames.js +39 -0
- package/utils/color.js +76 -0
- package/utils/common-behavior.js +1 -0
- package/utils/constant.js +132 -0
- package/utils/date.js +47 -0
- package/utils/dayjs.min.js +1 -0
- package/utils/debounce.js +134 -0
- package/utils/deepEqual.js +42 -0
- package/utils/destr.js +49 -0
- package/utils/dr_square_point.js +29 -0
- package/utils/enum.js +1247 -0
- package/utils/error.js +12 -0
- package/utils/getCustomInfo.js +34 -0
- package/utils/getFormLegacy.js +401 -0
- package/utils/getModelParams.js +43 -0
- package/utils/getWedaApi.js +1 -0
- package/utils/handleEvents.js +34 -0
- package/utils/lodash.js +65 -0
- package/utils/platform.js +158 -0
- package/utils/qqmap-wx-jssdk1.2/qqmap-wx-jssdk.js +1323 -0
- package/utils/qrcode/weapp.qrcode.min.js +911 -0
- package/utils/range.js +82 -0
- package/utils/tcb.js +162 -0
- package/utils/tool.js +74 -0
- package/utils/widget-api.js +28 -0
|
@@ -0,0 +1,1212 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
.wd-switch {
|
|
3
|
+
--wd-switch-bg-default-checked: var(--wd-color-brand);
|
|
4
|
+
--wd-switch-bg-default-checked-disabled: var(--wd-color-brand-disabled);
|
|
5
|
+
--wd-switch-bg-default: var(--wd-color-gray-4);
|
|
6
|
+
--wd-switch-border-radius-md: var(--wd-border-radius-lg);
|
|
7
|
+
--wd-switch-height-md: calc(var(--wd-space-base) * 5);
|
|
8
|
+
--wd-switch-height-sm: calc(var(--wd-space-base) * 4);
|
|
9
|
+
--wd-switch-height-lg: calc(var(--wd-space-base) * 6);
|
|
10
|
+
--wd-switch-width-md: calc(var(--wd-space-base) * 9);
|
|
11
|
+
--wd-switch-width-sm: calc(var(--wd-space-base) * 7);
|
|
12
|
+
--wd-switch-width-lg: 2.625rem;
|
|
13
|
+
--wd-switch-before-bg: var(--wd-white);
|
|
14
|
+
--wd-switch-before-bg-disabled: var(--wd-color-gray-1);
|
|
15
|
+
--wd-switch-before-width-lg: var(--wd-font-size-5);
|
|
16
|
+
--wd-switch-before-width-md: 0.9375rem;
|
|
17
|
+
--wd-switch-before-width-sm: 0.6875rem;
|
|
18
|
+
--wd-switch-before-top-lg: 0.1875rem;
|
|
19
|
+
--wd-switch-before-top-md: 0.15625rem;
|
|
20
|
+
--wd-switch-before-top-sm: 0.15625rem;
|
|
21
|
+
--wd-switch-before-left-lg: calc(
|
|
22
|
+
var(--wd-switch-width-lg) - var(--wd-switch-before-top-lg) -
|
|
23
|
+
var(--wd-switch-before-width-lg)
|
|
24
|
+
);
|
|
25
|
+
--wd-switch-before-left-md: calc(
|
|
26
|
+
var(--wd-switch-width-md) - var(--wd-switch-before-top-md) -
|
|
27
|
+
var(--wd-switch-before-width-md)
|
|
28
|
+
);
|
|
29
|
+
--wd-switch-before-left-sm: calc(
|
|
30
|
+
var(--wd-switch-width-sm) - var(--wd-switch-before-top-sm) -
|
|
31
|
+
var(--wd-switch-before-width-sm)
|
|
32
|
+
);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.wd-switch {
|
|
36
|
+
color: var(--wd-color-text-default);
|
|
37
|
+
font-size: var(--wd-font-size-default);
|
|
38
|
+
line-height: var(--wd-font-line-height-default);
|
|
39
|
+
box-sizing: border-box;
|
|
40
|
+
margin: 0;
|
|
41
|
+
padding: 0;
|
|
42
|
+
list-style: none;
|
|
43
|
+
display: flex;
|
|
44
|
+
align-items: center;
|
|
45
|
+
position: relative;
|
|
46
|
+
line-height: var(--wd-form-item-height-md);
|
|
47
|
+
}
|
|
48
|
+
.wd-switch__input, .wd-switch__input[type=checkbox][disabled] {
|
|
49
|
+
position: absolute;
|
|
50
|
+
width: 0;
|
|
51
|
+
height: 0;
|
|
52
|
+
opacity: 0;
|
|
53
|
+
overflow: hidden;
|
|
54
|
+
}
|
|
55
|
+
.wd-switch__box {
|
|
56
|
+
width: var(--wd-switch-width-md);
|
|
57
|
+
height: var(--wd-switch-height-md);
|
|
58
|
+
background-color: var(--wd-switch-bg-default);
|
|
59
|
+
border-radius: var(--wd-switch-border-radius-md);
|
|
60
|
+
}
|
|
61
|
+
.wd-switch__box::before {
|
|
62
|
+
content: "";
|
|
63
|
+
position: absolute;
|
|
64
|
+
top: var(--wd-switch-before-top-md);
|
|
65
|
+
left: var(--wd-switch-before-top-md);
|
|
66
|
+
width: var(--wd-switch-before-width-md);
|
|
67
|
+
height: var(--wd-switch-before-width-md);
|
|
68
|
+
border-radius: 100%;
|
|
69
|
+
background-color: var(--wd-switch-before-bg);
|
|
70
|
+
}
|
|
71
|
+
.wd-switch.is-disabled .wd-switch__box::before {
|
|
72
|
+
background-color: var(--wd-switch-before-bg-disabled);
|
|
73
|
+
}
|
|
74
|
+
.wd-switch.is-checked .wd-switch__box {
|
|
75
|
+
background-color: var(--wd-switch-bg-default-checked);
|
|
76
|
+
}
|
|
77
|
+
.wd-switch.is-checked .wd-switch__box::before {
|
|
78
|
+
left: var(--wd-switch-before-left-md);
|
|
79
|
+
}
|
|
80
|
+
.wd-switch.is-checked.is-disabled .wd-switch__box {
|
|
81
|
+
background-color: var(--wd-switch-bg-default-checked-disabled);
|
|
82
|
+
}
|
|
83
|
+
.wd-switch.is-checked.is-disabled .wd-switch__box::before {
|
|
84
|
+
background-color: var(--wd-switch-before-bg);
|
|
85
|
+
}
|
|
86
|
+
.wd-switch.size-sm .wd-switch__box {
|
|
87
|
+
height: var(--wd-switch-height-sm);
|
|
88
|
+
width: var(--wd-switch-width-sm);
|
|
89
|
+
}
|
|
90
|
+
.wd-switch.size-sm .wd-switch__box::before {
|
|
91
|
+
top: var(--wd-switch-before-top-sm);
|
|
92
|
+
height: var(--wd-switch-before-width-sm);
|
|
93
|
+
width: var(--wd-switch-before-width-sm);
|
|
94
|
+
}
|
|
95
|
+
.wd-switch.size-sm.is-checked .wd-switch__box::before {
|
|
96
|
+
left: var(--wd-switch-before-left-sm);
|
|
97
|
+
}
|
|
98
|
+
.wd-switch.size-md .wd-switch__box {
|
|
99
|
+
height: var(--wd-switch-height-md);
|
|
100
|
+
width: var(--wd-switch-width-md);
|
|
101
|
+
}
|
|
102
|
+
.wd-switch.size-md .wd-switch__box::before {
|
|
103
|
+
top: var(--wd-switch-before-top-md);
|
|
104
|
+
height: var(--wd-switch-before-width-md);
|
|
105
|
+
width: var(--wd-switch-before-width-md);
|
|
106
|
+
}
|
|
107
|
+
.wd-switch.size-md.is-checked .wd-switch__box::before {
|
|
108
|
+
left: var(--wd-switch-before-left-md);
|
|
109
|
+
}
|
|
110
|
+
.wd-switch.size-lg .wd-switch__box {
|
|
111
|
+
height: var(--wd-switch-height-lg);
|
|
112
|
+
width: var(--wd-switch-width-lg);
|
|
113
|
+
}
|
|
114
|
+
.wd-switch.size-lg .wd-switch__box::before {
|
|
115
|
+
top: var(--wd-switch-before-top-lg);
|
|
116
|
+
height: var(--wd-switch-before-width-lg);
|
|
117
|
+
width: var(--wd-switch-before-width-lg);
|
|
118
|
+
}
|
|
119
|
+
.wd-switch.size-lg.is-checked .wd-switch__box::before {
|
|
120
|
+
left: var(--wd-switch-before-left-lg);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.wd-form,
|
|
124
|
+
.wd-form-item,
|
|
125
|
+
.gsd-h5-react-formitem {
|
|
126
|
+
--wd-form-item-mb: calc(var(--wd-space-base) * 5);
|
|
127
|
+
--wd-form-item-pd: calc(var(--wd-space-base) * 4);
|
|
128
|
+
--wd-form-item-label-width: 6em;
|
|
129
|
+
--wd-form-item-label-mr: calc(var(--wd-space-base) * 4);
|
|
130
|
+
--wd-form-item-label-height-xs: var(--wd-form-item-height-xs);
|
|
131
|
+
--wd-form-item-label-height-sm: var(--wd-form-item-height-sm);
|
|
132
|
+
--wd-form-item-label-height-md: var(--wd-form-item-height-md);
|
|
133
|
+
--wd-form-item-label-height-lg: var(--wd-form-item-height-lg);
|
|
134
|
+
--wd-form-container-width-sm: 31.75rem;
|
|
135
|
+
--wd-form-container-width-md: 39.25rem;
|
|
136
|
+
--wd-form-container-width-lg: 49.25rem;
|
|
137
|
+
--wd-form-item-width-sm: 20.25rem;
|
|
138
|
+
--wd-form-item-width-md: 27.75rem;
|
|
139
|
+
--wd-form-item-width-lg: 35.25rem;
|
|
140
|
+
--wd-form-item-label-color: var(--wd-color-text-form-label);
|
|
141
|
+
--wd-form-item-label-font-size: var(--wd-font-size-default);
|
|
142
|
+
--wd-form-item-label-font-weight: var(--wd-font-weight-regular);
|
|
143
|
+
--wd-form-item-label-color-disabled: var(--wd-color-text-form-disabled);
|
|
144
|
+
--wd-form-item-help-text-color: var(--wd-color-text-placeholder);
|
|
145
|
+
--wd-form-item-help-text-font-size: var(--wd-font-size-3);
|
|
146
|
+
--wd-form-item-border-color: var(--wd-color-border-default);
|
|
147
|
+
--wd-form-item-border-width: 0.5px;
|
|
148
|
+
--wd-form-title-size: var(--wd-font-size-6);
|
|
149
|
+
--wd-form-title-weight: 500;
|
|
150
|
+
--wd-form-title-line-height: calc(var(--wd-space-base) * 7);
|
|
151
|
+
--wd-form-title-border-color: var(--wd-color-border-separator);
|
|
152
|
+
--wd-form-title-pd-btm: calc(var(--wd-space-base) * 3);
|
|
153
|
+
--wd-form-readonly-font-weight: var(--wd-font-weight-regular);
|
|
154
|
+
--wd-form-readonly-font-size: var(--wd-font-size-4);
|
|
155
|
+
--wd-form-readonly-web-font-size: var(--wd-font-size-3);
|
|
156
|
+
--wd-form-readonly-font-color: var(--wd-font-gray-2);
|
|
157
|
+
--wd-input-limit-number-size: var(--wd-font-size-2);
|
|
158
|
+
--wd-input-limit-number-weight: var(--wd-font-weight-regular);
|
|
159
|
+
--wd-input-limit-number-color: var(--wd-color-text-placeholder);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.wd-form.wd-form--weui,
|
|
163
|
+
.wd-form-item.wd-form-item--weui {
|
|
164
|
+
--wd-form-item-mb: calc(var(--wd-space-base) * 4);
|
|
165
|
+
--wd-form-item-label-font-size: var(--wd-font-size-4);
|
|
166
|
+
--wd-form-weui-control-height: calc(var(--wd-space-base) * 14);
|
|
167
|
+
--wd-form-weui-item-label-pd: calc(var(--wd-space-base) * 3);
|
|
168
|
+
--wd-form-weui-item-press-border-radius: var(--wd-space-base);
|
|
169
|
+
--wd-form-weui-input-wrap-bg-focus: var(--wd-color-gray-1);
|
|
170
|
+
--wd-form-weui-input-wrap-text-disabled: var(--wd-color-text-form-disabled);
|
|
171
|
+
--wd-form-weui-input-group-addon-min-width: 5.125rem;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.wd-form__action {
|
|
175
|
+
padding-top: 24px;
|
|
176
|
+
padding-bottom: 24px;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
@media screen and (max-width: 768px) {
|
|
180
|
+
.wd-form__action {
|
|
181
|
+
padding-top: 24px;
|
|
182
|
+
padding-bottom: var(--wd-form-item-mb);
|
|
183
|
+
padding-left: 16px;
|
|
184
|
+
padding-right: 16px;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
.wd-form__action > .wd-h5-btn,
|
|
188
|
+
.wd-form__action > .wd-mp-btn {
|
|
189
|
+
display: block;
|
|
190
|
+
width: 100%;
|
|
191
|
+
margin-bottom: 8px;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.wd-form__action > .wd-pc-btn {
|
|
195
|
+
margin-right: 8px;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.wd-form {
|
|
199
|
+
color: var(--wd-color-text-default);
|
|
200
|
+
font-size: var(--wd-font-size-default);
|
|
201
|
+
line-height: var(--wd-font-line-height-default);
|
|
202
|
+
box-sizing: border-box;
|
|
203
|
+
margin: 0;
|
|
204
|
+
padding: 0;
|
|
205
|
+
list-style: none;
|
|
206
|
+
}
|
|
207
|
+
.wd-form-title__text {
|
|
208
|
+
/* 不启用,复用了文本组件
|
|
209
|
+
font-weight: var(--wd-form-title-weight);
|
|
210
|
+
font-size: var(--wd-form-title-size);
|
|
211
|
+
line-height: var(--wd-form-title-line-height);
|
|
212
|
+
width: auto;
|
|
213
|
+
*/
|
|
214
|
+
padding-bottom: var(--wd-form-title-pd-btm);
|
|
215
|
+
border-bottom: 1px solid var(--wd-form-title-border-color);
|
|
216
|
+
}
|
|
217
|
+
.wd-form-title__text-left {
|
|
218
|
+
text-align: left;
|
|
219
|
+
}
|
|
220
|
+
.wd-form-title__text-right {
|
|
221
|
+
text-align: right;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.wd-form-item {
|
|
225
|
+
margin-bottom: unset;
|
|
226
|
+
padding: 0px;
|
|
227
|
+
}
|
|
228
|
+
.wd-form-item.size-width-hundred {
|
|
229
|
+
width: 100%;
|
|
230
|
+
}
|
|
231
|
+
.wd-form-item.size-width-sm {
|
|
232
|
+
width: var(--wd-form-item-width-sm);
|
|
233
|
+
}
|
|
234
|
+
.wd-form-item.size-width-md {
|
|
235
|
+
width: var(--wd-form-item-width-md);
|
|
236
|
+
}
|
|
237
|
+
.wd-form-item.size-width-lg {
|
|
238
|
+
width: var(--wd-form-item-width-lg);
|
|
239
|
+
}
|
|
240
|
+
.wd-form-item-wrap {
|
|
241
|
+
display: flex;
|
|
242
|
+
}
|
|
243
|
+
.wd-form-item-wrap__label {
|
|
244
|
+
word-break: break-all;
|
|
245
|
+
width: var(--wd-form-item-label-width);
|
|
246
|
+
margin-right: var(--wd-form-item-label-mr);
|
|
247
|
+
color: var(--wd-form-item-label-color);
|
|
248
|
+
font-size: var(--wd-form-item-label-font-size);
|
|
249
|
+
font-weight: var(--wd-form-item-label-font-weight);
|
|
250
|
+
line-height: var(--wd-form-height-md);
|
|
251
|
+
flex: 0 0 auto;
|
|
252
|
+
}
|
|
253
|
+
.wd-form-item-wrap__label.is-disabled {
|
|
254
|
+
color: var(--wd-form-item-label-color-disabled);
|
|
255
|
+
}
|
|
256
|
+
.wd-form-item-wrap__label > label {
|
|
257
|
+
display: inline-block;
|
|
258
|
+
line-height: var(--wd-font-line-height-default);
|
|
259
|
+
}
|
|
260
|
+
.wd-form-item-wrap__label-explain {
|
|
261
|
+
margin-left: var(--wd-space-base);
|
|
262
|
+
position: relative;
|
|
263
|
+
top: -1px;
|
|
264
|
+
}
|
|
265
|
+
.wd-form-item-wrap__label.is-nowrap .wd-form-item-wrap__label-text {
|
|
266
|
+
display: inline-block;
|
|
267
|
+
white-space: nowrap;
|
|
268
|
+
overflow: hidden;
|
|
269
|
+
text-overflow: ellipsis;
|
|
270
|
+
}
|
|
271
|
+
.wd-form-item-wrap__label.is-nowrap .wd-form-item-wrap__label-explain {
|
|
272
|
+
display: flex;
|
|
273
|
+
align-items: center;
|
|
274
|
+
}
|
|
275
|
+
.wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label-explain {
|
|
276
|
+
display: flex;
|
|
277
|
+
align-items: center;
|
|
278
|
+
}
|
|
279
|
+
.wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label {
|
|
280
|
+
display: flex;
|
|
281
|
+
}
|
|
282
|
+
.wd-form-item-wrap__control {
|
|
283
|
+
flex: auto;
|
|
284
|
+
width: 100%;
|
|
285
|
+
}
|
|
286
|
+
.wd-form-item-wrap__control-wrap {
|
|
287
|
+
display: flex;
|
|
288
|
+
align-items: center;
|
|
289
|
+
min-height: calc(var(--wd-space-base) * 6);
|
|
290
|
+
}
|
|
291
|
+
.wd-form-item-wrap__control-wrap--right {
|
|
292
|
+
justify-content: flex-end;
|
|
293
|
+
}
|
|
294
|
+
.wd-form-item-wrap__control-wrap .wd-form-input-wrap.wd-form-inherit--font {
|
|
295
|
+
font-family: inherit;
|
|
296
|
+
}
|
|
297
|
+
.wd-form-item-wrap__control.is-press {
|
|
298
|
+
border-color: transparent;
|
|
299
|
+
background-color: var(--wd-form-weui-input-wrap-bg-focus);
|
|
300
|
+
box-shadow: none;
|
|
301
|
+
border-radius: var(--wd-form-weui-item-press-border-radius);
|
|
302
|
+
}
|
|
303
|
+
.wd-form-item-wrap__control.is-press .wd-form-input-wrap {
|
|
304
|
+
border-color: transparent;
|
|
305
|
+
background-color: transparent;
|
|
306
|
+
box-shadow: none;
|
|
307
|
+
}
|
|
308
|
+
.wd-form-item-wrap__control.is-press .wd-form-input-wrap__label {
|
|
309
|
+
line-height: none;
|
|
310
|
+
}
|
|
311
|
+
.wd-form-item.is-required .wd-form-item-wrap__label-text::before {
|
|
312
|
+
content: "*";
|
|
313
|
+
color: var(--wd-color-text-error);
|
|
314
|
+
margin-right: var(--wd-space-base);
|
|
315
|
+
}
|
|
316
|
+
.wd-form-item.is-borderless .wd-form-input-wrap:not(.is-not-h5) {
|
|
317
|
+
padding: 0;
|
|
318
|
+
border: none;
|
|
319
|
+
border-radius: 0;
|
|
320
|
+
}
|
|
321
|
+
.wd-form-item.is-borderless .wd-form-input-wrap:not(.is-not-h5).is-focused:not(.is-disabled), .wd-form-item.is-borderless .wd-form-input-wrap:not(.is-not-h5):focus:not(.is-disabled) {
|
|
322
|
+
border-color: transparent;
|
|
323
|
+
background-color: transparent;
|
|
324
|
+
box-shadow: none;
|
|
325
|
+
border-radius: var(--wd-form-weui-item-press-border-radius);
|
|
326
|
+
}
|
|
327
|
+
.wd-form-item.is-borderless .wd-form-input-wrap:not(.is-not-h5).is-disabled {
|
|
328
|
+
border-color: transparent;
|
|
329
|
+
background-color: transparent;
|
|
330
|
+
box-shadow: none;
|
|
331
|
+
color: var(--wd-form-weui-input-wrap-text-disabled);
|
|
332
|
+
cursor: not-allowed;
|
|
333
|
+
}
|
|
334
|
+
.wd-form-item.is-borderless .wd-form-input-wrap:not(.is-not-h5).is-disabled input {
|
|
335
|
+
cursor: not-allowed;
|
|
336
|
+
}
|
|
337
|
+
.wd-form-item.is-borderless .wd-form-input-wrap:not(.is-not-h5).is-disabled ::-webkit-input-placeholder {
|
|
338
|
+
color: var(--wd-form-weui-input-wrap-text-disabled);
|
|
339
|
+
}
|
|
340
|
+
.wd-form-item.is-borderless .wd-form-input-wrap:not(.is-not-h5).is-disabled :-moz-placeholder {
|
|
341
|
+
color: var(--wd-form-weui-input-wrap-text-disabled);
|
|
342
|
+
}
|
|
343
|
+
.wd-form-item.is-borderless .wd-form-input-wrap:not(.is-not-h5).is-disabled ::-moz-placeholder {
|
|
344
|
+
color: var(--wd-form-weui-input-wrap-text-disabled);
|
|
345
|
+
}
|
|
346
|
+
.wd-form-item.is-borderless .wd-form-input-wrap:not(.is-not-h5).is-disabled :-ms-input-placeholder {
|
|
347
|
+
color: var(--wd-form-weui-input-wrap-text-disabled);
|
|
348
|
+
}
|
|
349
|
+
.wd-form-item.is-borderless .wd-form-textarea-wrap {
|
|
350
|
+
height: 100%;
|
|
351
|
+
padding-top: calc(var(--wd-space-base) * 2);
|
|
352
|
+
}
|
|
353
|
+
.wd-form-item.is-borderless .wd-form-input-group:not(.is-not-h5) .wd-form-input-group__addon {
|
|
354
|
+
background: none;
|
|
355
|
+
border: none;
|
|
356
|
+
position: relative;
|
|
357
|
+
min-width: auto;
|
|
358
|
+
padding: 0;
|
|
359
|
+
}
|
|
360
|
+
.wd-form-item.is-borderless .wd-form-input-group:not(.is-not-h5) .wd-form-input-group__addon-left {
|
|
361
|
+
padding-right: calc(var(--wd-space-base) * 4);
|
|
362
|
+
}
|
|
363
|
+
.wd-form-item.is-borderless .wd-form-input-group:not(.is-not-h5) .wd-form-input-group__addon-left::after {
|
|
364
|
+
position: absolute;
|
|
365
|
+
height: calc(var(--wd-space-base) * 4);
|
|
366
|
+
content: "";
|
|
367
|
+
right: calc(var(--wd-space-base) * 2);
|
|
368
|
+
background: var(--wd-form-item-border-color);
|
|
369
|
+
width: var(--wd-form-item-border-width);
|
|
370
|
+
}
|
|
371
|
+
.wd-form-item.is-borderless .wd-form-input-group:not(.is-not-h5) .wd-form-input-group__addon-right {
|
|
372
|
+
padding-left: calc(var(--wd-space-base) * 4);
|
|
373
|
+
}
|
|
374
|
+
.wd-form-item.is-borderless .wd-form-input-group:not(.is-not-h5) .wd-form-input-group__addon-right::before {
|
|
375
|
+
position: absolute;
|
|
376
|
+
height: calc(var(--wd-space-base) * 4);
|
|
377
|
+
content: "";
|
|
378
|
+
left: calc(var(--wd-space-base) * 2);
|
|
379
|
+
background: var(--wd-form-item-border-color);
|
|
380
|
+
width: var(--wd-form-item-border-width);
|
|
381
|
+
}
|
|
382
|
+
.wd-form-item.is-borderless .wd-form-input-wrap__input-number-right {
|
|
383
|
+
width: 100%;
|
|
384
|
+
}
|
|
385
|
+
.wd-form-item.is-borderless .wd-form-input-group.is-not-h5 {
|
|
386
|
+
height: var(--wd-form-input-group-height-md);
|
|
387
|
+
}
|
|
388
|
+
.wd-form-item.is-borderless .wd-form-input-group.is-not-h5 .wd-form-input-group__addon {
|
|
389
|
+
padding: var(--wd-form-input-addon-padding);
|
|
390
|
+
background: var(--wd-form-input-addon-bg);
|
|
391
|
+
border: 1px solid var(--wd-form-input-addon-border-default);
|
|
392
|
+
}
|
|
393
|
+
.wd-form-item.is-borderless .wd-form-input-group.is-not-h5 .wd-form-input-group__addon-left {
|
|
394
|
+
padding: var(--wd-form-input-addon-padding);
|
|
395
|
+
}
|
|
396
|
+
.wd-form-item.is-borderless .wd-form-input-group.is-not-h5 .wd-form-input-group__addon-left::after {
|
|
397
|
+
width: 0px;
|
|
398
|
+
}
|
|
399
|
+
.wd-form-item.is-borderless .wd-form-input-group.is-not-h5 .wd-form-input-group__addon-right {
|
|
400
|
+
padding: var(--wd-form-input-addon-padding);
|
|
401
|
+
}
|
|
402
|
+
.wd-form-item.is-borderless .wd-form-input-group.is-not-h5 .wd-form-input-group__addon-right::before {
|
|
403
|
+
width: 0px;
|
|
404
|
+
}
|
|
405
|
+
.wd-form-item.is-borderless .wd-form-input-wrap.is-not-h5 {
|
|
406
|
+
border-radius: var(--wd-form-input-wrap-border-radius);
|
|
407
|
+
padding: var(--wd-form-input-wrap-padding);
|
|
408
|
+
background-color: var(--wd-form-input-wrap-bg-default);
|
|
409
|
+
border: 1px solid var(--wd-form-input-wrap-border-default);
|
|
410
|
+
height: var(--wd-form-input-wrap-height-md);
|
|
411
|
+
}
|
|
412
|
+
.wd-form-item.is-borderless .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-radius-left {
|
|
413
|
+
border-radius: 0 var(--wd-form-input-group-border-radius) var(--wd-form-input-group-border-radius) 0;
|
|
414
|
+
}
|
|
415
|
+
.wd-form-item.is-borderless .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-radius-right {
|
|
416
|
+
border-radius: var(--wd-form-input-group-border-radius) 0 0 var(--wd-form-input-group-border-radius);
|
|
417
|
+
}
|
|
418
|
+
.wd-form-item.is-borderless .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-radius {
|
|
419
|
+
border-radius: 0;
|
|
420
|
+
}
|
|
421
|
+
.wd-form-item.is-borderless .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-border {
|
|
422
|
+
border: none;
|
|
423
|
+
}
|
|
424
|
+
.wd-form-item.is-borderless .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-border.is-focused:not(.is-disabled), .wd-form-item.is-borderless .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-border:focus:not(.is-disabled) {
|
|
425
|
+
border-bottom: none;
|
|
426
|
+
}
|
|
427
|
+
.wd-form-item.is-borderless .wd-form-input-wrap.is-not-h5.is-focused:not(.is-disabled), .wd-form-item.is-borderless .wd-form-input-wrap.is-not-h5:focus:not(.is-disabled) {
|
|
428
|
+
border-color: var(--wd-form-input-wrap-border-hover);
|
|
429
|
+
background-color: var(--wd-form-input-wrap-bg-focus);
|
|
430
|
+
color: var(--wd-form-input-wrap-text-focus);
|
|
431
|
+
box-shadow: 0px 0px 0px 0px;
|
|
432
|
+
}
|
|
433
|
+
.wd-form-item.is-borderless .wd-form-item-wrap {
|
|
434
|
+
border-bottom: none;
|
|
435
|
+
}
|
|
436
|
+
.wd-form-item__help {
|
|
437
|
+
display: flex;
|
|
438
|
+
margin-top: 0.25rem;
|
|
439
|
+
}
|
|
440
|
+
.wd-form-item__help .wd-form-item-wrap__label {
|
|
441
|
+
visibility: hidden;
|
|
442
|
+
height: 1px;
|
|
443
|
+
}
|
|
444
|
+
.wd-form-item__help-text {
|
|
445
|
+
flex: 1 1 0px;
|
|
446
|
+
color: var(--wd-form-item-help-text-color);
|
|
447
|
+
font-size: var(--wd-form-item-help-text-font-size);
|
|
448
|
+
}
|
|
449
|
+
.wd-form-item__readonly {
|
|
450
|
+
font-size: var(--wd-form-readonly-font-size);
|
|
451
|
+
font-weight: var(--wd-form-readonly-font-weight);
|
|
452
|
+
color: var(--wd-form-readonly-font-color);
|
|
453
|
+
width: 100%;
|
|
454
|
+
word-break: break-word;
|
|
455
|
+
}
|
|
456
|
+
.wd-form-item__readonly.size-font-sm {
|
|
457
|
+
font: var(--wd-typography-body-sm);
|
|
458
|
+
}
|
|
459
|
+
.wd-form-item__readonly.size-height-sm {
|
|
460
|
+
height: var(--wd-form-height-sm);
|
|
461
|
+
}
|
|
462
|
+
.wd-form-item__readonly.size-width-sm {
|
|
463
|
+
width: var(--wd-form-width-sm);
|
|
464
|
+
}
|
|
465
|
+
.wd-form-item__readonly.size-font-md {
|
|
466
|
+
font: var(--wd-typography-body-md);
|
|
467
|
+
}
|
|
468
|
+
.wd-form-item__readonly.size-height-md {
|
|
469
|
+
height: var(--wd-form-item-height-md);
|
|
470
|
+
}
|
|
471
|
+
.wd-form-item__readonly.size-width-md {
|
|
472
|
+
width: var(--wd-form-width-md);
|
|
473
|
+
}
|
|
474
|
+
.wd-form-item__readonly.size-font-lg {
|
|
475
|
+
font: var(--wd-typography-body-lg);
|
|
476
|
+
}
|
|
477
|
+
.wd-form-item__readonly.size-height-lg {
|
|
478
|
+
height: var(--wd-form-item-height-lg);
|
|
479
|
+
}
|
|
480
|
+
.wd-form-item__readonly.size-width-lg {
|
|
481
|
+
width: var(--wd-form-width-lg);
|
|
482
|
+
}
|
|
483
|
+
.wd-form-item__readonly.size-width-hundred {
|
|
484
|
+
width: 100%;
|
|
485
|
+
}
|
|
486
|
+
.wd-form-item__readonly-web {
|
|
487
|
+
font-size: var(--wd-form-readonly-web-font-size);
|
|
488
|
+
font-weight: var(--wd-form-readonly-font-weight);
|
|
489
|
+
color: var(--wd-form-readonly-font-color);
|
|
490
|
+
width: 100%;
|
|
491
|
+
word-break: break-word;
|
|
492
|
+
}
|
|
493
|
+
.wd-form-item__readonly-web.size-font-sm {
|
|
494
|
+
font: var(--wd-typography-body-sm);
|
|
495
|
+
}
|
|
496
|
+
.wd-form-item__readonly-web.size-height-sm {
|
|
497
|
+
height: var(--wd-form-height-sm);
|
|
498
|
+
}
|
|
499
|
+
.wd-form-item__readonly-web.size-width-sm {
|
|
500
|
+
width: var(--wd-form-width-sm);
|
|
501
|
+
}
|
|
502
|
+
.wd-form-item__readonly-web.size-font-md {
|
|
503
|
+
font: var(--wd-typography-body-md);
|
|
504
|
+
}
|
|
505
|
+
.wd-form-item__readonly-web.size-height-md {
|
|
506
|
+
height: var(--wd-form-item-height-md);
|
|
507
|
+
}
|
|
508
|
+
.wd-form-item__readonly-web.size-width-md {
|
|
509
|
+
width: var(--wd-form-width-md);
|
|
510
|
+
}
|
|
511
|
+
.wd-form-item__readonly-web.size-font-lg {
|
|
512
|
+
font: var(--wd-typography-body-lg);
|
|
513
|
+
}
|
|
514
|
+
.wd-form-item__readonly-web.size-height-lg {
|
|
515
|
+
height: var(--wd-form-item-height-lg);
|
|
516
|
+
}
|
|
517
|
+
.wd-form-item__readonly-web.size-width-lg {
|
|
518
|
+
width: var(--wd-form-width-lg);
|
|
519
|
+
}
|
|
520
|
+
.wd-form-item__readonly-web.size-width-hundred {
|
|
521
|
+
width: 100%;
|
|
522
|
+
}
|
|
523
|
+
.wd-form-item.wd-textarea-root .wd-form-item-wrap, .wd-form-item.wd-rich-text-root .wd-form-item-wrap {
|
|
524
|
+
height: 100%;
|
|
525
|
+
}
|
|
526
|
+
.wd-form-item.wd-textarea-root .wd-form-item-wrap__control, .wd-form-item.wd-rich-text-root .wd-form-item-wrap__control {
|
|
527
|
+
height: 100%;
|
|
528
|
+
}
|
|
529
|
+
.wd-form-item.wd-textarea-root .wd-form-item-wrap__control-wrap, .wd-form-item.wd-rich-text-root .wd-form-item-wrap__control-wrap {
|
|
530
|
+
height: 100%;
|
|
531
|
+
}
|
|
532
|
+
.wd-form-item.wd-textarea-root .wd-form-item-wrap__control-wrap .wd-form-textarea-wrap, .wd-form-item.wd-rich-text-root .wd-form-item-wrap__control-wrap .wd-form-textarea-wrap {
|
|
533
|
+
height: 100%;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
.wd-form--horizontal-left .wd-form-item-wrap__label,
|
|
537
|
+
.wd-form-item.wd-form-item--horizontal-left .wd-form-item-wrap__label {
|
|
538
|
+
text-align: left;
|
|
539
|
+
}
|
|
540
|
+
.wd-form--horizontal-left .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label,
|
|
541
|
+
.wd-form-item.wd-form-item--horizontal-left .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label {
|
|
542
|
+
justify-content: flex-start;
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
.wd-form--horizontal-right .wd-form-item-wrap__label,
|
|
546
|
+
.wd-form-item.wd-form-item--horizontal-right .wd-form-item-wrap__label {
|
|
547
|
+
text-align: right;
|
|
548
|
+
}
|
|
549
|
+
.wd-form--horizontal-right .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label,
|
|
550
|
+
.wd-form-item.wd-form-item--horizontal-right .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label {
|
|
551
|
+
justify-content: flex-end;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
.wd-form--horizontal-left .wd-form-item-wrap,
|
|
555
|
+
.wd-form-item.wd-form-item--horizontal-left .wd-form-item-wrap,
|
|
556
|
+
.wd-form--horizontal-right .wd-form-item-wrap,
|
|
557
|
+
.wd-form-item.wd-form-item--horizontal-right .wd-form-item-wrap {
|
|
558
|
+
flex-direction: row;
|
|
559
|
+
}
|
|
560
|
+
.wd-form--horizontal-left .wd-form-item-wrap__label,
|
|
561
|
+
.wd-form-item.wd-form-item--horizontal-left .wd-form-item-wrap__label,
|
|
562
|
+
.wd-form--horizontal-right .wd-form-item-wrap__label,
|
|
563
|
+
.wd-form-item.wd-form-item--horizontal-right .wd-form-item-wrap__label {
|
|
564
|
+
width: var(--wd-form-item-label-width);
|
|
565
|
+
margin-right: var(--wd-form-item-label-mr);
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
.wd-form--vertical-left .wd-form-item-wrap,
|
|
569
|
+
.wd-form-item.wd-form-item--vertical-left .wd-form-item-wrap {
|
|
570
|
+
align-items: flex-start;
|
|
571
|
+
flex-direction: column;
|
|
572
|
+
}
|
|
573
|
+
.wd-form--vertical-left .wd-form-item-wrap__label,
|
|
574
|
+
.wd-form-item.wd-form-item--vertical-left .wd-form-item-wrap__label {
|
|
575
|
+
width: 100%;
|
|
576
|
+
justify-content: flex-start;
|
|
577
|
+
margin-right: 0;
|
|
578
|
+
line-height: 0;
|
|
579
|
+
padding-bottom: calc(var(--wd-space-base) * 2);
|
|
580
|
+
}
|
|
581
|
+
.wd-form--vertical-left .wd-form-item-wrap__label > label,
|
|
582
|
+
.wd-form-item.wd-form-item--vertical-left .wd-form-item-wrap__label > label {
|
|
583
|
+
line-height: var(--wd-font-line-height-default) !important;
|
|
584
|
+
}
|
|
585
|
+
.wd-form--vertical-left .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label,
|
|
586
|
+
.wd-form-item.wd-form-item--vertical-left .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label {
|
|
587
|
+
justify-content: flex-start;
|
|
588
|
+
}
|
|
589
|
+
.wd-form--vertical-left .wd-form-item__help,
|
|
590
|
+
.wd-form-item.wd-form-item--vertical-left .wd-form-item__help {
|
|
591
|
+
padding-left: 0;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
.wd-form--vertical-right .wd-form-item-wrap,
|
|
595
|
+
.wd-form-item.wd-form-item--vertical-right .wd-form-item-wrap {
|
|
596
|
+
align-items: flex-end;
|
|
597
|
+
flex-direction: column;
|
|
598
|
+
}
|
|
599
|
+
.wd-form--vertical-right .wd-form-item-wrap__label,
|
|
600
|
+
.wd-form-item.wd-form-item--vertical-right .wd-form-item-wrap__label {
|
|
601
|
+
width: 100%;
|
|
602
|
+
justify-content: flex-start;
|
|
603
|
+
margin-right: 0;
|
|
604
|
+
text-align: right;
|
|
605
|
+
line-height: 0;
|
|
606
|
+
padding-bottom: calc(var(--wd-space-base) * 2);
|
|
607
|
+
}
|
|
608
|
+
.wd-form--vertical-right .wd-form-item-wrap__label > label,
|
|
609
|
+
.wd-form-item.wd-form-item--vertical-right .wd-form-item-wrap__label > label {
|
|
610
|
+
line-height: var(--wd-font-line-height-default) !important;
|
|
611
|
+
}
|
|
612
|
+
.wd-form--vertical-right .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label,
|
|
613
|
+
.wd-form-item.wd-form-item--vertical-right .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label {
|
|
614
|
+
justify-content: flex-end;
|
|
615
|
+
}
|
|
616
|
+
.wd-form--vertical-right .wd-form-item__help,
|
|
617
|
+
.wd-form-item.wd-form-item--vertical-right .wd-form-item__help {
|
|
618
|
+
padding-left: 0;
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
.wd-form--inline {
|
|
622
|
+
display: flex;
|
|
623
|
+
gap: calc(var(--wd-space-base) * 6);
|
|
624
|
+
flex-wrap: wrap;
|
|
625
|
+
}
|
|
626
|
+
.wd-form--inline .wd-form-item {
|
|
627
|
+
display: inline-flex;
|
|
628
|
+
}
|
|
629
|
+
.wd-form--inline .wd-form-item-wrap {
|
|
630
|
+
display: inline-flex;
|
|
631
|
+
}
|
|
632
|
+
.wd-form--inline .wd-form-item-wrap__label {
|
|
633
|
+
width: auto;
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
input,
|
|
637
|
+
textarea {
|
|
638
|
+
caret-color: var(--wd-color-brand);
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
.wd-form.wd-form--weui.wd-form-item,
|
|
642
|
+
.wd-form-item--weui.wd-form-item {
|
|
643
|
+
margin-bottom: 0;
|
|
644
|
+
padding: 0px var(--wd-form-item-pd);
|
|
645
|
+
}
|
|
646
|
+
.wd-form.wd-form--weui .wd-form-item-wrap,
|
|
647
|
+
.wd-form-item--weui .wd-form-item-wrap {
|
|
648
|
+
border-bottom: var(--wd-form-item-border-width) solid var(--wd-form-item-border-color);
|
|
649
|
+
}
|
|
650
|
+
.wd-form.wd-form--weui .wd-form-item-wrap__label,
|
|
651
|
+
.wd-form-item--weui .wd-form-item-wrap__label {
|
|
652
|
+
margin-bottom: 0;
|
|
653
|
+
padding: calc(var(--wd-space-base) * 2) 0;
|
|
654
|
+
}
|
|
655
|
+
.wd-form.wd-form--weui .wd-form-item-wrap__label.wd-radio__label,
|
|
656
|
+
.wd-form-item--weui .wd-form-item-wrap__label.wd-radio__label {
|
|
657
|
+
padding-top: calc(var(--wd-space-base) * 4);
|
|
658
|
+
}
|
|
659
|
+
.wd-form.wd-form--weui .wd-form-item-wrap__label.wd-checkbox__label,
|
|
660
|
+
.wd-form-item--weui .wd-form-item-wrap__label.wd-checkbox__label {
|
|
661
|
+
padding-top: calc(var(--wd-space-base) * 4);
|
|
662
|
+
}
|
|
663
|
+
.wd-form.wd-form--weui .wd-form-item-wrap__control,
|
|
664
|
+
.wd-form-item--weui .wd-form-item-wrap__control {
|
|
665
|
+
padding: calc(var(--wd-space-base) * 2) 0;
|
|
666
|
+
}
|
|
667
|
+
.wd-form.wd-form--weui .wd-form-item.is-borderless .wd-form-item-wrap,
|
|
668
|
+
.wd-form-item--weui .wd-form-item.is-borderless .wd-form-item-wrap {
|
|
669
|
+
border-bottom: none;
|
|
670
|
+
}
|
|
671
|
+
.wd-form.wd-form--weui .wd-form-input-wrap:not(.is-not-h5),
|
|
672
|
+
.wd-form-item--weui .wd-form-input-wrap:not(.is-not-h5) {
|
|
673
|
+
padding: 0;
|
|
674
|
+
border: none;
|
|
675
|
+
border-radius: 0;
|
|
676
|
+
}
|
|
677
|
+
.wd-form.wd-form--weui .wd-form-input-wrap:not(.is-not-h5).is-focused:not(.is-disabled), .wd-form.wd-form--weui .wd-form-input-wrap:not(.is-not-h5):focus:not(.is-disabled),
|
|
678
|
+
.wd-form-item--weui .wd-form-input-wrap:not(.is-not-h5).is-focused:not(.is-disabled),
|
|
679
|
+
.wd-form-item--weui .wd-form-input-wrap:not(.is-not-h5):focus:not(.is-disabled) {
|
|
680
|
+
border-color: transparent;
|
|
681
|
+
background-color: transparent;
|
|
682
|
+
box-shadow: none;
|
|
683
|
+
border-radius: var(--wd-form-weui-item-press-border-radius);
|
|
684
|
+
}
|
|
685
|
+
.wd-form.wd-form--weui .wd-form-input-wrap:not(.is-not-h5).is-disabled,
|
|
686
|
+
.wd-form-item--weui .wd-form-input-wrap:not(.is-not-h5).is-disabled {
|
|
687
|
+
border-color: transparent;
|
|
688
|
+
background-color: transparent;
|
|
689
|
+
box-shadow: none;
|
|
690
|
+
color: var(--wd-form-weui-input-wrap-text-disabled);
|
|
691
|
+
cursor: not-allowed;
|
|
692
|
+
}
|
|
693
|
+
.wd-form.wd-form--weui .wd-form-input-wrap:not(.is-not-h5).is-disabled input,
|
|
694
|
+
.wd-form-item--weui .wd-form-input-wrap:not(.is-not-h5).is-disabled input {
|
|
695
|
+
cursor: not-allowed;
|
|
696
|
+
}
|
|
697
|
+
.wd-form.wd-form--weui .wd-form-input-wrap:not(.is-not-h5).is-disabled ::-webkit-input-placeholder,
|
|
698
|
+
.wd-form-item--weui .wd-form-input-wrap:not(.is-not-h5).is-disabled ::-webkit-input-placeholder {
|
|
699
|
+
color: var(--wd-form-weui-input-wrap-text-disabled);
|
|
700
|
+
}
|
|
701
|
+
.wd-form.wd-form--weui .wd-form-input-wrap:not(.is-not-h5).is-disabled :-moz-placeholder,
|
|
702
|
+
.wd-form-item--weui .wd-form-input-wrap:not(.is-not-h5).is-disabled :-moz-placeholder {
|
|
703
|
+
color: var(--wd-form-weui-input-wrap-text-disabled);
|
|
704
|
+
}
|
|
705
|
+
.wd-form.wd-form--weui .wd-form-input-wrap:not(.is-not-h5).is-disabled ::-moz-placeholder,
|
|
706
|
+
.wd-form-item--weui .wd-form-input-wrap:not(.is-not-h5).is-disabled ::-moz-placeholder {
|
|
707
|
+
color: var(--wd-form-weui-input-wrap-text-disabled);
|
|
708
|
+
}
|
|
709
|
+
.wd-form.wd-form--weui .wd-form-input-wrap:not(.is-not-h5).is-disabled :-ms-input-placeholder,
|
|
710
|
+
.wd-form-item--weui .wd-form-input-wrap:not(.is-not-h5).is-disabled :-ms-input-placeholder {
|
|
711
|
+
color: var(--wd-form-weui-input-wrap-text-disabled);
|
|
712
|
+
}
|
|
713
|
+
.wd-form.wd-form--weui .wd-form-textarea-wrap,
|
|
714
|
+
.wd-form-item--weui .wd-form-textarea-wrap {
|
|
715
|
+
height: 100%;
|
|
716
|
+
padding-top: calc(var(--wd-space-base) * 2);
|
|
717
|
+
}
|
|
718
|
+
.wd-form.wd-form--weui .wd-form-input-group:not(.is-not-h5) .wd-form-input-group__addon,
|
|
719
|
+
.wd-form-item--weui .wd-form-input-group:not(.is-not-h5) .wd-form-input-group__addon {
|
|
720
|
+
background: none;
|
|
721
|
+
border: none;
|
|
722
|
+
position: relative;
|
|
723
|
+
min-width: auto;
|
|
724
|
+
padding: 0;
|
|
725
|
+
}
|
|
726
|
+
.wd-form.wd-form--weui .wd-form-input-group:not(.is-not-h5) .wd-form-input-group__addon-left,
|
|
727
|
+
.wd-form-item--weui .wd-form-input-group:not(.is-not-h5) .wd-form-input-group__addon-left {
|
|
728
|
+
padding-right: calc(var(--wd-space-base) * 4);
|
|
729
|
+
}
|
|
730
|
+
.wd-form.wd-form--weui .wd-form-input-group:not(.is-not-h5) .wd-form-input-group__addon-left::after,
|
|
731
|
+
.wd-form-item--weui .wd-form-input-group:not(.is-not-h5) .wd-form-input-group__addon-left::after {
|
|
732
|
+
position: absolute;
|
|
733
|
+
height: calc(var(--wd-space-base) * 4);
|
|
734
|
+
content: "";
|
|
735
|
+
right: calc(var(--wd-space-base) * 2);
|
|
736
|
+
background: var(--wd-form-item-border-color);
|
|
737
|
+
width: var(--wd-form-item-border-width);
|
|
738
|
+
}
|
|
739
|
+
.wd-form.wd-form--weui .wd-form-input-group:not(.is-not-h5) .wd-form-input-group__addon-right,
|
|
740
|
+
.wd-form-item--weui .wd-form-input-group:not(.is-not-h5) .wd-form-input-group__addon-right {
|
|
741
|
+
padding-left: calc(var(--wd-space-base) * 4);
|
|
742
|
+
}
|
|
743
|
+
.wd-form.wd-form--weui .wd-form-input-group:not(.is-not-h5) .wd-form-input-group__addon-right::before,
|
|
744
|
+
.wd-form-item--weui .wd-form-input-group:not(.is-not-h5) .wd-form-input-group__addon-right::before {
|
|
745
|
+
position: absolute;
|
|
746
|
+
height: calc(var(--wd-space-base) * 4);
|
|
747
|
+
content: "";
|
|
748
|
+
left: calc(var(--wd-space-base) * 2);
|
|
749
|
+
background: var(--wd-form-item-border-color);
|
|
750
|
+
width: var(--wd-form-item-border-width);
|
|
751
|
+
}
|
|
752
|
+
.wd-form.wd-form--weui .wd-form-input-wrap__input-number-right,
|
|
753
|
+
.wd-form-item--weui .wd-form-input-wrap__input-number-right {
|
|
754
|
+
width: 100%;
|
|
755
|
+
}
|
|
756
|
+
.wd-form.wd-form--weui .wd-form-input-group.is-not-h5,
|
|
757
|
+
.wd-form-item--weui .wd-form-input-group.is-not-h5 {
|
|
758
|
+
height: var(--wd-form-input-group-height-md);
|
|
759
|
+
}
|
|
760
|
+
.wd-form.wd-form--weui .wd-form-input-group.is-not-h5 .wd-form-input-group__addon,
|
|
761
|
+
.wd-form-item--weui .wd-form-input-group.is-not-h5 .wd-form-input-group__addon {
|
|
762
|
+
padding: var(--wd-form-input-addon-padding);
|
|
763
|
+
background: var(--wd-form-input-addon-bg);
|
|
764
|
+
border: 1px solid var(--wd-form-input-addon-border-default);
|
|
765
|
+
}
|
|
766
|
+
.wd-form.wd-form--weui .wd-form-input-group.is-not-h5 .wd-form-input-group__addon-left,
|
|
767
|
+
.wd-form-item--weui .wd-form-input-group.is-not-h5 .wd-form-input-group__addon-left {
|
|
768
|
+
padding: var(--wd-form-input-addon-padding);
|
|
769
|
+
}
|
|
770
|
+
.wd-form.wd-form--weui .wd-form-input-group.is-not-h5 .wd-form-input-group__addon-left::after,
|
|
771
|
+
.wd-form-item--weui .wd-form-input-group.is-not-h5 .wd-form-input-group__addon-left::after {
|
|
772
|
+
width: 0px;
|
|
773
|
+
}
|
|
774
|
+
.wd-form.wd-form--weui .wd-form-input-group.is-not-h5 .wd-form-input-group__addon-right,
|
|
775
|
+
.wd-form-item--weui .wd-form-input-group.is-not-h5 .wd-form-input-group__addon-right {
|
|
776
|
+
padding: var(--wd-form-input-addon-padding);
|
|
777
|
+
}
|
|
778
|
+
.wd-form.wd-form--weui .wd-form-input-group.is-not-h5 .wd-form-input-group__addon-right::before,
|
|
779
|
+
.wd-form-item--weui .wd-form-input-group.is-not-h5 .wd-form-input-group__addon-right::before {
|
|
780
|
+
width: 0px;
|
|
781
|
+
}
|
|
782
|
+
.wd-form.wd-form--weui .wd-form-input-wrap.is-not-h5,
|
|
783
|
+
.wd-form-item--weui .wd-form-input-wrap.is-not-h5 {
|
|
784
|
+
border-radius: var(--wd-form-input-wrap-border-radius);
|
|
785
|
+
padding: var(--wd-form-input-wrap-padding);
|
|
786
|
+
background-color: var(--wd-form-input-wrap-bg-default);
|
|
787
|
+
border: 1px solid var(--wd-form-input-wrap-border-default);
|
|
788
|
+
height: var(--wd-form-input-wrap-height-md);
|
|
789
|
+
}
|
|
790
|
+
.wd-form.wd-form--weui .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-radius-left,
|
|
791
|
+
.wd-form-item--weui .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-radius-left {
|
|
792
|
+
border-radius: 0 var(--wd-form-input-group-border-radius) var(--wd-form-input-group-border-radius) 0;
|
|
793
|
+
}
|
|
794
|
+
.wd-form.wd-form--weui .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-radius-right,
|
|
795
|
+
.wd-form-item--weui .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-radius-right {
|
|
796
|
+
border-radius: var(--wd-form-input-group-border-radius) 0 0 var(--wd-form-input-group-border-radius);
|
|
797
|
+
}
|
|
798
|
+
.wd-form.wd-form--weui .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-radius,
|
|
799
|
+
.wd-form-item--weui .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-radius {
|
|
800
|
+
border-radius: 0;
|
|
801
|
+
}
|
|
802
|
+
.wd-form.wd-form--weui .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-border,
|
|
803
|
+
.wd-form-item--weui .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-border {
|
|
804
|
+
border: none;
|
|
805
|
+
}
|
|
806
|
+
.wd-form.wd-form--weui .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-border.is-focused:not(.is-disabled), .wd-form.wd-form--weui .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-border:focus:not(.is-disabled),
|
|
807
|
+
.wd-form-item--weui .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-border.is-focused:not(.is-disabled),
|
|
808
|
+
.wd-form-item--weui .wd-form-input-wrap.is-not-h5.wd-form-input-wrap--no-border:focus:not(.is-disabled) {
|
|
809
|
+
border-bottom: none;
|
|
810
|
+
}
|
|
811
|
+
.wd-form.wd-form--weui .wd-form-input-wrap.is-not-h5.is-focused:not(.is-disabled), .wd-form.wd-form--weui .wd-form-input-wrap.is-not-h5:focus:not(.is-disabled),
|
|
812
|
+
.wd-form-item--weui .wd-form-input-wrap.is-not-h5.is-focused:not(.is-disabled),
|
|
813
|
+
.wd-form-item--weui .wd-form-input-wrap.is-not-h5:focus:not(.is-disabled) {
|
|
814
|
+
border-color: var(--wd-form-input-wrap-border-hover);
|
|
815
|
+
background-color: var(--wd-form-input-wrap-bg-focus);
|
|
816
|
+
color: var(--wd-form-input-wrap-text-focus);
|
|
817
|
+
box-shadow: 0px 0px 0px 0px;
|
|
818
|
+
}
|
|
819
|
+
.wd-form.wd-form--weui .wd-upload__control,
|
|
820
|
+
.wd-form-item--weui .wd-upload__control {
|
|
821
|
+
height: auto;
|
|
822
|
+
width: 100%;
|
|
823
|
+
border: none;
|
|
824
|
+
border-radius: 0;
|
|
825
|
+
padding: 0;
|
|
826
|
+
}
|
|
827
|
+
.wd-form.wd-form--weui .wd-upload__item-file-right .wd-icon,
|
|
828
|
+
.wd-form-item--weui .wd-upload__item-file-right .wd-icon {
|
|
829
|
+
cursor: pointer;
|
|
830
|
+
font-size: 20px;
|
|
831
|
+
}
|
|
832
|
+
.wd-form.wd-form--weui .wd-upload__item-file-right > img.wd-icon,
|
|
833
|
+
.wd-form-item--weui .wd-upload__item-file-right > img.wd-icon {
|
|
834
|
+
width: 1.25rem;
|
|
835
|
+
height: 1.25rem;
|
|
836
|
+
}
|
|
837
|
+
.wd-form.wd-form--weui.wd-radio-root .wd-form-item-wrap__control,
|
|
838
|
+
.wd-form-item--weui.wd-radio-root .wd-form-item-wrap__control {
|
|
839
|
+
padding: var(--wd-space-base) 0;
|
|
840
|
+
}
|
|
841
|
+
.wd-form.wd-form--weui.wd-radio-root .wd-form-item-wrap__control-wrap,
|
|
842
|
+
.wd-form-item--weui.wd-radio-root .wd-form-item-wrap__control-wrap {
|
|
843
|
+
min-height: calc(var(--wd-space-base) * 6);
|
|
844
|
+
}
|
|
845
|
+
.wd-form.wd-form--weui.wd-radio-root .wd-form-item-wrap__control-wrap .wd-form-item__readonly,
|
|
846
|
+
.wd-form-item--weui.wd-radio-root .wd-form-item-wrap__control-wrap .wd-form-item__readonly {
|
|
847
|
+
line-height: calc(var(--wd-space-base) * 12);
|
|
848
|
+
}
|
|
849
|
+
.wd-form.wd-form--weui.wd-radio-root .wd-radio-group,
|
|
850
|
+
.wd-form-item--weui.wd-radio-root .wd-radio-group {
|
|
851
|
+
min-height: 48px;
|
|
852
|
+
padding-top: 1px;
|
|
853
|
+
}
|
|
854
|
+
.wd-form.wd-form--weui.wd-radio-root .wd-radio-wrap,
|
|
855
|
+
.wd-form-item--weui.wd-radio-root .wd-radio-wrap {
|
|
856
|
+
margin-top: 0px;
|
|
857
|
+
margin-bottom: 0px;
|
|
858
|
+
padding: calc(var(--wd-space-base) * 3) 0;
|
|
859
|
+
}
|
|
860
|
+
.wd-form.wd-form--weui.wd-checkbox-root .wd-form-item-wrap__control,
|
|
861
|
+
.wd-form-item--weui.wd-checkbox-root .wd-form-item-wrap__control {
|
|
862
|
+
padding: var(--wd-space-base) 0;
|
|
863
|
+
}
|
|
864
|
+
.wd-form.wd-form--weui.wd-checkbox-root .wd-form-item-wrap__control-wrap,
|
|
865
|
+
.wd-form-item--weui.wd-checkbox-root .wd-form-item-wrap__control-wrap {
|
|
866
|
+
min-height: calc(var(--wd-space-base) * 6);
|
|
867
|
+
}
|
|
868
|
+
.wd-form.wd-form--weui.wd-checkbox-root .wd-form-item-wrap__control-wrap .wd-form-item__readonly,
|
|
869
|
+
.wd-form-item--weui.wd-checkbox-root .wd-form-item-wrap__control-wrap .wd-form-item__readonly {
|
|
870
|
+
line-height: calc(var(--wd-space-base) * 12);
|
|
871
|
+
}
|
|
872
|
+
.wd-form.wd-form--weui.wd-checkbox-root .wd-checkbox-group,
|
|
873
|
+
.wd-form-item--weui.wd-checkbox-root .wd-checkbox-group {
|
|
874
|
+
min-height: 48px;
|
|
875
|
+
padding-top: 1px;
|
|
876
|
+
}
|
|
877
|
+
.wd-form.wd-form--weui.wd-checkbox-root .wd-checkbox-wrap,
|
|
878
|
+
.wd-form-item--weui.wd-checkbox-root .wd-checkbox-wrap {
|
|
879
|
+
margin-top: 0px;
|
|
880
|
+
margin-bottom: 0px;
|
|
881
|
+
padding: calc(var(--wd-space-base) * 3) 0;
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
.wd-form--weui.wd-form--vertical-left.wd-switch-root .wd-form-item-wrap__control,
|
|
885
|
+
.wd-form-item--weui.wd-form-item--vertical-left.wd-switch-root .wd-form-item-wrap__control,
|
|
886
|
+
.wd-form--weui.wd-form--vertical-right.wd-switch-root .wd-form-item-wrap__control,
|
|
887
|
+
.wd-form-item--weui.wd-form-item--vertical-right.wd-switch-root .wd-form-item-wrap__control {
|
|
888
|
+
min-height: 48px;
|
|
889
|
+
}
|
|
890
|
+
.wd-form--weui.wd-form--vertical-left.wd-switch-root .wd-form-item-wrap__control-wrap,
|
|
891
|
+
.wd-form-item--weui.wd-form-item--vertical-left.wd-switch-root .wd-form-item-wrap__control-wrap,
|
|
892
|
+
.wd-form--weui.wd-form--vertical-right.wd-switch-root .wd-form-item-wrap__control-wrap,
|
|
893
|
+
.wd-form-item--weui.wd-form-item--vertical-right.wd-switch-root .wd-form-item-wrap__control-wrap {
|
|
894
|
+
min-height: calc(var(--wd-space-base) * 6);
|
|
895
|
+
}
|
|
896
|
+
|
|
897
|
+
.wd-form--weui.wd-form--horizontal-left .wd-form-item--weui.wd-form-item--layout-.wd-textarea-root .wd-form-item-wrap__label-text,
|
|
898
|
+
.wd-form--weui.wd-form--horizontal-right .wd-form-item--weui.wd-form-item--layout-.wd-textarea-root .wd-form-item-wrap__label-text {
|
|
899
|
+
line-height: normal;
|
|
900
|
+
}
|
|
901
|
+
|
|
902
|
+
.wd-form-item--weui.wd-form-item--layout-.wd-textarea-root .wd-form-item-wrap__label-text,
|
|
903
|
+
.wd-form-item--weui.wd-form-item--layout-horizontal.wd-textarea-root .wd-form-item-wrap__label-text {
|
|
904
|
+
line-height: normal;
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
.wd-form--weui.wd-form--vertical-left .wd-form-item--weui.wd-form-item--layout-.wd-textarea-root .wd-form-item-wrap__label-text,
|
|
908
|
+
.wd-form--weui.wd-form--vertical-right .wd-form-item--weui.wd-form-item--layout-.wd-textarea-root .wd-form-item-wrap__label-text {
|
|
909
|
+
line-height: inherit;
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
.wd-form--weui.wd-form--vertical-left.wd-form-item,
|
|
913
|
+
.wd-form-item--weui.wd-form-item--vertical-left.wd-form-item {
|
|
914
|
+
margin-bottom: 0;
|
|
915
|
+
}
|
|
916
|
+
.wd-form--weui.wd-form--vertical-left .wd-form-textarea-wrap,
|
|
917
|
+
.wd-form-item--weui.wd-form-item--vertical-left .wd-form-textarea-wrap {
|
|
918
|
+
padding-top: 0;
|
|
919
|
+
}
|
|
920
|
+
.wd-form--weui.wd-form--vertical-left .wd-form-item,
|
|
921
|
+
.wd-form-item--weui.wd-form-item--vertical-left .wd-form-item {
|
|
922
|
+
margin-bottom: 0;
|
|
923
|
+
}
|
|
924
|
+
.wd-form--weui.wd-form--vertical-left .wd-form-item-wrap__label,
|
|
925
|
+
.wd-form-item--weui.wd-form-item--vertical-left .wd-form-item-wrap__label {
|
|
926
|
+
margin-bottom: 0;
|
|
927
|
+
padding: calc(var(--wd-space-base) * 4) 0 0 0;
|
|
928
|
+
}
|
|
929
|
+
.wd-form--weui.wd-form--vertical-left .wd-form-item-wrap__control,
|
|
930
|
+
.wd-form-item--weui.wd-form-item--vertical-left .wd-form-item-wrap__control {
|
|
931
|
+
padding: calc(var(--wd-space-base) * 2) 0;
|
|
932
|
+
flex: auto;
|
|
933
|
+
}
|
|
934
|
+
.wd-form--weui.wd-form--vertical-left .wd-form-item__help,
|
|
935
|
+
.wd-form-item--weui.wd-form-item--vertical-left .wd-form-item__help {
|
|
936
|
+
margin-left: 0;
|
|
937
|
+
padding-left: 0;
|
|
938
|
+
}
|
|
939
|
+
|
|
940
|
+
.wd-form--weui.wd-form--vertical-right.wd-form-item,
|
|
941
|
+
.wd-form-item--weui.wd-form-item--vertical-right.wd-form-item {
|
|
942
|
+
margin-bottom: 0;
|
|
943
|
+
}
|
|
944
|
+
.wd-form--weui.wd-form--vertical-right .wd-form-textarea-wrap,
|
|
945
|
+
.wd-form-item--weui.wd-form-item--vertical-right .wd-form-textarea-wrap {
|
|
946
|
+
padding-top: 0;
|
|
947
|
+
}
|
|
948
|
+
.wd-form--weui.wd-form--vertical-right .wd-form-item,
|
|
949
|
+
.wd-form-item--weui.wd-form-item--vertical-right .wd-form-item {
|
|
950
|
+
margin-bottom: 0;
|
|
951
|
+
}
|
|
952
|
+
.wd-form--weui.wd-form--vertical-right .wd-form-item-wrap__label,
|
|
953
|
+
.wd-form-item--weui.wd-form-item--vertical-right .wd-form-item-wrap__label {
|
|
954
|
+
margin-bottom: 0;
|
|
955
|
+
padding: calc(var(--wd-space-base) * 4) 0 0 0;
|
|
956
|
+
}
|
|
957
|
+
.wd-form--weui.wd-form--vertical-right .wd-form-item-wrap__control,
|
|
958
|
+
.wd-form-item--weui.wd-form-item--vertical-right .wd-form-item-wrap__control {
|
|
959
|
+
padding: calc(var(--wd-space-base) * 2) 0;
|
|
960
|
+
flex: auto;
|
|
961
|
+
}
|
|
962
|
+
.wd-form--weui.wd-form--vertical-right .wd-form-item__help,
|
|
963
|
+
.wd-form-item--weui.wd-form-item--vertical-right .wd-form-item__help {
|
|
964
|
+
margin-left: 0;
|
|
965
|
+
padding-left: 0;
|
|
966
|
+
}
|
|
967
|
+
|
|
968
|
+
.wd-form--weui.wd-form--horizontal-right .wd-form-item--weui.wd-form-item--vertical-right .wd-form-item-wrap__label,
|
|
969
|
+
.wd-form--weui.wd-form--horizontal-right .wd-form-item--weui.wd-form-item--vertical-left .wd-form-item-wrap__label,
|
|
970
|
+
.wd-form-item--weui.wd-form-item.wd-form-item--horizontal-right .wd-form-item--weui.wd-form-item--vertical-right .wd-form-item-wrap__label,
|
|
971
|
+
.wd-form-item--weui.wd-form-item.wd-form-item--horizontal-right .wd-form-item--weui.wd-form-item--vertical-left .wd-form-item-wrap__label {
|
|
972
|
+
width: 100%;
|
|
973
|
+
}
|
|
974
|
+
.wd-form--weui.wd-form--horizontal-right.wd-form-item,
|
|
975
|
+
.wd-form-item--weui.wd-form-item.wd-form-item--horizontal-right.wd-form-item {
|
|
976
|
+
margin-bottom: 0;
|
|
977
|
+
}
|
|
978
|
+
.wd-form--weui.wd-form--horizontal-right .wd-form-item,
|
|
979
|
+
.wd-form-item--weui.wd-form-item.wd-form-item--horizontal-right .wd-form-item {
|
|
980
|
+
margin-bottom: 0;
|
|
981
|
+
}
|
|
982
|
+
.wd-form--weui.wd-form--horizontal-right .wd-form-item-wrap__label,
|
|
983
|
+
.wd-form-item--weui.wd-form-item.wd-form-item--horizontal-right .wd-form-item-wrap__label {
|
|
984
|
+
width: var(--wd-form-item-label-width);
|
|
985
|
+
margin-right: var(--wd-form-item-label-mr);
|
|
986
|
+
text-align: right;
|
|
987
|
+
}
|
|
988
|
+
.wd-form--weui.wd-form--horizontal-right .wd-form-item-wrap__label.wd-radio__label,
|
|
989
|
+
.wd-form-item--weui.wd-form-item.wd-form-item--horizontal-right .wd-form-item-wrap__label.wd-radio__label {
|
|
990
|
+
padding-top: calc(var(--wd-space-base) * 4);
|
|
991
|
+
}
|
|
992
|
+
.wd-form--weui.wd-form--horizontal-right .wd-form-item-wrap__label.wd-checkbox__label,
|
|
993
|
+
.wd-form-item--weui.wd-form-item.wd-form-item--horizontal-right .wd-form-item-wrap__label.wd-checkbox__label {
|
|
994
|
+
padding-top: calc(var(--wd-space-base) * 4);
|
|
995
|
+
}
|
|
996
|
+
.wd-form--weui.wd-form--horizontal-right .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label,
|
|
997
|
+
.wd-form-item--weui.wd-form-item.wd-form-item--horizontal-right .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label {
|
|
998
|
+
justify-content: flex-end;
|
|
999
|
+
}
|
|
1000
|
+
|
|
1001
|
+
.wd-form--weui.wd-form--horizontal-left .wd-form-item--weui.wd-form-item--vertical-right .wd-form-item-wrap__label,
|
|
1002
|
+
.wd-form--weui.wd-form--horizontal-left .wd-form-item--weui.wd-form-item--vertical-left .wd-form-item-wrap__label,
|
|
1003
|
+
.wd-form-item--weui.wd-form-item.wd-form-item--horizontal-left .wd-form-item--weui.wd-form-item--vertical-right .wd-form-item-wrap__label,
|
|
1004
|
+
.wd-form-item--weui.wd-form-item.wd-form-item--horizontal-left .wd-form-item--weui.wd-form-item--vertical-left .wd-form-item-wrap__label {
|
|
1005
|
+
width: 100%;
|
|
1006
|
+
}
|
|
1007
|
+
.wd-form--weui.wd-form--horizontal-left.wd-form-item,
|
|
1008
|
+
.wd-form-item--weui.wd-form-item.wd-form-item--horizontal-left.wd-form-item {
|
|
1009
|
+
margin-bottom: 0;
|
|
1010
|
+
}
|
|
1011
|
+
.wd-form--weui.wd-form--horizontal-left .wd-form-item,
|
|
1012
|
+
.wd-form-item--weui.wd-form-item.wd-form-item--horizontal-left .wd-form-item {
|
|
1013
|
+
margin-bottom: 0;
|
|
1014
|
+
}
|
|
1015
|
+
.wd-form--weui.wd-form--horizontal-left .wd-form-item-wrap__label,
|
|
1016
|
+
.wd-form-item--weui.wd-form-item.wd-form-item--horizontal-left .wd-form-item-wrap__label {
|
|
1017
|
+
width: var(--wd-form-item-label-width);
|
|
1018
|
+
margin-right: var(--wd-form-item-label-mr);
|
|
1019
|
+
text-align: left;
|
|
1020
|
+
}
|
|
1021
|
+
.wd-form--weui.wd-form--horizontal-left .wd-form-item-wrap__label.wd-radio__label,
|
|
1022
|
+
.wd-form-item--weui.wd-form-item.wd-form-item--horizontal-left .wd-form-item-wrap__label.wd-radio__label {
|
|
1023
|
+
padding-top: calc(var(--wd-space-base) * 4);
|
|
1024
|
+
}
|
|
1025
|
+
.wd-form--weui.wd-form--horizontal-left .wd-form-item-wrap__label.wd-checkbox__label,
|
|
1026
|
+
.wd-form-item--weui.wd-form-item.wd-form-item--horizontal-left .wd-form-item-wrap__label.wd-checkbox__label {
|
|
1027
|
+
padding-top: calc(var(--wd-space-base) * 4);
|
|
1028
|
+
}
|
|
1029
|
+
.wd-form--weui.wd-form--horizontal-left .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label,
|
|
1030
|
+
.wd-form-item--weui.wd-form-item.wd-form-item--horizontal-left .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label {
|
|
1031
|
+
justify-content: flex-start;
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
|
+
.wd-form-item.wd-form-item--label-left .wd-form-item-wrap__label {
|
|
1035
|
+
text-align: left;
|
|
1036
|
+
}
|
|
1037
|
+
.wd-form-item.wd-form-item--label-left .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label {
|
|
1038
|
+
justify-content: flex-start;
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
.wd-form-item.wd-form-item--label-right .wd-form-item-wrap__label {
|
|
1042
|
+
text-align: right;
|
|
1043
|
+
}
|
|
1044
|
+
.wd-form-item.wd-form-item--label-right .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label {
|
|
1045
|
+
justify-content: flex-end;
|
|
1046
|
+
}
|
|
1047
|
+
|
|
1048
|
+
.wd-form.wd-form--horizontal-left .wd-form-item.wd-form-item--label-left .wd-form-item-wrap__label,
|
|
1049
|
+
.wd-form.wd-form--horizontal-right .wd-form-item.wd-form-item--label-left .wd-form-item-wrap__label,
|
|
1050
|
+
.wd-form.wd-form--vertical-left .wd-form-item.wd-form-item--label-left .wd-form-item-wrap__label,
|
|
1051
|
+
.wd-form.wd-form--vertical-right .wd-form-item.wd-form-item--label-left .wd-form-item-wrap__label,
|
|
1052
|
+
.wd-form--weui.wd-form--horizontal-left .wd-form-item.wd-form-item--label-left .wd-form-item-wrap__label,
|
|
1053
|
+
.wd-form--weui.wd-form--horizontal-right .wd-form-item.wd-form-item--label-left .wd-form-item-wrap__label,
|
|
1054
|
+
.wd-form--weui.wd-form--vertical-left .wd-form-item.wd-form-item--label-left .wd-form-item-wrap__label,
|
|
1055
|
+
.wd-form--weui.wd-form--vertical-right .wd-form-item.wd-form-item--label-left .wd-form-item-wrap__label {
|
|
1056
|
+
text-align: left;
|
|
1057
|
+
}
|
|
1058
|
+
.wd-form.wd-form--horizontal-left .wd-form-item.wd-form-item--label-left .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label,
|
|
1059
|
+
.wd-form.wd-form--horizontal-right .wd-form-item.wd-form-item--label-left .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label,
|
|
1060
|
+
.wd-form.wd-form--vertical-left .wd-form-item.wd-form-item--label-left .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label,
|
|
1061
|
+
.wd-form.wd-form--vertical-right .wd-form-item.wd-form-item--label-left .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label,
|
|
1062
|
+
.wd-form--weui.wd-form--horizontal-left .wd-form-item.wd-form-item--label-left .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label,
|
|
1063
|
+
.wd-form--weui.wd-form--horizontal-right .wd-form-item.wd-form-item--label-left .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label,
|
|
1064
|
+
.wd-form--weui.wd-form--vertical-left .wd-form-item.wd-form-item--label-left .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label,
|
|
1065
|
+
.wd-form--weui.wd-form--vertical-right .wd-form-item.wd-form-item--label-left .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label {
|
|
1066
|
+
justify-content: flex-start;
|
|
1067
|
+
}
|
|
1068
|
+
.wd-form.wd-form--horizontal-left .wd-form-item.wd-form-item--label-right .wd-form-item-wrap__label,
|
|
1069
|
+
.wd-form.wd-form--horizontal-right .wd-form-item.wd-form-item--label-right .wd-form-item-wrap__label,
|
|
1070
|
+
.wd-form.wd-form--vertical-left .wd-form-item.wd-form-item--label-right .wd-form-item-wrap__label,
|
|
1071
|
+
.wd-form.wd-form--vertical-right .wd-form-item.wd-form-item--label-right .wd-form-item-wrap__label,
|
|
1072
|
+
.wd-form--weui.wd-form--horizontal-left .wd-form-item.wd-form-item--label-right .wd-form-item-wrap__label,
|
|
1073
|
+
.wd-form--weui.wd-form--horizontal-right .wd-form-item.wd-form-item--label-right .wd-form-item-wrap__label,
|
|
1074
|
+
.wd-form--weui.wd-form--vertical-left .wd-form-item.wd-form-item--label-right .wd-form-item-wrap__label,
|
|
1075
|
+
.wd-form--weui.wd-form--vertical-right .wd-form-item.wd-form-item--label-right .wd-form-item-wrap__label {
|
|
1076
|
+
text-align: right;
|
|
1077
|
+
}
|
|
1078
|
+
.wd-form.wd-form--horizontal-left .wd-form-item.wd-form-item--label-right .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label,
|
|
1079
|
+
.wd-form.wd-form--horizontal-right .wd-form-item.wd-form-item--label-right .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label,
|
|
1080
|
+
.wd-form.wd-form--vertical-left .wd-form-item.wd-form-item--label-right .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label,
|
|
1081
|
+
.wd-form.wd-form--vertical-right .wd-form-item.wd-form-item--label-right .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label,
|
|
1082
|
+
.wd-form--weui.wd-form--horizontal-left .wd-form-item.wd-form-item--label-right .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label,
|
|
1083
|
+
.wd-form--weui.wd-form--horizontal-right .wd-form-item.wd-form-item--label-right .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label,
|
|
1084
|
+
.wd-form--weui.wd-form--vertical-left .wd-form-item.wd-form-item--label-right .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label,
|
|
1085
|
+
.wd-form--weui.wd-form--vertical-right .wd-form-item.wd-form-item--label-right .wd-form-item-wrap__label.is-nowrap.wd-form-item-wrap__label > label {
|
|
1086
|
+
justify-content: flex-end;
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1089
|
+
.item-size-height-xs .wd-form-item-wrap__label {
|
|
1090
|
+
line-height: var(--wd-form-item-label-height-xs);
|
|
1091
|
+
}
|
|
1092
|
+
.item-size-height-xs .wd-form-item-wrap .is-nowrap.wd-form-item-wrap__label > label {
|
|
1093
|
+
line-height: var(--wd-form-item-label-height-xs);
|
|
1094
|
+
}
|
|
1095
|
+
.item-size-height-xs .wd-form-item-wrap__control {
|
|
1096
|
+
flex: auto;
|
|
1097
|
+
width: 100%;
|
|
1098
|
+
}
|
|
1099
|
+
.item-size-height-xs .wd-form-item-wrap__control-wrap {
|
|
1100
|
+
min-height: var(--wd-form-item-label-height-xs);
|
|
1101
|
+
}
|
|
1102
|
+
|
|
1103
|
+
.item-size-height-sm .wd-form-item-wrap__label {
|
|
1104
|
+
line-height: var(--wd-form-item-label-height-sm);
|
|
1105
|
+
}
|
|
1106
|
+
.item-size-height-sm .wd-form-item-wrap .is-nowrap.wd-form-item-wrap__label > label {
|
|
1107
|
+
line-height: var(--wd-form-item-label-height-sm);
|
|
1108
|
+
}
|
|
1109
|
+
.item-size-height-sm .wd-form-item-wrap__control {
|
|
1110
|
+
flex: auto;
|
|
1111
|
+
width: 100%;
|
|
1112
|
+
}
|
|
1113
|
+
.item-size-height-sm .wd-form-item-wrap__control-wrap {
|
|
1114
|
+
min-height: var(--wd-form-item-label-height-sm);
|
|
1115
|
+
}
|
|
1116
|
+
|
|
1117
|
+
.item-size-height-md .wd-form-item-wrap__label {
|
|
1118
|
+
line-height: var(--wd-form-item-label-height-md);
|
|
1119
|
+
}
|
|
1120
|
+
.item-size-height-md .wd-form-item-wrap .is-nowrap.wd-form-item-wrap__label > label {
|
|
1121
|
+
line-height: var(--wd-form-item-label-height-md);
|
|
1122
|
+
}
|
|
1123
|
+
.item-size-height-md .wd-form-item-wrap__control {
|
|
1124
|
+
flex: auto;
|
|
1125
|
+
width: 100%;
|
|
1126
|
+
}
|
|
1127
|
+
.item-size-height-md .wd-form-item-wrap__control-wrap {
|
|
1128
|
+
min-height: var(--wd-form-item-label-height-md);
|
|
1129
|
+
}
|
|
1130
|
+
|
|
1131
|
+
.item-size-height-lg .wd-form-item-wrap__label {
|
|
1132
|
+
line-height: var(--wd-form-item-label-height-lg);
|
|
1133
|
+
}
|
|
1134
|
+
.item-size-height-lg .wd-form-item-wrap .is-nowrap.wd-form-item-wrap__label > label {
|
|
1135
|
+
line-height: var(--wd-form-item-label-height-lg);
|
|
1136
|
+
}
|
|
1137
|
+
.item-size-height-lg .wd-form-item-wrap__control {
|
|
1138
|
+
flex: auto;
|
|
1139
|
+
width: 100%;
|
|
1140
|
+
}
|
|
1141
|
+
.item-size-height-lg .wd-form-item-wrap__control-wrap {
|
|
1142
|
+
min-height: var(--wd-form-item-label-height-lg);
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1145
|
+
.wd-input__limit-number {
|
|
1146
|
+
padding-left: calc(var(--wd-space-base) * 2);
|
|
1147
|
+
color: var(--wd-input-limit-number-color);
|
|
1148
|
+
font-weight: var(--wd-input-limit-number-weight);
|
|
1149
|
+
font-size: var(--wd-input-limit-number-size);
|
|
1150
|
+
}
|
|
1151
|
+
|
|
1152
|
+
.wd-form-read-value {
|
|
1153
|
+
padding-top: 2px;
|
|
1154
|
+
}
|
|
1155
|
+
.wd-form-read-value .wedatea2td-dropdown__header.wedatea2td-dropdown-btn {
|
|
1156
|
+
padding: 0;
|
|
1157
|
+
border: none;
|
|
1158
|
+
color: var(--wd-form-readonly-font-color);
|
|
1159
|
+
background: transparent;
|
|
1160
|
+
}
|
|
1161
|
+
.wd-form-read-value .wedatea2td-dropdown__header.wedatea2td-dropdown-btn:hover {
|
|
1162
|
+
background: transparent;
|
|
1163
|
+
}
|
|
1164
|
+
.wd-form-read-value .wedatea2td-dropdown__header.wedatea2td-dropdown-btn .wedatea2td-dropdown__value {
|
|
1165
|
+
line-height: inherit;
|
|
1166
|
+
}
|
|
1167
|
+
.wd-form-read-value .weui-input-arrow {
|
|
1168
|
+
display: none;
|
|
1169
|
+
}
|
|
1170
|
+
.wd-form-read-value .wedatea2td-icon.wedatea2td-icon-arrowdown {
|
|
1171
|
+
display: none;
|
|
1172
|
+
}
|
|
1173
|
+
|
|
1174
|
+
.wd-form-read-color {
|
|
1175
|
+
opacity: 0.6;
|
|
1176
|
+
}
|
|
1177
|
+
.wd-form-read-color .wedatea2td-tag {
|
|
1178
|
+
background-color: transparent;
|
|
1179
|
+
padding: 0;
|
|
1180
|
+
border: none;
|
|
1181
|
+
}
|
|
1182
|
+
|
|
1183
|
+
.wd-select__disabled {
|
|
1184
|
+
line-height: var(--wd-form-item-height-md);
|
|
1185
|
+
color: rgba(0, 0, 0, 0.6);
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1188
|
+
.wd-form .wd-select__disabled {
|
|
1189
|
+
line-height: 1.38rem;
|
|
1190
|
+
color: rgba(0, 0, 0, 0.6);
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1193
|
+
.wd-form.wd-pc-form .wd-form-item {
|
|
1194
|
+
width: 100%;
|
|
1195
|
+
padding-top: calc(var(--wd-space-base) * 2.5);
|
|
1196
|
+
padding-bottom: calc(var(--wd-space-base) * 2.5);
|
|
1197
|
+
}
|
|
1198
|
+
.wd-form.wd-pc-form .wd-form-input-group, .wd-form.wd-pc-form .wd-form-input-wrap {
|
|
1199
|
+
width: 100%;
|
|
1200
|
+
}
|
|
1201
|
+
.wd-form.size-width-sm {
|
|
1202
|
+
width: var(--wd-form-container-width-sm);
|
|
1203
|
+
}
|
|
1204
|
+
.wd-form.size-width-md {
|
|
1205
|
+
width: var(--wd-form-container-width-md);
|
|
1206
|
+
}
|
|
1207
|
+
.wd-form.size-width-lg {
|
|
1208
|
+
width: var(--wd-form-container-width-lg);
|
|
1209
|
+
}
|
|
1210
|
+
.wd-form.size-width-hundred {
|
|
1211
|
+
width: 100%;
|
|
1212
|
+
}
|