@tplc/wot 1.0.7 → 1.0.9
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/CHANGELOG.md +14 -0
- package/components/common/AbortablePromise.ts +3 -11
- package/components/common/abstracts/_config.scss +1 -1
- package/components/common/abstracts/_function.scss +26 -13
- package/components/common/abstracts/_mixin.scss +117 -71
- package/components/common/abstracts/variable.scss +325 -697
- package/components/common/base64.ts +1 -2
- package/components/common/canvasHelper.ts +1 -1
- package/components/common/interceptor.ts +43 -0
- package/components/common/props.ts +8 -8
- package/components/common/util.ts +145 -60
- package/components/composables/index.ts +11 -0
- package/components/composables/useChildren.ts +9 -18
- package/components/composables/useCountDown.ts +2 -2
- package/components/composables/useLockScroll.ts +1 -3
- package/components/composables/useParent.ts +4 -4
- package/components/composables/usePopover.ts +43 -60
- package/components/composables/useQueue.ts +2 -2
- package/components/composables/useTouch.ts +2 -3
- package/components/composables/useTranslate.ts +2 -13
- package/components/composables/useUpload.ts +389 -0
- package/components/wd-action-sheet/index.scss +22 -22
- package/components/wd-action-sheet/types.ts +11 -21
- package/components/wd-action-sheet/wd-action-sheet.vue +21 -40
- package/components/wd-backtop/index.scss +5 -5
- package/components/wd-backtop/types.ts +3 -15
- package/components/wd-backtop/wd-backtop.vue +12 -20
- package/components/wd-badge/index.scss +14 -10
- package/components/wd-badge/types.ts +6 -9
- package/components/wd-badge/wd-badge.vue +29 -37
- package/components/wd-button/index.scss +76 -80
- package/components/wd-button/types.ts +43 -13
- package/components/wd-button/wd-button.vue +41 -22
- package/components/wd-calendar/index.scss +58 -145
- package/components/wd-calendar/types.ts +23 -41
- package/components/wd-calendar/wd-calendar.vue +123 -130
- package/components/wd-calendar-view/month/index.scss +33 -65
- package/components/wd-calendar-view/month/month.vue +80 -113
- package/components/wd-calendar-view/month/types.ts +2 -1
- package/components/wd-calendar-view/monthPanel/index.scss +15 -15
- package/components/wd-calendar-view/monthPanel/month-panel.vue +64 -78
- package/components/wd-calendar-view/monthPanel/types.ts +58 -10
- package/components/wd-calendar-view/types.ts +12 -36
- package/components/wd-calendar-view/utils.ts +14 -36
- package/components/wd-calendar-view/wd-calendar-view.vue +7 -7
- package/components/wd-calendar-view/year/index.scss +18 -13
- package/components/wd-calendar-view/year/types.ts +2 -1
- package/components/wd-calendar-view/year/year.vue +25 -43
- package/components/wd-calendar-view/yearPanel/index.scss +4 -4
- package/components/wd-calendar-view/yearPanel/types.ts +2 -2
- package/components/wd-calendar-view/yearPanel/year-panel.vue +36 -41
- package/components/wd-card/index.scss +11 -10
- package/components/wd-card/types.ts +1 -1
- package/components/wd-card/wd-card.vue +6 -9
- package/components/wd-cell/index.scss +56 -41
- package/components/wd-cell/types.ts +23 -8
- package/components/wd-cell/wd-cell.vue +48 -18
- package/components/wd-cell-group/index.scss +8 -7
- package/components/wd-cell-group/types.ts +1 -1
- package/components/wd-cell-group/wd-cell-group.vue +5 -5
- package/components/wd-checkbox/index.scss +35 -35
- package/components/wd-checkbox/types.ts +6 -6
- package/components/wd-checkbox/wd-checkbox.vue +12 -20
- package/components/wd-checkbox-group/index.scss +4 -4
- package/components/wd-checkbox-group/types.ts +2 -2
- package/components/wd-checkbox-group/wd-checkbox-group.vue +9 -12
- package/components/wd-circle/index.scss +5 -5
- package/components/wd-circle/types.ts +2 -2
- package/components/wd-circle/wd-circle.vue +18 -40
- package/components/wd-col/index.scss +2 -2
- package/components/wd-col/types.ts +1 -1
- package/components/wd-col/wd-col.vue +11 -53
- package/components/wd-col-picker/index.scss +41 -115
- package/components/wd-col-picker/types.ts +10 -14
- package/components/wd-col-picker/wd-col-picker.vue +103 -155
- package/components/wd-collapse/index.scss +7 -13
- package/components/wd-collapse/types.ts +4 -10
- package/components/wd-collapse/wd-collapse.vue +22 -55
- package/components/wd-collapse-item/index.scss +16 -5
- package/components/wd-collapse-item/types.ts +14 -2
- package/components/wd-collapse-item/wd-collapse-item.vue +70 -81
- package/components/wd-config-provider/types.ts +69 -40
- package/components/wd-config-provider/wd-config-provider.vue +11 -11
- package/components/wd-count-down/index.scss +3 -2
- package/components/wd-count-down/types.ts +1 -1
- package/components/wd-count-down/wd-count-down.vue +5 -5
- package/components/wd-count-to/index.scss +2 -1
- package/components/wd-count-to/types.ts +10 -3
- package/components/wd-count-to/wd-count-to.vue +9 -18
- package/components/wd-curtain/index.scss +28 -23
- package/components/wd-curtain/types.ts +46 -9
- package/components/wd-curtain/wd-curtain.vue +45 -47
- package/components/wd-datetime-picker/index.scss +65 -145
- package/components/wd-datetime-picker/types.ts +41 -31
- package/components/wd-datetime-picker/wd-datetime-picker.vue +307 -333
- package/components/wd-datetime-picker-view/types.ts +29 -46
- package/components/wd-datetime-picker-view/util.ts +30 -0
- package/components/wd-datetime-picker-view/wd-datetime-picker-view.vue +104 -119
- package/components/wd-divider/index.scss +78 -10
- package/components/wd-divider/types.ts +26 -3
- package/components/wd-divider/wd-divider.vue +33 -10
- package/components/wd-drop-menu/index.scss +17 -45
- package/components/wd-drop-menu/types.ts +3 -3
- package/components/wd-drop-menu/wd-drop-menu.vue +61 -25
- package/components/wd-drop-menu-item/index.scss +15 -15
- package/components/wd-drop-menu-item/types.ts +18 -15
- package/components/wd-drop-menu-item/wd-drop-menu-item.vue +33 -54
- package/components/wd-fab/index.scss +13 -12
- package/components/wd-fab/types.ts +9 -4
- package/components/wd-fab/wd-fab.vue +70 -51
- package/components/wd-floating-panel/index.scss +64 -0
- package/components/wd-floating-panel/type.ts +32 -0
- package/components/wd-floating-panel/wd-floating-panel.vue +140 -0
- package/components/wd-form/types.ts +8 -16
- package/components/wd-form/wd-form.vue +67 -45
- package/components/wd-form-item/index.scss +3 -2
- package/components/wd-form-item/types.ts +2 -8
- package/components/wd-form-item/wd-form-item.vue +3 -3
- package/components/wd-grid/index.scss +2 -2
- package/components/wd-grid/types.ts +5 -0
- package/components/wd-grid/wd-grid.vue +11 -12
- package/components/wd-grid-item/index.scss +44 -33
- package/components/wd-grid-item/types.ts +7 -4
- package/components/wd-grid-item/wd-grid-item.vue +39 -44
- package/components/wd-icon/index.scss +311 -303
- package/components/wd-icon/types.ts +3 -3
- package/components/wd-icon/wd-icon.vue +6 -6
- package/components/wd-img/types.ts +1 -1
- package/components/wd-img/wd-img.vue +12 -4
- package/components/wd-img-cropper/index.scss +43 -39
- package/components/wd-img-cropper/types.ts +6 -8
- package/components/wd-img-cropper/wd-img-cropper.vue +132 -127
- package/components/wd-index-anchor/index.scss +7 -6
- package/components/wd-index-anchor/type.ts +2 -2
- package/components/wd-index-anchor/wd-index-anchor.vue +3 -9
- package/components/wd-index-bar/index.scss +5 -5
- package/components/wd-index-bar/type.ts +3 -2
- package/components/wd-index-bar/wd-index-bar.vue +15 -51
- package/components/wd-input/index.scss +44 -33
- package/components/wd-input/placeholder.css +20 -0
- package/components/wd-input/types.ts +40 -19
- package/components/wd-input/wd-input.vue +58 -42
- package/components/wd-input-number/index.scss +23 -31
- package/components/wd-input-number/types.ts +42 -14
- package/components/wd-input-number/wd-input-number.vue +374 -141
- package/components/wd-keyboard/constants.ts +81 -0
- package/components/wd-keyboard/index.scss +102 -0
- package/components/wd-keyboard/key/index.scss +79 -0
- package/components/wd-keyboard/key/index.vue +71 -0
- package/components/wd-keyboard/key/types.ts +11 -0
- package/components/wd-keyboard/types.ts +92 -0
- package/components/wd-keyboard/wd-keyboard.vue +206 -0
- package/components/wd-loading/index.scss +9 -6
- package/components/wd-loading/types.ts +1 -1
- package/components/wd-loading/wd-loading.vue +9 -9
- package/components/wd-loadmore/index.scss +5 -5
- package/components/wd-loadmore/types.ts +8 -2
- package/components/wd-loadmore/wd-loadmore.vue +28 -13
- package/components/wd-message-box/index.scss +21 -34
- package/components/wd-message-box/index.ts +30 -29
- package/components/wd-message-box/types.ts +33 -8
- package/components/wd-message-box/wd-message-box.vue +130 -152
- package/components/wd-navbar/index.scss +14 -24
- package/components/wd-navbar/types.ts +1 -1
- package/components/wd-navbar/wd-navbar.vue +14 -45
- package/components/wd-navbar-capsule/index.scss +16 -15
- package/components/wd-navbar-capsule/types.ts +8 -0
- package/components/wd-navbar-capsule/wd-navbar-capsule.vue +8 -4
- package/components/wd-notice-bar/index.scss +15 -33
- package/components/wd-notice-bar/types.ts +14 -3
- package/components/wd-notice-bar/wd-notice-bar.vue +109 -66
- package/components/wd-notify/index.scss +5 -5
- package/components/wd-notify/index.ts +17 -15
- package/components/wd-notify/types.ts +4 -0
- package/components/wd-notify/wd-notify.vue +21 -19
- package/components/wd-number-keyboard/index.scss +10 -10
- package/components/wd-number-keyboard/key/index.scss +7 -5
- package/components/wd-number-keyboard/key/index.vue +6 -9
- package/components/wd-number-keyboard/key/types.ts +1 -1
- package/components/wd-number-keyboard/types.ts +4 -0
- package/components/wd-number-keyboard/wd-number-keyboard.vue +22 -44
- package/components/wd-overlay/index.scss +3 -3
- package/components/wd-overlay/types.ts +2 -2
- package/components/wd-overlay/wd-overlay.vue +7 -15
- package/components/wd-pagination/index.scss +17 -17
- package/components/wd-pagination/types.ts +1 -1
- package/components/wd-pagination/wd-pagination.vue +10 -21
- package/components/wd-password-input/index.scss +7 -6
- package/components/wd-password-input/types.ts +2 -8
- package/components/wd-password-input/wd-password-input.vue +6 -15
- package/components/wd-picker/index.scss +46 -153
- package/components/wd-picker/types.ts +22 -19
- package/components/wd-picker/wd-picker.vue +89 -86
- package/components/wd-picker-view/index.scss +13 -12
- package/components/wd-picker-view/types.ts +16 -26
- package/components/wd-picker-view/wd-picker-view.vue +32 -24
- package/components/wd-popover/index.scss +29 -36
- package/components/wd-popover/types.ts +1 -1
- package/components/wd-popover/wd-popover.vue +20 -56
- package/components/wd-popup/index.scss +47 -75
- package/components/wd-popup/types.ts +40 -4
- package/components/wd-popup/wd-popup.vue +100 -157
- package/components/wd-progress/index.scss +20 -14
- package/components/wd-progress/types.ts +10 -6
- package/components/wd-progress/wd-progress.vue +137 -141
- package/components/wd-radio/index.scss +54 -53
- package/components/wd-radio/types.ts +15 -6
- package/components/wd-radio/wd-radio.vue +41 -59
- package/components/wd-radio-group/index.scss +5 -5
- package/components/wd-radio-group/types.ts +4 -1
- package/components/wd-radio-group/wd-radio-group.vue +6 -9
- package/components/wd-rate/index.scss +1 -1
- package/components/wd-rate/types.ts +10 -5
- package/components/wd-rate/wd-rate.vue +35 -17
- package/components/wd-resize/index.scss +2 -1
- package/components/wd-resize/types.ts +1 -1
- package/components/wd-resize/wd-resize.vue +11 -22
- package/components/wd-root-portal/wd-root-portal.vue +50 -0
- package/components/wd-row/index.scss +1 -1
- package/components/wd-row/types.ts +1 -1
- package/components/wd-row/wd-row.vue +14 -35
- package/components/wd-search/index.scss +29 -29
- package/components/wd-search/types.ts +22 -3
- package/components/wd-search/wd-search.vue +70 -120
- package/components/wd-segmented/index.scss +19 -15
- package/components/wd-segmented/types.ts +16 -4
- package/components/wd-segmented/wd-segmented.vue +34 -34
- package/components/wd-select-picker/index.scss +55 -122
- package/components/wd-select-picker/types.ts +29 -36
- package/components/wd-select-picker/wd-select-picker.vue +128 -274
- package/components/wd-sidebar/index.scss +5 -5
- package/components/wd-sidebar/types.ts +22 -3
- package/components/wd-sidebar/wd-sidebar.vue +26 -4
- package/components/wd-sidebar-item/index.scss +17 -13
- package/components/wd-sidebar-item/types.ts +3 -3
- package/components/wd-sidebar-item/wd-sidebar-item.vue +12 -10
- package/components/wd-signature/index.scss +31 -0
- package/components/wd-signature/types.ts +263 -0
- package/components/wd-signature/wd-signature.vue +630 -0
- package/components/wd-skeleton/index.scss +8 -13
- package/components/wd-skeleton/types.ts +6 -6
- package/components/wd-skeleton/wd-skeleton.vue +15 -31
- package/components/wd-slider/index.scss +24 -17
- package/components/wd-slider/types.ts +45 -17
- package/components/wd-slider/wd-slider.vue +275 -297
- package/components/wd-sort-button/index.scss +10 -7
- package/components/wd-sort-button/types.ts +1 -1
- package/components/wd-sort-button/wd-sort-button.vue +7 -14
- package/components/wd-status-tip/index.scss +8 -8
- package/components/wd-status-tip/types.ts +8 -2
- package/components/wd-status-tip/wd-status-tip.vue +14 -37
- package/components/wd-step/index.scss +29 -30
- package/components/wd-step/types.ts +1 -1
- package/components/wd-step/wd-step.vue +8 -9
- package/components/wd-steps/index.scss +1 -1
- package/components/wd-steps/types.ts +1 -1
- package/components/wd-steps/wd-steps.vue +5 -5
- package/components/wd-sticky/index.scss +1 -1
- package/components/wd-sticky/types.ts +1 -1
- package/components/wd-sticky/wd-sticky.vue +21 -29
- package/components/wd-sticky-box/index.scss +1 -1
- package/components/wd-sticky-box/wd-sticky-box.vue +7 -6
- package/components/wd-swipe-action/index.scss +1 -1
- package/components/wd-swipe-action/types.ts +2 -5
- package/components/wd-swipe-action/wd-swipe-action.vue +9 -22
- package/components/wd-swiper-nav/index.scss +22 -16
- package/components/wd-swiper-nav/types.ts +1 -9
- package/components/wd-swiper-nav/wd-swiper-nav.vue +2 -5
- package/components/wd-switch/index.scss +15 -15
- package/components/wd-switch/types.ts +8 -6
- package/components/wd-switch/wd-switch.vue +15 -15
- package/components/wd-tab/index.scss +11 -3
- package/components/wd-tab/types.ts +11 -1
- package/components/wd-tab/wd-tab.vue +28 -36
- package/components/wd-tabbar/index.scss +12 -7
- package/components/wd-tabbar/types.ts +3 -18
- package/components/wd-tabbar/wd-tabbar.vue +10 -23
- package/components/wd-tabbar-item/index.scss +15 -12
- package/components/wd-tabbar-item/types.ts +3 -3
- package/components/wd-tabbar-item/wd-tabbar-item.vue +11 -13
- package/components/wd-table/index.scss +40 -9
- package/components/wd-table/types.ts +13 -15
- package/components/wd-table/wd-table.vue +123 -94
- package/components/wd-table-col/index.scss +6 -4
- package/components/wd-table-col/types.ts +1 -1
- package/components/wd-table-col/wd-table-col.vue +12 -12
- package/components/wd-tag/index.scss +19 -19
- package/components/wd-tag/types.ts +1 -1
- package/components/wd-tag/wd-tag.vue +14 -20
- package/components/wd-text/index.scss +4 -1
- package/components/wd-text/types.ts +4 -4
- package/components/wd-text/wd-text.vue +12 -11
- package/components/wd-textarea/index.scss +51 -41
- package/components/wd-textarea/placeholder.css +20 -0
- package/components/wd-textarea/types.ts +24 -34
- package/components/wd-textarea/wd-textarea.vue +53 -33
- package/components/wd-toast/index.scss +31 -18
- package/components/wd-toast/index.ts +26 -43
- package/components/wd-toast/types.ts +117 -3
- package/components/wd-toast/wd-toast.vue +49 -69
- package/components/wd-tooltip/index.scss +21 -16
- package/components/wd-tooltip/types.ts +8 -3
- package/components/wd-tooltip/wd-tooltip.vue +17 -43
- package/components/wd-tour/index.scss +123 -0
- package/components/wd-tour/types.ts +153 -0
- package/components/wd-tour/wd-tour.vue +509 -0
- package/components/wd-transition/index.scss +39 -35
- package/components/wd-transition/types.ts +27 -9
- package/components/wd-transition/wd-transition.vue +45 -34
- package/components/wd-upload/index.scss +23 -21
- package/components/wd-upload/types.ts +43 -30
- package/components/wd-upload/wd-upload.vue +183 -247
- package/components/wd-video-preview/index.scss +9 -9
- package/components/wd-video-preview/types.ts +1 -1
- package/components/wd-video-preview/wd-video-preview.vue +18 -22
- package/components/wd-watermark/index.scss +7 -7
- package/components/wd-watermark/types.ts +2 -8
- package/components/wd-watermark/wd-watermark.vue +38 -135
- package/dayjs/constant.js +26 -0
- package/dayjs/index.d.ts +430 -0
- package/dayjs/index.js +542 -0
- package/dayjs/locale/en.js +13 -0
- package/dayjs/utils.js +59 -0
- package/global.d.ts +97 -91
- package/index.ts +2 -10
- package/locale/index.ts +3 -15
- package/locale/lang/ar-SA.ts +133 -0
- package/locale/lang/de-DE.ts +133 -0
- package/locale/lang/en-US.ts +31 -26
- package/locale/lang/es-ES.ts +133 -0
- package/locale/lang/fr-FR.ts +133 -0
- package/locale/lang/ja-JP.ts +133 -0
- package/locale/lang/ko-KR.ts +133 -0
- package/locale/lang/pt-PT.ts +133 -0
- package/locale/lang/ru-RU.ts +133 -0
- package/locale/lang/th-TH.ts +28 -22
- package/locale/lang/tr-TR.ts +138 -0
- package/locale/lang/ug-CN.ts +137 -0
- package/locale/lang/vi-VN.ts +27 -30
- package/locale/lang/zh-CN.ts +32 -22
- package/locale/lang/zh-HK.ts +18 -31
- package/locale/lang/zh-TW.ts +22 -31
- package/package.json +1 -1
- package/types/components/common/interceptor.d.ts +15 -0
- package/types/components/common/util.d.ts +61 -1
- package/types/components/composables/useCell.d.ts +1 -1
- package/types/components/composables/useLockScroll.d.ts +1 -2
- package/types/components/composables/useParent.d.ts +1 -1
- package/types/components/composables/usePopover.d.ts +2 -2
- package/types/components/composables/useUpload.d.ts +41 -0
- package/types/components/wd-action-sheet/types.d.ts +13 -4
- package/types/components/wd-action-sheet/wd-action-sheet.vue.d.ts +20 -11
- package/types/components/wd-backtop/types.d.ts +1 -9
- package/types/components/wd-backtop/wd-backtop.vue.d.ts +6 -25
- package/types/components/wd-badge/types.d.ts +3 -6
- package/types/components/wd-badge/wd-badge.vue.d.ts +7 -14
- package/types/components/wd-button/types.d.ts +44 -8
- package/types/components/wd-button/wd-button.vue.d.ts +13 -9
- package/types/components/wd-calendar/types.d.ts +24 -18
- package/types/components/wd-calendar/wd-calendar.vue.d.ts +48 -32
- package/types/components/wd-calendar-view/month/month.vue.d.ts +11 -3
- package/types/components/wd-calendar-view/month/types.d.ts +4 -0
- package/types/components/wd-calendar-view/monthPanel/month-panel.vue.d.ts +18 -12
- package/types/components/wd-calendar-view/monthPanel/types.d.ts +48 -6
- package/types/components/wd-calendar-view/types.d.ts +11 -4
- package/types/components/wd-calendar-view/utils.d.ts +3 -12
- package/types/components/wd-calendar-view/wd-calendar-view.vue.d.ts +1 -1
- package/types/components/wd-calendar-view/year/types.d.ts +4 -0
- package/types/components/wd-calendar-view/year/year.vue.d.ts +11 -3
- package/types/components/wd-cell/types.d.ts +37 -1
- package/types/components/wd-cell/wd-cell.vue.d.ts +53 -9
- package/types/components/wd-checkbox/wd-checkbox.vue.d.ts +2 -2
- package/types/components/wd-checkbox-group/wd-checkbox-group.vue.d.ts +2 -2
- package/types/components/wd-circle/wd-circle.vue.d.ts +3 -3
- package/types/components/wd-col-picker/types.d.ts +14 -0
- package/types/components/wd-col-picker/wd-col-picker.vue.d.ts +36 -19
- package/types/components/wd-collapse/types.d.ts +1 -5
- package/types/components/wd-collapse/wd-collapse.vue.d.ts +3 -11
- package/types/components/wd-collapse-item/types.d.ts +19 -1
- package/types/components/wd-collapse-item/wd-collapse-item.vue.d.ts +20 -1
- package/types/components/wd-config-provider/types.d.ts +64 -7
- package/types/components/wd-config-provider/wd-config-provider.vue.d.ts +1 -1
- package/types/components/wd-count-to/types.d.ts +11 -0
- package/types/components/wd-count-to/wd-count-to.vue.d.ts +13 -4
- package/types/components/wd-curtain/types.d.ts +56 -0
- package/types/components/wd-curtain/wd-curtain.vue.d.ts +152 -77
- package/types/components/wd-datetime-picker/types.d.ts +49 -15
- package/types/components/wd-datetime-picker/wd-datetime-picker.vue.d.ts +75 -38
- package/types/components/wd-datetime-picker-view/types.d.ts +36 -14
- package/types/components/wd-datetime-picker-view/util.d.ts +12 -0
- package/types/components/wd-datetime-picker-view/wd-datetime-picker-view.vue.d.ts +35 -9
- package/types/components/wd-divider/types.d.ts +32 -4
- package/types/components/wd-divider/wd-divider.vue.d.ts +30 -7
- package/types/components/wd-drop-menu/types.d.ts +3 -3
- package/types/components/wd-drop-menu/wd-drop-menu.vue.d.ts +8 -8
- package/types/components/wd-drop-menu-item/types.d.ts +27 -15
- package/types/components/wd-drop-menu-item/wd-drop-menu-item.vue.d.ts +47 -36
- package/types/components/wd-fab/types.d.ts +19 -3
- package/types/components/wd-fab/wd-fab.vue.d.ts +13 -1
- package/types/components/wd-floating-panel/type.d.ts +54 -0
- package/types/components/wd-floating-panel/wd-floating-panel.vue.d.ts +109 -0
- package/types/components/wd-form/types.d.ts +1 -1
- package/types/components/wd-form/wd-form.vue.d.ts +2 -2
- package/types/components/wd-form-item/wd-form-item.vue.d.ts +2 -2
- package/types/components/wd-grid/types.d.ts +5 -0
- package/types/components/wd-grid/wd-grid.vue.d.ts +2 -0
- package/types/components/wd-grid-item/types.d.ts +4 -1
- package/types/components/wd-grid-item/wd-grid-item.vue.d.ts +3 -3
- package/types/components/wd-icon/types.d.ts +1 -1
- package/types/components/wd-icon/wd-icon.vue.d.ts +3 -3
- package/types/components/wd-img/types.d.ts +4 -1
- package/types/components/wd-img/wd-img.vue.d.ts +11 -4
- package/types/components/wd-img-cropper/types.d.ts +7 -0
- package/types/components/wd-img-cropper/wd-img-cropper.vue.d.ts +12 -3
- package/types/components/wd-index-bar/type.d.ts +2 -1
- package/types/components/wd-index-bar/wd-index-bar.vue.d.ts +1 -5
- package/types/components/wd-input/types.d.ts +53 -37
- package/types/components/wd-input/wd-input.vue.d.ts +50 -52
- package/types/components/wd-input-number/types.d.ts +51 -6
- package/types/components/wd-input-number/wd-input-number.vue.d.ts +152 -125
- package/types/components/wd-keyboard/constants.d.ts +8 -0
- package/types/components/wd-keyboard/key/index.vue.d.ts +70 -0
- package/types/components/wd-keyboard/key/types.d.ts +23 -0
- package/types/components/wd-keyboard/types.d.ts +137 -0
- package/types/components/wd-keyboard/wd-keyboard.vue.d.ts +200 -0
- package/types/components/wd-loading/wd-loading.vue.d.ts +2 -2
- package/types/components/wd-loadmore/types.d.ts +7 -4
- package/types/components/wd-loadmore/wd-loadmore.vue.d.ts +5 -9
- package/types/components/wd-message-box/index.d.ts +3 -8
- package/types/components/wd-message-box/types.d.ts +36 -5
- package/types/components/wd-message-box/wd-message-box.vue.d.ts +18 -2
- package/types/components/wd-navbar/wd-navbar.vue.d.ts +3 -3
- package/types/components/wd-navbar-capsule/types.d.ts +12 -0
- package/types/components/wd-navbar-capsule/wd-navbar-capsule.vue.d.ts +27 -4
- package/types/components/wd-notice-bar/types.d.ts +9 -1
- package/types/components/wd-notice-bar/wd-notice-bar.vue.d.ts +7 -5
- package/types/components/wd-notify/types.d.ts +7 -0
- package/types/components/wd-notify/wd-notify.vue.d.ts +13 -4
- package/types/components/wd-number-keyboard/types.d.ts +7 -0
- package/types/components/wd-number-keyboard/wd-number-keyboard.vue.d.ts +18 -9
- package/types/components/wd-overlay/wd-overlay.vue.d.ts +2 -2
- package/types/components/wd-pagination/wd-pagination.vue.d.ts +1 -1
- package/types/components/wd-password-input/wd-password-input.vue.d.ts +2 -2
- package/types/components/wd-picker/types.d.ts +28 -2
- package/types/components/wd-picker/wd-picker.vue.d.ts +55 -19
- package/types/components/wd-picker-view/types.d.ts +10 -0
- package/types/components/wd-picker-view/wd-picker-view.vue.d.ts +15 -3
- package/types/components/wd-popover/wd-popover.vue.d.ts +4 -4
- package/types/components/wd-popup/types.d.ts +44 -5
- package/types/components/wd-popup/wd-popup.vue.d.ts +35 -24
- package/types/components/wd-progress/types.d.ts +6 -3
- package/types/components/wd-progress/wd-progress.vue.d.ts +4 -6
- package/types/components/wd-qr-code/uqrcode.vue.d.ts +3 -3
- package/types/components/wd-qr-code/wd-qr-code.vue.d.ts +4 -4
- package/types/components/wd-radio/types.d.ts +8 -0
- package/types/components/wd-radio/wd-radio.vue.d.ts +7 -0
- package/types/components/wd-radio-group/types.d.ts +7 -1
- package/types/components/wd-radio-group/wd-radio-group.vue.d.ts +11 -2
- package/types/components/wd-rate/types.d.ts +9 -0
- package/types/components/wd-rate/wd-rate.vue.d.ts +13 -4
- package/types/components/wd-root-portal/wd-root-portal.vue.d.ts +26 -0
- package/types/components/wd-search/types.d.ts +16 -1
- package/types/components/wd-search/wd-search.vue.d.ts +28 -8
- package/types/components/wd-segmented/types.d.ts +10 -1
- package/types/components/wd-segmented/wd-segmented.vue.d.ts +6 -4
- package/types/components/wd-select-picker/types.d.ts +37 -22
- package/types/components/wd-select-picker/wd-select-picker.vue.d.ts +59 -30
- package/types/components/wd-sidebar/types.d.ts +19 -3
- package/types/components/wd-sidebar/wd-sidebar.vue.d.ts +4 -2
- package/types/components/wd-signature/types.d.ts +252 -0
- package/types/components/wd-signature/wd-signature.vue.d.ts +229 -0
- package/types/components/wd-skeleton/types.d.ts +3 -4
- package/types/components/wd-skeleton/wd-skeleton.vue.d.ts +10 -10
- package/types/components/wd-slider/types.d.ts +39 -15
- package/types/components/wd-slider/wd-slider.vue.d.ts +12 -38
- package/types/components/wd-sort-button/wd-sort-button.vue.d.ts +3 -3
- package/types/components/wd-status-tip/types.d.ts +9 -0
- package/types/components/wd-status-tip/wd-status-tip.vue.d.ts +69 -49
- package/types/components/wd-steps/wd-steps.vue.d.ts +1 -1
- package/types/components/wd-sticky/wd-sticky.vue.d.ts +3 -7
- package/types/components/wd-swipe-action/wd-swipe-action.vue.d.ts +3 -3
- package/types/components/wd-swiper/wd-swiper.vue.d.ts +4 -4
- package/types/components/wd-swiper-nav/types.d.ts +0 -14
- package/types/components/wd-swiper-nav/wd-swiper-nav.vue.d.ts +0 -18
- package/types/components/wd-switch/types.d.ts +0 -1
- package/types/components/wd-switch/wd-switch.vue.d.ts +2 -5
- package/types/components/wd-tab/types.d.ts +16 -3
- package/types/components/wd-tab/wd-tab.vue.d.ts +12 -4
- package/types/components/wd-tabbar/types.d.ts +1 -1
- package/types/components/wd-tabbar/wd-tabbar.vue.d.ts +5 -5
- package/types/components/wd-tabbar-item/wd-tabbar-item.vue.d.ts +1 -1
- package/types/components/wd-table/types.d.ts +12 -8
- package/types/components/wd-table/wd-table.vue.d.ts +16 -13
- package/types/components/wd-table-col/wd-table-col.vue.d.ts +1 -1
- package/types/components/wd-tabs/wd-tabs.vue.d.ts +7 -7
- package/types/components/wd-tag/wd-tag.vue.d.ts +4 -4
- package/types/components/wd-text/types.d.ts +2 -2
- package/types/components/wd-text/wd-text.vue.d.ts +7 -7
- package/types/components/wd-textarea/types.d.ts +41 -39
- package/types/components/wd-textarea/wd-textarea.vue.d.ts +46 -46
- package/types/components/wd-toast/index.d.ts +1 -6
- package/types/components/wd-toast/types.d.ts +127 -5
- package/types/components/wd-toast/wd-toast.vue.d.ts +101 -0
- package/types/components/wd-tooltip/types.d.ts +1 -1
- package/types/components/wd-tooltip/wd-tooltip.vue.d.ts +7 -7
- package/types/components/wd-tour/types.d.ts +194 -0
- package/types/components/wd-tour/wd-tour.vue.d.ts +267 -0
- package/types/components/wd-transition/types.d.ts +22 -7
- package/types/components/wd-transition/wd-transition.vue.d.ts +33 -20
- package/types/components/wd-upload/types.d.ts +39 -10
- package/types/components/wd-upload/wd-upload.vue.d.ts +42 -16
- package/types/components/wd-watermark/wd-watermark.vue.d.ts +7 -7
- package/types/locale/index.d.ts +0 -3
- package/types/locale/lang/zh-CN.d.ts +9 -0
- package/components/wd-datetime-picker-view/index.scss +0 -0
- package/components/wd-form/index.scss +0 -10
- package/components/wd-upload/utils.ts +0 -152
- package/types/components/common/dayjs.d.ts +0 -26
- package/types/components/wd-upload/utils.d.ts +0 -11
- package/types/locale/lang/en-US.d.ts +0 -128
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@import './function';
|
|
2
|
+
|
|
2
3
|
/**
|
|
3
4
|
* UI规范基础变量
|
|
4
5
|
*/
|
|
@@ -7,6 +8,7 @@
|
|
|
7
8
|
$-color-theme: var(--wot-color-theme, $default-theme) !default; // 主题色
|
|
8
9
|
$-color-white: var(--wot-color-white, rgb(255, 255, 255)) !default; // 用于mix的白色
|
|
9
10
|
$-color-black: var(--wot-color-black, rgb(0, 0, 0)) !default; // 用于mix的黑色
|
|
11
|
+
|
|
10
12
|
/* 辅助色 */
|
|
11
13
|
$-color-success: var(--wot-color-success, #34d19d) !default; // 成功色
|
|
12
14
|
$-color-warning: var(--wot-color-warning, #f0883a) !default; // 警告色
|
|
@@ -34,18 +36,17 @@ $-font-white-1: var(--wot-font-white-1, rgba(255, 255, 255, 1));
|
|
|
34
36
|
$-font-white-2: var(--wot-font-white-2, rgba(255, 255, 255, 0.55));
|
|
35
37
|
$-font-white-3: var(--wot-font-white-3, rgba(255, 255, 255, 0.35));
|
|
36
38
|
$-font-white-4: var(--wot-font-white-4, rgba(255, 255, 255, 0.22));
|
|
39
|
+
|
|
37
40
|
/* 文字颜色(默认浅色背景下 */
|
|
38
|
-
$-color-title: var(--wot-color-title,
|
|
41
|
+
$-color-title: var(--wot-color-title, $-color-black) !default; // 模块标题/重要正文 000
|
|
39
42
|
$-color-content: var(--wot-color-content, #262626) !default; // 普通正文 262626
|
|
40
43
|
$-color-secondary: var(--wot-color-secondary, #595959) !default; // 次要信息,注释/补充/正文 595959
|
|
41
|
-
$-color-aid: var(
|
|
42
|
-
--wot-color-aid,
|
|
43
|
-
#8c8c8c
|
|
44
|
-
) !default; // 辅助文字字号,弱化信息,引导性/不可点文字 8c8c8c
|
|
44
|
+
$-color-aid: var(--wot-color-aid, #8c8c8c) !default; // 辅助文字字号,弱化信息,引导性/不可点文字 8c8c8c
|
|
45
45
|
$-color-tip: var(--wot-color-tip, #bfbfbf) !default; // 失效、默认提示文字 bfbfbf
|
|
46
46
|
$-color-border: var(--wot-color-border, #d9d9d9) !default; // 控件边框线 d9d9d9
|
|
47
47
|
$-color-border-light: var(--wot-color-border-light, #e8e8e8) !default; // 分割线颜色 e8e8e8
|
|
48
|
-
$-color-bg: var(--wot-color-bg, #
|
|
48
|
+
$-color-bg: var(--wot-color-bg, #f5f5f5) !default; // 背景色、禁用填充色 f5f5f5
|
|
49
|
+
|
|
49
50
|
/* 暗黑模式 */
|
|
50
51
|
$-dark-background: var(--wot-dark-background, #131313) !default;
|
|
51
52
|
$-dark-background2: var(--wot-dark-background2, #1b1b1b) !default;
|
|
@@ -59,12 +60,16 @@ $-dark-color2: var(--wot-dark-color2, #f2270c) !default;
|
|
|
59
60
|
$-dark-color3: var(--wot-dark-color3, rgba(232, 230, 227, 0.8)) !default;
|
|
60
61
|
$-dark-color-gray: var(--wot-dark-color-gray, $-color-secondary) !default;
|
|
61
62
|
$-dark-border-color: var(--wot-dark-border-color, #3a3a3c) !default;
|
|
63
|
+
|
|
62
64
|
/* 图形颜色 */
|
|
63
|
-
$-color-icon: var(--wot-color-icon, #
|
|
65
|
+
$-color-icon: var(--wot-color-icon, #d9d9d9) !default; // icon颜色
|
|
64
66
|
$-color-icon-active: var(--wot-color-icon-active, #eee) !default; // icon颜色hover
|
|
65
67
|
$-color-icon-disabled: var(--wot-color-icon-disabled, #a7a7a7) !default; // icon颜色disabled
|
|
68
|
+
|
|
66
69
|
/*----------------------------------------- Theme color. end -------------------------------------------*/
|
|
70
|
+
|
|
67
71
|
/*-------------------------------- Theme color application size. start --------------------------------*/
|
|
72
|
+
|
|
68
73
|
/* 文字字号 */
|
|
69
74
|
$-fs-big: var(--wot-fs-big, 24px) !default; // 大型标题
|
|
70
75
|
$-fs-important: var(--wot-fs-important, 19px) !default; // 重要数据
|
|
@@ -72,12 +77,19 @@ $-fs-title: var(--wot-fs-title, 16px) !default; // 标题字号/重要正文字
|
|
|
72
77
|
$-fs-content: var(--wot-fs-content, 14px) !default; // 普通正文
|
|
73
78
|
$-fs-secondary: var(--wot-fs-secondary, 12px) !default; // 次要信息,注释/补充/正文
|
|
74
79
|
$-fs-aid: var(--wot-fs-aid, 10px) !default; // 辅助文字字号,弱化信息,引导性/不可点文字
|
|
80
|
+
|
|
75
81
|
/* 文字字重 */
|
|
76
82
|
$-fw-medium: var(--wot-fw-medium, 500) !default; // PingFangSC-Medium
|
|
77
83
|
$-fw-semibold: var(--wot-fw-semibold, 600) !default; // PingFangSC-Semibold
|
|
84
|
+
|
|
78
85
|
/* 尺寸 */
|
|
79
86
|
$-size-side-padding: var(--wot-size-side-padding, 15px) !default; // 屏幕两边留白
|
|
87
|
+
$-size-side-padding-small: var(--wot-size-side-padding-small, 6px) !default; // 屏幕两边留白小值
|
|
88
|
+
|
|
80
89
|
/*-------------------------------- Theme color application size. end --------------------------------*/
|
|
90
|
+
|
|
91
|
+
/* component var */
|
|
92
|
+
|
|
81
93
|
/* action-sheet */
|
|
82
94
|
$-action-sheet-weight: var(--wot-action-sheet-weight, 500) !default; // 面板字重
|
|
83
95
|
$-action-sheet-radius: var(--wot-action-sheet-radius, 16px) !default; // 面板圆角大小
|
|
@@ -85,63 +97,25 @@ $-action-sheet-loading-size: var(--wot-action-sheet-loading-size, 20px) !default
|
|
|
85
97
|
$-action-sheet-action-height: var(--wot-action-sheet-action-height, 48px) !default; // 单条菜单高度
|
|
86
98
|
$-action-sheet-color: var(--wot-action-sheet-color, rgba(0, 0, 0, 0.85)) !default; // 选项名称颜色
|
|
87
99
|
$-action-sheet-fs: var(--wot-action-sheet-fs, $-fs-title) !default; // 选项名称字号
|
|
88
|
-
$-action-sheet-active-color: var(
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
) !default; //
|
|
92
|
-
$-action-sheet-
|
|
93
|
-
--wot-action-sheet-subname-fs,
|
|
94
|
-
$-fs-secondary
|
|
95
|
-
) !default; // 描述信息字号
|
|
96
|
-
$-action-sheet-subname-color: var(
|
|
97
|
-
--wot-action-sheet-subname-color,
|
|
98
|
-
rgba(0, 0, 0, 0.45)
|
|
99
|
-
) !default; // 描述信息颜色
|
|
100
|
-
$-action-sheet-disabled-color: var(
|
|
101
|
-
--wot-action-sheet-disabled-color,
|
|
102
|
-
rgba(0, 0, 0, 0.25)
|
|
103
|
-
) !default; // 禁用颜色
|
|
104
|
-
$-action-sheet-bg: var(
|
|
105
|
-
--wot-action-sheet-bg,
|
|
106
|
-
$-color-white
|
|
107
|
-
) !default; // 菜单容器颜色(取消按钮上方的颜色)
|
|
100
|
+
$-action-sheet-active-color: var(--wot-action-sheet-active-color, $-color-bg) !default; // 点击高亮颜色
|
|
101
|
+
$-action-sheet-subname-fs: var(--wot-action-sheet-subname-fs, $-fs-secondary) !default; // 描述信息字号
|
|
102
|
+
$-action-sheet-subname-color: var(--wot-action-sheet-subname-color, rgba(0, 0, 0, 0.45)) !default; // 描述信息颜色
|
|
103
|
+
$-action-sheet-disabled-color: var(--wot-action-sheet-disabled-color, rgba(0, 0, 0, 0.25)) !default; // 禁用颜色
|
|
104
|
+
$-action-sheet-bg: var(--wot-action-sheet-bg, $-color-white) !default; // 菜单容器颜色(取消按钮上方的颜色)
|
|
108
105
|
$-action-sheet-title-height: var(--wot-action-sheet-title-height, 64px) !default; // 标题高度
|
|
109
106
|
$-action-sheet-title-fs: var(--wot-action-sheet-title-fs, $-fs-title) !default; // 标题字号
|
|
110
107
|
$-action-sheet-close-fs: var(--wot-action-sheet-close-fs, $-fs-title) !default; // 关闭按钮大小
|
|
111
|
-
$-action-sheet-close-color: var(
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
) !default; // 关闭按钮颜色
|
|
115
|
-
$-action-sheet-close-top: var(
|
|
116
|
-
--wot-action-sheet-close-top,
|
|
117
|
-
25px
|
|
118
|
-
) !default; // 关闭按钮距离标题顶部距离
|
|
119
|
-
$-action-sheet-close-right: var(
|
|
120
|
-
--wot-action-sheet-close-right,
|
|
121
|
-
15px
|
|
122
|
-
) !default; // 关闭按钮距离标题右侧距离
|
|
108
|
+
$-action-sheet-close-color: var(--wot-action-sheet-close-color, rgba(0, 0, 0, 0.65)) !default; // 关闭按钮颜色
|
|
109
|
+
$-action-sheet-close-top: var(--wot-action-sheet-close-top, 25px) !default; // 关闭按钮距离标题顶部距离
|
|
110
|
+
$-action-sheet-close-right: var(--wot-action-sheet-close-right, 15px) !default; // 关闭按钮距离标题右侧距离
|
|
123
111
|
$-action-sheet-cancel-color: var(--wot-action-sheet-cancel-color, #131415) !default; // 取消按钮颜色
|
|
124
112
|
$-action-sheet-cancel-height: var(--wot-action-sheet-cancel-height, 44px) !default; // 取消按钮高度
|
|
125
|
-
$-action-sheet-cancel-bg: var(
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
) !default; //
|
|
129
|
-
$-action-sheet-
|
|
130
|
-
|
|
131
|
-
22px
|
|
132
|
-
) !default; // 取消按钮圆角大小
|
|
133
|
-
$-action-sheet-panel-padding: var(
|
|
134
|
-
--wot-action-sheet-panel-padding,
|
|
135
|
-
12px 0 11px
|
|
136
|
-
) !default; // 自定义面板内边距大小
|
|
137
|
-
$-action-sheet-panel-img-fs: var(
|
|
138
|
-
--wot-action-sheet-panel-img-fs,
|
|
139
|
-
40px
|
|
140
|
-
) !default; // 自定义面板图片大小
|
|
141
|
-
$-action-sheet-panel-img-radius: var(
|
|
142
|
-
--wot-action-sheet-panel-img-radius,
|
|
143
|
-
4px
|
|
144
|
-
) !default; // 自定义面板图片圆角大小
|
|
113
|
+
$-action-sheet-cancel-bg: var(--wot-action-sheet-cancel-bg, rgba(240, 240, 240, 1)) !default; // 取消按钮背景色
|
|
114
|
+
$-action-sheet-cancel-radius: var(--wot-action-sheet-cancel-radius, 22px) !default; // 取消按钮圆角大小
|
|
115
|
+
$-action-sheet-panel-padding: var(--wot-action-sheet-panel-padding, 12px 0 11px) !default; // 自定义面板内边距大小
|
|
116
|
+
$-action-sheet-panel-img-fs: var(--wot-action-sheet-panel-img-fs, 40px) !default; // 自定义面板图片大小
|
|
117
|
+
$-action-sheet-panel-img-radius: var(--wot-action-sheet-panel-img-radius, 4px) !default; // 自定义面板图片圆角大小
|
|
118
|
+
|
|
145
119
|
/* badge */
|
|
146
120
|
$-badge-bg: var(--wot-badge-bg, $-color-danger) !default; // 背景填充颜色
|
|
147
121
|
$-badge-color: var(--wot-badge-color, #fff) !default; // 文字颜色
|
|
@@ -155,135 +129,61 @@ $-badge-danger: var(--wot-badge-danger, $-color-danger) !default;
|
|
|
155
129
|
$-badge-info: var(--wot-badge-info, $-color-info) !default;
|
|
156
130
|
$-badge-dot-size: var(--wot-badge-dot-size, 6px) !default; // dot 类型大小
|
|
157
131
|
$-badge-border: var(--wot-badge-border, 2px solid $-badge-color) !default; // 边框样式
|
|
132
|
+
|
|
158
133
|
/* button */
|
|
159
134
|
$-button-disabled-opacity: var(--wot-button-disabled-opacity, 0.6) !default; // button禁用透明度
|
|
160
|
-
|
|
161
135
|
$-button-small-height: var(--wot-button-small-height, 28px) !default; // 小型按钮高度
|
|
162
136
|
$-button-small-padding: var(--wot-button-small-padding, 0 12px) !default; // 小型按钮padding
|
|
163
137
|
$-button-small-fs: var(--wot-button-small-fs, $-fs-secondary) !default; // 小型按钮字号
|
|
164
138
|
$-button-small-radius: var(--wot-button-small-radius, 2px) !default; // 小型按钮圆角大小
|
|
165
139
|
$-button-small-loading: var(--wot-button-small-loading, 14px) !default; // 小型按钮loading图标大小
|
|
166
|
-
|
|
167
140
|
$-button-medium-height: var(--wot-button-medium-height, 36px) !default; // 中型按钮高度
|
|
168
141
|
$-button-medium-padding: var(--wot-button-medium-padding, 0 16px) !default; // 中型按钮padding
|
|
169
142
|
$-button-medium-fs: var(--wot-button-medium-fs, $-fs-content) !default; // 中型按钮字号
|
|
170
143
|
$-button-medium-radius: var(--wot-button-medium-radius, 4px) !default; // 中型按钮圆角大小
|
|
171
144
|
$-button-medium-loading: var(--wot-button-medium-loading, 18px) !default; // 中型按钮loading图标大小
|
|
172
|
-
$-button-medium-box-shadow-size: var(
|
|
173
|
-
--wot-button-medium-box-shadow-size,
|
|
174
|
-
0px 2px 4px 0px
|
|
175
|
-
) !default; // 中尺寸阴影尺寸
|
|
176
|
-
|
|
145
|
+
$-button-medium-box-shadow-size: var(--wot-button-medium-box-shadow-size, 0px 2px 4px 0px) !default; // 中尺寸阴影尺寸
|
|
177
146
|
$-button-large-height: var(--wot-button-large-height, 44px) !default; // 大型按钮高度
|
|
178
147
|
$-button-large-padding: var(--wot-button-large-padding, 0 36px) !default; // 大型按钮padding
|
|
179
148
|
$-button-large-fs: var(--wot-button-large-fs, $-fs-title) !default; // 大型按钮字号
|
|
180
149
|
$-button-large-radius: var(--wot-button-large-radius, 8px) !default; // 大型按钮圆角大小
|
|
181
150
|
$-button-large-loading: var(--wot-button-large-loading, 24px) !default; // 大小按钮loading图标大小
|
|
182
|
-
$-button-large-box-shadow-size: var(
|
|
183
|
-
|
|
184
|
-
0px 4px 8px 0px
|
|
185
|
-
) !default; // 大尺寸阴影尺寸
|
|
186
|
-
|
|
187
|
-
$-button-icon-fs: var(--wot-button-icon-fs, 1.18em) !default; // 带图标的按钮的图标大小
|
|
151
|
+
$-button-large-box-shadow-size: var(--wot-button-large-box-shadow-size, 0px 4px 8px 0px) !default; // 大尺寸阴影尺寸
|
|
152
|
+
$-button-icon-fs: var(--wot-button-icon-fs, 18px) !default; // 带图标的按钮的图标大小
|
|
188
153
|
$-button-icon-size: var(--wot-button-icon-size, 40px) !default; // icon 类型按钮尺寸
|
|
189
|
-
$-button-icon-color: var(
|
|
190
|
-
|
|
191
|
-
rgba(0, 0, 0, 0.65)
|
|
192
|
-
) !default; // icon 类型按钮颜色
|
|
193
|
-
$-button-icon-disabled-color: var(
|
|
194
|
-
--wot-button-icon-disabled-color,
|
|
195
|
-
$-color-icon-disabled
|
|
196
|
-
) !default; // icon 类型按钮禁用颜色
|
|
197
|
-
|
|
154
|
+
$-button-icon-color: var(--wot-button-icon-color, rgba(0, 0, 0, 0.65)) !default; // icon 类型按钮颜色
|
|
155
|
+
$-button-icon-disabled-color: var(--wot-button-icon-disabled-color, $-color-icon-disabled) !default; // icon 类型按钮禁用颜色
|
|
198
156
|
$-button-normal-color: var(--wot-button-normal-color, $-color-title) !default; // 文字颜色
|
|
199
|
-
$-button-normal-disabled-color: var(
|
|
200
|
-
--wot-button-normal-disabled-color,
|
|
201
|
-
rgba(0, 0, 0, 0.25)
|
|
202
|
-
) !default; // 默认按钮禁用文字色
|
|
203
|
-
|
|
157
|
+
$-button-normal-disabled-color: var(--wot-button-normal-disabled-color, rgba(0, 0, 0, 0.25)) !default; // 默认按钮禁用文字色
|
|
204
158
|
$-button-plain-bg-color: var(--wot-button-plain-bg-color, $-color-white) !default; // 幽灵按钮背景色
|
|
205
|
-
|
|
206
159
|
$-button-primary-color: var(--wot-button-primary-color, $-color-white) !default; // 主要按钮颜色
|
|
207
|
-
$-button-primary-bg-color: var(
|
|
208
|
-
--wot-button-primary-bg-color,
|
|
209
|
-
$-color-theme
|
|
210
|
-
) !default; // 主要按钮背景颜色
|
|
211
|
-
$-button-primary-box-shadow-color: var(
|
|
212
|
-
--wot-button-primary-box-shadow-color,
|
|
213
|
-
rgba($-color-theme, 0.25)
|
|
214
|
-
) !default; // 主要按钮阴影颜色
|
|
215
|
-
|
|
160
|
+
$-button-primary-bg-color: var(--wot-button-primary-bg-color, $-color-theme) !default; // 主要按钮背景颜色
|
|
216
161
|
$-button-success-color: var(--wot-button-success-color, $-color-white) !default; // 成功按钮文字颜色
|
|
217
|
-
$-button-success-bg-color: var(
|
|
218
|
-
--wot-button-success-bg-color,
|
|
219
|
-
$-color-success
|
|
220
|
-
) !default; // 成功按钮颜色
|
|
221
|
-
$-button-success-box-shadow-color: var(
|
|
222
|
-
--wot-button-success-box-shadow-color,
|
|
223
|
-
rgba($-color-success, 0.25)
|
|
224
|
-
) !default; // 主要按钮阴影颜色
|
|
225
|
-
|
|
162
|
+
$-button-success-bg-color: var(--wot-button-success-bg-color, $-color-success) !default; // 成功按钮颜色
|
|
226
163
|
$-button-info-color: var(--wot-button-info-color, $-color-title) !default; // 信息按钮颜色
|
|
227
164
|
$-button-info-bg-color: var(--wot-button-info-bg-color, #f0f0f0) !default; // 信息按钮背景颜色
|
|
228
|
-
$-button-info-plain-border-color: var(
|
|
229
|
-
|
|
230
|
-
rgba(0, 0, 0, 0.45)
|
|
231
|
-
) !default; // 信息按钮禁用颜色
|
|
232
|
-
$-button-info-plain-normal-color: var(
|
|
233
|
-
--wot-button-info-plain-normal-color,
|
|
234
|
-
rgba(0, 0, 0, 0.85)
|
|
235
|
-
) !default; // 信息幽灵按钮默认颜色
|
|
236
|
-
|
|
165
|
+
$-button-info-plain-border-color: var(--wot-button-info-plain-border-color, rgba(0, 0, 0, 0.45)) !default; // 信息按钮禁用颜色
|
|
166
|
+
$-button-info-plain-normal-color: var(--wot-button-info-plain-normal-color, rgba(0, 0, 0, 0.85)) !default; // 信息幽灵按钮默认颜色
|
|
237
167
|
$-button-warning-color: var(--wot-button-warning-color, $-color-white) !default; // 警告按钮字体颜色
|
|
238
|
-
$-button-warning-bg-color: var(
|
|
239
|
-
--wot-button-warning-bg-color,
|
|
240
|
-
$-color-warning
|
|
241
|
-
) !default; // 警告按钮背景颜色
|
|
242
|
-
$-button-warning-box-shadow-color: var(
|
|
243
|
-
--wot-button-warning-box-shadow-color,
|
|
244
|
-
rgba($-color-warning, 0.25)
|
|
245
|
-
) !default; // 主要按钮阴影颜色
|
|
246
|
-
|
|
168
|
+
$-button-warning-bg-color: var(--wot-button-warning-bg-color, $-color-warning) !default; // 警告按钮背景颜色
|
|
247
169
|
$-button-error-color: var(--wot-button-error-color, $-color-white) !default; // 错误按钮颜色
|
|
248
|
-
$-button-error-bg-color: var(
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
) !default; // 错误按钮背景颜色
|
|
252
|
-
$-button-error-box-shadow-color: var(
|
|
253
|
-
--wot-button-error-box-shadow-color,
|
|
254
|
-
rgba($-color-danger, 0.25)
|
|
255
|
-
) !default; // 主要按钮阴影颜色
|
|
256
|
-
|
|
257
|
-
$-button-text-hover-opacity: var(
|
|
258
|
-
--wot-button-text-hover-opacity,
|
|
259
|
-
0.7
|
|
260
|
-
) !default; // 文字button激活时透明度
|
|
170
|
+
$-button-error-bg-color: var(--wot-button-error-bg-color, $-color-danger) !default; // 错误按钮背景颜色
|
|
171
|
+
$-button-text-hover-opacity: var(--wot-button-text-hover-opacity, 0.7) !default; // 文字button激活时透明度
|
|
172
|
+
|
|
261
173
|
/* cell */
|
|
262
174
|
$-cell-padding: var(--wot-cell-padding, $-size-side-padding) !default; // cell 左右padding距离
|
|
263
175
|
$-cell-line-height: var(--wot-cell-line-height, 24px) !default; // 行高
|
|
264
176
|
|
|
265
177
|
$-cell-group-title-fs: var(--wot-cell-group-title-fs, $-fs-title) !default; // 组标题字号
|
|
266
178
|
$-cell-group-padding: var(--wot-cell-group-padding, 13px $-cell-padding) !default; // 组padding
|
|
267
|
-
$-cell-group-title-color: var(
|
|
268
|
-
--wot-cell-group-title-color,
|
|
269
|
-
rgba(0, 0, 0, 0.85)
|
|
270
|
-
) !default; // 组标题文字颜色
|
|
179
|
+
$-cell-group-title-color: var(--wot-cell-group-title-color, rgba(0, 0, 0, 0.85)) !default; // 组标题文字颜色
|
|
271
180
|
$-cell-group-value-fs: var(--wot-cell-group-value-fs, $-fs-content) !default; // 组值字号
|
|
272
|
-
$-cell-group-value-color: var(
|
|
273
|
-
--wot-cell-group-value-color,
|
|
274
|
-
$-color-content
|
|
275
|
-
) !default; // 组值文字颜色
|
|
181
|
+
$-cell-group-value-color: var(--wot-cell-group-value-color, $-color-content) !default; // 组值文字颜色
|
|
276
182
|
|
|
277
183
|
$-cell-wrapper-padding: var(--wot-cell-wrapper-padding, 10px) !default; // cell 容器padding
|
|
278
|
-
$-cell-wrapper-padding-large: var(
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
) !default; // large类型cell容器padding
|
|
282
|
-
|
|
283
|
-
$-cell-wrapper-padding-with-label: var(
|
|
284
|
-
--wot-cell-wrapper-padding-with-label,
|
|
285
|
-
16px
|
|
286
|
-
) !default; // cell 容器上下padding(有label情况下)
|
|
184
|
+
$-cell-wrapper-padding-large: var(--wot-cell-wrapper-padding-large, 12px) !default; // large类型cell容器padding
|
|
185
|
+
|
|
186
|
+
$-cell-wrapper-padding-with-label: var(--wot-cell-wrapper-padding-with-label, 16px) !default; // cell 容器上下padding(有label情况下)
|
|
287
187
|
$-cell-icon-right: var(--wot-cell-icon-right, 4px) !default; // 图标距离右边缘
|
|
288
188
|
$-cell-icon-size: var(--wot-cell-icon-size, 16px) !default; // 图标大小
|
|
289
189
|
$-cell-title-fs: var(--wot-cell-title-fs, 14px) !default; // 标题字号
|
|
@@ -291,9 +191,11 @@ $-cell-title-color: var(--wot-cell-title-color, rgba(0, 0, 0, 0.85)) !default; /
|
|
|
291
191
|
$-cell-label-fs: var(--wot-cell-label-fs, 12px) !default; // 描述信息字号
|
|
292
192
|
$-cell-label-color: var(--wot-cell-label-color, rgba(0, 0, 0, 0.45)) !default; // 描述信息文字颜色
|
|
293
193
|
$-cell-value-fs: var(--wot-cell-value-fs, 14px) !default; // 右侧内容字号
|
|
194
|
+
$-cell-value-fs-large: var(--wot-cell-value-fs-large, 16px) !default; // 大尺寸右侧内容字号
|
|
294
195
|
$-cell-value-color: var(--wot-cell-value-color, rgba(0, 0, 0, 0.85)) !default; // 右侧内容文字颜色
|
|
295
196
|
$-cell-arrow-size: var(--wot-cell-arrow-size, 18px) !default; // 右箭头大小
|
|
296
197
|
$-cell-arrow-color: var(--wot-cell-arrow-color, rgba(0, 0, 0, 0.25)) !default; // 右箭头颜色
|
|
198
|
+
$-cell-clear-color: var(--wot-cell-clear-color, #585858) !default; // 清空按钮颜色
|
|
297
199
|
$-cell-tap-bg: var(--wot-cell-tap-bg, rgba(0, 0, 0, 0.06)) !default; // 点击态背景色
|
|
298
200
|
|
|
299
201
|
$-cell-title-fs-large: var(--wot-cell-title-fs-large, 16px) !default; // 大尺寸标题字号
|
|
@@ -302,7 +204,9 @@ $-cell-icon-size-large: var(--wot-cell-icon-size-large, 18px) !default; // 图
|
|
|
302
204
|
|
|
303
205
|
$-cell-required-color: var(--wot-cell-required-color, $-color-danger) !default; // 要求必填*颜色
|
|
304
206
|
$-cell-required-size: var(--wot-cell-required-size, 18px) !default; // 必填*字号
|
|
207
|
+
$-cell-required-margin: var(--wot-cell-required-margin, 4px) !default; // 必填*间距
|
|
305
208
|
$-cell-vertical-top: var(--wot-cell-vertical-top, 16px) !default; // 表单类型-上下结构的间距
|
|
209
|
+
|
|
306
210
|
/* calendar */
|
|
307
211
|
$-calendar-fs: var(--wot-calendar-fs, 16px) !default;
|
|
308
212
|
$-calendar-panel-padding: var(--wot-calendar-panel-padding, 0 12px) !default;
|
|
@@ -317,10 +221,14 @@ $-calendar-day-fw: var(--wot-calendar-day-fw, 500) !default;
|
|
|
317
221
|
$-calendar-day-height: var(--wot-calendar-day-height, 64px) !default;
|
|
318
222
|
$-calendar-month-width: var(--wot-calendar-month-width, 50px) !default;
|
|
319
223
|
$-calendar-active-color: var(--wot-calendar-active-color, $-color-theme) !default;
|
|
224
|
+
$-calendar-selected-color: var(--wot-calendar-selected-color, $-color-white) !default;
|
|
320
225
|
$-calendar-disabled-color: var(--wot-calendar-disabled-color, rgba(0, 0, 0, 0.25)) !default;
|
|
321
226
|
$-calendar-range-color: var(--wot-calendar-range-color, rgba(#4d80f0, 0.09)) !default;
|
|
322
227
|
$-calendar-active-border: var(--wot-calendar-active-border, 8px) !default;
|
|
323
228
|
$-calendar-info-fs: var(--wot-calendar-info-fs, 10px) !default;
|
|
229
|
+
$-calendar-item-margin-bottom: var(--wot-calendar-item-margin-bottom, 4px) !default;
|
|
230
|
+
|
|
231
|
+
|
|
324
232
|
/* checkbox */
|
|
325
233
|
$-checkbox-margin: var(--wot-checkbox-margin, 10px) !default; // 多个复选框距离
|
|
326
234
|
$-checkbox-bg: var(--wot-checkbox-bg, $-color-white) !default; // 多个复选框距离
|
|
@@ -330,28 +238,13 @@ $-checkbox-icon-size: var(--wot-checkbox-icon-size, 14px) !default; // 左侧图
|
|
|
330
238
|
$-checkbox-border-color: var(--wot-checkbox-border-color, #dcdcdc) !default; // 左侧图标边框颜色
|
|
331
239
|
$-checkbox-check-color: var(--wot-checkbox-check-color, $-color-white) !default; // 左侧图标边框颜色
|
|
332
240
|
$-checkbox-label-fs: var(--wot-checkbox-label-fs, 14px) !default; // 右侧文字字号
|
|
333
|
-
$-checkbox-label-color: var(
|
|
334
|
-
--wot-checkbox-label-color,
|
|
335
|
-
rgba(0, 0, 0, 0.85)
|
|
336
|
-
) !default; // 右侧文字颜色
|
|
241
|
+
$-checkbox-label-color: var(--wot-checkbox-label-color, rgba(0, 0, 0, 0.85)) !default; // 右侧文字颜色
|
|
337
242
|
$-checkbox-checked-color: var(--wot-checkbox-checked-color, $-color-theme) !default; // 选中颜色
|
|
338
243
|
|
|
339
|
-
$-checkbox-disabled-color: var(
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
) !default; //
|
|
343
|
-
$-checkbox-disabled-label-color: var(
|
|
344
|
-
--wot-checkbox-disabled-label-color,
|
|
345
|
-
rgba(0, 0, 0, 0.25)
|
|
346
|
-
) !default; // 禁用文字颜色
|
|
347
|
-
$-checkbox-disabled-check-color: var(
|
|
348
|
-
--wot-checkbox-disabled-check-color,
|
|
349
|
-
rgba(0, 0, 0, 0.15)
|
|
350
|
-
) !default; // 禁用图标颜色
|
|
351
|
-
$-checkbox-disabled-check-bg: var(
|
|
352
|
-
--wot-checkbox-disabled-check-bg,
|
|
353
|
-
rgba(0, 0, 0, 0.15)
|
|
354
|
-
) !default; // 禁用边框背景颜色
|
|
244
|
+
$-checkbox-disabled-color: var(--wot-checkbox-disabled-color, rgba(0, 0, 0, 0.04)) !default; // 禁用背景颜色
|
|
245
|
+
$-checkbox-disabled-label-color: var(--wot-checkbox-disabled-label-color, rgba(0, 0, 0, 0.25)) !default; // 禁用文字颜色
|
|
246
|
+
$-checkbox-disabled-check-color: var(--wot-checkbox-disabled-check-color, rgba(0, 0, 0, 0.15)) !default; // 禁用图标颜色
|
|
247
|
+
$-checkbox-disabled-check-bg: var(--wot-checkbox-disabled-check-bg, rgba(0, 0, 0, 0.15)) !default; // 禁用边框背景颜色
|
|
355
248
|
$-checkbox-square-radius: var(--wot-checkbox-square-radius, 4px) !default; // 方型圆角大小
|
|
356
249
|
|
|
357
250
|
$-checkbox-large-size: var(--wot-checkbox-large-size, 18px) !default; // 左侧图标尺寸
|
|
@@ -360,96 +253,77 @@ $-checkbox-large-label-fs: var(--wot-checkbox-large-label-fs, 16px) !default; //
|
|
|
360
253
|
$-checkbox-button-height: var(--wot-checkbox-button-height, 32px) !default; // 按钮模式复选框高
|
|
361
254
|
$-checkbox-button-min-width: var(--wot-checkbox-button-min-width, 78px) !default; // 按钮模式最小宽
|
|
362
255
|
$-checkbox-button-radius: var(--wot-checkbox-button-radius, 16px) !default; // 按钮圆角大小
|
|
363
|
-
$-checkbox-button-bg: var(
|
|
364
|
-
--wot-checkbox-button-bg,
|
|
365
|
-
rgba(0, 0, 0, 0.04)
|
|
366
|
-
) !default; // 按钮模式背景颜色
|
|
256
|
+
$-checkbox-button-bg: var(--wot-checkbox-button-bg, rgba(0, 0, 0, 0.04)) !default; // 按钮模式背景颜色
|
|
367
257
|
$-checkbox-button-font-size: var(--wot-checkbox-button-font-size, 14px) !default; // 按钮模式字号
|
|
368
258
|
$-checkbox-button-border: var(--wot-checkbox-button-border, #f5f5f5) !default; // 按钮边框颜色
|
|
369
|
-
$-checkbox-button-disabled-border: var(
|
|
370
|
-
|
|
371
|
-
rgba(0, 0, 0, 0.15)
|
|
372
|
-
) !default; // 按钮禁用边框颜色
|
|
259
|
+
$-checkbox-button-disabled-border: var(--wot-checkbox-button-disabled-border, rgba(0, 0, 0, 0.15)) !default; // 按钮禁用边框颜色
|
|
260
|
+
|
|
373
261
|
/* collapse */
|
|
374
262
|
$-collapse-side-padding: var(--wot-collapse-side-padding, $-size-side-padding) !default; // 左右间距
|
|
375
|
-
$-collapse-body-padding: var(--wot-collapse-body-padding, 14px
|
|
376
|
-
$-collapse-header-padding: var(
|
|
377
|
-
--wot-collapse-header-padding,
|
|
378
|
-
13px $-size-side-padding
|
|
379
|
-
) !default; // 头部padding
|
|
263
|
+
$-collapse-body-padding: var(--wot-collapse-body-padding, 14px $-size-side-padding) !default; // body padding
|
|
264
|
+
$-collapse-header-padding: var(--wot-collapse-header-padding, 13px $-size-side-padding) !default; // 头部padding
|
|
380
265
|
$-collapse-title-color: var(--wot-collapse-title-color, rgba(0, 0, 0, 0.85)) !default; // 标题颜色
|
|
381
266
|
$-collapse-title-fs: var(--wot-collapse-title-fs, 16px) !default; // 标题字号
|
|
382
|
-
$-collapse-arrow-size: var(--wot-collapse-arrow-size,
|
|
267
|
+
$-collapse-arrow-size: var(--wot-collapse-arrow-size, 18px) !default; // 箭头大小
|
|
383
268
|
$-collapse-arrow-color: var(--wot-collapse-arrow-color, #d8d8d8) !default; // 箭头颜色
|
|
384
269
|
$-collapse-body-fs: var(--wot-collapse-body-fs, 14px) !default; // 内容字号
|
|
385
270
|
$-collapse-body-color: var(--wot-collapse-body-color, rgba(0, 0, 0, 0.65)) !default; // 内容颜色
|
|
386
|
-
$-collapse-disabled-color: var(
|
|
387
|
-
|
|
388
|
-
rgba(0, 0, 0, 0.15)
|
|
389
|
-
) !default; // 禁用颜色
|
|
390
|
-
$-collapse-retract-fs: var(--wot-collapse-retract-fs, 24rpx) !default; // 更多 字号
|
|
271
|
+
$-collapse-disabled-color: var(--wot-collapse-disabled-color, rgba(0, 0, 0, 0.15)) !default; // 禁用颜色
|
|
272
|
+
$-collapse-retract-fs: var(--wot-collapse-retract-fs, 14px) !default; // 更多 字号
|
|
391
273
|
$-collapse-more-color: var(--wot-collapse-more-color, $-color-theme) !default; // 更多 颜色
|
|
274
|
+
|
|
392
275
|
/* divider */
|
|
393
276
|
$-divider-padding: var(--wot-divider-padding, 0 $-size-side-padding) !default; // 两边间距
|
|
277
|
+
$-divider-margin: var(--wot-divider-margin, 16px 0) !default; // 上下间距
|
|
394
278
|
$-divider-color: var(--wot-divider-color, rgba(0, 0, 0, 0.45)) !default; // 字体颜色
|
|
395
|
-
$-divider-line-color: var(--wot-divider-line-color,
|
|
279
|
+
$-divider-line-color: var(--wot-divider-line-color, currentColor) !default; // 线条颜色
|
|
280
|
+
$-divider-line-height: var(--wot-divider-line-height, 1px) !default; // 线条高度
|
|
396
281
|
$-divider-fs: var(--wot-divider-fs, 14px) !default; // 字体大小
|
|
282
|
+
$-divider-content-left-width: var(--wot-divider-content-left-width, 10%) !default; // 左侧内容宽度
|
|
283
|
+
$-divider-content-left-margin: var(--wot-divider-content-left-margin, 12px) !default; // 左侧内容距离线距离
|
|
284
|
+
$-divider-content-right-margin: var(--wot-divider-content-right-margin, 12px) !default; // 右侧内容距离线距离
|
|
285
|
+
$-divider-content-right-width: var(--wot-divider-content-right-width, 10%) !default; // 右侧内容宽度
|
|
286
|
+
$-divider-vertical-height: var(--wot-divider-vertical-height, 16px) !default; // 垂直分割线高度
|
|
287
|
+
$-divider-vertical-content-margin: var(--wot-divider-vertical-content-margin, 0 8px) !default; // 垂直分割线内容间距
|
|
288
|
+
$-divider-vertical-line-width: var(--wot-divider-vertical-line-width, 1px) !default; // 线条高度
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
|
|
397
293
|
/* drop-menu */
|
|
398
|
-
$-drop-menu-height: var(--wot-drop-menu-height,
|
|
294
|
+
$-drop-menu-height: var(--wot-drop-menu-height, 48px) !default; // 展示选中项的高度
|
|
399
295
|
$-drop-menu-color: var(--wot-drop-menu-color, $-color-content) !default; // 展示选中项的颜色
|
|
400
|
-
$-drop-menu-fs: var(--wot-drop-menu-fs,
|
|
401
|
-
$-drop-menu-arrow-fs: var(--wot-drop-menu-arrow-fs, $-fs-
|
|
402
|
-
|
|
403
|
-
$-drop-menu-side-padding: var(
|
|
404
|
-
|
|
405
|
-
$-size-side-padding
|
|
406
|
-
) !default; // 两边留白间距
|
|
407
|
-
$-drop-menu-disabled-color: var(
|
|
408
|
-
--wot-drop-menu-disabled-color,
|
|
409
|
-
rgba(0, 0, 0, 0.25)
|
|
410
|
-
) !default; // 禁用颜色
|
|
296
|
+
$-drop-menu-fs: var(--wot-drop-menu-fs, $-fs-content) !default; // 展示选中项的字号
|
|
297
|
+
$-drop-menu-arrow-fs: var(--wot-drop-menu-arrow-fs, $-fs-secondary) !default; // 箭头图标大小
|
|
298
|
+
|
|
299
|
+
$-drop-menu-side-padding: var(--wot-drop-menu-side-padding, $-size-side-padding) !default; // 两边留白间距
|
|
300
|
+
$-drop-menu-disabled-color: var(--wot-drop-menu-disabled-color, rgba(0, 0, 0, 0.25)) !default; // 禁用颜色
|
|
411
301
|
$-drop-menu-item-height: var(--wot-drop-menu-item-height, 48px) !default; // 选项高度
|
|
412
302
|
$-drop-menu-item-color: var(--wot-drop-menu-item-color, $-color-content) !default; // 选项颜色
|
|
413
303
|
$-drop-menu-item-fs: var(--wot-drop-menu-item-fs, $-fs-content) !default; // 选项字号
|
|
414
|
-
$-drop-menu-item-color-active: var(
|
|
415
|
-
|
|
416
|
-
$-color-theme
|
|
417
|
-
) !default; // 选中颜色
|
|
418
|
-
$-drop-menu-item-color-tip: var(
|
|
419
|
-
--wot-drop-menu-item-color-tip,
|
|
420
|
-
rgba(0, 0, 0, 0.45)
|
|
421
|
-
) !default; // 提示文字颜色
|
|
304
|
+
$-drop-menu-item-color-active: var(--wot-drop-menu-item-color-active, $-color-theme) !default; // 选中颜色
|
|
305
|
+
$-drop-menu-item-color-tip: var(--wot-drop-menu-item-color-tip, rgba(0, 0, 0, 0.45)) !default; // 提示文字颜色
|
|
422
306
|
$-drop-menu-item-fs-tip: var(--wot-drop-menu-item-fs-tip, $-fs-secondary) !default; // 提示文字字号
|
|
423
|
-
$-drop-menu-option-check-size: var(
|
|
424
|
-
--wot-drop-menu-option-check-size,
|
|
425
|
-
20px
|
|
426
|
-
) !default; // check 图标大小
|
|
307
|
+
$-drop-menu-option-check-size: var(--wot-drop-menu-option-check-size, 20px) !default; // check 图标大小
|
|
427
308
|
$-drop-menu-line-color: var(--wot-drop-menu-line-color, $-color-theme) !default; // 下划线颜色
|
|
428
309
|
$-drop-menu-line-height: var(--wot-drop-menu-line-height, 3px) !default; // 下划线高度
|
|
310
|
+
|
|
429
311
|
/* input-number */
|
|
430
312
|
$-input-number-color: var(--wot-input-number-color, #262626) !default; // 文字颜色
|
|
431
313
|
$-input-number-border-color: var(--wot-input-number-border-color, #e8e8e8) !default; // 边框颜色
|
|
432
|
-
$-input-number-disabled-color: var(
|
|
433
|
-
--wot-input-number-disabled-color,
|
|
434
|
-
rgba(0, 0, 0, 0.25)
|
|
435
|
-
) !default; // 禁用颜色
|
|
314
|
+
$-input-number-disabled-color: var(--wot-input-number-disabled-color, rgba(0, 0, 0, 0.25)) !default; // 禁用颜色
|
|
436
315
|
$-input-number-height: var(--wot-input-number-height, 24px) !default; // 加减号按钮高度
|
|
437
316
|
$-input-number-btn-width: var(--wot-input-number-btn-width, 26px) !default; // 加减号按钮宽度
|
|
438
317
|
$-input-number-input-width: var(--wot-input-number-input-width, 36px) !default; // 输入框宽度
|
|
439
318
|
$-input-number-radius: var(--wot-input-number-radius, 4px) !default; // 加减号按钮圆角大小
|
|
440
319
|
$-input-number-fs: var(--wot-input-number-fs, 12px) !default; // 输入框字号
|
|
441
320
|
$-input-number-icon-size: var(--wot-input-number-icon-size, 14px) !default; // 加减号图标大小
|
|
442
|
-
$-input-number-icon-color: var(
|
|
443
|
-
|
|
444
|
-
rgba(0, 0, 0, 0.65)
|
|
445
|
-
) !default; // icon颜色
|
|
321
|
+
$-input-number-icon-color: var(--wot-input-number-icon-color, rgba(0, 0, 0, 0.65)) !default; // icon颜色
|
|
322
|
+
|
|
446
323
|
/* input */
|
|
447
324
|
$-input-padding: var(--wot-input-padding, $-size-side-padding) !default; // input 左右padding距离
|
|
448
325
|
$-input-border-color: var(--wot-input-border-color, #dadada) !default; // 无label边框颜色
|
|
449
|
-
$-input-not-empty-border-color: var(
|
|
450
|
-
--wot-input-not-empty-border-color,
|
|
451
|
-
#262626
|
|
452
|
-
) !default; // 输入框有值时 无label边框颜色
|
|
326
|
+
$-input-not-empty-border-color: var(--wot-input-not-empty-border-color, #262626) !default; // 输入框有值时 无label边框颜色
|
|
453
327
|
$-input-fs: var(--wot-input-fs, $-cell-title-fs) !default; // 字号
|
|
454
328
|
$-input-fs-large: var(--wot-input-fs-large, $-cell-title-fs-large) !default; // 大尺寸字号
|
|
455
329
|
$-input-icon-margin: var(--wot-input-icon-margin, 8px) !default; // 图标距离
|
|
@@ -464,36 +338,22 @@ $-input-count-current-color: var(--wot-input-count-current-color, #262626) !defa
|
|
|
464
338
|
$-input-bg: var(--wot-input-bg, $-color-white) !default; // 默认背景颜色
|
|
465
339
|
|
|
466
340
|
$-input-cell-bg: var(--wot-input-cell-bg, $-color-white) !default; // cell 类型背景色
|
|
467
|
-
$-input-cell-border-color: var(
|
|
468
|
-
--wot-input-cell-border-color,
|
|
469
|
-
$-color-border-light
|
|
470
|
-
) !default; // cell 类型边框颜色
|
|
341
|
+
$-input-cell-border-color: var(--wot-input-cell-border-color, $-color-border-light) !default; // cell 类型边框颜色
|
|
471
342
|
$-input-cell-padding: var(--wot-input-cell-padding, 10px) !default; // cell 容器padding
|
|
472
|
-
$-input-cell-padding-large: var(
|
|
473
|
-
--wot-input-cell-padding-large,
|
|
474
|
-
12px
|
|
475
|
-
) !default; // large类型cell容器padding
|
|
343
|
+
$-input-cell-padding-large: var(--wot-input-cell-padding-large, 12px) !default; // large类型cell容器padding
|
|
476
344
|
$-input-cell-height: var(--wot-input-cell-height, 24px) !default; // cell 高度
|
|
477
345
|
$-input-cell-label-width: var(--wot-input-cell-label-width, 33%) !default; // cell 下 label 的宽度
|
|
478
346
|
$-input-inner-height: var(--wot-input-inner-height, 34px) !default; // 非cell和textarea下的高度
|
|
479
|
-
$-input-inner-height-no-border: var(
|
|
480
|
-
--wot-input-inner-height-no-border,
|
|
481
|
-
24px
|
|
482
|
-
) !default; // 无边框下的高度
|
|
347
|
+
$-input-inner-height-no-border: var(--wot-input-inner-height-no-border, 24px) !default; // 无边框下的高度
|
|
483
348
|
$-input-count-fs: var(--wot-input-count-fs, 14px) !default; // 计数字号
|
|
484
349
|
$-input-count-fs-large: var(--wot-input-count-fs-large, 14px) !default; // 大尺寸计数字号
|
|
485
350
|
$-input-icon-size: var(--wot-input-icon-size, 16px) !default; // 图标大小
|
|
486
351
|
$-input-icon-size-large: var(--wot-input-icon-size-large, 18px) !default; // 大尺寸图标大小
|
|
352
|
+
|
|
487
353
|
/* textarea */
|
|
488
|
-
$-textarea-padding: var(
|
|
489
|
-
--wot-textarea-padding,
|
|
490
|
-
$-size-side-padding
|
|
491
|
-
) !default; // textarea 左右padding距离
|
|
354
|
+
$-textarea-padding: var(--wot-textarea-padding, $-size-side-padding) !default; // textarea 左右padding距离
|
|
492
355
|
$-textarea-border-color: var(--wot-textarea-border-color, #dadada) !default; // 无label边框颜色
|
|
493
|
-
$-textarea-not-empty-border-color: var(
|
|
494
|
-
--wot-textarea-not-empty-border-color,
|
|
495
|
-
#262626
|
|
496
|
-
) !default; // 输入框有值时 无label边框颜色
|
|
356
|
+
$-textarea-not-empty-border-color: var(--wot-textarea-not-empty-border-color, #262626) !default; // 输入框有值时 无label边框颜色
|
|
497
357
|
$-textarea-fs: var(--wot-textarea-fs, $-cell-title-fs) !default; // 字号
|
|
498
358
|
$-textarea-fs-large: var(--wot-textarea-fs-large, $-cell-title-fs-large) !default; // 大尺寸字号
|
|
499
359
|
$-textarea-icon-margin: var(--wot-textarea-icon-margin, 8px) !default; // 图标距离
|
|
@@ -501,25 +361,17 @@ $-textarea-color: var(--wot-textarea-color, #262626) !default; // 文字颜色
|
|
|
501
361
|
$-textarea-icon-color: var(--wot-textarea-icon-color, #bfbfbf) !default; // 图标颜色
|
|
502
362
|
$-textarea-clear-color: var(--wot-textarea-clear-color, #585858) !default; // 关闭按钮颜色
|
|
503
363
|
$-textarea-count-color: var(--wot-textarea-count-color, #bfbfbf) !default; // 计数文字颜色
|
|
504
|
-
$-textarea-count-current-color: var(
|
|
505
|
-
--wot-textarea-count-current-color,
|
|
506
|
-
#262626
|
|
507
|
-
) !default; // 当前长度颜色
|
|
364
|
+
$-textarea-count-current-color: var(--wot-textarea-count-current-color, #262626) !default; // 当前长度颜色
|
|
508
365
|
$-textarea-bg: var(--wot-textarea-bg, $-color-white) !default; // 默认背景颜色
|
|
509
|
-
$-textarea-cell-border-color: var(
|
|
510
|
-
--wot-textarea-cell-border-color,
|
|
511
|
-
$-color-border-light
|
|
512
|
-
) !default; // cell 类型边框颜色
|
|
366
|
+
$-textarea-cell-border-color: var(--wot-textarea-cell-border-color, $-color-border-light) !default; // cell 类型边框颜色
|
|
513
367
|
$-textarea-cell-padding: var(--wot-textarea-cell-padding, 10px) !default; // cell 容器padding
|
|
514
|
-
$-textarea-cell-padding-large: var(
|
|
515
|
-
--wot-textarea-cell-padding-large,
|
|
516
|
-
12px
|
|
517
|
-
) !default; // large类型cell容器padding
|
|
368
|
+
$-textarea-cell-padding-large: var(--wot-textarea-cell-padding-large, 12px) !default; // large类型cell容器padding
|
|
518
369
|
$-textarea-cell-height: var(--wot-textarea-cell-height, 24px) !default; // cell 高度
|
|
519
370
|
$-textarea-count-fs: var(--wot-textarea-count-fs, 14px) !default; // 计数字号
|
|
520
371
|
$-textarea-count-fs-large: var(--wot-textarea-count-fs-large, 14px) !default; // 大尺寸计数字号
|
|
521
372
|
$-textarea-icon-size: var(--wot-textarea-icon-size, 16px) !default; // 图标大小
|
|
522
373
|
$-textarea-icon-size-large: var(--wot-textarea-icon-size-large, 18px) !default; // 大尺寸图标大小
|
|
374
|
+
|
|
523
375
|
/* loadmore */
|
|
524
376
|
$-loadmore-height: var(--wot-loadmore-height, 48px) !default; // 高度
|
|
525
377
|
$-loadmore-color: var(--wot-loadmore-color, rgba(0, 0, 0, 0.45)) !default; // 颜色
|
|
@@ -527,68 +379,38 @@ $-loadmore-fs: var(--wot-loadmore-fs, 14px) !default; // 字号
|
|
|
527
379
|
$-loadmore-error-color: var(--wot-loadmore-error-color, $-color-theme) !default; // 点击重试颜色
|
|
528
380
|
$-loadmore-refresh-fs: var(--wot-loadmore-refresh-fs, $-fs-title) !default; // refresh图标字号
|
|
529
381
|
$-loadmore-loading-size: var(--wot-loadmore-loading-size, $-fs-title) !default; // loading尺寸
|
|
382
|
+
|
|
530
383
|
/* message-box */
|
|
531
384
|
$-message-box-width: var(--wot-message-box-width, 300px) !default; // 宽度
|
|
532
385
|
$-message-box-bg: var(--wot-message-box-bg, $-color-white) !default; // 默认背景颜色
|
|
533
386
|
$-message-box-radius: var(--wot-message-box-radius, 16px) !default; // 圆角大小
|
|
534
387
|
$-message-box-padding: var(--wot-message-box-padding, 25px 24px 0) !default; // 主体内容padding
|
|
535
388
|
$-message-box-title-fs: var(--wot-message-box-title-fs, 16px) !default; // 标题字号
|
|
536
|
-
$-message-box-title-color: var(
|
|
537
|
-
--wot-message-box-title-color,
|
|
538
|
-
rgba(0, 0, 0, 0.85)
|
|
539
|
-
) !default; // 标题颜色
|
|
389
|
+
$-message-box-title-color: var(--wot-message-box-title-color, rgba(0, 0, 0, 0.85)) !default; // 标题颜色
|
|
540
390
|
$-message-box-content-fs: var(--wot-message-box-content-fs, 14px) !default; // 内容字号
|
|
541
391
|
$-message-box-content-color: var(--wot-message-box-content-color, #666666) !default; // 内容颜色
|
|
542
|
-
$-message-box-content-max-height: var(
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
) !default; //
|
|
546
|
-
|
|
547
|
-
--wot-message-box-content-scrollbar-width,
|
|
548
|
-
4px
|
|
549
|
-
) !default; // 内容滚动条宽度
|
|
550
|
-
$-message-box-content-scrollbar-color: var(
|
|
551
|
-
--wot-message-box-content-scrollbar-color,
|
|
552
|
-
rgba(0, 0, 0, 0.1)
|
|
553
|
-
) !default; // 内容滚动条颜色
|
|
554
|
-
$-message-box-input-error-color: var(
|
|
555
|
-
--wot-message-box-input-error-color,
|
|
556
|
-
$-input-error-color
|
|
557
|
-
) !default; // 输入框错误颜色
|
|
392
|
+
$-message-box-content-max-height: var(--wot-message-box-content-max-height, 264px) !default; // 内容最大高度
|
|
393
|
+
$-message-box-content-scrollbar-width: var(--wot-message-box-content-scrollbar-width, 4px) !default; // 内容滚动条宽度
|
|
394
|
+
$-message-box-content-scrollbar-color: var(--wot-message-box-content-scrollbar-color, rgba(0, 0, 0, 0.1)) !default; // 内容滚动条颜色
|
|
395
|
+
$-message-box-input-error-color: var(--wot-message-box-input-error-color, $-input-error-color) !default; // 输入框错误颜色
|
|
396
|
+
|
|
558
397
|
/* notice-bar */
|
|
559
398
|
$-notice-bar-fs: var(--wot-notice-bar-fs, 12px) !default; // 字号
|
|
560
399
|
$-notice-bar-line-height: var(--wot-notice-bar-line-height, 18px) !default; // 行高
|
|
561
400
|
$-notice-bar-border-radius: var(--wot-notice-bar-border-radius, 8px) !default; // 圆角
|
|
562
|
-
$-notice-bar-padding: var(
|
|
563
|
-
--wot-notice-bar-padding,
|
|
564
|
-
9px 20px 9px 15px
|
|
565
|
-
) !default; // 非换行下的padding
|
|
401
|
+
$-notice-bar-padding: var(--wot-notice-bar-padding, 9px 20px 9px 15px) !default; // 非换行下的padding
|
|
566
402
|
$-notice-bar-warning-bg: var(--wot-notice-bar-warning-bg, #fff6c8) !default; // 背景色
|
|
567
403
|
$-notice-bar-info-bg: var(--wot-notice-bar-info-bg, #f4f9ff) !default; // 背景色
|
|
568
404
|
$-notice-bar-danger-bg: var(--wot-notice-bar-danger-bg, #feeced) !default; // 背景色
|
|
569
|
-
$-notice-bar-warning-color: var(
|
|
570
|
-
--wot-notice-bar-warning-color,
|
|
571
|
-
$-color-warning
|
|
572
|
-
) !default; // 文字和图标颜色
|
|
405
|
+
$-notice-bar-warning-color: var(--wot-notice-bar-warning-color, $-color-warning) !default; // 文字和图标颜色
|
|
573
406
|
$-notice-bar-info-color: var(--wot-notice-bar-info-color, $-color-theme) !default; // 文字和图标颜色
|
|
574
|
-
$-notice-bar-danger-color: var(
|
|
575
|
-
--wot-notice-bar-danger-color,
|
|
576
|
-
$-color-danger
|
|
577
|
-
) !default; // 文字和图标颜色
|
|
407
|
+
$-notice-bar-danger-color: var(--wot-notice-bar-danger-color, $-color-danger) !default; // 文字和图标颜色
|
|
578
408
|
$-notice-bar-prefix-size: var(--wot-notice-bar-prefix-size, 18px) !default; // 图标大小
|
|
579
|
-
$-notice-bar-close-bg: var(
|
|
580
|
-
--wot-notice-bar-close-bg,
|
|
581
|
-
rgba(0, 0, 0, 0.15)
|
|
582
|
-
) !default; // 右侧关闭按钮背景颜色
|
|
409
|
+
$-notice-bar-close-bg: var(--wot-notice-bar-close-bg, rgba(0, 0, 0, 0.15)) !default; // 右侧关闭按钮背景颜色
|
|
583
410
|
$-notice-bar-close-size: var(--wot-notice-bar-close-size, 18px) !default; // 右侧关闭按钮背景颜色
|
|
584
|
-
$-notice-bar-close-color: var(
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
) !default; // 右侧关闭按钮颜色
|
|
588
|
-
$-notice-bar-wrap-padding: var(
|
|
589
|
-
--wot-notice-bar-wrap-padding,
|
|
590
|
-
14px $-size-side-padding
|
|
591
|
-
) !default; // 换行下的padding
|
|
411
|
+
$-notice-bar-close-color: var(--wot-notice-bar-close-color, $-color-white) !default; // 右侧关闭按钮颜色
|
|
412
|
+
$-notice-bar-wrap-padding: var(--wot-notice-bar-wrap-padding, 14px $-size-side-padding) !default; // 换行下的padding
|
|
413
|
+
|
|
592
414
|
/* pagination */
|
|
593
415
|
$-pagination-content-padding: var(--wot-pagination-content-padding, 10px 15px) !default;
|
|
594
416
|
$-pagination-message-padding: var(--wot-pagination-message-padding, 1px 0 16px 0) !default;
|
|
@@ -603,93 +425,41 @@ $-pagination-nav-content-fs: var(--wot-pagination-nav-content-fs, 12px) !default
|
|
|
603
425
|
$-pagination-nav-sepatator-padding: var(--wot-pagination-nav-sepatator-padding, 0 4px) !default;
|
|
604
426
|
$-pagination-nav-current-color: var(--wot-pagination-nav-current-color, $-color-theme) !default;
|
|
605
427
|
$-pagination-icon-size: var(--wot-pagination-icon-size, $-fs-content) !default;
|
|
428
|
+
|
|
606
429
|
/* picker */
|
|
607
430
|
$-picker-toolbar-height: var(--wot-picker-toolbar-height, 54px) !default; // toolbar 操作条的高度
|
|
608
431
|
$-picker-action-height: var(--wot-picker-action-height, 16px) !default; // toolbar 操作条的高度
|
|
609
|
-
$-picker-toolbar-finish-color: var(
|
|
610
|
-
|
|
611
|
-
$-color-theme
|
|
612
|
-
) !default; // toolbar 操作条完成按钮的颜色
|
|
613
|
-
$-picker-toolbar-cancel-color: var(
|
|
614
|
-
--wot-picker-toolbar-cancel-color,
|
|
615
|
-
#666666
|
|
616
|
-
) !default; // toolbar 操作条的边框颜色
|
|
432
|
+
$-picker-toolbar-finish-color: var(--wot-picker-toolbar-finish-color, $-color-theme) !default; // toolbar 操作条完成按钮的颜色
|
|
433
|
+
$-picker-toolbar-cancel-color: var(--wot-picker-toolbar-cancel-color, #666666) !default; // toolbar 操作条的边框颜色
|
|
617
434
|
$-picker-toolbar-fs: var(--wot-picker-toolbar-fs, $-fs-title) !default; // toolbar 操作条的字号
|
|
618
|
-
$-picker-toolbar-title-color: var(
|
|
619
|
-
--wot-picker-toolbar-title-color,
|
|
620
|
-
rgba(0, 0, 0, 0.85)
|
|
621
|
-
) !default; // toolbar 操作台的标题颜色
|
|
435
|
+
$-picker-toolbar-title-color: var(--wot-picker-toolbar-title-color, rgba(0, 0, 0, 0.85)) !default; // toolbar 操作台的标题颜色
|
|
622
436
|
$-picker-column-fs: var(--wot-picker-column-fs, 16px) !default; // 选择器选项的字号
|
|
623
437
|
$-picker-bg: var(--wot-picker-bg, $-color-white) !default; // 选择器选项的字号
|
|
624
|
-
$-picker-column-active-fs: var(
|
|
625
|
-
|
|
626
|
-
18px
|
|
627
|
-
) !default; // 选择器选项被选中的字号
|
|
628
|
-
$-picker-column-color: var(
|
|
629
|
-
--wot-picker-column-color,
|
|
630
|
-
rgba(0, 0, 0, 0.85)
|
|
631
|
-
) !default; // 选择器选项的颜色
|
|
438
|
+
$-picker-column-active-fs: var(--wot-picker-column-active-fs, 18px) !default; // 选择器选项被选中的字号
|
|
439
|
+
$-picker-column-color: var(--wot-picker-column-color, rgba(0, 0, 0, 0.85)) !default; // 选择器选项的颜色
|
|
632
440
|
$-picker-column-height: var(--wot-picker-column-height, 210px) !default; // 列高 滚筒外部的高度
|
|
633
|
-
$-picker-column-item-height: var(
|
|
634
|
-
--wot-picker-column-item-height,
|
|
635
|
-
35px
|
|
636
|
-
) !default; // 列高 滚筒外部的高度
|
|
441
|
+
$-picker-column-item-height: var(--wot-picker-column-item-height, 35px) !default; // 列高 滚筒外部的高度
|
|
637
442
|
$-picker-column-select-bg: var(--wot-picker-column-select-bg, #f5f5f5) !default;
|
|
638
|
-
$-picker-loading-button-color: var(
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
) !default; //
|
|
642
|
-
$-picker-
|
|
643
|
-
--wot-picker-column-padding,
|
|
644
|
-
0 $-size-side-padding
|
|
645
|
-
) !default; // 选项内间距
|
|
646
|
-
|
|
647
|
-
$-picker-column-disabled-color: var(
|
|
648
|
-
--wot-picker-column-disabled-color,
|
|
649
|
-
rgba(0, 0, 0, 0.25)
|
|
650
|
-
) !default; // 选择器选项禁用的颜色
|
|
651
|
-
$-picker-mask: var(
|
|
652
|
-
--wot-picker-mask,
|
|
653
|
-
linear-gradient(180deg, hsla(0, 0%, 100%, 0.9), hsla(0, 0%, 100%, 0.25)),
|
|
654
|
-
)
|
|
443
|
+
$-picker-loading-button-color: var(--wot-picker-loading-button-color, rgba(0, 0, 0, 0.25)) !default; // loading 背景颜色
|
|
444
|
+
$-picker-column-padding: var(--wot-picker-column-padding, 0 $-size-side-padding-small) !default; // 选项内间距
|
|
445
|
+
|
|
446
|
+
$-picker-column-disabled-color: var(--wot-picker-column-disabled-color, rgba(0, 0, 0, 0.25)) !default; // 选择器选项禁用的颜色
|
|
447
|
+
$-picker-mask: var(--wot-picker-mask, linear-gradient(180deg, hsla(0, 0%, 100%, 0.9), hsla(0, 0%, 100%, 0.25)))
|
|
655
448
|
linear-gradient(0deg, hsla(0, 0%, 100%, 0.9), hsla(0, 0%, 100%, 0.25)) !default; // 上下阴影
|
|
656
|
-
$-picker-loading-bg: var(
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
$-picker-region-
|
|
661
|
-
|
|
662
|
-
rgba(0, 0, 0, 0.65)
|
|
663
|
-
) !default; // 区域选择文字颜色
|
|
664
|
-
$-picker-cell-arrow-size-large: var(
|
|
665
|
-
--wot-picker-cell-arrow-size-large,
|
|
666
|
-
$-cell-icon-size
|
|
667
|
-
) !default; // cell 类型的大尺寸 右侧icon尺寸
|
|
668
|
-
|
|
669
|
-
$-picker-region-color: var(
|
|
670
|
-
--wot-picker-region-color,
|
|
671
|
-
rgba(0, 0, 0, 0.45)
|
|
672
|
-
) !default; // 区域选择文字颜色
|
|
673
|
-
$-picker-region-bg-active-color: var(
|
|
674
|
-
--wot-picker-region-bg-active-color,
|
|
675
|
-
$-color-theme
|
|
676
|
-
) !default; // 区域选择激活选中背景颜色
|
|
449
|
+
$-picker-loading-bg: var(--wot-picker-loading-bg, rgba($-color-white, 0.8)) !default; // loading 背景颜色
|
|
450
|
+
$-picker-region-separator-color: var(--wot-picker-region-separator-color, rgba(0, 0, 0, 0.65)) !default; // 区域选择文字颜色
|
|
451
|
+
$-picker-cell-arrow-size-large: var(--wot-picker-cell-arrow-size-large, $-cell-icon-size) !default; // cell 类型的大尺寸 右侧icon尺寸
|
|
452
|
+
|
|
453
|
+
$-picker-region-color: var(--wot-picker-region-color, rgba(0, 0, 0, 0.45)) !default; // 区域选择文字颜色
|
|
454
|
+
$-picker-region-bg-active-color: var(--wot-picker-region-bg-active-color, $-color-theme) !default; // 区域选择激活选中背景颜色
|
|
677
455
|
|
|
678
456
|
$-picker-region-fs: var(--wot-picker-region-fs, 14px) !default; // 区域选择文字字号
|
|
457
|
+
|
|
679
458
|
/* col-picker */
|
|
680
|
-
$-col-picker-selected-height: var(
|
|
681
|
-
|
|
682
|
-
44px
|
|
683
|
-
) !default; // 弹框顶部值高度
|
|
684
|
-
$-col-picker-selected-padding: var(
|
|
685
|
-
--wot-col-picker-selected-padding,
|
|
686
|
-
0 16px
|
|
687
|
-
) !default; // 弹框顶部值左右间距
|
|
459
|
+
$-col-picker-selected-height: var(--wot-col-picker-selected-height, 44px) !default; // 弹框顶部值高度
|
|
460
|
+
$-col-picker-selected-padding: var(--wot-col-picker-selected-padding, 0 16px) !default; // 弹框顶部值左右间距
|
|
688
461
|
$-col-picker-selected-fs: var(--wot-col-picker-selected-fs, 14px) !default; // 弹框顶部值字号
|
|
689
|
-
$-col-picker-selected-color: var(
|
|
690
|
-
--wot-col-picker-selected-color,
|
|
691
|
-
rgba(0, 0, 0, 0.85)
|
|
692
|
-
) !default; // 弹框顶部值文字颜色
|
|
462
|
+
$-col-picker-selected-color: var(--wot-col-picker-selected-color, rgba(0, 0, 0, 0.85)) !default; // 弹框顶部值文字颜色
|
|
693
463
|
$-col-picker-selected-fw: var(--wot-col-picker-selected-fw, 700) !default; // 弹框顶部值高亮字重
|
|
694
464
|
$-col-picker-line-width: var(--wot-col-picker-line-width, 16px) !default; // 弹框顶部值高亮线条宽度
|
|
695
465
|
$-col-picker-line-height: var(--wot-col-picker-line-height, 3px) !default; // 弹框顶部值高亮线条高度
|
|
@@ -697,149 +467,73 @@ $-col-picker-line-color: var(
|
|
|
697
467
|
--wot-col-picker-line-color,
|
|
698
468
|
linear-gradient(315deg, rgba(81, 124, 240, 1), rgba(118, 158, 245, 1))
|
|
699
469
|
) !default; // 弹框顶部值高亮线条颜色
|
|
700
|
-
$-col-picker-line-box-shadow: var(
|
|
701
|
-
--wot-col-picker-line-box-shadow,
|
|
702
|
-
0px 1px 2px 0px rgba(1, 87, 255, 0.2)
|
|
703
|
-
) !default; // 弹框顶部值高亮线条阴影
|
|
470
|
+
$-col-picker-line-box-shadow: var(--wot-col-picker-line-box-shadow, 0px 1px 2px 0px rgba(1, 87, 255, 0.2)) !default; // 弹框顶部值高亮线条阴影
|
|
704
471
|
$-col-picker-list-height: var(--wot-col-picker-list-height, 53vh) !default; // 弹框列表高度
|
|
705
|
-
$-col-picker-list-padding-bottom: var(
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
) !default; //
|
|
709
|
-
$-col-picker-list-color: var(
|
|
710
|
-
--wot-col-picker-list-color,
|
|
711
|
-
rgba(0, 0, 0, 0.85)
|
|
712
|
-
) !default; // 弹框列表文字颜色
|
|
713
|
-
$-col-picker-list-color-disabled: var(
|
|
714
|
-
--wot-col-picker-list-color-disabled,
|
|
715
|
-
rgba(0, 0, 0, 0.15)
|
|
716
|
-
) !default; // 弹框列表文字禁用颜色
|
|
717
|
-
$-col-picker-list-color-tip: var(
|
|
718
|
-
--wot-col-picker-list-color-tip,
|
|
719
|
-
rgba(0, 0, 0, 0.45)
|
|
720
|
-
) !default; // 弹框列表提示文字颜色
|
|
472
|
+
$-col-picker-list-padding-bottom: var(--wot-col-picker-list-padding-bottom, 30px) !default; // 弹框列表底部间距
|
|
473
|
+
$-col-picker-list-color: var(--wot-col-picker-list-color, rgba(0, 0, 0, 0.85)) !default; // 弹框列表文字颜色
|
|
474
|
+
$-col-picker-list-color-disabled: var(--wot-col-picker-list-color-disabled, rgba(0, 0, 0, 0.15)) !default; // 弹框列表文字禁用颜色
|
|
475
|
+
$-col-picker-list-color-tip: var(--wot-col-picker-list-color-tip, rgba(0, 0, 0, 0.45)) !default; // 弹框列表提示文字颜色
|
|
721
476
|
$-col-picker-list-fs: var(--wot-col-picker-list-fs, 14px) !default; // 弹框列表文字字号
|
|
722
477
|
$-col-picker-list-fs-tip: var(--wot-col-picker-list-fs-tip, 12px) !default; // 弹框列表提示文字字号
|
|
723
|
-
$-col-picker-list-item-padding: var(
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
$-col-picker-list-checked-icon-size: var(
|
|
728
|
-
--wot-col-picker-list-checked-icon-size,
|
|
729
|
-
18px
|
|
730
|
-
) !default; // 弹框列表选中箭头大小
|
|
731
|
-
$-col-picker-list-color-checked: var(
|
|
732
|
-
--wot-col-picker-list-color-checked,
|
|
733
|
-
$-color-theme
|
|
734
|
-
) !default; // 弹框列表选中选项颜色
|
|
478
|
+
$-col-picker-list-item-padding: var(--wot-col-picker-list-item-padding, 12px 15px) !default; // 弹框列表选项间距
|
|
479
|
+
$-col-picker-list-checked-icon-size: var(--wot-col-picker-list-checked-icon-size, 18px) !default; // 弹框列表选中箭头大小
|
|
480
|
+
$-col-picker-list-color-checked: var(--wot-col-picker-list-color-checked, $-color-theme) !default; // 弹框列表选中选项颜色
|
|
481
|
+
|
|
735
482
|
/* overlay */
|
|
736
483
|
$-overlay-bg: var(--wot-overlay-bg, rgba(0, 0, 0, 0.65)) !default;
|
|
737
484
|
$-overlay-bg-dark: var(--wot-overlay-bg-dark, rgba(0, 0, 0, 0.75)) !default;
|
|
485
|
+
|
|
738
486
|
/* popup */
|
|
739
|
-
$-popup-close-size: var(--wot-popup-close-size,
|
|
740
|
-
$-popup-close-color: var(--wot-popup-close-color, #
|
|
487
|
+
$-popup-close-size: var(--wot-popup-close-size, 24px) !default; // 关闭按钮尺寸
|
|
488
|
+
$-popup-close-color: var(--wot-popup-close-color, #666) !default; // 关闭按钮颜色
|
|
489
|
+
|
|
741
490
|
/* progress */
|
|
742
491
|
$-progress-padding: var(--wot-progress-padding, 9px 0 8px) !default; // 进度条内边距
|
|
743
492
|
$-progress-bg: var(--wot-progress-bg, rgba(229, 229, 229, 1)) !default; // 进度条底色
|
|
744
|
-
$-progress-danger-color: var(
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
$-progress-
|
|
749
|
-
--wot-progress-success-color,
|
|
750
|
-
$-color-success
|
|
751
|
-
) !default; // 进度条success进度条颜色
|
|
752
|
-
$-progress-color: var(
|
|
753
|
-
--wot-progress-color,
|
|
754
|
-
resultColor(315deg, $-color-theme, 'dark' 'light', #517cf0 #769ef5, 0% 100%)
|
|
755
|
-
) !default; // 进度条渐变色
|
|
756
|
-
$-progress-linear-success-color: var(
|
|
757
|
-
--wot-progress-linear-success-color,
|
|
758
|
-
resultColor(315deg, $-color-theme, 'dark' 'light', #20b080 #2bd69d, 0% 100%)
|
|
759
|
-
) !default; // success进度条渐变色
|
|
760
|
-
$-progress-linear-danger-color: var(
|
|
761
|
-
--wot-progress-linear-danger-color,
|
|
762
|
-
resultColor(315deg, $-color-theme, 'dark' 'light', #e04350 #ff5964, 0% 100%)
|
|
763
|
-
) !default; // danger进度条渐变色
|
|
493
|
+
$-progress-danger-color: var(--wot-progress-danger-color, $-color-danger) !default; // 进度条danger颜色
|
|
494
|
+
$-progress-success-color: var(--wot-progress-success-color, $-color-success) !default; // 进度条success进度条颜色
|
|
495
|
+
$-progress-warning-color: var(--wot-progress-warning-color, $-color-warning) !default; // 进度条warning进度条颜色
|
|
496
|
+
|
|
497
|
+
$-progress-color: var(--wot-progress-color, $-color-theme) !default; // 进度条颜色
|
|
764
498
|
$-progress-height: var(--wot-progress-height, 3px) !default; // 进度条高度
|
|
765
499
|
$-progress-label-color: var(--wot-progress-label-color, #333) !default; // 文字颜色
|
|
766
500
|
$-progress-label-fs: var(--wot-progress-label-fs, 14px) !default; // 文字字号
|
|
767
501
|
$-progress-icon-fs: var(--wot-progress-icon-fs, 18px) !default; // 图标字号
|
|
502
|
+
|
|
768
503
|
/* radio */
|
|
769
504
|
$-radio-margin: var(--wot-radio-margin, $-checkbox-margin) !default; // 多个单选框距离
|
|
770
|
-
$-radio-label-margin: var(
|
|
771
|
-
--wot-radio-label-margin,
|
|
772
|
-
$-checkbox-label-margin
|
|
773
|
-
) !default; // 右侧文字与左侧图标距离
|
|
505
|
+
$-radio-label-margin: var(--wot-radio-label-margin, $-checkbox-label-margin) !default; // 右侧文字与左侧图标距离
|
|
774
506
|
$-radio-size: var(--wot-radio-size, 16px) !default; // 左侧图标尺寸
|
|
775
|
-
$-radio-bg: var(--wot-radio-bg, $-
|
|
507
|
+
$-radio-bg: var(--wot-radio-bg, $-color-white) !default; // 左侧图标尺寸
|
|
776
508
|
$-radio-label-fs: var(--wot-radio-label-fs, $-checkbox-label-fs) !default; // 右侧文字字号
|
|
777
509
|
$-radio-label-color: var(--wot-radio-label-color, $-checkbox-label-color) !default; // 右侧文字颜色
|
|
778
|
-
$-radio-checked-color: var(
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
) !default; // 选中颜色
|
|
782
|
-
$-radio-disabled-color: var(
|
|
783
|
-
--wot-radio-disabled-color,
|
|
784
|
-
$-checkbox-disabled-color
|
|
785
|
-
) !default; // 禁用颜色
|
|
786
|
-
$-radio-disabled-label-color: var(
|
|
787
|
-
--wot-radio-disabled-label-color,
|
|
788
|
-
$-checkbox-disabled-label-color
|
|
789
|
-
) !default; // 禁用文字颜色
|
|
510
|
+
$-radio-checked-color: var(--wot-radio-checked-color, $-checkbox-checked-color) !default; // 选中颜色
|
|
511
|
+
$-radio-disabled-color: var(--wot-radio-disabled-color, $-checkbox-disabled-color) !default; // 禁用颜色
|
|
512
|
+
$-radio-disabled-label-color: var(--wot-radio-disabled-label-color, $-checkbox-disabled-label-color) !default; // 禁用文字颜色
|
|
790
513
|
|
|
791
514
|
$-radio-large-size: var(--wot-radio-large-size, $-checkbox-large-size) !default; // 左侧图标尺寸
|
|
792
|
-
$-radio-large-label-fs: var(
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
) !default; // 右侧文字字号
|
|
796
|
-
|
|
797
|
-
$-radio-button-height: var(
|
|
798
|
-
--wot-radio-button-height,
|
|
799
|
-
$-checkbox-button-height
|
|
800
|
-
) !default; // 按钮模式复选框高
|
|
515
|
+
$-radio-large-label-fs: var(--wot-radio-large-label-fs, $-checkbox-large-label-fs) !default; // 右侧文字字号
|
|
516
|
+
|
|
517
|
+
$-radio-button-height: var(--wot-radio-button-height, $-checkbox-button-height) !default; // 按钮模式复选框高
|
|
801
518
|
$-radio-button-min-width: var(--wot-radio-button-min-width, 60px) !default; // 按钮模式最小宽
|
|
802
519
|
$-radio-button-max-width: var(--wot-radio-button-max-width, 144px) !default; // 按钮模式最大宽
|
|
803
|
-
$-radio-button-radius: var(
|
|
804
|
-
--wot-radio-button-radius,
|
|
805
|
-
$-checkbox-button-radius
|
|
806
|
-
) !default; // 按钮圆角大小
|
|
520
|
+
$-radio-button-radius: var(--wot-radio-button-radius, $-checkbox-button-radius) !default; // 按钮圆角大小
|
|
807
521
|
$-radio-button-bg: var(--wot-radio-button-bg, $-checkbox-button-bg) !default; // 按钮模式背景颜色
|
|
808
522
|
$-radio-button-fs: var(--wot-radio-button-fs, $-checkbox-button-font-size) !default; // 按钮模式字号
|
|
809
|
-
$-radio-button-border: var(
|
|
810
|
-
|
|
811
|
-
$-checkbox-button-border
|
|
812
|
-
) !default; // 按钮边框颜色
|
|
813
|
-
$-radio-button-disabled-border: var(
|
|
814
|
-
--wot-radio-button-disabled-border,
|
|
815
|
-
$-checkbox-button-disabled-border
|
|
816
|
-
) !default; // 按钮禁用边框颜色
|
|
523
|
+
$-radio-button-border: var(--wot-radio-button-border, $-checkbox-button-border) !default; // 按钮边框颜色
|
|
524
|
+
$-radio-button-disabled-border: var(--wot-radio-button-disabled-border, $-checkbox-button-disabled-border) !default; // 按钮禁用边框颜色
|
|
817
525
|
|
|
818
526
|
$-radio-dot-size: var(--wot-radio-dot-size, 8px) !default; // 单选dot模式圆点尺寸
|
|
819
527
|
$-radio-dot-large-size: var(--wot-radio-dot-large-size, 10px) !default; // 单选dot模式大尺寸圆点尺寸
|
|
820
|
-
$-radio-dot-checked-bg: var(
|
|
821
|
-
|
|
822
|
-
$-color-theme
|
|
823
|
-
) !default; // 单选dot模式选中背景色
|
|
824
|
-
$-radio-dot-checked-border-color: var(
|
|
825
|
-
--wot-radio-dot-checked-border-color,
|
|
826
|
-
$-color-theme
|
|
827
|
-
) !default; // 单选dot模式选中边框色
|
|
528
|
+
$-radio-dot-checked-bg: var(--wot-radio-dot-checked-bg, $-color-theme) !default; // 单选dot模式选中背景色
|
|
529
|
+
$-radio-dot-checked-border-color: var(--wot-radio-dot-checked-border-color, $-color-theme) !default; // 单选dot模式选中边框色
|
|
828
530
|
$-radio-dot-border-color: var(--wot-radio-dot-border-color, #dcdcdc) !default; // 单选dot模式边框色
|
|
829
|
-
$-radio-dot-disabled-border: var(
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
) !default; // 单选dot模式禁用边框颜色
|
|
833
|
-
$-radio-dot-disabled-bg: var(
|
|
834
|
-
--wot-radio-dot-disabled-bg,
|
|
835
|
-
#d9d9d9
|
|
836
|
-
) !default; // 单选dot模式禁用背景颜色
|
|
531
|
+
$-radio-dot-disabled-border: var(--wot-radio-dot-disabled-border, #d9d9d9) !default; // 单选dot模式禁用边框颜色
|
|
532
|
+
$-radio-dot-disabled-bg: var(--wot-radio-dot-disabled-bg, #d9d9d9) !default; // 单选dot模式禁用背景颜色
|
|
533
|
+
|
|
837
534
|
/* search */
|
|
838
535
|
$-search-side-padding: var(--wot-search-side-padding, $-size-side-padding) !default; // 左右间距
|
|
839
|
-
$-search-padding: var(
|
|
840
|
-
--wot-search-padding,
|
|
841
|
-
10px 0 10px $-search-side-padding
|
|
842
|
-
) !default; // 不包含取消按钮的间距
|
|
536
|
+
$-search-padding: var(--wot-search-padding, 10px 0 10px $-search-side-padding) !default; // 不包含取消按钮的间距
|
|
843
537
|
$-search-input-radius: var(--wot-search-input-radius, 15px) !default; // 输入框圆角大小
|
|
844
538
|
$-search-input-bg: var(--wot-search-input-bg, $-color-bg) !default; // 输入框背景色
|
|
845
539
|
$-search-input-height: var(--wot-search-input-height, 30px) !default; // 输入框高度
|
|
@@ -849,24 +543,16 @@ $-search-input-color: var(--wot-search-input-color, #262626) !default; // 输入
|
|
|
849
543
|
$-search-icon-color: var(--wot-search-icon-color, $-color-icon) !default; // 图标颜色
|
|
850
544
|
$-search-icon-size: var(--wot-search-icon-size, 18px) !default; // 图标大小
|
|
851
545
|
$-search-clear-icon-size: var(--wot-search-clear-icon-size, $-fs-title) !default; // 清除图标大小
|
|
852
|
-
$-search-placeholder-color: var(
|
|
853
|
-
|
|
854
|
-
#969696
|
|
855
|
-
) !default; // placeholder 颜色
|
|
856
|
-
$-search-cancel-padding: var(
|
|
857
|
-
--wot-search-cancel-padding,
|
|
858
|
-
0 $-search-side-padding 0 10px
|
|
859
|
-
) !default; // 取消按钮间距
|
|
546
|
+
$-search-placeholder-color: var(--wot-search-placeholder-color, #bfbfbf) !default; // placeholder 颜色
|
|
547
|
+
$-search-cancel-padding: var(--wot-search-cancel-padding, 0 $-search-side-padding 0 10px) !default; // 取消按钮间距
|
|
860
548
|
$-search-cancel-fs: var(--wot-search-cancel-fs, $-fs-title) !default; // 取消按钮字号
|
|
861
549
|
$-search-cancel-color: var(--wot-search-cancel-color, rgba(0, 0, 0, 0.65)) !default; // 取消按钮颜色
|
|
862
550
|
$-search-light-bg: var(--wot-search-light-bg, $-color-bg) !default; // light 类型的容器背景色
|
|
551
|
+
|
|
863
552
|
/* slider */
|
|
864
553
|
$-slider-fs: var(--wot-slider-fs, $-fs-content) !default; // 字体大小
|
|
865
554
|
$-slider-handle-radius: var(--wot-slider-handle-radius, 12px) !default; // 滑块半径
|
|
866
|
-
$-slider-handle-bg: var(
|
|
867
|
-
--wot-slider-handle-bg,
|
|
868
|
-
resultColor(139deg, $-color-theme, 'dark' 'light', #ffffff #f7f7f7, 0% 100%)
|
|
869
|
-
) !default; // 滑块背景
|
|
555
|
+
$-slider-handle-bg: var(--wot-slider-handle-bg, resultColor(139deg, $-color-theme, 'dark' 'light', #ffffff #f7f7f7, 0% 100%)) !default; // 滑块背景
|
|
870
556
|
$-slider-axie-height: var(--wot-slider-axie-height, 3px) !default; // 滑轴高度
|
|
871
557
|
$-slider-color: var(--wot-slider-color, #333) !default; // 字体颜色
|
|
872
558
|
$-slider-axie-bg: var(--wot-slider-axie-bg, #e5e5e5) !default; // 滑轴的默认背景色
|
|
@@ -874,39 +560,30 @@ $-slider-line-color: var(
|
|
|
874
560
|
--wot-slider-line-color,
|
|
875
561
|
resultColor(315deg, $-color-theme, 'dark' 'light', #517cf0 #769ef5, 0% 100%)
|
|
876
562
|
) !default; // 进度条颜色
|
|
877
|
-
$-slider-disabled-color: var(
|
|
878
|
-
|
|
879
|
-
rgba(0, 0, 0, 0.25)
|
|
880
|
-
) !default; // 禁用状态下字体颜色
|
|
563
|
+
$-slider-disabled-color: var(--wot-slider-disabled-color, rgba(0, 0, 0, 0.25)) !default; // 禁用状态下字体颜色
|
|
564
|
+
|
|
881
565
|
/* sort-button */
|
|
882
566
|
$-sort-button-fs: var(--wot-sort-button-fs, $-fs-content) !default; // 字号
|
|
883
567
|
$-sort-button-color: var(--wot-sort-button-color, $-color-content) !default; // 颜色
|
|
884
568
|
$-sort-button-height: var(--wot-sort-button-height, 48px) !default; // 高度
|
|
885
569
|
$-sort-button-line-height: var(--wot-sort-button-line-height, 3px) !default; // 下划线高度
|
|
886
570
|
$-sort-button-line-color: var(--wot-sort-button-line-color, $-color-theme) !default; // 下划线颜色
|
|
571
|
+
|
|
887
572
|
/* steps */
|
|
888
573
|
$-steps-icon-size: var(--wot-steps-icon-size, 22px) !default; // 图标尺寸
|
|
889
|
-
$-steps-inactive-color: var(
|
|
890
|
-
--wot-steps-inactive-color,
|
|
891
|
-
rgba(0, 0, 0, 0.25)
|
|
892
|
-
) !default; // 等待状态文字颜色
|
|
574
|
+
$-steps-inactive-color: var(--wot-steps-inactive-color, rgba(0, 0, 0, 0.25)) !default; // 等待状态文字颜色
|
|
893
575
|
$-steps-finished-color: var(--wot-steps-finished-color, $-color-theme) !default; // 完成文字颜色
|
|
894
576
|
$-steps-icon-text-fs: var(--wot-steps-icon-text-fs, $-fs-content) !default; // 数字图标文字字号
|
|
895
577
|
$-steps-error-color: var(--wot-steps-error-color, $-color-danger) !default; // 异常颜色
|
|
896
578
|
$-steps-title-fs: var(--wot-steps-title-fs, $-fs-content) !default; // 标题字号
|
|
897
579
|
$-steps-title-fw: var(--wot-steps-title-fw, $-fw-medium) !default; // 标题字重
|
|
898
580
|
$-steps-label-fs: var(--wot-steps-label-fs, $-fs-secondary) !default; // 描述信息字号
|
|
899
|
-
$-steps-description-color: var(
|
|
900
|
-
|
|
901
|
-
rgba(0, 0, 0, 0.45)
|
|
902
|
-
) !default; // 描述信息颜色
|
|
903
|
-
$-steps-is-icon-width: var(
|
|
904
|
-
--wot-steps-is-icon-width,
|
|
905
|
-
30px
|
|
906
|
-
) !default; // 自定义图标的宽度,给左右留白
|
|
581
|
+
$-steps-description-color: var(--wot-steps-description-color, rgba(0, 0, 0, 0.45)) !default; // 描述信息颜色
|
|
582
|
+
$-steps-is-icon-width: var(--wot-steps-is-icon-width, 30px) !default; // 自定义图标的宽度,给左右留白
|
|
907
583
|
$-steps-line-color: var(--wot-steps-line-color, rgba(0, 0, 0, 0.15)) !default; // 线条颜色
|
|
908
584
|
$-steps-dot-size: var(--wot-steps-dot-size, 7px) !default; // 点状大小
|
|
909
585
|
$-steps-dot-active-size: var(--wot-steps-dot-active-size, 9px) !default; // 点状高亮大小
|
|
586
|
+
|
|
910
587
|
/* switch */
|
|
911
588
|
$-switch-size: var(--wot-switch-size, 28px) !default; // switch大小
|
|
912
589
|
$-switch-width: var(--wot-switch-width, calc(1.8em + 4px)) !default; // 宽度
|
|
@@ -914,15 +591,10 @@ $-switch-height: var(--wot-switch-height, calc(1em + 4px)) !default; // 高度
|
|
|
914
591
|
$-switch-circle-size: var(--wot-switch-circle-size, 1em) !default; // 圆点大小
|
|
915
592
|
$-switch-border-color: var(--wot-switch-border-color, #e5e5e5) !default; // 边框颜色选中状态背景颜色
|
|
916
593
|
$-switch-active-color: var(--wot-switch-active-color, $-color-theme) !default; // 选中状态背景
|
|
917
|
-
$-switch-active-shadow-color: var(
|
|
918
|
-
--wot-switch-active-shadow-color,
|
|
919
|
-
rgba(0, 83, 162, 0.5)
|
|
920
|
-
) !default; // 选中状态shadow颜色
|
|
594
|
+
$-switch-active-shadow-color: var(--wot-switch-active-shadow-color, rgba(0, 83, 162, 0.5)) !default; // 选中状态shadow颜色
|
|
921
595
|
$-switch-inactive-color: var(--wot-switch-inactive-color, #eaeaea) !default; // 非选中背景颜色
|
|
922
|
-
$-switch-inactive-shadow-color: var(
|
|
923
|
-
|
|
924
|
-
rgba(155, 155, 155, 0.5)
|
|
925
|
-
) !default; // 非选中状态shadow颜色
|
|
596
|
+
$-switch-inactive-shadow-color: var(--wot-switch-inactive-shadow-color, rgba(155, 155, 155, 0.5)) !default; // 非选中状态shadow颜色
|
|
597
|
+
|
|
926
598
|
/* tabs */
|
|
927
599
|
$-tabs-nav-arrow-fs: var(--wot-tabs-nav-arrow-fs, 18px) !default; // 全部Icon字号
|
|
928
600
|
$-tabs-nav-arrow-open-fs: var(--wot-tabs-nav-arrow-open-fs, 14px) !default; // 展开Icon字号
|
|
@@ -932,38 +604,21 @@ $-tabs-nav-fs: var(--wot-tabs-nav-fs, $-fs-content) !default; // 头部切换文
|
|
|
932
604
|
$-tabs-nav-color: var(--wot-tabs-nav-color, rgba(0, 0, 0, 0.85)) !default; // 头部切换文字颜色
|
|
933
605
|
$-tabs-nav-bg: var(--wot-tabs-nav-bg, $-color-white) !default; // 背景颜色
|
|
934
606
|
$-tabs-nav-active-color: var(--wot-tabs-nav-active-color, $-color-theme) !default; // 头部高亮颜色
|
|
935
|
-
$-tabs-nav-disabled-color: var(
|
|
936
|
-
--wot-tabs-nav-disabled-color,
|
|
937
|
-
rgba(0, 0, 0, 0.25)
|
|
938
|
-
) !default; // 头部禁用颜色
|
|
607
|
+
$-tabs-nav-disabled-color: var(--wot-tabs-nav-disabled-color, rgba(0, 0, 0, 0.25)) !default; // 头部禁用颜色
|
|
939
608
|
$-tabs-nav-line-height: var(--wot-tabs-nav-line-height, 3px) !default; // 高亮边框高度
|
|
940
609
|
$-tabs-nav-line-width: var(--wot-tabs-nav-line-width, 19px) !default; // 高亮边框宽度
|
|
941
610
|
$-tabs-nav-line-bg-color: var(--wot-tabs-nav-line-bg-color, $-color-theme) !default; // 底部条颜色
|
|
942
611
|
$-tabs-nav-map-fs: var(--wot-tabs-nav-map-fs, $-fs-content) !default; // map 类型按钮字号
|
|
943
|
-
$-tabs-nav-map-color: var(
|
|
944
|
-
|
|
945
|
-
rgba(0, 0, 0, 0.85)
|
|
946
|
-
) !default; // map 类型按钮文字颜色
|
|
947
|
-
$-tabs-nav-map-arrow-color: var(
|
|
948
|
-
--wot-tabs-nav-map-arrow-color,
|
|
949
|
-
rgba(0, 0, 0, 0.65)
|
|
950
|
-
) !default; // map 类型箭头颜色
|
|
612
|
+
$-tabs-nav-map-color: var(--wot-tabs-nav-map-color, rgba(0, 0, 0, 0.85)) !default; // map 类型按钮文字颜色
|
|
613
|
+
$-tabs-nav-map-arrow-color: var(--wot-tabs-nav-map-arrow-color, rgba(0, 0, 0, 0.65)) !default; // map 类型箭头颜色
|
|
951
614
|
$-tabs-nav-map-btn-before-bg: var(
|
|
952
615
|
--wot-tabs-nav-map-btn-before-bg,
|
|
953
616
|
linear-gradient(270deg, rgba(255, 255, 255, 1) 1%, rgba(255, 255, 255, 0) 100%)
|
|
954
617
|
) !default; // 左侧map遮罩阴影
|
|
955
|
-
$-tabs-nav-map-button-back-color: var(
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
$-tabs-nav-map-button-radius: var(
|
|
960
|
-
--wot-tabs-nav-map-button-radius,
|
|
961
|
-
16px
|
|
962
|
-
) !default; // map 类型按钮圆角大小
|
|
963
|
-
$-tabs-nav-map-modal-bg: var(
|
|
964
|
-
--wot-tabs-nav-map-modal-bg,
|
|
965
|
-
$-overlay-bg
|
|
966
|
-
) !default; // map 类型蒙层背景色
|
|
618
|
+
$-tabs-nav-map-button-back-color: var(--wot-tabs-nav-map-button-back-color, rgba(0, 0, 0, 0.04)) !default; // map 类型按钮边框颜色
|
|
619
|
+
$-tabs-nav-map-button-radius: var(--wot-tabs-nav-map-button-radius, 16px) !default; // map 类型按钮圆角大小
|
|
620
|
+
$-tabs-nav-map-modal-bg: var(--wot-tabs-nav-map-modal-bg, $-overlay-bg) !default; // map 类型蒙层背景色
|
|
621
|
+
|
|
967
622
|
/* tag */
|
|
968
623
|
$-tag-fs: var(--wot-tag-fs, $-fs-secondary) !default; // 字号
|
|
969
624
|
$-tag-color: var(--wot-tag-color, $-color-white) !default; // 字体颜色
|
|
@@ -973,46 +628,38 @@ $-tag-primary-color: var(--wot-tag-primary-color, $-color-theme) !default; //
|
|
|
973
628
|
$-tag-danger-color: var(--wot-tag-danger-color, $-color-danger) !default; // danger 颜色
|
|
974
629
|
$-tag-warning-color: var(--wot-tag-warning-color, $-color-warning) !default; // warning 颜色
|
|
975
630
|
$-tag-success-color: var(--wot-tag-success-color, $-color-success) !default; // success 颜色
|
|
976
|
-
$-tag-info-bg: var(
|
|
977
|
-
--wot-tag-info-bg,
|
|
978
|
-
resultColor(49deg, $-color-black, 'dark' 'light', #808080 #999999, 0% 100%)
|
|
979
|
-
) !default; // info 背景颜色
|
|
631
|
+
$-tag-info-bg: var(--wot-tag-info-bg, resultColor(49deg, $-color-black, 'dark' 'light', #808080 #999999, 0% 100%)) !default; // info 背景颜色
|
|
980
632
|
$-tag-primary-bg: var(--wot-tag-primary-bg, $-color-theme) !default; // 主背景颜色
|
|
981
633
|
$-tag-danger-bg: var(--wot-tag-danger-bg, $-color-danger) !default; // danger 背景颜色
|
|
982
634
|
$-tag-warning-bg: var(--wot-tag-warning-bg, $-color-warning) !default; // warning 背景颜色
|
|
983
635
|
$-tag-success-bg: var(--wot-tag-success-bg, $-color-success) !default; // success 背景颜色
|
|
984
636
|
$-tag-round-color: var(--wot-tag-round-color, rgba(102, 102, 102, 1)) !default; // round 字体颜色
|
|
985
|
-
$-tag-round-border-color: var(
|
|
986
|
-
--wot-tag-round-border-color,
|
|
987
|
-
rgba(225, 225, 225, 1)
|
|
988
|
-
) !default; // round 边框颜色
|
|
637
|
+
$-tag-round-border-color: var(--wot-tag-round-border-color, rgba(225, 225, 225, 1)) !default; // round 边框颜色
|
|
989
638
|
$-tag-round-radius: var(--wot-tag-round-radius, 12px) !default; // round 圆角大小
|
|
990
639
|
$-tag-mark-radius: var(--wot-tag-mark-radius, 6px 2px 6px 2px) !default; // mark 圆角大小
|
|
991
640
|
$-tag-close-size: var(--wot-tag-close-size, 14px) !default; // 关闭按钮字号
|
|
992
641
|
$-tag-close-color: var(--wot-tag-close-color, $-tag-info-color) !default; // 关闭按钮颜色
|
|
993
|
-
$-tag-close-active-color: var(
|
|
994
|
-
|
|
995
|
-
rgba(0, 0, 0, 0.45)
|
|
996
|
-
) !default; // 关闭按钮 active 颜色
|
|
642
|
+
$-tag-close-active-color: var(--wot-tag-close-active-color, rgba(0, 0, 0, 0.45)) !default; // 关闭按钮 active 颜色
|
|
643
|
+
|
|
997
644
|
/* toast */
|
|
645
|
+
$-toast-color: var(--wot-toast-color, $-color-white) !default; // 文字颜色
|
|
998
646
|
$-toast-padding: var(--wot-toast-padding, 16px 24px) !default; // padding
|
|
999
647
|
$-toast-max-width: var(--wot-toast-max-width, 300px) !default; // 最大宽度
|
|
1000
648
|
$-toast-radius: var(--wot-toast-radius, 8px) !default; // 圆角大小
|
|
1001
649
|
$-toast-bg: var(--wot-toast-bg, $-overlay-bg) !default; // 背景色
|
|
1002
650
|
$-toast-fs: var(--wot-toast-fs, $-fs-content) !default; // 字号
|
|
1003
|
-
$-toast-
|
|
1004
|
-
|
|
1005
|
-
150px
|
|
1006
|
-
) !default; // 有图标的情况下最小宽度
|
|
651
|
+
$-toast-line-height: var(--wot-toast-line-height, 20px) !default; // 行高
|
|
652
|
+
$-toast-with-icon-min-width: var(--wot-toast-with-icon-min-width, 150px) !default; // 有图标的情况下最小宽度
|
|
1007
653
|
$-toast-icon-size: var(--wot-toast-icon-size, 32px) !default; // 图标大小
|
|
1008
|
-
$-toast-
|
|
1009
|
-
$-toast-
|
|
1010
|
-
$-toast-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
654
|
+
$-toast-msg-margin-left: var(--wot-toast-msg-margin-left, 12px) !default; // 消息内容左边距
|
|
655
|
+
$-toast-icon-margin-bottom: var(--wot-toast-icon-margin-bottom, 12px) !default; // 图标下边距
|
|
656
|
+
$-toast-loading-padding: var(--wot-toast-loading-padding, 10px) !default; // loading状态下的padding
|
|
657
|
+
$-toast-loading-margin-bottom: var(--wot-toast-loading-margin-bottom, 16px) !default; // loading动画的margin-bottom
|
|
658
|
+
$-toast-box-shadow: var(--wot-toast-box-shadow, 0px 6px 16px 0px rgba(0, 0, 0, 0.08)) !default; // 外部阴影
|
|
659
|
+
|
|
1014
660
|
/* loading */
|
|
1015
661
|
$-loading-size: var(--wot-loading-size, 32px) !default; // loading 大小
|
|
662
|
+
|
|
1016
663
|
/* tooltip */
|
|
1017
664
|
$-tooltip-bg: var(--wot-tooltip-bg, rgba(38, 39, 40, 0.8)) !default; // 背景色
|
|
1018
665
|
$-tooltip-color: var(--wot-tooltip-color, $-color-white) !default; // 文字颜色
|
|
@@ -1024,17 +671,12 @@ $-tooltip-padding: var(--wot-tooltip-padding, 9px 20px) !default; // 间距
|
|
|
1024
671
|
$-tooltip-close-size: var(--wot-tooltip-close-size, 6px) !default; // 背景高斯模糊效果
|
|
1025
672
|
$-tooltip-z-index: var(--wot-tooltip-z-index, 500) !default;
|
|
1026
673
|
$-tooltip-line-height: var(--wot-tooltip-line-height, 18px) !default; // 行高
|
|
674
|
+
|
|
1027
675
|
/* popover */
|
|
1028
676
|
$-popover-bg: var(--wot-popover-bg, $-color-white) !default; // 背景色
|
|
1029
677
|
$-popover-color: var(--wot-popover-color, rgba(0, 0, 0, 0.85)) !default; // 文字颜色
|
|
1030
|
-
$-popover-box-shadow: var(
|
|
1031
|
-
|
|
1032
|
-
0px 2px 10px 0px rgba(0, 0, 0, 0.1)
|
|
1033
|
-
) !default; // 阴影颜色
|
|
1034
|
-
$-popover-arrow-box-shadow: var(
|
|
1035
|
-
--wot-popover-arrow-box-shadow,
|
|
1036
|
-
0px 2px 10px 0px rgba(0, 0, 0, 0.2)
|
|
1037
|
-
) !default; // 阴影颜色
|
|
678
|
+
$-popover-box-shadow: var(--wot-popover-box-shadow, 0px 2px 10px 0px rgba(0, 0, 0, 0.1)) !default; // 阴影颜色
|
|
679
|
+
$-popover-arrow-box-shadow: var(--wot-popover-arrow-box-shadow, 0px 2px 10px 0px rgba(0, 0, 0, 0.2)) !default; // 阴影颜色
|
|
1038
680
|
$-popover-border-color: var(--wot-popover-border-color, rgba(0, 0, 0, 0.09)) !default; // 阴影颜色
|
|
1039
681
|
$-popover-radius: var(--wot-popover-radius, 4px) !default; // 圆角大小
|
|
1040
682
|
$-popover-arrow-size: var(--wot-popover-arrow-size, 6px) !default; // 箭头大小
|
|
@@ -1042,94 +684,63 @@ $-popover-fs: var(--wot-popover-fs, $-fs-content) !default; // 字号
|
|
|
1042
684
|
$-popover-padding: var(--wot-popover-padding, 15px) !default; // 间距
|
|
1043
685
|
$-popover-line-height: var(--wot-popover-line-height, 18px) !default; // 行高
|
|
1044
686
|
$-popover-z-index: var(--wot-popover-z-index, $-tooltip-z-index) !default;
|
|
687
|
+
|
|
1045
688
|
/* grid-item */
|
|
1046
689
|
$-grid-item-fs: var(--wot-grid-item-fs, 12px) !default; // 字号
|
|
1047
690
|
$-grid-item-bg: var(--wot-grid-item-bg, $-color-white) !default; // 字号
|
|
1048
691
|
$-grid-item-padding: var(--wot-grid-item-padding, 14px 0px) !default; // 内容的 padding
|
|
1049
|
-
$-grid-item-border-color: var(
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
692
|
+
$-grid-item-border-color: var(--wot-grid-item-border-color, $-color-border-light) !default; // 边框颜色
|
|
693
|
+
$-grid-item-hover-bg: var(--wot-grid-item-hover-bg, $-color-gray-3) !default; // hover背景色
|
|
694
|
+
$-grid-item-hover-bg-dark: var(--wot-grid-item-hover-bg-dark, $-color-gray-7) !default; // 暗黑模式hover背景色
|
|
695
|
+
|
|
1053
696
|
/* statustip */
|
|
1054
697
|
$-statustip-fs: var(--wot-statustip-fs, $-fs-content) !default; // 字号
|
|
1055
698
|
$-statustip-color: var(--wot-statustip-color, rgba(0, 0, 0, 0.45)) !default; // 文字颜色
|
|
1056
699
|
$-statustip-line-height: var(--wot-statustip-line-height, 16px) !default; // 文字行高
|
|
1057
700
|
$-statustip-padding: var(--wot-statustip-padding, 5px 10px) !default; // 间距
|
|
701
|
+
|
|
1058
702
|
/* card */
|
|
1059
703
|
$-card-bg: var(--wot-card-bg, $-color-white) !default; // 背景色
|
|
1060
704
|
$-card-fs: var(--wot-card-fs, $-fs-content) !default; // 卡片字号
|
|
1061
705
|
$-card-padding: var(--wot-card-padding, 0 $-size-side-padding) !default; // 内边距
|
|
1062
706
|
$-card-footer-padding: var(--wot-card-footer-padding, 12px 0 16px) !default; // 底部内边距
|
|
1063
|
-
$-card-shadow-color: var(
|
|
1064
|
-
--wot-card-shadow-color,
|
|
1065
|
-
0px 4px 8px 0px rgba(0, 0, 0, 0.02)
|
|
1066
|
-
) !default; // 阴影
|
|
707
|
+
$-card-shadow-color: var(--wot-card-shadow-color, 0px 4px 8px 0px rgba(0, 0, 0, 0.02)) !default; // 阴影
|
|
1067
708
|
$-card-radius: var(--wot-card-radius, 8px) !default; // 圆角大小
|
|
1068
709
|
$-card-line-height: var(--wot-card-line-height, 1.1) !default; // 行高
|
|
1069
710
|
$-card-margin: var(--wot-card-margin, 0 $-size-side-padding) !default; // 外边距
|
|
1070
711
|
$-card-title-color: var(--wot-card-title-color, rgba(0, 0, 0, 0.85)) !default; // 标题颜色
|
|
1071
712
|
$-card-title-fs: var(--wot-card-title-fs, $-fs-title) !default; // 矩形卡片标题字号
|
|
1072
|
-
$-card-content-border-color: var(
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
) !default; //
|
|
1076
|
-
$-card-rectangle-title-padding: var(
|
|
1077
|
-
--wot-card-rectangle-title-padding,
|
|
1078
|
-
15px 15px 12px
|
|
1079
|
-
) !default; // 矩形卡片头部内边距
|
|
1080
|
-
$-card-rectangle-content-padding: var(
|
|
1081
|
-
--wot-card-rectangle-content-padding,
|
|
1082
|
-
16px 0
|
|
1083
|
-
) !default; // 矩形卡片内容内边距
|
|
1084
|
-
$-card-rectangle-footer-padding: var(
|
|
1085
|
-
--wot-card-rectangle-footer-padding,
|
|
1086
|
-
12px 0
|
|
1087
|
-
) !default; // 矩形卡片底部内边距
|
|
713
|
+
$-card-content-border-color: var(--wot-card-content-border-color, rgba(0, 0, 0, 0.09)) !default; // 内容边框
|
|
714
|
+
$-card-rectangle-title-padding: var(--wot-card-rectangle-title-padding, 15px 15px 12px) !default; // 矩形卡片头部内边距
|
|
715
|
+
$-card-rectangle-content-padding: var(--wot-card-rectangle-content-padding, 16px 0) !default; // 矩形卡片内容内边距
|
|
716
|
+
$-card-rectangle-footer-padding: var(--wot-card-rectangle-footer-padding, 12px 0) !default; // 矩形卡片底部内边距
|
|
1088
717
|
$-card-content-color: var(--wot-card-content-color, rgba(0, 0, 0, 0.45)) !default; // 文本内容颜色
|
|
1089
718
|
$-card-content-line-height: var(--wot-card-content-line-height, 1.428) !default; // 文本内容行高
|
|
1090
719
|
$-card-content-margin: var(--wot-card-content-margin, 13px 0 12px) !default; // 内容外边距
|
|
1091
|
-
$-card-content-rectangle-margin: var(
|
|
1092
|
-
|
|
1093
|
-
14px 0 12px
|
|
1094
|
-
) !default; // 矩形卡片内容外边距
|
|
720
|
+
$-card-content-rectangle-margin: var(--wot-card-content-rectangle-margin, 14px 0 12px) !default; // 矩形卡片内容外边距
|
|
721
|
+
|
|
1095
722
|
/* upload */
|
|
1096
723
|
$-upload-size: var(--wot-upload-size, 80px) !default; // upload的外边框默认尺寸
|
|
1097
724
|
$-upload-evoke-icon-size: var(--wot-upload-evoke-icon-size, 32px) !default; // 唤起项的图标大小
|
|
1098
725
|
$-upload-evoke-bg: var(--wot-upload-evoke-bg, rgba(0, 0, 0, 0.04)) !default; // 唤起项的背景色
|
|
1099
|
-
$-upload-evoke-color: var(
|
|
1100
|
-
|
|
1101
|
-
rgba(0, 0, 0, 0.25)
|
|
1102
|
-
) !default; // 唤起项的图标颜色
|
|
1103
|
-
$-upload-evoke-disabled-color: var(
|
|
1104
|
-
--wot-upload-evoke-disabled-color,
|
|
1105
|
-
rgba(0, 0, 0, 0.09)
|
|
1106
|
-
) !default; // 唤起项禁用颜色
|
|
726
|
+
$-upload-evoke-color: var(--wot-upload-evoke-color, rgba(0, 0, 0, 0.25)) !default; // 唤起项的图标颜色
|
|
727
|
+
$-upload-evoke-disabled-color: var(--wot-upload-evoke-disabled-color, rgba(0, 0, 0, 0.09)) !default; // 唤起项禁用颜色
|
|
1107
728
|
$-upload-close-icon-size: var(--wot-upload-close-icon-size, 16px) !default; // 移除按钮尺寸
|
|
1108
|
-
$-upload-close-icon-color: var(
|
|
1109
|
-
--wot-upload-close-icon-color,
|
|
1110
|
-
rgba(0, 0, 0, 0.65)
|
|
1111
|
-
) !default; // 移除按钮颜色
|
|
729
|
+
$-upload-close-icon-color: var(--wot-upload-close-icon-color, rgba(0, 0, 0, 0.65)) !default; // 移除按钮颜色
|
|
1112
730
|
$-upload-progress-fs: var(--wot-upload-progress-fs, 14px) !default; // 进度文字字号
|
|
1113
731
|
$-upload-file-fs: var(--wot-upload-file-fs, 12px) !default; // 文件名字号
|
|
1114
732
|
$-upload-file-color: var(--wot-upload-file-color, $-color-secondary) !default; // 文件名字颜色
|
|
1115
733
|
$-upload-preview-name-fs: var(--wot-upload-preview-name-fs, 12px) !default; // 预览图片名字号
|
|
1116
734
|
$-upload-preview-icon-size: var(--wot-upload-preview-icon-size, 24px) !default; // 预览内部图标尺寸
|
|
1117
|
-
$-upload-preview-name-bg: var(
|
|
1118
|
-
|
|
1119
|
-
rgba(0, 0, 0, 0.6)
|
|
1120
|
-
) !default; // 预览文件名背景色
|
|
1121
|
-
$-upload-preview-name-height: var(
|
|
1122
|
-
--wot-upload-preview-name-height,
|
|
1123
|
-
22px
|
|
1124
|
-
) !default; // 预览文件名背景高度
|
|
735
|
+
$-upload-preview-name-bg: var(--wot-upload-preview-name-bg, rgba(0, 0, 0, 0.6)) !default; // 预览文件名背景色
|
|
736
|
+
$-upload-preview-name-height: var(--wot-upload-preview-name-height, 22px) !default; // 预览文件名背景高度
|
|
1125
737
|
$-upload-cover-icon-size: var(--wot-upload-cover-icon-size, 22px) !default; // 视频/文件图标尺寸
|
|
738
|
+
|
|
1126
739
|
/* curtain */
|
|
1127
740
|
$-curtain-content-radius: var(--wot-curtain-content-radius, 24px) !default; // 内容圆角
|
|
1128
|
-
$-curtain-content-close-color: var(
|
|
1129
|
-
--wot-curtain-content-close-color,
|
|
1130
|
-
$-color-white
|
|
1131
|
-
) !default; // 关闭按钮颜色
|
|
741
|
+
$-curtain-content-close-color: var(--wot-curtain-content-close-color, $-color-white) !default; // 关闭按钮颜色
|
|
1132
742
|
$-curtain-content-close-fs: var(--wot-curtain-content-close-fs, $-fs-big) !default; // 关闭按钮大小
|
|
743
|
+
|
|
1133
744
|
/* notify */
|
|
1134
745
|
$-notify-text-color: var(--wot-notify-text-color, $-color-white) !default;
|
|
1135
746
|
$-notify-padding: var(--wot-notify-padding, 8px 16px) !default;
|
|
@@ -1139,13 +750,11 @@ $-notify-primary-background: var(--wot-notify-primary-background, $-color-theme)
|
|
|
1139
750
|
$-notify-success-background: var(--wot-notify-success-background, $-color-success) !default;
|
|
1140
751
|
$-notify-danger-background: var(--wot-notify-danger-background, $-color-danger) !default;
|
|
1141
752
|
$-notify-warning-background: var(--wot-notify-warning-background, $-color-warning) !default;
|
|
753
|
+
|
|
1142
754
|
/* skeleton */
|
|
1143
755
|
$-skeleton-background-color: var(--wot-skeleton-background-color, #eee) !default;
|
|
1144
756
|
$-skeleton-animation-gradient: var(--wot-skeleton-animation-gradient, rgba(0, 0, 0, 0.04)) !default;
|
|
1145
|
-
$-skeleton-animation-flashed: var(
|
|
1146
|
-
--wot-skeleton-animation-flashed,
|
|
1147
|
-
rgba(230, 230, 230, 0.3)
|
|
1148
|
-
) !default;
|
|
757
|
+
$-skeleton-animation-flashed: var(--wot-skeleton-animation-flashed, rgba(230, 230, 230, 0.3)) !default;
|
|
1149
758
|
$-skeleton-text-height-default: var(--wot-skeleton-text-height-default, 16px) !default;
|
|
1150
759
|
$-skeleton-rect-height-default: var(--wot-skeleton-rect-height-default, 16px) !default;
|
|
1151
760
|
$-skeleton-circle-height-default: var(--wot-skeleton-circle-height-default, 48px) !default;
|
|
@@ -1153,11 +762,17 @@ $-skeleton-row-margin-bottom: var(--wot-skeleton-row-margin-bottom, 16px) !defau
|
|
|
1153
762
|
$-skeleton-border-radius-text: var(--wot-skeleton-border-radius-text, 2px) !default;
|
|
1154
763
|
$-skeleton-border-radius-rect: var(--wot-skeleton-border-radius-rect, 4px) !default;
|
|
1155
764
|
$-skeleton-border-radius-circle: var(--wot-skeleton-border-radius-circle, 50%) !default;
|
|
765
|
+
|
|
1156
766
|
/* circle */
|
|
1157
767
|
$-circle-text-color: var(--wot-circle-text-color, $-color-content) !default; // circle文字颜色
|
|
768
|
+
|
|
1158
769
|
/* swiper */
|
|
1159
770
|
$-swiper-radius: var(--wot-swiper-radius, 8px);
|
|
1160
771
|
$-swiper-item-padding: var(--wot-swiper-item-padding, 0);
|
|
772
|
+
$-swiper-item-text-color: var(--wot-swiper-item-text-color, #ffffff);
|
|
773
|
+
$-swiper-item-text-fs: var(--wot-swiper-item-text-fs, $-fs-title);
|
|
774
|
+
|
|
775
|
+
|
|
1161
776
|
/* swiper-nav */
|
|
1162
777
|
// dot & dots-bar
|
|
1163
778
|
$-swiper-nav-dot-color: var(--wot-swiper-nav-dot-color, $-font-white-2) !default;
|
|
@@ -1173,18 +788,14 @@ $-swiper-nav-fraction-font-size: var(--wot-swiper-nav-fraction-font-size, 24rpx)
|
|
|
1173
788
|
$-swiper-nav-btn-color: var(--wot-swiper-nav-btn-color, $-font-white-1) !default;
|
|
1174
789
|
$-swiper-nav-btn-bg-color: var(--wot-swiper-nav-btn-bg-color, $-font-gray-3) !default;
|
|
1175
790
|
$-swiper-nav-btn-size: var(--wot-swiper-nav-btn-size, 48rpx) !default;
|
|
791
|
+
|
|
1176
792
|
/* segmented */
|
|
1177
793
|
$-segmented-padding: var(--wot-segmented-padding, 4px) !default; // 分段器padding
|
|
1178
794
|
$-segmented-item-bg-color: var(--wot-segmented-item-bg-color, #eeeeee) !default;
|
|
1179
|
-
$-segmented-item-color: var(
|
|
1180
|
-
--wot-segmented-item-color,
|
|
1181
|
-
rgba(0, 0, 0, 0.85)
|
|
1182
|
-
) !default; // 标题文字颜色
|
|
795
|
+
$-segmented-item-color: var(--wot-segmented-item-color, rgba(0, 0, 0, 0.85)) !default; // 标题文字颜色
|
|
1183
796
|
$-segmented-item-acitve-bg: var(--wot-segmented-item-acitve-bg, #ffffff) !default; // 标题文字颜色
|
|
1184
|
-
$-segmented-item-disabled-color: var(
|
|
1185
|
-
|
|
1186
|
-
rgba(0, 0, 0, 0.25)
|
|
1187
|
-
) !default; // 标题文字禁用颜色
|
|
797
|
+
$-segmented-item-disabled-color: var(--wot-segmented-item-disabled-color, rgba(0, 0, 0, 0.25)) !default; // 标题文字禁用颜色
|
|
798
|
+
|
|
1188
799
|
/* tabbar */
|
|
1189
800
|
$-tabbar-height: var(--wot-tabbar-height, 50px) !default;
|
|
1190
801
|
$-tabbar-box-shadow: var(
|
|
@@ -1193,57 +804,45 @@ $-tabbar-box-shadow: var(
|
|
|
1193
804
|
0 16px 24px 2px rgba(0, 0, 0, 0.04),
|
|
1194
805
|
0 8px 10px -5px rgba(0, 0, 0, 0.08)
|
|
1195
806
|
) !default; // round类型tabbar阴影
|
|
807
|
+
|
|
1196
808
|
/* tabbar-item */
|
|
1197
|
-
$-tabbar-item-title-font-size: var(
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
) !default; // tabbar选项文字大小
|
|
1201
|
-
$-tabbar-item-title-line-height: var(
|
|
1202
|
-
--wot-tabbar-item-title-line-height,
|
|
1203
|
-
initial
|
|
1204
|
-
) !default; // tabbar选项标题文字行高
|
|
1205
|
-
$-tabbar-inactive-color: var(
|
|
1206
|
-
--wot-tabbar-inactive-color,
|
|
1207
|
-
$-color-title
|
|
1208
|
-
) !default; // 标题文字和图标颜色
|
|
809
|
+
$-tabbar-item-title-font-size: var(--wot-tabbar-item-title-font-size, 10px) !default; // tabbar选项文字大小
|
|
810
|
+
$-tabbar-item-title-line-height: var(--wot-tabbar-item-title-line-height, initial) !default; // tabbar选项标题文字行高
|
|
811
|
+
$-tabbar-inactive-color: var(--wot-tabbar-inactive-color, $-color-title) !default; // 标题文字和图标颜色
|
|
1209
812
|
$-tabbar-active-color: var(--wot-tabbar-active-color, $-color-theme) !default; // 选中文字和图标颜色
|
|
1210
813
|
$-tabbar-item-icon-size: var(--wot-tabbar-item-icon-size, 20px) !default; // tabbar选项图标大小
|
|
814
|
+
|
|
1211
815
|
/* navbar */
|
|
1212
816
|
$-navbar-height: var(--wot-navbar-height, 44px) !default; // navbar高度
|
|
1213
817
|
$-navbar-color: var(--wot-navbar-color, $-font-gray-1) !default; // navbar字体颜色
|
|
1214
818
|
$-navbar-background: var(--wot-navbar-background, $-color-white) !default; // navbar背景颜色
|
|
1215
819
|
$-navbar-arrow-size: var(--wot-navbar-arrow-size, 24px) !default; // navbar左箭头图标大小
|
|
1216
820
|
$-navbar-desc-font-size: var(--wot-navbar-desc-font-size, 16px); // navbar 左箭头字体大小
|
|
1217
|
-
$-navbar-desc-font-color: var(
|
|
1218
|
-
--wot-navbar-desc-font-color,
|
|
1219
|
-
$-font-gray-1
|
|
1220
|
-
) !default; // navbar左右两侧字体颜色
|
|
821
|
+
$-navbar-desc-font-color: var(--wot-navbar-desc-font-color, $-font-gray-1) !default; // navbar左右两侧字体颜色
|
|
1221
822
|
$-navbar-title-font-size: var(--wot-navbar-title-font-size, 18px); // navbar title字体大小
|
|
1222
823
|
$-navbar-title-font-weight: var(--wot-navbar-title-font-weight, 600); // navbar title字重
|
|
1223
|
-
$-navbar-disabled-opacity: var(
|
|
1224
|
-
--wot-navbar-disabled-opacity,
|
|
1225
|
-
0.6
|
|
1226
|
-
) !default; // navbar左右两侧字体禁用
|
|
824
|
+
$-navbar-disabled-opacity: var(--wot-navbar-disabled-opacity, 0.6) !default; // navbar左右两侧字体禁用
|
|
1227
825
|
$-navbar-hover-color: var(--wot-navbar-hover-color, #eee) !default; // navbar hover样式
|
|
826
|
+
|
|
1228
827
|
/* navbar-capsule */
|
|
1229
828
|
$-navbar-capsule-border-color: var(--wot-navbar-capsule-border-color, #e7e7e7) !default;
|
|
1230
829
|
$-navbar-capsule-border-radius: var(--wot-navbar-capsule-border-radius, 16px) !default;
|
|
1231
830
|
$-navbar-capsule-width: var(--wot-navbar-capsule-width, 88px) !default;
|
|
1232
831
|
$-navbar-capsule-height: var(--wot-navbar-capsule-height, 32px) !default;
|
|
1233
|
-
$-navbar-capsule-icon-size: var(
|
|
1234
|
-
|
|
1235
|
-
20px
|
|
1236
|
-
) !default; // navbar capsule图标大小
|
|
832
|
+
$-navbar-capsule-icon-size: var(--wot-navbar-capsule-icon-size, 20px) !default; // navbar capsule图标大小
|
|
833
|
+
|
|
1237
834
|
/* table */
|
|
1238
835
|
$-table-color: var(--wot-table-color, $-font-gray-1) !default; // 表格字体颜色
|
|
1239
836
|
$-table-bg: var(--wot-table-bg, #ffffff) !default; // 表格背景颜色
|
|
1240
837
|
$-table-stripe-bg: var(--wot-table-stripe-bg, #f3f3f3) !default; // 表格背景颜色
|
|
1241
838
|
$-table-border-color: var(--wot-table-border-color, #ececec) !default; // 表格边框颜色
|
|
1242
839
|
$-table-font-size: var(--wot-table-font-size, 13px) !default; // 表格字体大小
|
|
840
|
+
|
|
1243
841
|
/* sidebar */
|
|
1244
842
|
$-sidebar-bg: var(--wot-sidebar-bg, $-color-gray-1) !default; // 侧边栏背景色
|
|
1245
843
|
$-sidebar-width: var(--wot-sidebar-width, 104px) !default; // 侧边栏宽度
|
|
1246
844
|
$-sidebar-height: var(--wot-sidebar-height, 100%) !default; // 侧边栏高度
|
|
845
|
+
|
|
1247
846
|
/* sidebar-item */
|
|
1248
847
|
$-sidebar-color: var(--wot-sidebar-color, $-font-gray-1) !default;
|
|
1249
848
|
$-sidebar-item-height: var(--wot-sidebar-item-height, 56px) !default;
|
|
@@ -1257,37 +856,47 @@ $-sidebar-font-size: var(--wot-sidebar-font-size, 16px) !default;
|
|
|
1257
856
|
$-sidebar-icon-size: var(--wot-sidebar-icon-size, 20px) !default;
|
|
1258
857
|
$-sidebar-active-border-width: var(--wot-sidebar-active-border-width, 4px) !default;
|
|
1259
858
|
$-sidebar-active-border-height: var(--wot-sidebar-active-border-height, 16px) !default;
|
|
859
|
+
|
|
1260
860
|
/* fab */
|
|
1261
861
|
$-fab-trigger-height: var(--wot-fab-trigger-height, 56px) !default;
|
|
1262
862
|
$-fab-trigger-width: var(--wot-fab-trigger-width, 56px) !default;
|
|
1263
863
|
$-fab-actions-padding: var(--wot-actions-padding, 12px) !default;
|
|
1264
864
|
$-fab-icon-fs: var(--wot-fab-icon-fs, 20px) !default;
|
|
865
|
+
|
|
1265
866
|
/* count-down */
|
|
1266
867
|
$-count-down-text-color: var(--wot-count-down-text-color, $-color-gray-8) !default;
|
|
1267
868
|
$-count-down-font-size: var(--wot-count-down-font-size, $-fs-content) !default;
|
|
1268
869
|
$-count-down-line-height: var(--wot-count-down-line-height, 20px) !default;
|
|
870
|
+
|
|
871
|
+
/* keyboard */
|
|
872
|
+
$-keyboard-key-height: var(--wot-keyboard-key-height, 48px) !default;
|
|
873
|
+
$-keyboard-key-font-size: var(--wot-keyboard-key-font-size, 28px) !default;
|
|
874
|
+
$-keyboard-key-background: var(--wot-keyboard-key-background, $-color-white) !default;
|
|
875
|
+
$-keyboard-key-border-radius: var(--wot-keyboard-key-border-radius, 8px) !default;
|
|
876
|
+
$-keyboard-delete-font-size: var(--wot-keyboard-delete-font-size, 16px) !default;
|
|
877
|
+
$-keyboard-key-active-color: var(--wot-keyboard-key-active-color, $-color-gray-3) !default;
|
|
878
|
+
$-keyboard-button-text-color: var(--wot-keyboard-button-text-color, $-color-white) !default;
|
|
879
|
+
$-keyboard-button-background: var(--wot-keyboard--button-background, $-color-theme) !default;
|
|
880
|
+
$-keyboard-button-active-opacity: var(--wot-keyboard-button-active-opacity, 0.6) !default;
|
|
881
|
+
$-keyboard-background: var(--wot-keyboard-background, $-color-gray-2) !default;
|
|
882
|
+
$-keyboard-title-height: var(--wot-keyboard-title-height, 34px) !default;
|
|
883
|
+
$-keyboard-title-color: var(--wot-keyboard-title-color, $-color-gray-7) !default;
|
|
884
|
+
$-keyboard-title-font-size: var(--wot-keyboard-title-font-size, 16px) !default;
|
|
885
|
+
$-keyboard-close-padding: var(--wot-keyboard-title-font-size, 0 16px) !default;
|
|
886
|
+
$-keyboard-close-color: var(--wot-keyboard-close-color, $-color-theme) !default;
|
|
887
|
+
$-keyboard-close-font-size: var(--wot-keyboard-close-font-size, 14px) !default;
|
|
888
|
+
$-keyboard-icon-size: var(--wot-keyboard-icon-size, 22px) !default;
|
|
889
|
+
|
|
1269
890
|
/* number-keyboard */
|
|
1270
891
|
$-number-keyboard-key-height: var(--wot-number-keyboard-key-height, 48px) !default;
|
|
1271
892
|
$-number-keyboard-key-font-size: var(--wot-number-keyboard-key-font-size, 28px) !default;
|
|
1272
893
|
$-number-keyboard-key-background: var(--wot-number-keyboard-key-background, $-color-white) !default;
|
|
1273
894
|
$-number-keyboard-key-border-radius: var(--wot-number-keyboard-key-border-radius, 8px) !default;
|
|
1274
895
|
$-number-keyboard-delete-font-size: var(--wot-number-keyboard-delete-font-size, 16px) !default;
|
|
1275
|
-
$-number-keyboard-key-active-color: var(
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
) !default;
|
|
1279
|
-
$-number-keyboard-button-text-color: var(
|
|
1280
|
-
--wot-number-keyboard-button-text-color,
|
|
1281
|
-
$-color-white
|
|
1282
|
-
) !default;
|
|
1283
|
-
$-number-keyboard-button-background: var(
|
|
1284
|
-
--wot-number-keyboard--button-background,
|
|
1285
|
-
$-color-theme
|
|
1286
|
-
) !default;
|
|
1287
|
-
$-number-keyboard-button-active-opacity: var(
|
|
1288
|
-
--wot-number-keyboard-button-active-opacity,
|
|
1289
|
-
0.6
|
|
1290
|
-
) !default;
|
|
896
|
+
$-number-keyboard-key-active-color: var(--wot-number-keyboard-key-active-color, $-color-gray-3) !default;
|
|
897
|
+
$-number-keyboard-button-text-color: var(--wot-number-keyboard-button-text-color, $-color-white) !default;
|
|
898
|
+
$-number-keyboard-button-background: var(--wot-number-keyboard--button-background, $-color-theme) !default;
|
|
899
|
+
$-number-keyboard-button-active-opacity: var(--wot-number-keyboard-button-active-opacity, 0.6) !default;
|
|
1291
900
|
$-number-keyboard-background: var(--wot-number-keyboard-background, $-color-gray-2) !default;
|
|
1292
901
|
$-number-keyboard-title-height: var(--wot-number-keyboard-title-height, 34px) !default;
|
|
1293
902
|
$-number-keyboard-title-color: var(--wot-number-keyboard-title-color, $-color-gray-7) !default;
|
|
@@ -1296,6 +905,7 @@ $-number-keyboard-close-padding: var(--wot-number-keyboard-title-font-size, 0 16
|
|
|
1296
905
|
$-number-keyboard-close-color: var(--wot-number-keyboard-close-color, $-color-theme) !default;
|
|
1297
906
|
$-number-keyboard-close-font-size: var(--wot-number-keyboard-close-font-size, 14px) !default;
|
|
1298
907
|
$-number-keyboard-icon-size: var(--wot-number-keyboard-icon-size, 22px) !default;
|
|
908
|
+
|
|
1299
909
|
/* passwod-input */
|
|
1300
910
|
$-password-input-height: var(--wot-password-input-height, 50px);
|
|
1301
911
|
$-password-input-margin: var(--wot-password-input-margin, 16px);
|
|
@@ -1313,34 +923,52 @@ $-password-input-cursor-color: var(--wot-password-input-cursor-color, $-color-gr
|
|
|
1313
923
|
$-password-input-cursor-width: var(--wot-password-input-cursor-width, 1px);
|
|
1314
924
|
$-password-input-cursor-height: var(--wot-password-input-cursor-height, 40%);
|
|
1315
925
|
$-password-input-cursor-duration: var(--wot-password-input-cursor-duration, 1s);
|
|
926
|
+
|
|
1316
927
|
/* form-item */
|
|
1317
928
|
$-form-item-error-message-color: var(--wot-form-item-error-message-color, $-color-danger) !default;
|
|
1318
|
-
$-form-item-error-message-font-size: var(
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
) !default;
|
|
1322
|
-
$-form-item-error-message-line-height: var(
|
|
1323
|
-
--wot-form-item-error-message-line-height,
|
|
1324
|
-
24px
|
|
1325
|
-
) !default;
|
|
929
|
+
$-form-item-error-message-font-size: var(--wot-form-item-error-message-font-size, $-fs-secondary) !default;
|
|
930
|
+
$-form-item-error-message-line-height: var(--wot-form-item-error-message-line-height, 24px) !default;
|
|
931
|
+
|
|
1326
932
|
/* backtop */
|
|
1327
933
|
$-backtop-bg: var(--wot-backtop-bg, #e1e1e1) !default;
|
|
1328
934
|
$-backtop-icon-size: var(--wot-backtop-icon-size, 20px) !default;
|
|
935
|
+
|
|
1329
936
|
/* index-bar */
|
|
1330
937
|
$-index-bar-index-font-size: var(--wot-index-bar-index-font-size, $-fs-aid) !default;
|
|
938
|
+
|
|
1331
939
|
/* text */
|
|
1332
940
|
$-text-info-color: var(--wot-text-info-color, $-color-info) !default;
|
|
1333
941
|
$-text-primary-color: var(--wot-text-primary-color, $-color-theme) !default;
|
|
1334
942
|
$-text-error-color: var(--wot-text-error-color, $-color-danger) !default;
|
|
1335
943
|
$-text-warning-color: var(--wot-text-warning-color, $-color-warning) !default;
|
|
1336
944
|
$-text-success-color: var(--wot-text-success-color, $-color-success) !default;
|
|
945
|
+
|
|
1337
946
|
/* video-preview */
|
|
1338
947
|
$-video-preview-bg: var(--wot-video-preview-bg, rgba(0, 0, 0, 0.8)) !default; // 背景色
|
|
1339
948
|
$-video-preview-close-color: var(--wot-video-preview-close-color, #fff) !default; // 图标颜色
|
|
1340
|
-
$-video-preview-close-font-size: var(
|
|
1341
|
-
|
|
1342
|
-
20px
|
|
1343
|
-
) !default; // 图标大小
|
|
949
|
+
$-video-preview-close-font-size: var(--wot-video-preview-close-font-size, 20px) !default; // 图标大小
|
|
950
|
+
|
|
1344
951
|
/* img-cropper */
|
|
1345
952
|
$-img-cropper-icon-size: var(--wot-img-cropper-icon-size, $-fs-big) !default; // 图标大小
|
|
1346
953
|
$-img-cropper-icon-color: var(--wot-img-cropper-icon-color, #fff) !default; // 图标颜色
|
|
954
|
+
|
|
955
|
+
/* floating-panel */
|
|
956
|
+
$-floating-panel-bg: var(--wot-floating-panel-bg, $-color-white) !default; // 背景色
|
|
957
|
+
$-floating-panel-radius: var(--wot-floating-panel-radius, 16px) !default; // 圆角
|
|
958
|
+
$-floating-panel-z-index: var(--wot-floating-panel-z-index, 99) !default; // 层级
|
|
959
|
+
$-floating-panel-header-height: var(--wot-floating-panel-header-height, 30px) !default; // 头部高度
|
|
960
|
+
$-floating-panel-bar-width: var(--wot-floating-panel-bar-width, 20px) !default; // bar 宽度
|
|
961
|
+
$-floating-panel-bar-height: var(--wot-floating-panel-bar-height, 3px) !default; // bar 高度
|
|
962
|
+
$-floating-panel-bar-bg: var(--wot-floating-panel-bar-bg, $-color-gray-5) !default; // bar 背景色
|
|
963
|
+
$-floating-panel-bar-radius: var(--wot-floating-panel-bar-radius, 4px) !default; // bar 圆角
|
|
964
|
+
$-floating-panel-content-bg: var(--wot-floating-panel-content-bg, $-color-white) !default; // 内容背景色
|
|
965
|
+
|
|
966
|
+
/* signature */
|
|
967
|
+
$-signature-bg: var(--wot-signature-bg, $-color-white) !default; // 背景色
|
|
968
|
+
$-signature-radius: var(--wot-signature-radius, 4px) !default; // 圆角
|
|
969
|
+
$-signature-border: var(--wot-signature-border, 1px solid $-color-gray-5) !default; // 边框圆角
|
|
970
|
+
$-signature-footer-margin-top: var(--wot-signature-footer-margin-top, 8px) !default; // 底部按钮上边距
|
|
971
|
+
$-signature-button-margin-left: var(--wot-signature-button-margin-left, 8px) !default; // 底部按钮左边距
|
|
972
|
+
|
|
973
|
+
|
|
974
|
+
|