tlvant 0.0.20 → 0.0.22
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/LICENSE +21 -21
- package/README.en.md +36 -36
- package/README.md +40 -40
- package/package.json +98 -98
- package/es/action-sheet/index.css +0 -1
- package/es/action-sheet/index.js +0 -177
- package/es/action-sheet/index.less +0 -112
- package/es/action-sheet/style/index.js +0 -7
- package/es/action-sheet/style/less.js +0 -7
- package/es/area/index.js +0 -321
- package/es/area/style/index.js +0 -3
- package/es/area/style/less.js +0 -3
- package/es/button/index.css +0 -1
- package/es/button/index.js +0 -171
- package/es/button/index.less +0 -238
- package/es/button/style/index.js +0 -5
- package/es/button/style/less.js +0 -5
- package/es/calendar/components/Header.js +0 -55
- package/es/calendar/components/Month.js +0 -383
- package/es/calendar/index.css +0 -1
- package/es/calendar/index.js +0 -539
- package/es/calendar/index.less +0 -210
- package/es/calendar/style/index.js +0 -9
- package/es/calendar/style/less.js +0 -9
- package/es/calendar/utils.js +0 -66
- package/es/cell/index.css +0 -1
- package/es/cell/index.js +0 -121
- package/es/cell/index.less +0 -103
- package/es/cell/shared.js +0 -24
- package/es/cell/style/index.js +0 -4
- package/es/cell/style/less.js +0 -4
- package/es/cell-group/index.css +0 -1
- package/es/cell-group/index.js +0 -34
- package/es/cell-group/index.less +0 -12
- package/es/cell-group/style/index.js +0 -2
- package/es/cell-group/style/less.js +0 -2
- package/es/checkbox/index.css +0 -1
- package/es/checkbox/index.js +0 -80
- package/es/checkbox/index.less +0 -85
- package/es/checkbox/style/index.js +0 -4
- package/es/checkbox/style/less.js +0 -4
- package/es/checkbox-group/index.css +0 -1
- package/es/checkbox-group/index.js +0 -64
- package/es/checkbox-group/index.less +0 -8
- package/es/checkbox-group/style/index.js +0 -2
- package/es/checkbox-group/style/less.js +0 -2
- package/es/collapse/index.js +0 -39
- package/es/collapse/style/index.js +0 -1
- package/es/collapse/style/less.js +0 -1
- package/es/collapse-item/index.css +0 -1
- package/es/collapse-item/index.js +0 -198
- package/es/collapse-item/index.less +0 -67
- package/es/collapse-item/style/index.js +0 -5
- package/es/collapse-item/style/less.js +0 -5
- package/es/contact-card/index.css +0 -1
- package/es/contact-card/index.js +0 -59
- package/es/contact-card/index.less +0 -42
- package/es/contact-card/style/index.js +0 -5
- package/es/contact-card/style/less.js +0 -5
- package/es/contact-edit/index.css +0 -1
- package/es/contact-edit/index.js +0 -193
- package/es/contact-edit/index.less +0 -30
- package/es/contact-edit/style/index.js +0 -14
- package/es/contact-edit/style/less.js +0 -14
- package/es/contact-list/index.css +0 -1
- package/es/contact-list/index.js +0 -119
- package/es/contact-list/index.less +0 -54
- package/es/contact-list/style/index.js +0 -10
- package/es/contact-list/style/less.js +0 -10
- package/es/datetime-picker/DatePicker.js +0 -246
- package/es/datetime-picker/TimePicker.js +0 -104
- package/es/datetime-picker/index.js +0 -29
- package/es/datetime-picker/shared.js +0 -110
- package/es/datetime-picker/style/index.js +0 -3
- package/es/datetime-picker/style/less.js +0 -3
- package/es/datetime-picker/utils.js +0 -29
- package/es/demo-button/index-sfc.css +0 -1
- package/es/demo-button/index-sfc.less +0 -9
- package/es/demo-button/index.js +0 -27
- package/es/demo-button/style/index.js +0 -1
- package/es/demo-button/style/less.js +0 -1
- package/es/dialog/Dialog.js +0 -246
- package/es/dialog/index.css +0 -1
- package/es/dialog/index.js +0 -104
- package/es/dialog/index.less +0 -153
- package/es/dialog/style/index.js +0 -10
- package/es/dialog/style/less.js +0 -10
- package/es/dropdown-item/index.css +0 -1
- package/es/dropdown-item/index.js +0 -210
- package/es/dropdown-item/index.less +0 -39
- package/es/dropdown-item/style/index.js +0 -7
- package/es/dropdown-item/style/less.js +0 -7
- package/es/dropdown-menu/index.css +0 -1
- package/es/dropdown-menu/index.js +0 -132
- package/es/dropdown-menu/index.less +0 -77
- package/es/dropdown-menu/style/index.js +0 -2
- package/es/dropdown-menu/style/less.js +0 -2
- package/es/empty/Network.js +0 -193
- package/es/empty/index.css +0 -1
- package/es/empty/index.js +0 -81
- package/es/empty/index.less +0 -32
- package/es/empty/style/index.js +0 -2
- package/es/empty/style/less.js +0 -2
- package/es/field/index.css +0 -1
- package/es/field/index.js +0 -623
- package/es/field/index.less +0 -172
- package/es/field/style/index.js +0 -5
- package/es/field/style/less.js +0 -5
- package/es/form/index.js +0 -200
- package/es/form/style/index.js +0 -1
- package/es/form/style/less.js +0 -1
- package/es/goods-action/index.css +0 -1
- package/es/goods-action/index.js +0 -24
- package/es/goods-action/index.less +0 -19
- package/es/goods-action/style/index.js +0 -2
- package/es/goods-action/style/less.js +0 -2
- package/es/goods-action-button/index.css +0 -1
- package/es/goods-action-button/index.js +0 -57
- package/es/goods-action-button/index.less +0 -34
- package/es/goods-action-button/style/index.js +0 -6
- package/es/goods-action-button/style/less.js +0 -6
- package/es/icon/index.css +0 -1
- package/es/icon/index.js +0 -74
- package/es/icon/index.less +0 -11
- package/es/icon/local.css +0 -1
- package/es/icon/local.less +0 -1
- package/es/icon/style/index.js +0 -3
- package/es/icon/style/less.js +0 -3
- package/es/image/index.css +0 -1
- package/es/image/index.js +0 -189
- package/es/image/index.less +0 -47
- package/es/image/style/index.js +0 -4
- package/es/image/style/less.js +0 -4
- package/es/image-preview/ImagePreview.js +0 -234
- package/es/image-preview/ImagePreviewItem.js +0 -242
- package/es/image-preview/index.css +0 -1
- package/es/image-preview/index.js +0 -86
- package/es/image-preview/index.less +0 -103
- package/es/image-preview/shared.js +0 -7
- package/es/image-preview/style/index.js +0 -10
- package/es/image-preview/style/less.js +0 -10
- package/es/index-anchor/index.css +0 -1
- package/es/index-anchor/index.js +0 -83
- package/es/index-anchor/index.less +0 -21
- package/es/index-anchor/style/index.js +0 -2
- package/es/index-anchor/style/less.js +0 -2
- package/es/index-bar/index.css +0 -1
- package/es/index-bar/index.js +0 -222
- package/es/index-bar/index.less +0 -27
- package/es/index-bar/style/index.js +0 -2
- package/es/index-bar/style/less.js +0 -2
- package/es/index.js +0 -80
- package/es/info/index.css +0 -1
- package/es/info/index.js +0 -30
- package/es/info/index.less +0 -29
- package/es/info/style/index.js +0 -2
- package/es/info/style/less.js +0 -2
- package/es/lazyload/index.js +0 -2
- package/es/lazyload/style/index.js +0 -1
- package/es/lazyload/style/less.js +0 -1
- package/es/list/index.css +0 -1
- package/es/list/index.js +0 -178
- package/es/list/index.less +0 -21
- package/es/list/style/index.js +0 -3
- package/es/list/style/less.js +0 -3
- package/es/loading/index.css +0 -1
- package/es/loading/index.js +0 -86
- package/es/loading/index.less +0 -103
- package/es/loading/style/index.js +0 -2
- package/es/loading/style/less.js +0 -2
- package/es/locale/index.js +0 -27
- package/es/locale/lang/de-DE-formal.js +0 -90
- package/es/locale/lang/de-DE.js +0 -90
- package/es/locale/lang/en-US.js +0 -90
- package/es/locale/lang/es-ES.js +0 -90
- package/es/locale/lang/ja-JP.js +0 -91
- package/es/locale/lang/nb-NO.js +0 -90
- package/es/locale/lang/ro-RO.js +0 -90
- package/es/locale/lang/tr-TR.js +0 -90
- package/es/locale/lang/zh-CN.js +0 -91
- package/es/locale/lang/zh-HK.js +0 -91
- package/es/locale/lang/zh-TW.js +0 -91
- package/es/locale/style/index.js +0 -1
- package/es/locale/style/less.js +0 -1
- package/es/mixins/bind-event.js +0 -29
- package/es/mixins/checkbox.js +0 -139
- package/es/mixins/click-outside.js +0 -33
- package/es/mixins/close-on-popstate.js +0 -38
- package/es/mixins/field.js +0 -24
- package/es/mixins/popup/context.js +0 -10
- package/es/mixins/popup/index.js +0 -208
- package/es/mixins/popup/overlay.js +0 -76
- package/es/mixins/popup/type.js +0 -0
- package/es/mixins/portal.js +0 -48
- package/es/mixins/relation.js +0 -76
- package/es/mixins/slots.js +0 -23
- package/es/mixins/touch.js +0 -58
- package/es/nav-bar/index.css +0 -1
- package/es/nav-bar/index.js +0 -124
- package/es/nav-bar/index.less +0 -77
- package/es/nav-bar/style/index.js +0 -4
- package/es/nav-bar/style/less.js +0 -4
- package/es/number-keyboard/CollapseIcon.js +0 -16
- package/es/number-keyboard/DeleteIcon.js +0 -16
- package/es/number-keyboard/Key.js +0 -121
- package/es/number-keyboard/index.css +0 -1
- package/es/number-keyboard/index.js +0 -409
- package/es/number-keyboard/index.less +0 -191
- package/es/number-keyboard/style/index.js +0 -3
- package/es/number-keyboard/style/less.js +0 -3
- package/es/overlay/index.css +0 -1
- package/es/overlay/index.js +0 -53
- package/es/overlay/index.less +0 -11
- package/es/overlay/style/index.js +0 -2
- package/es/overlay/style/less.js +0 -2
- package/es/password-input/index.css +0 -1
- package/es/password-input/index.js +0 -84
- package/es/password-input/index.less +0 -83
- package/es/password-input/style/index.js +0 -2
- package/es/password-input/style/less.js +0 -2
- package/es/picker/PickerColumn.js +0 -300
- package/es/picker/index.css +0 -1
- package/es/picker/index.js +0 -383
- package/es/picker/index.less +0 -118
- package/es/picker/shared.js +0 -22
- package/es/picker/style/index.js +0 -3
- package/es/picker/style/less.js +0 -3
- package/es/popover/index.css +0 -1
- package/es/popover/index.js +0 -211
- package/es/popover/index.less +0 -270
- package/es/popover/style/index.js +0 -6
- package/es/popover/style/less.js +0 -6
- package/es/popup/index.css +0 -1
- package/es/popup/index.js +0 -111
- package/es/popup/index.less +0 -140
- package/es/popup/style/index.js +0 -5
- package/es/popup/style/less.js +0 -5
- package/es/pull-refresh/index.css +0 -1
- package/es/pull-refresh/index.js +0 -213
- package/es/pull-refresh/index.less +0 -25
- package/es/pull-refresh/style/index.js +0 -3
- package/es/pull-refresh/style/less.js +0 -3
- package/es/radio/index.css +0 -1
- package/es/radio/index.js +0 -32
- package/es/radio/index.less +0 -86
- package/es/radio/style/index.js +0 -4
- package/es/radio/style/less.js +0 -4
- package/es/radio-group/index.css +0 -1
- package/es/radio-group/index.js +0 -32
- package/es/radio-group/index.less +0 -8
- package/es/radio-group/style/index.js +0 -2
- package/es/radio-group/style/less.js +0 -2
- package/es/rate/index.css +0 -1
- package/es/rate/index.js +0 -227
- package/es/rate/index.less +0 -46
- package/es/rate/style/index.js +0 -4
- package/es/rate/style/less.js +0 -4
- package/es/search/index.css +0 -1
- package/es/search/index.js +0 -114
- package/es/search/index.less +0 -68
- package/es/search/style/index.js +0 -6
- package/es/search/style/less.js +0 -6
- package/es/slider/index.css +0 -1
- package/es/slider/index.js +0 -289
- package/es/slider/index.less +0 -94
- package/es/slider/style/index.js +0 -2
- package/es/slider/style/less.js +0 -2
- package/es/step/index.css +0 -1
- package/es/step/index.js +0 -115
- package/es/step/index.less +0 -151
- package/es/step/style/index.js +0 -4
- package/es/step/style/less.js +0 -4
- package/es/stepper/index.css +0 -1
- package/es/stepper/index.js +0 -355
- package/es/stepper/index.less +0 -129
- package/es/stepper/style/index.js +0 -2
- package/es/stepper/style/less.js +0 -2
- package/es/steps/index.css +0 -1
- package/es/steps/index.js +0 -35
- package/es/steps/index.less +0 -21
- package/es/steps/style/index.js +0 -2
- package/es/steps/style/less.js +0 -2
- package/es/sticky/index.css +0 -1
- package/es/sticky/index.js +0 -146
- package/es/sticky/index.less +0 -11
- package/es/sticky/style/index.js +0 -2
- package/es/sticky/style/less.js +0 -2
- package/es/style/animation.css +0 -1
- package/es/style/animation.less +0 -139
- package/es/style/base.css +0 -1
- package/es/style/base.less +0 -10
- package/es/style/clearfix.css +0 -1
- package/es/style/clearfix.less +0 -5
- package/es/style/ellipsis.css +0 -1
- package/es/style/ellipsis.less +0 -13
- package/es/style/hairline.css +0 -1
- package/es/style/hairline.less +0 -47
- package/es/style/iconfont.css +0 -1
- package/es/style/iconfont.less +0 -910
- package/es/style/mixins/clearfix.css +0 -0
- package/es/style/mixins/clearfix.less +0 -7
- package/es/style/mixins/ellipsis.css +0 -0
- package/es/style/mixins/ellipsis.less +0 -15
- package/es/style/mixins/hairline.css +0 -0
- package/es/style/mixins/hairline.less +0 -39
- package/es/style/normalize.css +0 -1
- package/es/style/normalize.less +0 -38
- package/es/style/reset.css +0 -1
- package/es/style/reset.less +0 -171
- package/es/style/var.css +0 -0
- package/es/style/var.less +0 -983
- package/es/swipe/index.css +0 -1
- package/es/swipe/index.js +0 -429
- package/es/swipe/index.less +0 -56
- package/es/swipe/style/index.js +0 -2
- package/es/swipe/style/less.js +0 -2
- package/es/swipe-item/index.css +0 -1
- package/es/swipe-item/index.js +0 -78
- package/es/swipe-item/index.less +0 -8
- package/es/swipe-item/style/index.js +0 -2
- package/es/swipe-item/style/less.js +0 -2
- package/es/switch/index.css +0 -1
- package/es/switch/index.js +0 -74
- package/es/switch/index.less +0 -57
- package/es/switch/shared.js +0 -19
- package/es/switch/style/index.js +0 -3
- package/es/switch/style/less.js +0 -3
- package/es/tab/index.css +0 -1
- package/es/tab/index.js +0 -102
- package/es/tab/index.less +0 -24
- package/es/tab/style/index.js +0 -2
- package/es/tab/style/less.js +0 -2
- package/es/tabs/Content.js +0 -78
- package/es/tabs/Title.js +0 -92
- package/es/tabs/index.css +0 -1
- package/es/tabs/index.js +0 -419
- package/es/tabs/index.less +0 -153
- package/es/tabs/style/index.js +0 -4
- package/es/tabs/style/less.js +0 -4
- package/es/tabs/utils.js +0 -43
- package/es/tag/index.css +0 -1
- package/es/tag/index.js +0 -74
- package/es/tag/index.less +0 -97
- package/es/tag/style/index.js +0 -4
- package/es/tag/style/less.js +0 -4
- package/es/toast/Toast.js +0 -155
- package/es/toast/index.css +0 -1
- package/es/toast/index.js +0 -189
- package/es/toast/index.less +0 -76
- package/es/toast/lock-click.js +0 -16
- package/es/toast/style/index.js +0 -7
- package/es/toast/style/less.js +0 -7
- package/es/types/address-edit.d.js +0 -11
- package/es/types/area.d.js +0 -11
- package/es/types/calendar.d.js +0 -11
- package/es/types/checkbox-group.d.js +0 -11
- package/es/types/checkbox.d.js +0 -11
- package/es/types/collapse-item.d.js +0 -11
- package/es/types/component.d.js +0 -11
- package/es/types/count-down.d.js +0 -11
- package/es/types/datetime-picker.d.js +0 -11
- package/es/types/dialog.d.js +0 -1
- package/es/types/dropdown-item.d.js +0 -11
- package/es/types/field.d.js +0 -11
- package/es/types/form.d.js +0 -11
- package/es/types/image-preview.d.js +0 -12
- package/es/types/index-bar.d.js +0 -11
- package/es/types/index.d.js +0 -590
- package/es/types/jsx.d.js +0 -0
- package/es/types/lazyload.d.js +0 -1
- package/es/types/list.d.js +0 -11
- package/es/types/locale.d.js +0 -1
- package/es/types/mixins/popup.d.js +0 -1
- package/es/types/notify.d.js +0 -2
- package/es/types/picker.d.js +0 -11
- package/es/types/progress.d.js +0 -11
- package/es/types/sku.d.js +0 -11
- package/es/types/swipe-cell.d.js +0 -11
- package/es/types/swipe.d.js +0 -11
- package/es/types/tabs.d.js +0 -11
- package/es/types/toast.d.js +0 -2
- package/es/types/uploader.d.js +0 -11
- package/es/uploader/index.css +0 -1
- package/es/uploader/index.js +0 -451
- package/es/uploader/index.less +0 -159
- package/es/uploader/style/index.js +0 -11
- package/es/uploader/style/less.js +0 -11
- package/es/uploader/utils.js +0 -57
- package/es/utils/constant.js +0 -10
- package/es/utils/create/bem.js +0 -39
- package/es/utils/create/component.js +0 -57
- package/es/utils/create/i18n.js +0 -16
- package/es/utils/create/index.js +0 -7
- package/es/utils/deep-assign.js +0 -24
- package/es/utils/deep-clone.js +0 -14
- package/es/utils/dom/event.js +0 -48
- package/es/utils/dom/node.js +0 -7
- package/es/utils/dom/raf.js +0 -36
- package/es/utils/dom/reset-scroll.js +0 -14
- package/es/utils/dom/scroll.js +0 -69
- package/es/utils/dom/style.js +0 -9
- package/es/utils/format/number.js +0 -47
- package/es/utils/format/string.js +0 -19
- package/es/utils/format/unit.js +0 -59
- package/es/utils/functional.js +0 -56
- package/es/utils/index.js +0 -29
- package/es/utils/interceptor.js +0 -22
- package/es/utils/router.js +0 -36
- package/es/utils/types.js +0 -0
- package/es/utils/validate/date.js +0 -4
- package/es/utils/validate/email.js +0 -5
- package/es/utils/validate/mobile.js +0 -4
- package/es/utils/validate/number.js +0 -11
- package/es/utils/validate/system.js +0 -9
- package/es/utils/vnodes.js +0 -36
- package/lib/action-sheet/index.css +0 -1
- package/lib/action-sheet/index.js +0 -194
- package/lib/action-sheet/index.less +0 -112
- package/lib/action-sheet/style/index.js +0 -7
- package/lib/action-sheet/style/less.js +0 -7
- package/lib/area/index.js +0 -331
- package/lib/area/style/index.js +0 -3
- package/lib/area/style/less.js +0 -3
- package/lib/button/index.css +0 -1
- package/lib/button/index.js +0 -188
- package/lib/button/index.less +0 -238
- package/lib/button/style/index.js +0 -5
- package/lib/button/style/less.js +0 -5
- package/lib/calendar/components/Header.js +0 -63
- package/lib/calendar/components/Month.js +0 -393
- package/lib/calendar/index.css +0 -1
- package/lib/calendar/index.js +0 -557
- package/lib/calendar/index.less +0 -210
- package/lib/calendar/style/index.js +0 -9
- package/lib/calendar/style/less.js +0 -9
- package/lib/calendar/utils.js +0 -91
- package/lib/cell/index.css +0 -1
- package/lib/cell/index.js +0 -137
- package/lib/cell/index.less +0 -103
- package/lib/cell/shared.js +0 -29
- package/lib/cell/style/index.js +0 -4
- package/lib/cell/style/less.js +0 -4
- package/lib/cell-group/index.css +0 -1
- package/lib/cell-group/index.js +0 -47
- package/lib/cell-group/index.less +0 -12
- package/lib/cell-group/style/index.js +0 -2
- package/lib/cell-group/style/less.js +0 -2
- package/lib/checkbox/index.css +0 -1
- package/lib/checkbox/index.js +0 -88
- package/lib/checkbox/index.less +0 -85
- package/lib/checkbox/style/index.js +0 -4
- package/lib/checkbox/style/less.js +0 -4
- package/lib/checkbox-group/index.css +0 -1
- package/lib/checkbox-group/index.js +0 -73
- package/lib/checkbox-group/index.less +0 -8
- package/lib/checkbox-group/style/index.js +0 -2
- package/lib/checkbox-group/style/less.js +0 -2
- package/lib/collapse/index.js +0 -48
- package/lib/collapse/style/index.js +0 -1
- package/lib/collapse/style/less.js +0 -1
- package/lib/collapse-item/index.css +0 -1
- package/lib/collapse-item/index.js +0 -213
- package/lib/collapse-item/index.less +0 -67
- package/lib/collapse-item/style/index.js +0 -5
- package/lib/collapse-item/style/less.js +0 -5
- package/lib/contact-card/index.css +0 -1
- package/lib/contact-card/index.js +0 -72
- package/lib/contact-card/index.less +0 -42
- package/lib/contact-card/style/index.js +0 -5
- package/lib/contact-card/style/less.js +0 -5
- package/lib/contact-edit/index.css +0 -1
- package/lib/contact-edit/index.js +0 -210
- package/lib/contact-edit/index.less +0 -30
- package/lib/contact-edit/style/index.js +0 -14
- package/lib/contact-edit/style/less.js +0 -14
- package/lib/contact-list/index.css +0 -1
- package/lib/contact-list/index.js +0 -138
- package/lib/contact-list/index.less +0 -54
- package/lib/contact-list/style/index.js +0 -10
- package/lib/contact-list/style/less.js +0 -10
- package/lib/datetime-picker/DatePicker.js +0 -261
- package/lib/datetime-picker/TimePicker.js +0 -117
- package/lib/datetime-picker/index.js +0 -41
- package/lib/datetime-picker/shared.js +0 -124
- package/lib/datetime-picker/style/index.js +0 -3
- package/lib/datetime-picker/style/less.js +0 -3
- package/lib/datetime-picker/utils.js +0 -39
- package/lib/demo-button/index-sfc.css +0 -1
- package/lib/demo-button/index-sfc.less +0 -9
- package/lib/demo-button/index.js +0 -33
- package/lib/demo-button/style/index.js +0 -1
- package/lib/demo-button/style/less.js +0 -1
- package/lib/dialog/Dialog.js +0 -261
- package/lib/dialog/index.css +0 -1
- package/lib/dialog/index.js +0 -116
- package/lib/dialog/index.less +0 -153
- package/lib/dialog/style/index.js +0 -10
- package/lib/dialog/style/less.js +0 -10
- package/lib/dropdown-item/index.css +0 -1
- package/lib/dropdown-item/index.js +0 -225
- package/lib/dropdown-item/index.less +0 -39
- package/lib/dropdown-item/style/index.js +0 -7
- package/lib/dropdown-item/style/less.js +0 -7
- package/lib/dropdown-menu/index.css +0 -1
- package/lib/dropdown-menu/index.js +0 -142
- package/lib/dropdown-menu/index.less +0 -77
- package/lib/dropdown-menu/style/index.js +0 -2
- package/lib/dropdown-menu/style/less.js +0 -2
- package/lib/empty/Network.js +0 -198
- package/lib/empty/index.css +0 -1
- package/lib/empty/index.js +0 -92
- package/lib/empty/index.less +0 -32
- package/lib/empty/style/index.js +0 -2
- package/lib/empty/style/less.js +0 -2
- package/lib/field/index.css +0 -1
- package/lib/field/index.js +0 -639
- package/lib/field/index.less +0 -172
- package/lib/field/style/index.js +0 -5
- package/lib/field/style/less.js +0 -5
- package/lib/form/index.js +0 -208
- package/lib/form/style/index.js +0 -1
- package/lib/form/style/less.js +0 -1
- package/lib/goods-action/index.css +0 -1
- package/lib/goods-action/index.js +0 -32
- package/lib/goods-action/index.less +0 -19
- package/lib/goods-action/style/index.js +0 -2
- package/lib/goods-action/style/less.js +0 -2
- package/lib/goods-action-button/index.css +0 -1
- package/lib/goods-action-button/index.js +0 -70
- package/lib/goods-action-button/index.less +0 -34
- package/lib/goods-action-button/style/index.js +0 -6
- package/lib/goods-action-button/style/less.js +0 -6
- package/lib/icon/index.css +0 -1
- package/lib/icon/index.js +0 -87
- package/lib/icon/index.less +0 -11
- package/lib/icon/local.css +0 -1
- package/lib/icon/local.less +0 -1
- package/lib/icon/style/index.js +0 -3
- package/lib/icon/style/less.js +0 -3
- package/lib/image/index.css +0 -1
- package/lib/image/index.js +0 -199
- package/lib/image/index.less +0 -47
- package/lib/image/style/index.js +0 -4
- package/lib/image/style/less.js +0 -4
- package/lib/image-preview/ImagePreview.js +0 -250
- package/lib/image-preview/ImagePreviewItem.js +0 -256
- package/lib/image-preview/index.css +0 -1
- package/lib/image-preview/index.js +0 -96
- package/lib/image-preview/index.less +0 -103
- package/lib/image-preview/shared.js +0 -13
- package/lib/image-preview/style/index.js +0 -10
- package/lib/image-preview/style/less.js +0 -10
- package/lib/index-anchor/index.css +0 -1
- package/lib/index-anchor/index.js +0 -93
- package/lib/index-anchor/index.less +0 -21
- package/lib/index-anchor/style/index.js +0 -2
- package/lib/index-anchor/style/less.js +0 -2
- package/lib/index-bar/index.css +0 -1
- package/lib/index-bar/index.js +0 -235
- package/lib/index-bar/index.less +0 -27
- package/lib/index-bar/style/index.js +0 -2
- package/lib/index-bar/style/less.js +0 -2
- package/lib/index.css +0 -1
- package/lib/index.js +0 -262
- package/lib/index.less +0 -52
- package/lib/info/index.css +0 -1
- package/lib/info/index.js +0 -42
- package/lib/info/index.less +0 -29
- package/lib/info/style/index.js +0 -2
- package/lib/info/style/less.js +0 -2
- package/lib/lazyload/index.js +0 -11
- package/lib/lazyload/style/index.js +0 -1
- package/lib/lazyload/style/less.js +0 -1
- package/lib/list/index.css +0 -1
- package/lib/list/index.js +0 -191
- package/lib/list/index.less +0 -21
- package/lib/list/style/index.js +0 -3
- package/lib/list/style/less.js +0 -3
- package/lib/loading/index.css +0 -1
- package/lib/loading/index.js +0 -98
- package/lib/loading/index.less +0 -103
- package/lib/loading/style/index.js +0 -2
- package/lib/loading/style/less.js +0 -2
- package/lib/locale/index.js +0 -38
- package/lib/locale/lang/de-DE-formal.js +0 -95
- package/lib/locale/lang/de-DE.js +0 -95
- package/lib/locale/lang/en-US.js +0 -95
- package/lib/locale/lang/es-ES.js +0 -95
- package/lib/locale/lang/ja-JP.js +0 -96
- package/lib/locale/lang/nb-NO.js +0 -95
- package/lib/locale/lang/ro-RO.js +0 -95
- package/lib/locale/lang/tr-TR.js +0 -95
- package/lib/locale/lang/zh-CN.js +0 -96
- package/lib/locale/lang/zh-HK.js +0 -96
- package/lib/locale/lang/zh-TW.js +0 -96
- package/lib/locale/style/index.js +0 -1
- package/lib/locale/style/less.js +0 -1
- package/lib/mixins/bind-event.js +0 -36
- package/lib/mixins/checkbox.js +0 -152
- package/lib/mixins/click-outside.js +0 -41
- package/lib/mixins/close-on-popstate.js +0 -46
- package/lib/mixins/field.js +0 -29
- package/lib/mixins/popup/context.js +0 -15
- package/lib/mixins/popup/index.js +0 -224
- package/lib/mixins/popup/overlay.js +0 -95
- package/lib/mixins/popup/type.js +0 -1
- package/lib/mixins/portal.js +0 -53
- package/lib/mixins/relation.js +0 -84
- package/lib/mixins/slots.js +0 -29
- package/lib/mixins/touch.js +0 -65
- package/lib/nav-bar/index.css +0 -1
- package/lib/nav-bar/index.js +0 -135
- package/lib/nav-bar/index.less +0 -77
- package/lib/nav-bar/style/index.js +0 -4
- package/lib/nav-bar/style/less.js +0 -4
- package/lib/number-keyboard/CollapseIcon.js +0 -21
- package/lib/number-keyboard/DeleteIcon.js +0 -21
- package/lib/number-keyboard/Key.js +0 -134
- package/lib/number-keyboard/index.css +0 -1
- package/lib/number-keyboard/index.js +0 -423
- package/lib/number-keyboard/index.less +0 -191
- package/lib/number-keyboard/style/index.js +0 -3
- package/lib/number-keyboard/style/less.js +0 -3
- package/lib/overlay/index.css +0 -1
- package/lib/overlay/index.js +0 -67
- package/lib/overlay/index.less +0 -11
- package/lib/overlay/style/index.js +0 -2
- package/lib/overlay/style/less.js +0 -2
- package/lib/password-input/index.css +0 -1
- package/lib/password-input/index.js +0 -97
- package/lib/password-input/index.less +0 -83
- package/lib/password-input/style/index.js +0 -2
- package/lib/password-input/style/less.js +0 -2
- package/lib/picker/PickerColumn.js +0 -314
- package/lib/picker/index.css +0 -1
- package/lib/picker/index.js +0 -399
- package/lib/picker/index.less +0 -118
- package/lib/picker/shared.js +0 -28
- package/lib/picker/style/index.js +0 -3
- package/lib/picker/style/less.js +0 -3
- package/lib/popover/index.css +0 -1
- package/lib/popover/index.js +0 -226
- package/lib/popover/index.less +0 -270
- package/lib/popover/style/index.js +0 -6
- package/lib/popover/style/less.js +0 -6
- package/lib/popup/index.css +0 -1
- package/lib/popup/index.js +0 -122
- package/lib/popup/index.less +0 -140
- package/lib/popup/style/index.js +0 -5
- package/lib/popup/style/less.js +0 -5
- package/lib/pull-refresh/index.css +0 -1
- package/lib/pull-refresh/index.js +0 -227
- package/lib/pull-refresh/index.less +0 -25
- package/lib/pull-refresh/style/index.js +0 -3
- package/lib/pull-refresh/style/less.js +0 -3
- package/lib/radio/index.css +0 -1
- package/lib/radio/index.js +0 -40
- package/lib/radio/index.less +0 -86
- package/lib/radio/style/index.js +0 -4
- package/lib/radio/style/less.js +0 -4
- package/lib/radio-group/index.css +0 -1
- package/lib/radio-group/index.js +0 -41
- package/lib/radio-group/index.less +0 -8
- package/lib/radio-group/style/index.js +0 -2
- package/lib/radio-group/style/less.js +0 -2
- package/lib/rate/index.css +0 -1
- package/lib/rate/index.js +0 -240
- package/lib/rate/index.less +0 -46
- package/lib/rate/style/index.js +0 -4
- package/lib/rate/style/less.js +0 -4
- package/lib/search/index.css +0 -1
- package/lib/search/index.js +0 -128
- package/lib/search/index.less +0 -68
- package/lib/search/style/index.js +0 -6
- package/lib/search/style/less.js +0 -6
- package/lib/slider/index.css +0 -1
- package/lib/slider/index.js +0 -300
- package/lib/slider/index.less +0 -94
- package/lib/slider/style/index.js +0 -2
- package/lib/slider/style/less.js +0 -2
- package/lib/step/index.css +0 -1
- package/lib/step/index.js +0 -127
- package/lib/step/index.less +0 -151
- package/lib/step/style/index.js +0 -4
- package/lib/step/style/less.js +0 -4
- package/lib/stepper/index.css +0 -1
- package/lib/stepper/index.js +0 -369
- package/lib/stepper/index.less +0 -129
- package/lib/stepper/style/index.js +0 -2
- package/lib/stepper/style/less.js +0 -2
- package/lib/steps/index.css +0 -1
- package/lib/steps/index.js +0 -43
- package/lib/steps/index.less +0 -21
- package/lib/steps/style/index.js +0 -2
- package/lib/steps/style/less.js +0 -2
- package/lib/sticky/index.css +0 -1
- package/lib/sticky/index.js +0 -157
- package/lib/sticky/index.less +0 -11
- package/lib/sticky/style/index.js +0 -2
- package/lib/sticky/style/less.js +0 -2
- package/lib/style/animation.css +0 -1
- package/lib/style/animation.less +0 -139
- package/lib/style/base.css +0 -1
- package/lib/style/base.less +0 -10
- package/lib/style/clearfix.css +0 -1
- package/lib/style/clearfix.less +0 -5
- package/lib/style/ellipsis.css +0 -1
- package/lib/style/ellipsis.less +0 -13
- package/lib/style/hairline.css +0 -1
- package/lib/style/hairline.less +0 -47
- package/lib/style/iconfont.css +0 -1
- package/lib/style/iconfont.less +0 -910
- package/lib/style/mixins/clearfix.css +0 -0
- package/lib/style/mixins/clearfix.less +0 -7
- package/lib/style/mixins/ellipsis.css +0 -0
- package/lib/style/mixins/ellipsis.less +0 -15
- package/lib/style/mixins/hairline.css +0 -0
- package/lib/style/mixins/hairline.less +0 -39
- package/lib/style/normalize.css +0 -1
- package/lib/style/normalize.less +0 -38
- package/lib/style/reset.css +0 -1
- package/lib/style/reset.less +0 -171
- package/lib/style/var.css +0 -0
- package/lib/style/var.less +0 -983
- package/lib/swipe/index.css +0 -1
- package/lib/swipe/index.js +0 -443
- package/lib/swipe/index.less +0 -56
- package/lib/swipe/style/index.js +0 -2
- package/lib/swipe/style/less.js +0 -2
- package/lib/swipe-item/index.css +0 -1
- package/lib/swipe-item/index.js +0 -89
- package/lib/swipe-item/index.less +0 -8
- package/lib/swipe-item/style/index.js +0 -2
- package/lib/swipe-item/style/less.js +0 -2
- package/lib/switch/index.css +0 -1
- package/lib/switch/index.js +0 -86
- package/lib/switch/index.less +0 -57
- package/lib/switch/shared.js +0 -25
- package/lib/switch/style/index.js +0 -3
- package/lib/switch/style/less.js +0 -3
- package/lib/tab/index.css +0 -1
- package/lib/tab/index.js +0 -114
- package/lib/tab/index.less +0 -24
- package/lib/tab/style/index.js +0 -2
- package/lib/tab/style/less.js +0 -2
- package/lib/tabs/Content.js +0 -90
- package/lib/tabs/Title.js +0 -102
- package/lib/tabs/index.css +0 -1
- package/lib/tabs/index.js +0 -441
- package/lib/tabs/index.less +0 -153
- package/lib/tabs/style/index.js +0 -4
- package/lib/tabs/style/less.js +0 -4
- package/lib/tabs/utils.js +0 -53
- package/lib/tag/index.css +0 -1
- package/lib/tag/index.js +0 -87
- package/lib/tag/index.less +0 -97
- package/lib/tag/style/index.js +0 -4
- package/lib/tag/style/less.js +0 -4
- package/lib/tlvant.js +0 -16704
- package/lib/tlvant.min.js +0 -7
- package/lib/toast/Toast.js +0 -168
- package/lib/toast/index.css +0 -1
- package/lib/toast/index.js +0 -200
- package/lib/toast/index.less +0 -76
- package/lib/toast/lock-click.js +0 -21
- package/lib/toast/style/index.js +0 -7
- package/lib/toast/style/less.js +0 -7
- package/lib/types/address-edit.d.js +0 -22
- package/lib/types/area.d.js +0 -22
- package/lib/types/calendar.d.js +0 -22
- package/lib/types/checkbox-group.d.js +0 -22
- package/lib/types/checkbox.d.js +0 -22
- package/lib/types/collapse-item.d.js +0 -22
- package/lib/types/component.d.js +0 -22
- package/lib/types/count-down.d.js +0 -22
- package/lib/types/datetime-picker.d.js +0 -22
- package/lib/types/dialog.d.js +0 -6
- package/lib/types/dropdown-item.d.js +0 -22
- package/lib/types/field.d.js +0 -22
- package/lib/types/form.d.js +0 -22
- package/lib/types/image-preview.d.js +0 -24
- package/lib/types/index-bar.d.js +0 -22
- package/lib/types/index.d.js +0 -862
- package/lib/types/jsx.d.js +0 -1
- package/lib/types/lazyload.d.js +0 -6
- package/lib/types/list.d.js +0 -22
- package/lib/types/locale.d.js +0 -6
- package/lib/types/mixins/popup.d.js +0 -8
- package/lib/types/notify.d.js +0 -11
- package/lib/types/picker.d.js +0 -22
- package/lib/types/progress.d.js +0 -22
- package/lib/types/sku.d.js +0 -22
- package/lib/types/swipe-cell.d.js +0 -22
- package/lib/types/swipe.d.js +0 -22
- package/lib/types/tabs.d.js +0 -22
- package/lib/types/toast.d.js +0 -11
- package/lib/types/uploader.d.js +0 -22
- package/lib/uploader/index.css +0 -1
- package/lib/uploader/index.js +0 -467
- package/lib/uploader/index.less +0 -159
- package/lib/uploader/style/index.js +0 -11
- package/lib/uploader/style/less.js +0 -11
- package/lib/uploader/utils.js +0 -71
- package/lib/utils/constant.js +0 -22
- package/lib/utils/create/bem.js +0 -44
- package/lib/utils/create/component.js +0 -70
- package/lib/utils/create/i18n.js +0 -27
- package/lib/utils/create/index.js +0 -15
- package/lib/utils/deep-assign.js +0 -30
- package/lib/utils/deep-clone.js +0 -20
- package/lib/utils/dom/event.js +0 -62
- package/lib/utils/dom/node.js +0 -12
- package/lib/utils/dom/raf.js +0 -47
- package/lib/utils/dom/reset-scroll.js +0 -21
- package/lib/utils/dom/scroll.js +0 -89
- package/lib/utils/dom/style.js +0 -14
- package/lib/utils/format/number.js +0 -53
- package/lib/utils/format/string.js +0 -26
- package/lib/utils/format/unit.js +0 -68
- package/lib/utils/functional.js +0 -68
- package/lib/utils/index.js +0 -56
- package/lib/utils/interceptor.js +0 -28
- package/lib/utils/router.js +0 -46
- package/lib/utils/types.js +0 -1
- package/lib/utils/validate/date.js +0 -10
- package/lib/utils/validate/email.js +0 -10
- package/lib/utils/validate/mobile.js +0 -9
- package/lib/utils/validate/number.js +0 -18
- package/lib/utils/validate/system.js +0 -17
- package/lib/utils/vnodes.js +0 -41
package/es/button/index.less
DELETED
|
@@ -1,238 +0,0 @@
|
|
|
1
|
-
@import '../style/var';
|
|
2
|
-
|
|
3
|
-
.van-button {
|
|
4
|
-
position: relative;
|
|
5
|
-
display: inline-block;
|
|
6
|
-
box-sizing: border-box;
|
|
7
|
-
height: @button-default-height;
|
|
8
|
-
margin: 0;
|
|
9
|
-
padding: 0;
|
|
10
|
-
font-size: @button-default-font-size;
|
|
11
|
-
line-height: @button-default-line-height;
|
|
12
|
-
text-align: center;
|
|
13
|
-
border-radius: @button-border-radius;
|
|
14
|
-
cursor: pointer;
|
|
15
|
-
transition: opacity @animation-duration-fast;
|
|
16
|
-
-webkit-appearance: none;
|
|
17
|
-
|
|
18
|
-
&::before {
|
|
19
|
-
position: absolute;
|
|
20
|
-
top: 50%;
|
|
21
|
-
left: 50%;
|
|
22
|
-
width: 100%;
|
|
23
|
-
height: 100%;
|
|
24
|
-
background-color: @black;
|
|
25
|
-
border: inherit;
|
|
26
|
-
border-color: @black;
|
|
27
|
-
border-radius: inherit;
|
|
28
|
-
/* inherit parent's border radius */
|
|
29
|
-
transform: translate(-50%, -50%);
|
|
30
|
-
opacity: 0;
|
|
31
|
-
content: ' ';
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
// &:active::before {
|
|
35
|
-
// opacity: 0.1;
|
|
36
|
-
// }
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
&--loading,
|
|
40
|
-
&--disabled {
|
|
41
|
-
&::before {
|
|
42
|
-
display: none;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
&--default {
|
|
47
|
-
// color: @button-default-color;
|
|
48
|
-
// background-color: @button-default-background-color;
|
|
49
|
-
// border: @button-border-width solid @button-default-border-color;
|
|
50
|
-
width: @tl-button-width;
|
|
51
|
-
color: @tl-button-default-color;
|
|
52
|
-
height: @tl-button-height;
|
|
53
|
-
background: @tl-button-default-background-color;
|
|
54
|
-
box-shadow: @tl-button-box-shadow;
|
|
55
|
-
border-radius: @tl-button-default-border-radius;
|
|
56
|
-
border: none;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
&--default:active {
|
|
60
|
-
box-shadow: @tl-button-box-shadow;
|
|
61
|
-
transform: scale(0.95);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
&--primary {
|
|
65
|
-
// color: @button-primary-color;
|
|
66
|
-
// background-color: @button-primary-background-color;
|
|
67
|
-
// border: @button-border-width solid @button-primary-border-color;
|
|
68
|
-
width: @tl-button-width;
|
|
69
|
-
color: @tl-button-primary-color;
|
|
70
|
-
height: @tl-button-height;
|
|
71
|
-
background: @tl-button-primary-background-color;
|
|
72
|
-
box-shadow: @tl-button-box-shadow;
|
|
73
|
-
border-radius: @tl-button-primary-border-radius;
|
|
74
|
-
border: none;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
&--primary:active {
|
|
78
|
-
box-shadow: @tl-button-box-shadow;
|
|
79
|
-
transform: scale(0.95);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
&--info {
|
|
83
|
-
// color: @button-info-color;
|
|
84
|
-
// background-color: @button-info-background-color;
|
|
85
|
-
// border: @button-border-width solid @button-info-border-color;
|
|
86
|
-
width: @tl-button-width;
|
|
87
|
-
color: @tl-button-info-color;
|
|
88
|
-
background-color: @tl-button-info-background-color;
|
|
89
|
-
border-radius: @tl-button-info-border-radius;
|
|
90
|
-
box-shadow: @tl-button-info-box-shadow;
|
|
91
|
-
border: 1px solid @tl-button-info-background-color;
|
|
92
|
-
border: none;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
&--info:active {
|
|
96
|
-
box-shadow: @tl-button-info-box-shadow;
|
|
97
|
-
transform: scale(0.95);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
&--danger {
|
|
101
|
-
color: @button-danger-color;
|
|
102
|
-
background-color: @tl-3B99FC;
|
|
103
|
-
border: @button-border-width solid @tl-3B99FC;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
&--warning {
|
|
107
|
-
color: @button-warning-color;
|
|
108
|
-
background-color: @button-warning-background-color;
|
|
109
|
-
border: @button-border-width solid @button-warning-border-color;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
&--plain {
|
|
113
|
-
background-color: @button-plain-background-color;
|
|
114
|
-
|
|
115
|
-
&.van-button--primary {
|
|
116
|
-
color: @button-primary-background-color;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
&.van-button--info {
|
|
120
|
-
color: @button-info-background-color;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
&.van-button--danger {
|
|
124
|
-
color: @button-danger-background-color;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
&.van-button--warning {
|
|
128
|
-
color: @button-warning-background-color;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
&--large {
|
|
133
|
-
width: 100%;
|
|
134
|
-
// border-radius: 50px;
|
|
135
|
-
height: @button-large-height;
|
|
136
|
-
border: none;
|
|
137
|
-
transition: 0.25s rcubic-bezie(0.45, 1, 0.4, 1);
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
&--normal {
|
|
141
|
-
padding: 0 15px;
|
|
142
|
-
font-size: @button-normal-font-size;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
&--tl {
|
|
146
|
-
width: 166px;
|
|
147
|
-
height: 40px;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
&--small {
|
|
151
|
-
width: @tl-small-button-width;
|
|
152
|
-
height: @tl-small-button-height;
|
|
153
|
-
padding: 0 @padding-xs;
|
|
154
|
-
font-size: @tl-small-button-font-size;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
&__loading {
|
|
158
|
-
color: inherit;
|
|
159
|
-
font-size: inherit;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
&--mini {
|
|
163
|
-
height: @button-mini-height;
|
|
164
|
-
padding: 0 @padding-base;
|
|
165
|
-
font-size: @button-mini-font-size;
|
|
166
|
-
|
|
167
|
-
&+.van-button--mini {
|
|
168
|
-
margin-left: @padding-base;
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
&--block {
|
|
173
|
-
display: block;
|
|
174
|
-
width: 100%;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
&--disabled {
|
|
178
|
-
cursor: not-allowed;
|
|
179
|
-
opacity: @button-disabled-opacity;
|
|
180
|
-
transform: scale(0.95);
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
&--loading {
|
|
184
|
-
cursor: default;
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
&--round {
|
|
188
|
-
border-radius: @button-round-border-radius;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
&--square {
|
|
192
|
-
border-radius: 0;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
// align-items are ignored when flex container is a button in legacy safari
|
|
196
|
-
// see: https://bugs.webkit.org/show_bug.cgi?id=169700
|
|
197
|
-
&__content {
|
|
198
|
-
display: flex;
|
|
199
|
-
align-items: center;
|
|
200
|
-
justify-content: center;
|
|
201
|
-
height: 100%;
|
|
202
|
-
|
|
203
|
-
// fix icon vertical align
|
|
204
|
-
// see: https://github.com/youzan/vant/issues/7617
|
|
205
|
-
&::before {
|
|
206
|
-
content: ' ';
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
&__icon {
|
|
211
|
-
font-size: 1.2em;
|
|
212
|
-
line-height: inherit;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
&__icon+&__text,
|
|
216
|
-
&__loading+&__text,
|
|
217
|
-
&__text+&__icon,
|
|
218
|
-
&__text+&__loading {
|
|
219
|
-
margin-left: @padding-base;
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
&--hairline {
|
|
223
|
-
border-width: 0;
|
|
224
|
-
|
|
225
|
-
&::after {
|
|
226
|
-
border-color: inherit;
|
|
227
|
-
border-radius: @button-border-radius * 2;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
&.van-button--round::after {
|
|
231
|
-
border-radius: @button-round-border-radius;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
&.van-button--square::after {
|
|
235
|
-
border-radius: 0;
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
}
|
package/es/button/style/index.js
DELETED
package/es/button/style/less.js
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { createNamespace } from '../../utils';
|
|
2
|
-
import { t, bem } from '../utils';
|
|
3
|
-
|
|
4
|
-
var _createNamespace = createNamespace('calendar-header'),
|
|
5
|
-
createComponent = _createNamespace[0];
|
|
6
|
-
|
|
7
|
-
export default createComponent({
|
|
8
|
-
props: {
|
|
9
|
-
title: String,
|
|
10
|
-
subtitle: String,
|
|
11
|
-
showTitle: Boolean,
|
|
12
|
-
showSubtitle: Boolean,
|
|
13
|
-
firstDayOfWeek: Number
|
|
14
|
-
},
|
|
15
|
-
methods: {
|
|
16
|
-
genTitle: function genTitle() {
|
|
17
|
-
var h = this.$createElement;
|
|
18
|
-
|
|
19
|
-
if (this.showTitle) {
|
|
20
|
-
var title = this.slots('title') || this.title || t('title');
|
|
21
|
-
return h("div", {
|
|
22
|
-
"class": bem('header-title')
|
|
23
|
-
}, [title]);
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
genSubtitle: function genSubtitle() {
|
|
27
|
-
var h = this.$createElement;
|
|
28
|
-
|
|
29
|
-
if (this.showSubtitle) {
|
|
30
|
-
return h("div", {
|
|
31
|
-
"class": bem('header-subtitle')
|
|
32
|
-
}, [this.subtitle]);
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
genWeekDays: function genWeekDays() {
|
|
36
|
-
var h = this.$createElement;
|
|
37
|
-
var weekdays = t('weekdays');
|
|
38
|
-
var firstDayOfWeek = this.firstDayOfWeek;
|
|
39
|
-
var renderWeekDays = [].concat(weekdays.slice(firstDayOfWeek, 7), weekdays.slice(0, firstDayOfWeek));
|
|
40
|
-
return h("div", {
|
|
41
|
-
"class": bem('weekdays')
|
|
42
|
-
}, [renderWeekDays.map(function (item) {
|
|
43
|
-
return h("span", {
|
|
44
|
-
"class": bem('weekday')
|
|
45
|
-
}, [item]);
|
|
46
|
-
})]);
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
render: function render() {
|
|
50
|
-
var h = arguments[0];
|
|
51
|
-
return h("div", {
|
|
52
|
-
"class": bem('header')
|
|
53
|
-
}, [this.genTitle(), this.genSubtitle(), this.genWeekDays()]);
|
|
54
|
-
}
|
|
55
|
-
});
|
|
@@ -1,383 +0,0 @@
|
|
|
1
|
-
import { createNamespace, addUnit } from '../../utils';
|
|
2
|
-
import { setScrollTop } from '../../utils/dom/scroll';
|
|
3
|
-
import { t, bem, compareDay, getPrevDay, getNextDay, formatMonthTitle } from '../utils';
|
|
4
|
-
import { getMonthEndDay } from '../../datetime-picker/utils';
|
|
5
|
-
|
|
6
|
-
var _createNamespace = createNamespace('calendar-month'),
|
|
7
|
-
createComponent = _createNamespace[0];
|
|
8
|
-
|
|
9
|
-
export default createComponent({
|
|
10
|
-
props: {
|
|
11
|
-
date: Date,
|
|
12
|
-
type: String,
|
|
13
|
-
color: String,
|
|
14
|
-
minDate: Date,
|
|
15
|
-
maxDate: Date,
|
|
16
|
-
showMark: Boolean,
|
|
17
|
-
rowHeight: [Number, String],
|
|
18
|
-
formatter: Function,
|
|
19
|
-
lazyRender: Boolean,
|
|
20
|
-
currentDate: [Date, Array],
|
|
21
|
-
allowSameDay: Boolean,
|
|
22
|
-
showSubtitle: Boolean,
|
|
23
|
-
showMonthTitle: Boolean,
|
|
24
|
-
firstDayOfWeek: Number,
|
|
25
|
-
commonday: Number
|
|
26
|
-
},
|
|
27
|
-
data: function data() {
|
|
28
|
-
return {
|
|
29
|
-
visible: false
|
|
30
|
-
};
|
|
31
|
-
},
|
|
32
|
-
computed: {
|
|
33
|
-
title: function title() {
|
|
34
|
-
return formatMonthTitle(this.date);
|
|
35
|
-
},
|
|
36
|
-
rowHeightWithUnit: function rowHeightWithUnit() {
|
|
37
|
-
return addUnit(this.rowHeight);
|
|
38
|
-
},
|
|
39
|
-
offset: function offset() {
|
|
40
|
-
var firstDayOfWeek = this.firstDayOfWeek;
|
|
41
|
-
var realDay = this.date.getDay();
|
|
42
|
-
|
|
43
|
-
if (!firstDayOfWeek) {
|
|
44
|
-
return realDay;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
return (realDay + 7 - this.firstDayOfWeek) % 7;
|
|
48
|
-
},
|
|
49
|
-
totalDay: function totalDay() {
|
|
50
|
-
return getMonthEndDay(this.date.getFullYear(), this.date.getMonth() + 1);
|
|
51
|
-
},
|
|
52
|
-
shouldRender: function shouldRender() {
|
|
53
|
-
return this.visible || !this.lazyRender;
|
|
54
|
-
},
|
|
55
|
-
placeholders: function placeholders() {
|
|
56
|
-
var rows = [];
|
|
57
|
-
var count = Math.ceil((this.totalDay + this.offset) / 7);
|
|
58
|
-
|
|
59
|
-
for (var day = 1; day <= count; day++) {
|
|
60
|
-
rows.push({
|
|
61
|
-
type: 'placeholder'
|
|
62
|
-
});
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
return rows;
|
|
66
|
-
},
|
|
67
|
-
days: function days() {
|
|
68
|
-
var days = [];
|
|
69
|
-
var year = this.date.getFullYear();
|
|
70
|
-
var month = this.date.getMonth();
|
|
71
|
-
|
|
72
|
-
for (var day = 1; day <= this.totalDay; day++) {
|
|
73
|
-
var date = new Date(year, month, day);
|
|
74
|
-
var type = this.getDayType(date);
|
|
75
|
-
var config = {
|
|
76
|
-
date: date,
|
|
77
|
-
type: type,
|
|
78
|
-
text: day,
|
|
79
|
-
bottomInfo: this.getBottomInfo(type)
|
|
80
|
-
};
|
|
81
|
-
|
|
82
|
-
if (this.formatter) {
|
|
83
|
-
config = this.formatter(config);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
days.push(config);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
return days;
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
methods: {
|
|
93
|
-
getHeight: function getHeight() {
|
|
94
|
-
if (!this.height) {
|
|
95
|
-
this.height = this.$el.getBoundingClientRect().height;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
return this.height;
|
|
99
|
-
},
|
|
100
|
-
scrollIntoView: function scrollIntoView(body) {
|
|
101
|
-
var _this$$refs = this.$refs,
|
|
102
|
-
days = _this$$refs.days,
|
|
103
|
-
month = _this$$refs.month;
|
|
104
|
-
var el = this.showSubtitle ? days : month;
|
|
105
|
-
var scrollTop = el.getBoundingClientRect().top - body.getBoundingClientRect().top + body.scrollTop;
|
|
106
|
-
setScrollTop(body, scrollTop);
|
|
107
|
-
},
|
|
108
|
-
getMultipleDayType: function getMultipleDayType(day) {
|
|
109
|
-
var _this = this;
|
|
110
|
-
|
|
111
|
-
var isSelected = function isSelected(date) {
|
|
112
|
-
return _this.currentDate.some(function (item) {
|
|
113
|
-
return compareDay(item, date) === 0;
|
|
114
|
-
});
|
|
115
|
-
};
|
|
116
|
-
|
|
117
|
-
if (isSelected(day)) {
|
|
118
|
-
var prevDay = getPrevDay(day);
|
|
119
|
-
var nextDay = getNextDay(day);
|
|
120
|
-
var prevSelected = isSelected(prevDay);
|
|
121
|
-
var nextSelected = isSelected(nextDay);
|
|
122
|
-
|
|
123
|
-
if (prevSelected && nextSelected) {
|
|
124
|
-
return 'multiple-middle';
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
if (prevSelected) {
|
|
128
|
-
return 'end';
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
return nextSelected ? 'start' : 'multiple-selected';
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
return '';
|
|
135
|
-
},
|
|
136
|
-
getRangeDayType: function getRangeDayType(day) {
|
|
137
|
-
var _this$currentDate = this.currentDate,
|
|
138
|
-
startDay = _this$currentDate[0],
|
|
139
|
-
endDay = _this$currentDate[1];
|
|
140
|
-
|
|
141
|
-
if (!startDay) {
|
|
142
|
-
return '';
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
var compareToStart = compareDay(day, startDay);
|
|
146
|
-
|
|
147
|
-
if (!endDay) {
|
|
148
|
-
return compareToStart === 0 ? 'start' : '';
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
var compareToEnd = compareDay(day, endDay);
|
|
152
|
-
|
|
153
|
-
if (compareToStart === 0 && compareToEnd === 0 && this.allowSameDay) {
|
|
154
|
-
return 'start-end';
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
if (compareToStart === 0) {
|
|
158
|
-
return 'start';
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
if (compareToEnd === 0) {
|
|
162
|
-
return 'end';
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
if (compareToStart > 0 && compareToEnd < 0) {
|
|
166
|
-
return 'middle';
|
|
167
|
-
}
|
|
168
|
-
},
|
|
169
|
-
getDayType: function getDayType(day) {
|
|
170
|
-
var type = this.type,
|
|
171
|
-
minDate = this.minDate,
|
|
172
|
-
maxDate = this.maxDate,
|
|
173
|
-
currentDate = this.currentDate;
|
|
174
|
-
|
|
175
|
-
if (compareDay(day, minDate) < 0 || compareDay(day, maxDate) > 0) {
|
|
176
|
-
return 'disabled';
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
if (currentDate === null) {
|
|
180
|
-
return;
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
if (type === 'single') {
|
|
184
|
-
return compareDay(day, currentDate) === 0 ? 'selected' : '';
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
if (type === 'multiple') {
|
|
188
|
-
return this.getMultipleDayType(day);
|
|
189
|
-
}
|
|
190
|
-
/* istanbul ignore else */
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
if (type === 'range') {
|
|
194
|
-
return this.getRangeDayType(day);
|
|
195
|
-
}
|
|
196
|
-
},
|
|
197
|
-
getBottomInfo: function getBottomInfo(type) {
|
|
198
|
-
if (this.type === 'range') {
|
|
199
|
-
if (type === 'start' || type === 'end') {
|
|
200
|
-
return t(type);
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
if (type === 'start-end') {
|
|
204
|
-
return t('startEnd');
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
},
|
|
208
|
-
getDayStyle: function getDayStyle(type, index) {
|
|
209
|
-
var style = {
|
|
210
|
-
height: this.rowHeightWithUnit
|
|
211
|
-
};
|
|
212
|
-
|
|
213
|
-
if (type === 'placeholder') {
|
|
214
|
-
style.width = '100%';
|
|
215
|
-
return style;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
if (index === 0) {
|
|
219
|
-
style.marginLeft = 100 * this.offset / 7 + "%";
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
if (this.color) {
|
|
223
|
-
if (type === 'start' || type === 'end' || type === 'start-end' || type === 'multiple-selected' || type === 'multiple-middle') {
|
|
224
|
-
style.background = this.color;
|
|
225
|
-
} else if (type === 'middle') {
|
|
226
|
-
style.color = this.color;
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
return style;
|
|
231
|
-
},
|
|
232
|
-
genTitle: function genTitle() {
|
|
233
|
-
var h = this.$createElement;
|
|
234
|
-
|
|
235
|
-
if (this.showMonthTitle) {
|
|
236
|
-
return h("div", {
|
|
237
|
-
"class": bem('month-title')
|
|
238
|
-
}, [this.title]);
|
|
239
|
-
}
|
|
240
|
-
},
|
|
241
|
-
genMark: function genMark() {
|
|
242
|
-
var h = this.$createElement;
|
|
243
|
-
|
|
244
|
-
if (this.showMark && this.shouldRender) {
|
|
245
|
-
return h("div", {
|
|
246
|
-
"class": bem('month-mark')
|
|
247
|
-
}, [this.date.getMonth() + 1]);
|
|
248
|
-
}
|
|
249
|
-
},
|
|
250
|
-
genDays: function genDays() {
|
|
251
|
-
var h = this.$createElement;
|
|
252
|
-
var days = this.shouldRender ? this.days : this.placeholders;
|
|
253
|
-
return h("div", {
|
|
254
|
-
"ref": "days",
|
|
255
|
-
"attrs": {
|
|
256
|
-
"role": "grid"
|
|
257
|
-
},
|
|
258
|
-
"class": bem('days')
|
|
259
|
-
}, [this.genMark(), days.map(this.genDay)]);
|
|
260
|
-
},
|
|
261
|
-
genDay: function genDay(item, index) {
|
|
262
|
-
var _this2 = this;
|
|
263
|
-
|
|
264
|
-
var h = this.$createElement;
|
|
265
|
-
var type = item.type,
|
|
266
|
-
topInfo = item.topInfo,
|
|
267
|
-
bottomInfo = item.bottomInfo,
|
|
268
|
-
hotel = item.hotel;
|
|
269
|
-
var style = this.getDayStyle(type, index);
|
|
270
|
-
var disabled = type === 'disabled';
|
|
271
|
-
|
|
272
|
-
var onClick = function onClick() {
|
|
273
|
-
if (!disabled) {
|
|
274
|
-
_this2.$emit('click', item);
|
|
275
|
-
}
|
|
276
|
-
};
|
|
277
|
-
|
|
278
|
-
var TopInfo = topInfo && h("div", {
|
|
279
|
-
"class": bem('top-info')
|
|
280
|
-
}, [topInfo]);
|
|
281
|
-
var BottomInfo = bottomInfo && h("div", {
|
|
282
|
-
"class": bem('bottom-info')
|
|
283
|
-
}, [bottomInfo]);
|
|
284
|
-
|
|
285
|
-
if (type === 'selected') {
|
|
286
|
-
return h("div", {
|
|
287
|
-
"attrs": {
|
|
288
|
-
"role": "gridcell",
|
|
289
|
-
"tabindex": -1
|
|
290
|
-
},
|
|
291
|
-
"style": style,
|
|
292
|
-
"class": [bem('day'), item.className],
|
|
293
|
-
"on": {
|
|
294
|
-
"click": onClick
|
|
295
|
-
}
|
|
296
|
-
}, [h("div", {
|
|
297
|
-
"class": bem('selected-day'),
|
|
298
|
-
"style": {
|
|
299
|
-
width: this.rowHeightWithUnit,
|
|
300
|
-
height: this.rowHeightWithUnit,
|
|
301
|
-
background: this.color
|
|
302
|
-
}
|
|
303
|
-
}, [TopInfo, item.text, BottomInfo])]);
|
|
304
|
-
} // return (
|
|
305
|
-
// <div>
|
|
306
|
-
// <div
|
|
307
|
-
// vShow={hotel}
|
|
308
|
-
// style={{
|
|
309
|
-
// height: '21px',
|
|
310
|
-
// background: '#999999',
|
|
311
|
-
// marginLeft: '5px',
|
|
312
|
-
// marginRight: '5px',
|
|
313
|
-
// marginTop: '5px',
|
|
314
|
-
// borderRadius: '6px',
|
|
315
|
-
// fontSize: '10px',
|
|
316
|
-
// alignItems: 'center',
|
|
317
|
-
// justifyContent: 'center',
|
|
318
|
-
// display: 'flex',
|
|
319
|
-
// color: '#FFF'
|
|
320
|
-
// }}
|
|
321
|
-
// >
|
|
322
|
-
// 共{this.commonday}天
|
|
323
|
-
// </div>
|
|
324
|
-
// <div
|
|
325
|
-
// role="gridcell"
|
|
326
|
-
// tabindex={disabled ? null : -1}
|
|
327
|
-
// onClick={onClick}
|
|
328
|
-
// style={
|
|
329
|
-
// hotel
|
|
330
|
-
// ? style
|
|
331
|
-
// : {
|
|
332
|
-
// marginTop: '29px',
|
|
333
|
-
// }
|
|
334
|
-
// }
|
|
335
|
-
// class={[bem('day', type), item.className]}
|
|
336
|
-
// >
|
|
337
|
-
// {TopInfo}
|
|
338
|
-
// {item.text}
|
|
339
|
-
// {BottomInfo}
|
|
340
|
-
// </div>
|
|
341
|
-
// </div>
|
|
342
|
-
// );
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
return h("div", {
|
|
346
|
-
"attrs": {
|
|
347
|
-
"role": "gridcell",
|
|
348
|
-
"tabindex": disabled ? null : -1
|
|
349
|
-
},
|
|
350
|
-
"style": style,
|
|
351
|
-
"class": [bem('day', type), item.className],
|
|
352
|
-
"on": {
|
|
353
|
-
"click": onClick
|
|
354
|
-
}
|
|
355
|
-
}, [h("div", {
|
|
356
|
-
"directives": [{
|
|
357
|
-
name: "show",
|
|
358
|
-
value: hotel
|
|
359
|
-
}],
|
|
360
|
-
"style": {
|
|
361
|
-
width: '45px',
|
|
362
|
-
height: '21px',
|
|
363
|
-
background: '#999999',
|
|
364
|
-
borderRadius: '10px',
|
|
365
|
-
fontSize: '10px',
|
|
366
|
-
alignItems: 'center',
|
|
367
|
-
justifyContent: 'center',
|
|
368
|
-
display: 'flex',
|
|
369
|
-
color: '#FFF',
|
|
370
|
-
position: 'absolute',
|
|
371
|
-
marginBottom: '90px'
|
|
372
|
-
}
|
|
373
|
-
}, ["\u5171", this.commonday, "\u665A"]), TopInfo, item.text, BottomInfo]);
|
|
374
|
-
}
|
|
375
|
-
},
|
|
376
|
-
render: function render() {
|
|
377
|
-
var h = arguments[0];
|
|
378
|
-
return h("div", {
|
|
379
|
-
"class": bem('month'),
|
|
380
|
-
"ref": "month"
|
|
381
|
-
}, [this.genTitle(), this.genDays()]);
|
|
382
|
-
}
|
|
383
|
-
});
|
package/es/calendar/index.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.van-calendar{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;height:100%;background-color:#fff}.van-calendar__popup.van-popup--bottom,.van-calendar__popup.van-popup--top{height:80%}.van-calendar__popup.van-popup--left,.van-calendar__popup.van-popup--right{height:100%}.van-calendar__popup .van-popup__close-icon{top:11px}.van-calendar__header{-webkit-flex-shrink:0;flex-shrink:0;box-shadow:0 2px 10px rgba(125,126,128,.16)}.van-calendar__header-subtitle,.van-calendar__header-title,.van-calendar__month-title{height:44px;font-weight:550;line-height:44px;text-align:center;font-size:18px!important}.van-calendar__header-title{font-size:16px}.van-calendar__header-subtitle{font-size:18px;font-weight:550;font-family:PingFangSC-Medium,PingFang SC;text-stroke:1px #979797;color:#000}.van-calendar__month-title{font-size:14px}.van-calendar__weekdays{display:-webkit-box;display:-webkit-flex;display:flex}.van-calendar__weekday{-webkit-box-flex:1;-webkit-flex:1;flex:1;font-size:12px;line-height:30px;text-align:center}.van-calendar__weekday:first-child{color:#ff594d}.van-calendar__weekday:last-child{color:#ff594d}.van-calendar__body{-webkit-box-flex:1;-webkit-flex:1;flex:1;overflow:auto;-webkit-overflow-scrolling:touch}.van-calendar__days{position:relative;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;-webkit-user-select:none;user-select:none}.van-calendar__month-mark{position:absolute;top:50%;left:50%;z-index:0;color:rgba(242,243,245,.8);font-size:160px;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);pointer-events:none}.van-calendar__day,.van-calendar__selected-day{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;text-align:center}.van-calendarday-hotel{margin-top:29px}.van-calendar__day{position:relative;width:50px;height:64px;font-size:16px;cursor:pointer;margin-top:3px}.van-calendar__day--end,.van-calendar__day--multiple-middle,.van-calendar__day--multiple-selected,.van-calendar__day--start,.van-calendar__day--start-end{color:#fff;background-color:#3b99fc}.van-calendar__day--start{border-radius:4px 0 0 4px}.van-calendar__day--end{border-radius:0 4px 4px 0}.van-calendar__day--multiple-selected,.van-calendar__day--start-end{border-radius:4px}.van-calendar__day--middle{color:#333;background-color:#3d97FF10}.van-calendar__day--middle::after{position:absolute;top:0;right:0;bottom:0;left:0;opacity:.1;content:''}.van-calendar__day--disabled{color:#c8c9cc;cursor:default}.van-calendar__bottom-info,.van-calendar__top-info{position:absolute;right:0;left:0;font-size:10px;line-height:14px}@media (max-width:350px){.van-calendar__bottom-info,.van-calendar__top-info{font-size:9px}}.van-calendar__top-info{top:6px}.van-calendar__bottom-info{bottom:6px}.van-calendar__selected-day{width:54px;height:54px;color:#fff;background-color:#3b99fc;border-radius:4px}.van-calendar__footer{-webkit-flex-shrink:0;flex-shrink:0;padding:0 16px;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.van-calendar__footer--unfit{padding-bottom:0}.van-calendar__confirm{height:36px;margin:7px 0}
|