maxit-cli 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +49 -0
- package/README.md +56 -0
- package/bin/maxit.js +75 -0
- package/lib/commands.js +142 -0
- package/lib/project.js +58 -0
- package/lib/registry.js +50 -0
- package/package.json +30 -0
- package/registry/components/action-sheet/action-sheet.js +1 -0
- package/registry/components/action-sheet/action-sheet.json +1 -0
- package/registry/components/action-sheet/action-sheet.wxml +1 -0
- package/registry/components/action-sheet/action-sheet.wxs +34 -0
- package/registry/components/action-sheet/action-sheet.wxss +197 -0
- package/registry/components/action-sheet/index.js +1 -0
- package/registry/components/action-sheet/props.js +1 -0
- package/registry/components/action-sheet/show.js +1 -0
- package/registry/components/action-sheet/template/grid.wxml +1 -0
- package/registry/components/avatar/avatar.js +1 -0
- package/registry/components/avatar/avatar.json +1 -0
- package/registry/components/avatar/avatar.wxml +1 -0
- package/registry/components/avatar/avatar.wxs +30 -0
- package/registry/components/avatar/avatar.wxss +105 -0
- package/registry/components/avatar/index.js +1 -0
- package/registry/components/avatar/props.js +1 -0
- package/registry/components/avatar-group/avatar-group.js +1 -0
- package/registry/components/avatar-group/avatar-group.json +1 -0
- package/registry/components/avatar-group/avatar-group.wxml +1 -0
- package/registry/components/avatar-group/avatar-group.wxss +248 -0
- package/registry/components/avatar-group/index.js +1 -0
- package/registry/components/avatar-group/props.js +1 -0
- package/registry/components/back-top/back-top.js +1 -0
- package/registry/components/back-top/back-top.json +1 -0
- package/registry/components/back-top/back-top.wxml +1 -0
- package/registry/components/back-top/back-top.wxss +77 -0
- package/registry/components/back-top/index.js +1 -0
- package/registry/components/back-top/props.js +1 -0
- package/registry/components/badge/badge.js +1 -0
- package/registry/components/badge/badge.json +1 -0
- package/registry/components/badge/badge.wxml +1 -0
- package/registry/components/badge/badge.wxs +64 -0
- package/registry/components/badge/badge.wxss +168 -0
- package/registry/components/badge/index.js +1 -0
- package/registry/components/badge/props.js +1 -0
- package/registry/components/balance-card/balance-card.js +34 -0
- package/registry/components/balance-card/balance-card.json +1 -0
- package/registry/components/balance-card/balance-card.wxml +33 -0
- package/registry/components/balance-card/balance-card.wxss +111 -0
- package/registry/components/balance-card/index.js +2 -0
- package/registry/components/balance-card/props.js +14 -0
- package/registry/components/balance-thumb-card/balance-thumb-card.js +39 -0
- package/registry/components/balance-thumb-card/balance-thumb-card.json +1 -0
- package/registry/components/balance-thumb-card/balance-thumb-card.wxml +26 -0
- package/registry/components/balance-thumb-card/balance-thumb-card.wxss +31 -0
- package/registry/components/balance-thumb-card/index.js +2 -0
- package/registry/components/balance-thumb-card/props.js +17 -0
- package/registry/components/bill-card/bill-card.js +23 -0
- package/registry/components/bill-card/bill-card.json +1 -0
- package/registry/components/bill-card/bill-card.wxml +30 -0
- package/registry/components/bill-card/bill-card.wxss +33 -0
- package/registry/components/bill-card/index.js +2 -0
- package/registry/components/bill-card/props.js +18 -0
- package/registry/components/button/button.js +1 -0
- package/registry/components/button/button.json +1 -0
- package/registry/components/button/button.wxml +1 -0
- package/registry/components/button/button.wxss +775 -0
- package/registry/components/button/index.js +1 -0
- package/registry/components/button/props.js +1 -0
- package/registry/components/calendar/calendar-header.wxml +1 -0
- package/registry/components/calendar/calendar.js +1 -0
- package/registry/components/calendar/calendar.json +1 -0
- package/registry/components/calendar/calendar.wxml +1 -0
- package/registry/components/calendar/calendar.wxs +44 -0
- package/registry/components/calendar/calendar.wxss +246 -0
- package/registry/components/calendar/index.js +1 -0
- package/registry/components/calendar/props.js +1 -0
- package/registry/components/calendar/template.wxml +1 -0
- package/registry/components/calendar/utils.js +1 -0
- package/registry/components/card/card.js +24 -0
- package/registry/components/card/card.json +1 -0
- package/registry/components/card/card.wxml +23 -0
- package/registry/components/card/card.wxss +103 -0
- package/registry/components/card/index.js +2 -0
- package/registry/components/card/props.js +16 -0
- package/registry/components/card-list/card-list.js +22 -0
- package/registry/components/card-list/card-list.json +1 -0
- package/registry/components/card-list/card-list.wxml +7 -0
- package/registry/components/card-list/card-list.wxss +30 -0
- package/registry/components/card-list/index.js +2 -0
- package/registry/components/card-list/props.js +16 -0
- package/registry/components/cascader/cascader.js +1 -0
- package/registry/components/cascader/cascader.json +1 -0
- package/registry/components/cascader/cascader.wxml +1 -0
- package/registry/components/cascader/cascader.wxss +178 -0
- package/registry/components/cascader/index.js +1 -0
- package/registry/components/cascader/props.js +1 -0
- package/registry/components/category-filter/category-filter.js +50 -0
- package/registry/components/category-filter/category-filter.json +1 -0
- package/registry/components/category-filter/category-filter.wxml +16 -0
- package/registry/components/category-filter/category-filter.wxss +47 -0
- package/registry/components/category-filter/index.js +2 -0
- package/registry/components/category-filter/props.js +10 -0
- package/registry/components/cell/cell.js +1 -0
- package/registry/components/cell/cell.json +1 -0
- package/registry/components/cell/cell.wxml +1 -0
- package/registry/components/cell/cell.wxss +136 -0
- package/registry/components/cell/index.js +1 -0
- package/registry/components/cell/props.js +1 -0
- package/registry/components/check-tag/check-tag.js +1 -0
- package/registry/components/check-tag/check-tag.json +1 -0
- package/registry/components/check-tag/check-tag.wxml +1 -0
- package/registry/components/check-tag/check-tag.wxss +275 -0
- package/registry/components/check-tag/index.js +1 -0
- package/registry/components/check-tag/props.js +1 -0
- package/registry/components/checkbox/checkbox.js +1 -0
- package/registry/components/checkbox/checkbox.json +1 -0
- package/registry/components/checkbox/checkbox.wxml +1 -0
- package/registry/components/checkbox/checkbox.wxss +230 -0
- package/registry/components/checkbox/index.js +1 -0
- package/registry/components/checkbox/props.js +1 -0
- package/registry/components/checkbox-group/checkbox-group.js +1 -0
- package/registry/components/checkbox-group/checkbox-group.json +1 -0
- package/registry/components/checkbox-group/checkbox-group.wxml +1 -0
- package/registry/components/checkbox-group/checkbox-group.wxss +7 -0
- package/registry/components/checkbox-group/index.js +1 -0
- package/registry/components/checkbox-group/props.js +1 -0
- package/registry/components/collapse/collapse.js +1 -0
- package/registry/components/collapse/collapse.json +1 -0
- package/registry/components/collapse/collapse.wxml +1 -0
- package/registry/components/collapse/collapse.wxss +8 -0
- package/registry/components/collapse/index.js +1 -0
- package/registry/components/collapse/props.js +1 -0
- package/registry/components/collapse-panel/collapse-panel.js +1 -0
- package/registry/components/collapse-panel/collapse-panel.json +1 -0
- package/registry/components/collapse-panel/collapse-panel.wxml +1 -0
- package/registry/components/collapse-panel/collapse-panel.wxss +186 -0
- package/registry/components/collapse-panel/index.js +1 -0
- package/registry/components/collapse-panel/props.js +1 -0
- package/registry/components/color-picker/color-picker.js +1 -0
- package/registry/components/color-picker/color-picker.json +1 -0
- package/registry/components/color-picker/color-picker.wxml +1 -0
- package/registry/components/color-picker/color-picker.wxss +312 -0
- package/registry/components/color-picker/constants.js +1 -0
- package/registry/components/color-picker/index.js +1 -0
- package/registry/components/color-picker/interfaces.js +1 -0
- package/registry/components/color-picker/props.js +1 -0
- package/registry/components/color-picker/template.wxml +1 -0
- package/registry/components/color-picker/utils.js +1 -0
- package/registry/components/common/bus.js +1 -0
- package/registry/components/common/config.js +1 -0
- package/registry/components/common/libs/tinycolor.js +1 -0
- package/registry/components/common/locale.js +20 -0
- package/registry/components/common/mixins/page-scroll.js +1 -0
- package/registry/components/common/mixins/touch.js +1 -0
- package/registry/components/common/mixins/transition.js +1 -0
- package/registry/components/common/mixins/using-config.js +24 -0
- package/registry/components/common/mixins/using-custom-navbar.js +1 -0
- package/registry/components/common/shared/calendar/index.js +1 -0
- package/registry/components/common/shared/color-picker/cmyk.js +1 -0
- package/registry/components/common/shared/color-picker/color.js +1 -0
- package/registry/components/common/shared/color-picker/gradient.js +1 -0
- package/registry/components/common/shared/color-picker/index.js +1 -0
- package/registry/components/common/shared/date.js +1 -0
- package/registry/components/common/shared/qrcode/qrcodegen.js +1 -0
- package/registry/components/common/shared/qrcode/utils.js +1 -0
- package/registry/components/common/src/control.js +1 -0
- package/registry/components/common/src/flatTool.js +1 -0
- package/registry/components/common/src/index.js +1 -0
- package/registry/components/common/src/instantiationDecorator.js +1 -0
- package/registry/components/common/src/superComponent.js +1 -0
- package/registry/components/common/style/card.wxss +245 -0
- package/registry/components/common/style/index.wxss +3 -0
- package/registry/components/common/style/tokens.wxss +233 -0
- package/registry/components/common/template/badge.wxml +1 -0
- package/registry/components/common/template/button.wxml +1 -0
- package/registry/components/common/template/icon.wxml +1 -0
- package/registry/components/common/template/image.wxml +1 -0
- package/registry/components/common/tslib.js +2 -0
- package/registry/components/common/typography/ellipsis.wxml +1 -0
- package/registry/components/common/typography/typography.wxs +49 -0
- package/registry/components/common/utils.js +1 -0
- package/registry/components/common/utils.wxs +149 -0
- package/registry/components/common/validator.js +1 -0
- package/registry/components/common/wechat.js +1 -0
- package/registry/components/consumption-card/consumption-card.js +23 -0
- package/registry/components/consumption-card/consumption-card.json +1 -0
- package/registry/components/consumption-card/consumption-card.wxml +16 -0
- package/registry/components/consumption-card/consumption-card.wxss +36 -0
- package/registry/components/consumption-card/index.js +2 -0
- package/registry/components/consumption-card/props.js +14 -0
- package/registry/components/contact-list/contact-list.js +60 -0
- package/registry/components/contact-list/contact-list.json +1 -0
- package/registry/components/contact-list/contact-list.wxml +24 -0
- package/registry/components/contact-list/contact-list.wxss +73 -0
- package/registry/components/contact-list/index.js +2 -0
- package/registry/components/contact-list/props.js +13 -0
- package/registry/components/description-tile/description-tile.js +22 -0
- package/registry/components/description-tile/description-tile.json +1 -0
- package/registry/components/description-tile/description-tile.wxml +11 -0
- package/registry/components/description-tile/description-tile.wxss +21 -0
- package/registry/components/description-tile/index.js +2 -0
- package/registry/components/description-tile/props.js +10 -0
- package/registry/components/details-card/details-card.js +38 -0
- package/registry/components/details-card/details-card.json +1 -0
- package/registry/components/details-card/details-card.wxml +37 -0
- package/registry/components/details-card/details-card.wxss +119 -0
- package/registry/components/details-card/index.js +2 -0
- package/registry/components/details-card/props.js +22 -0
- package/registry/components/dialog/dialog.js +1 -0
- package/registry/components/dialog/dialog.json +1 -0
- package/registry/components/dialog/dialog.wxml +1 -0
- package/registry/components/dialog/dialog.wxs +13 -0
- package/registry/components/dialog/dialog.wxss +123 -0
- package/registry/components/dialog/index.js +1 -0
- package/registry/components/dialog/props.js +1 -0
- package/registry/components/divider/divider.js +1 -0
- package/registry/components/divider/divider.json +1 -0
- package/registry/components/divider/divider.wxml +1 -0
- package/registry/components/divider/divider.wxss +69 -0
- package/registry/components/divider/index.js +1 -0
- package/registry/components/divider/props.js +1 -0
- package/registry/components/drawer/drawer.js +1 -0
- package/registry/components/drawer/drawer.json +1 -0
- package/registry/components/drawer/drawer.wxml +1 -0
- package/registry/components/drawer/drawer.wxss +75 -0
- package/registry/components/drawer/index.js +1 -0
- package/registry/components/drawer/props.js +1 -0
- package/registry/components/dropdown-item/dropdown-item.js +1 -0
- package/registry/components/dropdown-item/dropdown-item.json +1 -0
- package/registry/components/dropdown-item/dropdown-item.wxml +1 -0
- package/registry/components/dropdown-item/dropdown-item.wxss +116 -0
- package/registry/components/dropdown-item/index.js +1 -0
- package/registry/components/dropdown-item/index.wxs +9 -0
- package/registry/components/dropdown-item/props.js +1 -0
- package/registry/components/dropdown-menu/dropdown-menu.js +1 -0
- package/registry/components/dropdown-menu/dropdown-menu.json +1 -0
- package/registry/components/dropdown-menu/dropdown-menu.wxml +1 -0
- package/registry/components/dropdown-menu/dropdown-menu.wxss +72 -0
- package/registry/components/dropdown-menu/index.js +1 -0
- package/registry/components/dropdown-menu/props.js +1 -0
- package/registry/components/empty/empty.js +1 -0
- package/registry/components/empty/empty.json +1 -0
- package/registry/components/empty/empty.wxml +1 -0
- package/registry/components/empty/empty.wxss +28 -0
- package/registry/components/empty/index.js +1 -0
- package/registry/components/empty/props.js +1 -0
- package/registry/components/entry-card/entry-card.js +23 -0
- package/registry/components/entry-card/entry-card.json +1 -0
- package/registry/components/entry-card/entry-card.wxml +14 -0
- package/registry/components/entry-card/entry-card.wxss +30 -0
- package/registry/components/entry-card/index.js +2 -0
- package/registry/components/entry-card/props.js +11 -0
- package/registry/components/file-drop/file-drop.js +23 -0
- package/registry/components/file-drop/file-drop.json +1 -0
- package/registry/components/file-drop/file-drop.wxml +13 -0
- package/registry/components/file-drop/file-drop.wxss +35 -0
- package/registry/components/file-drop/index.js +2 -0
- package/registry/components/file-drop/props.js +9 -0
- package/registry/components/grid/grid.js +1 -0
- package/registry/components/grid/grid.json +1 -0
- package/registry/components/grid/grid.wxml +1 -0
- package/registry/components/grid/grid.wxss +18 -0
- package/registry/components/grid/index.js +1 -0
- package/registry/components/grid/props.js +1 -0
- package/registry/components/grid-item/grid-item.js +1 -0
- package/registry/components/grid-item/grid-item.json +1 -0
- package/registry/components/grid-item/grid-item.wxml +1 -0
- package/registry/components/grid-item/grid-item.wxss +130 -0
- package/registry/components/grid-item/index.js +1 -0
- package/registry/components/grid-item/props.js +1 -0
- package/registry/components/guide/content.wxml +1 -0
- package/registry/components/guide/guide.js +1 -0
- package/registry/components/guide/guide.json +1 -0
- package/registry/components/guide/guide.wxml +1 -0
- package/registry/components/guide/guide.wxss +79 -0
- package/registry/components/guide/index.js +1 -0
- package/registry/components/guide/props.js +1 -0
- package/registry/components/icon/icon.js +1 -0
- package/registry/components/icon/icon.json +1 -0
- package/registry/components/icon/icon.wxml +1 -0
- package/registry/components/icon/icon.wxss +2361 -0
- package/registry/components/icon/index.js +1 -0
- package/registry/components/icon/props.js +1 -0
- package/registry/components/image/image.js +1 -0
- package/registry/components/image/image.json +1 -0
- package/registry/components/image/image.wxml +1 -0
- package/registry/components/image/image.wxss +55 -0
- package/registry/components/image/index.js +1 -0
- package/registry/components/image/props.js +1 -0
- package/registry/components/image-viewer/image-viewer.js +1 -0
- package/registry/components/image-viewer/image-viewer.json +1 -0
- package/registry/components/image-viewer/image-viewer.wxml +1 -0
- package/registry/components/image-viewer/image-viewer.wxs +7 -0
- package/registry/components/image-viewer/image-viewer.wxss +90 -0
- package/registry/components/image-viewer/index.js +1 -0
- package/registry/components/image-viewer/props.js +1 -0
- package/registry/components/info-card/index.js +2 -0
- package/registry/components/info-card/info-card.js +22 -0
- package/registry/components/info-card/info-card.json +1 -0
- package/registry/components/info-card/info-card.wxml +14 -0
- package/registry/components/info-card/info-card.wxss +56 -0
- package/registry/components/info-card/props.js +11 -0
- package/registry/components/input/index.js +1 -0
- package/registry/components/input/input.js +1 -0
- package/registry/components/input/input.json +1 -0
- package/registry/components/input/input.wxml +1 -0
- package/registry/components/input/input.wxs +16 -0
- package/registry/components/input/input.wxss +313 -0
- package/registry/components/input/props.js +1 -0
- package/registry/components/insight-card/index.js +2 -0
- package/registry/components/insight-card/insight-card.js +19 -0
- package/registry/components/insight-card/insight-card.json +1 -0
- package/registry/components/insight-card/insight-card.wxml +17 -0
- package/registry/components/insight-card/insight-card.wxss +35 -0
- package/registry/components/insight-card/props.js +12 -0
- package/registry/components/link/index.js +1 -0
- package/registry/components/link/link.js +1 -0
- package/registry/components/link/link.json +1 -0
- package/registry/components/link/link.wxml +1 -0
- package/registry/components/link/link.wxss +155 -0
- package/registry/components/link/props.js +1 -0
- package/registry/components/list-item/index.js +2 -0
- package/registry/components/list-item/list-item.js +39 -0
- package/registry/components/list-item/list-item.json +1 -0
- package/registry/components/list-item/list-item.wxml +22 -0
- package/registry/components/list-item/list-item.wxss +110 -0
- package/registry/components/list-item/props.js +22 -0
- package/registry/components/loading/index.js +1 -0
- package/registry/components/loading/loading.js +1 -0
- package/registry/components/loading/loading.json +1 -0
- package/registry/components/loading/loading.wxml +1 -0
- package/registry/components/loading/loading.wxss +281 -0
- package/registry/components/loading/props.js +1 -0
- package/registry/components/main-card/index.js +2 -0
- package/registry/components/main-card/main-card.js +23 -0
- package/registry/components/main-card/main-card.json +1 -0
- package/registry/components/main-card/main-card.wxml +37 -0
- package/registry/components/main-card/main-card.wxss +63 -0
- package/registry/components/main-card/props.js +24 -0
- package/registry/components/media-card/index.js +2 -0
- package/registry/components/media-card/media-card.js +23 -0
- package/registry/components/media-card/media-card.json +1 -0
- package/registry/components/media-card/media-card.wxml +11 -0
- package/registry/components/media-card/media-card.wxss +51 -0
- package/registry/components/media-card/props.js +8 -0
- package/registry/components/message/index.js +1 -0
- package/registry/components/message/message.interface.js +1 -0
- package/registry/components/message/message.js +1 -0
- package/registry/components/message/message.json +1 -0
- package/registry/components/message/message.wxml +1 -0
- package/registry/components/message/message.wxss +2 -0
- package/registry/components/message/props.js +1 -0
- package/registry/components/message-item/index.js +1 -0
- package/registry/components/message-item/message-item.js +1 -0
- package/registry/components/message-item/message-item.json +1 -0
- package/registry/components/message-item/message-item.wxml +1 -0
- package/registry/components/message-item/message-item.wxs +31 -0
- package/registry/components/message-item/message-item.wxss +141 -0
- package/registry/components/navbar/index.js +1 -0
- package/registry/components/navbar/navbar.js +1 -0
- package/registry/components/navbar/navbar.json +1 -0
- package/registry/components/navbar/navbar.wxml +1 -0
- package/registry/components/navbar/navbar.wxss +126 -0
- package/registry/components/navbar/props.js +1 -0
- package/registry/components/notice-bar/index.js +1 -0
- package/registry/components/notice-bar/notice-bar.js +1 -0
- package/registry/components/notice-bar/notice-bar.json +1 -0
- package/registry/components/notice-bar/notice-bar.wxml +1 -0
- package/registry/components/notice-bar/notice-bar.wxss +95 -0
- package/registry/components/notice-bar/props.js +1 -0
- package/registry/components/notification-item/index.js +2 -0
- package/registry/components/notification-item/notification-item.js +35 -0
- package/registry/components/notification-item/notification-item.json +1 -0
- package/registry/components/notification-item/notification-item.wxml +14 -0
- package/registry/components/notification-item/notification-item.wxss +47 -0
- package/registry/components/notification-item/props.js +10 -0
- package/registry/components/offer-card/index.js +2 -0
- package/registry/components/offer-card/offer-card.js +22 -0
- package/registry/components/offer-card/offer-card.json +1 -0
- package/registry/components/offer-card/offer-card.wxml +33 -0
- package/registry/components/offer-card/offer-card.wxss +37 -0
- package/registry/components/offer-card/props.js +21 -0
- package/registry/components/om-card/index.js +2 -0
- package/registry/components/om-card/om-card.js +40 -0
- package/registry/components/om-card/om-card.json +1 -0
- package/registry/components/om-card/om-card.wxml +35 -0
- package/registry/components/om-card/om-card.wxss +90 -0
- package/registry/components/om-card/props.js +14 -0
- package/registry/components/overlay/index.js +1 -0
- package/registry/components/overlay/overlay.js +1 -0
- package/registry/components/overlay/overlay.json +1 -0
- package/registry/components/overlay/overlay.wxml +1 -0
- package/registry/components/overlay/overlay.wxss +22 -0
- package/registry/components/overlay/props.js +1 -0
- package/registry/components/paragraph/index.js +1 -0
- package/registry/components/paragraph/paragraph.js +1 -0
- package/registry/components/paragraph/paragraph.json +1 -0
- package/registry/components/paragraph/paragraph.wxml +1 -0
- package/registry/components/paragraph/paragraph.wxss +151 -0
- package/registry/components/paragraph/props.js +1 -0
- package/registry/components/picker/index.js +1 -0
- package/registry/components/picker/picker.js +1 -0
- package/registry/components/picker/picker.json +1 -0
- package/registry/components/picker/picker.wxml +1 -0
- package/registry/components/picker/picker.wxs +9 -0
- package/registry/components/picker/picker.wxss +84 -0
- package/registry/components/picker/props.js +1 -0
- package/registry/components/picker/template.wxml +1 -0
- package/registry/components/picker-item/index.js +1 -0
- package/registry/components/picker-item/picker-item.js +1 -0
- package/registry/components/picker-item/picker-item.json +1 -0
- package/registry/components/picker-item/picker-item.wxml +1 -0
- package/registry/components/picker-item/picker-item.wxss +41 -0
- package/registry/components/picker-item/props.js +1 -0
- package/registry/components/popover/index.js +1 -0
- package/registry/components/popover/popover.js +1 -0
- package/registry/components/popover/popover.json +1 -0
- package/registry/components/popover/popover.wxml +1 -0
- package/registry/components/popover/popover.wxss +336 -0
- package/registry/components/popover/props.js +1 -0
- package/registry/components/popup/index.js +1 -0
- package/registry/components/popup/popup.js +1 -0
- package/registry/components/popup/popup.json +1 -0
- package/registry/components/popup/popup.wxml +1 -0
- package/registry/components/popup/popup.wxs +21 -0
- package/registry/components/popup/popup.wxss +96 -0
- package/registry/components/popup/props.js +1 -0
- package/registry/components/post-item/index.js +2 -0
- package/registry/components/post-item/post-item.js +22 -0
- package/registry/components/post-item/post-item.json +1 -0
- package/registry/components/post-item/post-item.wxml +5 -0
- package/registry/components/post-item/post-item.wxss +37 -0
- package/registry/components/post-item/props.js +7 -0
- package/registry/components/progress/index.js +1 -0
- package/registry/components/progress/progress.js +1 -0
- package/registry/components/progress/progress.json +1 -0
- package/registry/components/progress/progress.wxml +1 -0
- package/registry/components/progress/progress.wxs +80 -0
- package/registry/components/progress/progress.wxss +161 -0
- package/registry/components/progress/props.js +1 -0
- package/registry/components/progress/utils.js +1 -0
- package/registry/components/purchase-card/index.js +2 -0
- package/registry/components/purchase-card/props.js +13 -0
- package/registry/components/purchase-card/purchase-card.js +40 -0
- package/registry/components/purchase-card/purchase-card.json +1 -0
- package/registry/components/purchase-card/purchase-card.wxml +22 -0
- package/registry/components/purchase-card/purchase-card.wxss +19 -0
- package/registry/components/qrcode/components/qrcode-canvas/props.js +1 -0
- package/registry/components/qrcode/components/qrcode-canvas/qrcode-canvas.js +1 -0
- package/registry/components/qrcode/components/qrcode-canvas/qrcode-canvas.json +1 -0
- package/registry/components/qrcode/components/qrcode-canvas/qrcode-canvas.wxml +1 -0
- package/registry/components/qrcode/components/qrcode-canvas/qrcode-canvas.wxss +10 -0
- package/registry/components/qrcode/components/qrcode-status/props.js +1 -0
- package/registry/components/qrcode/components/qrcode-status/qrcode-status.js +1 -0
- package/registry/components/qrcode/components/qrcode-status/qrcode-status.json +1 -0
- package/registry/components/qrcode/components/qrcode-status/qrcode-status.wxml +1 -0
- package/registry/components/qrcode/components/qrcode-status/qrcode-status.wxss +32 -0
- package/registry/components/qrcode/hooks/useQRCode.js +1 -0
- package/registry/components/qrcode/index.js +1 -0
- package/registry/components/qrcode/props.js +1 -0
- package/registry/components/qrcode/qrcode.js +1 -0
- package/registry/components/qrcode/qrcode.json +1 -0
- package/registry/components/qrcode/qrcode.wxml +1 -0
- package/registry/components/qrcode/qrcode.wxss +36 -0
- package/registry/components/quick-action/index.js +2 -0
- package/registry/components/quick-action/props.js +10 -0
- package/registry/components/quick-action/quick-action.js +22 -0
- package/registry/components/quick-action/quick-action.json +1 -0
- package/registry/components/quick-action/quick-action.wxml +15 -0
- package/registry/components/quick-action/quick-action.wxss +80 -0
- package/registry/components/radio/index.js +1 -0
- package/registry/components/radio/props.js +1 -0
- package/registry/components/radio/radio.js +1 -0
- package/registry/components/radio/radio.json +1 -0
- package/registry/components/radio/radio.wxml +1 -0
- package/registry/components/radio/radio.wxss +219 -0
- package/registry/components/radio-group/index.js +1 -0
- package/registry/components/radio-group/props.js +1 -0
- package/registry/components/radio-group/radio-group.js +1 -0
- package/registry/components/radio-group/radio-group.json +1 -0
- package/registry/components/radio-group/radio-group.wxml +1 -0
- package/registry/components/radio-group/radio-group.wxss +7 -0
- package/registry/components/rate/index.js +1 -0
- package/registry/components/rate/props.js +1 -0
- package/registry/components/rate/rate.js +1 -0
- package/registry/components/rate/rate.json +1 -0
- package/registry/components/rate/rate.wxml +1 -0
- package/registry/components/rate/rate.wxs +65 -0
- package/registry/components/rate/rate.wxss +99 -0
- package/registry/components/rating-card/index.js +2 -0
- package/registry/components/rating-card/props.js +12 -0
- package/registry/components/rating-card/rating-card.js +42 -0
- package/registry/components/rating-card/rating-card.json +1 -0
- package/registry/components/rating-card/rating-card.wxml +24 -0
- package/registry/components/rating-card/rating-card.wxss +49 -0
- package/registry/components/recap-card/index.js +2 -0
- package/registry/components/recap-card/props.js +21 -0
- package/registry/components/recap-card/recap-card.js +38 -0
- package/registry/components/recap-card/recap-card.json +1 -0
- package/registry/components/recap-card/recap-card.wxml +43 -0
- package/registry/components/recap-card/recap-card.wxss +60 -0
- package/registry/components/result/illustrations.js +2 -0
- package/registry/components/result/index.js +1 -0
- package/registry/components/result/props.js +1 -0
- package/registry/components/result/result.js +1 -0
- package/registry/components/result/result.json +1 -0
- package/registry/components/result/result.wxml +1 -0
- package/registry/components/result/result.wxss +97 -0
- package/registry/components/review-item/index.js +2 -0
- package/registry/components/review-item/props.js +13 -0
- package/registry/components/review-item/review-item.js +38 -0
- package/registry/components/review-item/review-item.json +1 -0
- package/registry/components/review-item/review-item.wxml +19 -0
- package/registry/components/review-item/review-item.wxss +65 -0
- package/registry/components/search/index.js +1 -0
- package/registry/components/search/props.js +1 -0
- package/registry/components/search/search.js +1 -0
- package/registry/components/search/search.json +1 -0
- package/registry/components/search/search.wxml +1 -0
- package/registry/components/search/search.wxs +6 -0
- package/registry/components/search/search.wxss +100 -0
- package/registry/components/section-title/index.js +2 -0
- package/registry/components/section-title/props.js +6 -0
- package/registry/components/section-title/section-title.js +22 -0
- package/registry/components/section-title/section-title.json +1 -0
- package/registry/components/section-title/section-title.wxml +6 -0
- package/registry/components/section-title/section-title.wxss +19 -0
- package/registry/components/segmented/index.js +1 -0
- package/registry/components/segmented/props.js +1 -0
- package/registry/components/segmented/segmented.js +1 -0
- package/registry/components/segmented/segmented.json +1 -0
- package/registry/components/segmented/segmented.wxml +1 -0
- package/registry/components/segmented/segmented.wxss +113 -0
- package/registry/components/selection-card/index.js +2 -0
- package/registry/components/selection-card/props.js +11 -0
- package/registry/components/selection-card/selection-card.js +25 -0
- package/registry/components/selection-card/selection-card.json +1 -0
- package/registry/components/selection-card/selection-card.wxml +7 -0
- package/registry/components/selection-card/selection-card.wxss +27 -0
- package/registry/components/shortcut-chip/index.js +2 -0
- package/registry/components/shortcut-chip/props.js +7 -0
- package/registry/components/shortcut-chip/shortcut-chip.js +24 -0
- package/registry/components/shortcut-chip/shortcut-chip.json +1 -0
- package/registry/components/shortcut-chip/shortcut-chip.wxml +4 -0
- package/registry/components/shortcut-chip/shortcut-chip.wxss +29 -0
- package/registry/components/skeleton/index.js +1 -0
- package/registry/components/skeleton/props.js +1 -0
- package/registry/components/skeleton/skeleton.js +1 -0
- package/registry/components/skeleton/skeleton.json +1 -0
- package/registry/components/skeleton/skeleton.wxml +1 -0
- package/registry/components/skeleton/skeleton.wxss +92 -0
- package/registry/components/slider/index.js +1 -0
- package/registry/components/slider/props.js +1 -0
- package/registry/components/slider/slider.js +1 -0
- package/registry/components/slider/slider.json +1 -0
- package/registry/components/slider/slider.wxml +1 -0
- package/registry/components/slider/slider.wxs +10 -0
- package/registry/components/slider/slider.wxss +287 -0
- package/registry/components/slider/tool.js +1 -0
- package/registry/components/step-item/index.js +1 -0
- package/registry/components/step-item/props.js +1 -0
- package/registry/components/step-item/step-item.js +1 -0
- package/registry/components/step-item/step-item.json +1 -0
- package/registry/components/step-item/step-item.wxml +1 -0
- package/registry/components/step-item/step-item.wxs +7 -0
- package/registry/components/step-item/step-item.wxss +226 -0
- package/registry/components/stepper/index.js +1 -0
- package/registry/components/stepper/props.js +1 -0
- package/registry/components/stepper/stepper.js +1 -0
- package/registry/components/stepper/stepper.json +1 -0
- package/registry/components/stepper/stepper.wxml +1 -0
- package/registry/components/stepper/stepper.wxss +130 -0
- package/registry/components/steps/index.js +1 -0
- package/registry/components/steps/props.js +1 -0
- package/registry/components/steps/steps.js +1 -0
- package/registry/components/steps/steps.json +1 -0
- package/registry/components/steps/steps.wxml +1 -0
- package/registry/components/steps/steps.wxss +27 -0
- package/registry/components/sticky/index.js +1 -0
- package/registry/components/sticky/props.js +1 -0
- package/registry/components/sticky/sticky.js +1 -0
- package/registry/components/sticky/sticky.json +1 -0
- package/registry/components/sticky/sticky.wxml +1 -0
- package/registry/components/sticky/sticky.wxss +6 -0
- package/registry/components/story-item/index.js +2 -0
- package/registry/components/story-item/props.js +8 -0
- package/registry/components/story-item/story-item.js +22 -0
- package/registry/components/story-item/story-item.json +1 -0
- package/registry/components/story-item/story-item.wxml +9 -0
- package/registry/components/story-item/story-item.wxss +43 -0
- package/registry/components/swipe-cell/index.js +1 -0
- package/registry/components/swipe-cell/props.js +1 -0
- package/registry/components/swipe-cell/swipe-cell.js +1 -0
- package/registry/components/swipe-cell/swipe-cell.json +1 -0
- package/registry/components/swipe-cell/swipe-cell.wxml +1 -0
- package/registry/components/swipe-cell/swipe-cell.wxs +185 -0
- package/registry/components/swipe-cell/swipe-cell.wxss +40 -0
- package/registry/components/swiper/index.js +1 -0
- package/registry/components/swiper/index.wxs +25 -0
- package/registry/components/swiper/props.js +1 -0
- package/registry/components/swiper/swiper.js +1 -0
- package/registry/components/swiper/swiper.json +1 -0
- package/registry/components/swiper/swiper.wxml +1 -0
- package/registry/components/swiper/swiper.wxss +28 -0
- package/registry/components/swiper-nav/index.js +1 -0
- package/registry/components/swiper-nav/props.js +1 -0
- package/registry/components/swiper-nav/swiper-nav.js +1 -0
- package/registry/components/swiper-nav/swiper-nav.json +1 -0
- package/registry/components/swiper-nav/swiper-nav.wxml +1 -0
- package/registry/components/swiper-nav/swiper-nav.wxss +155 -0
- package/registry/components/switch/index.js +1 -0
- package/registry/components/switch/props.js +1 -0
- package/registry/components/switch/switch.js +1 -0
- package/registry/components/switch/switch.json +1 -0
- package/registry/components/switch/switch.wxml +1 -0
- package/registry/components/switch/switch.wxss +169 -0
- package/registry/components/tab-bar/index.js +1 -0
- package/registry/components/tab-bar/props.js +1 -0
- package/registry/components/tab-bar/tab-bar.js +1 -0
- package/registry/components/tab-bar/tab-bar.json +1 -0
- package/registry/components/tab-bar/tab-bar.wxml +1 -0
- package/registry/components/tab-bar/tab-bar.wxss +50 -0
- package/registry/components/tab-bar-item/index.js +1 -0
- package/registry/components/tab-bar-item/props.js +1 -0
- package/registry/components/tab-bar-item/tab-bar-item.js +1 -0
- package/registry/components/tab-bar-item/tab-bar-item.json +1 -0
- package/registry/components/tab-bar-item/tab-bar-item.wxml +1 -0
- package/registry/components/tab-bar-item/tab-bar-item.wxss +177 -0
- package/registry/components/tab-panel/index.js +1 -0
- package/registry/components/tab-panel/props.js +1 -0
- package/registry/components/tab-panel/tab-panel.js +1 -0
- package/registry/components/tab-panel/tab-panel.json +1 -0
- package/registry/components/tab-panel/tab-panel.wxml +1 -0
- package/registry/components/tab-panel/tab-panel.wxss +20 -0
- package/registry/components/tabs/index.js +1 -0
- package/registry/components/tabs/props.js +1 -0
- package/registry/components/tabs/tabs.js +1 -0
- package/registry/components/tabs/tabs.json +1 -0
- package/registry/components/tabs/tabs.wxml +1 -0
- package/registry/components/tabs/tabs.wxs +30 -0
- package/registry/components/tabs/tabs.wxss +233 -0
- package/registry/components/tag/index.js +1 -0
- package/registry/components/tag/props.js +1 -0
- package/registry/components/tag/tag.js +1 -0
- package/registry/components/tag/tag.json +1 -0
- package/registry/components/tag/tag.wxml +1 -0
- package/registry/components/tag/tag.wxss +268 -0
- package/registry/components/text/index.js +1 -0
- package/registry/components/text/props.js +1 -0
- package/registry/components/text/text.js +1 -0
- package/registry/components/text/text.json +1 -0
- package/registry/components/text/text.wxml +1 -0
- package/registry/components/text/text.wxss +151 -0
- package/registry/components/textarea/index.js +1 -0
- package/registry/components/textarea/props.js +1 -0
- package/registry/components/textarea/textarea.js +1 -0
- package/registry/components/textarea/textarea.json +1 -0
- package/registry/components/textarea/textarea.wxml +1 -0
- package/registry/components/textarea/textarea.wxs +15 -0
- package/registry/components/textarea/textarea.wxss +151 -0
- package/registry/components/ticket/index.js +2 -0
- package/registry/components/ticket/props.js +19 -0
- package/registry/components/ticket/ticket.js +19 -0
- package/registry/components/ticket/ticket.json +1 -0
- package/registry/components/ticket/ticket.wxml +31 -0
- package/registry/components/ticket/ticket.wxss +57 -0
- package/registry/components/title/index.js +1 -0
- package/registry/components/title/props.js +1 -0
- package/registry/components/title/title.js +1 -0
- package/registry/components/title/title.json +1 -0
- package/registry/components/title/title.wxml +1 -0
- package/registry/components/title/title.wxss +151 -0
- package/registry/components/toast/index.js +1 -0
- package/registry/components/toast/props.js +1 -0
- package/registry/components/toast/toast.js +1 -0
- package/registry/components/toast/toast.json +1 -0
- package/registry/components/toast/toast.wxml +1 -0
- package/registry/components/toast/toast.wxss +87 -0
- package/registry/components/toggle-card/index.js +2 -0
- package/registry/components/toggle-card/props.js +7 -0
- package/registry/components/toggle-card/toggle-card.js +37 -0
- package/registry/components/toggle-card/toggle-card.json +1 -0
- package/registry/components/toggle-card/toggle-card.wxml +12 -0
- package/registry/components/toggle-card/toggle-card.wxss +11 -0
- package/registry/components/top-item/index.js +2 -0
- package/registry/components/top-item/props.js +10 -0
- package/registry/components/top-item/top-item.js +22 -0
- package/registry/components/top-item/top-item.json +1 -0
- package/registry/components/top-item/top-item.wxml +8 -0
- package/registry/components/top-item/top-item.wxss +37 -0
- package/registry/components/transaction-card/index.js +2 -0
- package/registry/components/transaction-card/props.js +25 -0
- package/registry/components/transaction-card/transaction-card.js +43 -0
- package/registry/components/transaction-card/transaction-card.json +1 -0
- package/registry/components/transaction-card/transaction-card.wxml +44 -0
- package/registry/components/transaction-card/transaction-card.wxss +45 -0
- package/registry/components/transfer-item/index.js +2 -0
- package/registry/components/transfer-item/props.js +18 -0
- package/registry/components/transfer-item/transfer-item.js +40 -0
- package/registry/components/transfer-item/transfer-item.json +1 -0
- package/registry/components/transfer-item/transfer-item.wxml +34 -0
- package/registry/components/transfer-item/transfer-item.wxss +66 -0
- package/registry/components/upload/drag.wxs +242 -0
- package/registry/components/upload/index.js +1 -0
- package/registry/components/upload/props.js +1 -0
- package/registry/components/upload/upload.js +1 -0
- package/registry/components/upload/upload.json +1 -0
- package/registry/components/upload/upload.wxml +1 -0
- package/registry/components/upload/upload.wxs +129 -0
- package/registry/components/upload/upload.wxss +354 -0
- package/registry/components/wheel-select/index.js +2 -0
- package/registry/components/wheel-select/props.js +8 -0
- package/registry/components/wheel-select/wheel-select.js +38 -0
- package/registry/components/wheel-select/wheel-select.json +1 -0
- package/registry/components/wheel-select/wheel-select.wxml +9 -0
- package/registry/components/wheel-select/wheel-select.wxss +22 -0
- package/registry/registry.json +1033 -0
|
@@ -0,0 +1,775 @@
|
|
|
1
|
+
@import '../common/style/index.wxss';
|
|
2
|
+
|
|
3
|
+
.o-button--size-extra-small {
|
|
4
|
+
font: var(--o-button-extra-small-font,var(--o-font-mark-medium,600 28rpx / 44rpx var(--o-font-family,Roboto,PingFang SC,Microsoft YaHei,Arial)));
|
|
5
|
+
padding-left: var(--o-button-extra-small-padding-horizontal,var(--o-spacer,16rpx));
|
|
6
|
+
padding-right: var(--o-button-extra-small-padding-horizontal,var(--o-spacer,16rpx));
|
|
7
|
+
height: var(--o-button-extra-small-height,56rpx);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.o-button--size-extra-small .o-button__icon {
|
|
11
|
+
font-size: var(--o-button-extra-small-icon-size,36rpx);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.o-button--size-small {
|
|
15
|
+
font: var(--o-button-small-font,var(--o-font-mark-medium,600 28rpx / 44rpx var(--o-font-family,Roboto,PingFang SC,Microsoft YaHei,Arial)));
|
|
16
|
+
padding-left: var(--o-button-small-padding-horizontal,var(--o-spacer-1,24rpx));
|
|
17
|
+
padding-right: var(--o-button-small-padding-horizontal,var(--o-spacer-1,24rpx));
|
|
18
|
+
height: var(--o-button-small-height,64rpx);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.o-button--size-small .o-button__icon {
|
|
22
|
+
font-size: var(--o-button-small-icon-size,36rpx);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.o-button--size-medium {
|
|
26
|
+
font: var(--o-button-medium-font,var(--o-font-mark-large,600 32rpx / 48rpx var(--o-font-family,Roboto,PingFang SC,Microsoft YaHei,Arial)));
|
|
27
|
+
padding-left: var(--o-button-medium-padding-horizontal,var(--o-spacer-2,32rpx));
|
|
28
|
+
padding-right: var(--o-button-medium-padding-horizontal,var(--o-spacer-2,32rpx));
|
|
29
|
+
height: var(--o-button-medium-height,80rpx);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.o-button--size-medium .o-button__icon {
|
|
33
|
+
font-size: var(--o-button-medium-icon-size,40rpx);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.o-button--size-large {
|
|
37
|
+
font: var(--o-button-large-font,var(--o-font-mark-large,600 32rpx / 48rpx var(--o-font-family,Roboto,PingFang SC,Microsoft YaHei,Arial)));
|
|
38
|
+
padding-left: var(--o-button-large-padding-horizontal,40rpx);
|
|
39
|
+
padding-right: var(--o-button-large-padding-horizontal,40rpx);
|
|
40
|
+
height: var(--o-button-large-height,96rpx);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.o-button--size-large .o-button__icon {
|
|
44
|
+
font-size: var(--o-button-large-icon-size,48rpx);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.o-button--default {
|
|
48
|
+
color: var(--o-button-default-color,var(--o-text-color-primary,var(--o-font-gray-1,#1c1b1f)));
|
|
49
|
+
background-color: var(--o-button-default-bg-color,var(--o-bg-color-component,var(--o-gray-color-3,#dddddd)));
|
|
50
|
+
border-color: var(--o-button-default-border-color,var(--o-bg-color-component,var(--o-gray-color-3,#dddddd)));
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.o-button--default::after {
|
|
54
|
+
border-width: var(--o-button-border-width,4rpx);
|
|
55
|
+
border-color: var(--o-button-default-border-color,var(--o-bg-color-component,var(--o-gray-color-3,#dddddd)));
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.o-button--default.o-button--hover {
|
|
59
|
+
z-index: 0;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.o-button--default.o-button--hover,
|
|
63
|
+
.o-button--default.o-button--hover::after {
|
|
64
|
+
background-color: var(--o-button-default-active-bg-color,var(--o-bg-color-component-active,var(--o-gray-color-6,#a6a6a6)));
|
|
65
|
+
border-color: var(--o-button-default-active-border-color,var(--o-bg-color-component-active,var(--o-gray-color-6,#a6a6a6)));
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.o-button--default.o-button--disabled {
|
|
69
|
+
color: var(--o-button-default-disabled-color,var(--o-text-color-disabled,var(--o-font-gray-4,rgba(0,0,0,.26))));
|
|
70
|
+
background-color: var(--o-button-default-disabled-bg,var(--o-bg-color-component-disabled,var(--o-gray-color-2,#eee)));
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.o-button--default.o-button--disabled,
|
|
74
|
+
.o-button--default.o-button--disabled::after {
|
|
75
|
+
border-color: var(--o-button-default-disabled-border-color,var(--o-bg-color-component-disabled,var(--o-gray-color-2,#eee)));
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.o-button--primary {
|
|
79
|
+
color: var(--o-button-primary-color,#000);
|
|
80
|
+
background-color: var(--o-button-primary-bg-color,var(--o-brand-color,var(--o-primary-color-7,#f16e00)));
|
|
81
|
+
border-color: var(--o-button-primary-border-color,var(--o-brand-color,var(--o-primary-color-7,#f16e00)));
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.o-button--primary::after {
|
|
85
|
+
border-width: var(--o-button-border-width,4rpx);
|
|
86
|
+
border-color: var(--o-button-primary-border-color,var(--o-brand-color,var(--o-primary-color-7,#f16e00)));
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.o-button--primary.o-button--hover {
|
|
90
|
+
z-index: 0;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.o-button--primary.o-button--hover,
|
|
94
|
+
.o-button--primary.o-button--hover::after {
|
|
95
|
+
background-color: var(--o-button-primary-active-bg-color,var(--o-brand-color-active,var(--o-primary-color-8,#cd5e00)));
|
|
96
|
+
border-color: var(--o-button-primary-active-border-color,var(--o-brand-color-active,var(--o-primary-color-8,#cd5e00)));
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.o-button--primary.o-button--disabled {
|
|
100
|
+
color: var(--o-button-primary-disabled-color,var(--o-text-color-anti,var(--o-font-white-1,#fff)));
|
|
101
|
+
background-color: var(--o-button-primary-disabled-bg,var(--o-brand-color-disabled,var(--o-primary-color-3,#f9c599)));
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.o-button--primary.o-button--disabled,
|
|
105
|
+
.o-button--primary.o-button--disabled::after {
|
|
106
|
+
border-color: var(--o-button-primary-disabled-border-color,var(--o-brand-color-disabled,var(--o-primary-color-3,#f9c599)));
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.o-button--light {
|
|
110
|
+
color: var(--o-button-light-color,var(--o-brand-color,var(--o-primary-color-7,#f16e00)));
|
|
111
|
+
background-color: var(--o-button-light-bg-color,var(--o-brand-color-light,var(--o-primary-color-1,#fef3eb)));
|
|
112
|
+
border-color: var(--o-button-light-border-color,var(--o-brand-color-light,var(--o-primary-color-1,#fef3eb)));
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.o-button--light::after {
|
|
116
|
+
border-width: var(--o-button-border-width,4rpx);
|
|
117
|
+
border-color: var(--o-button-light-border-color,var(--o-brand-color-light,var(--o-primary-color-1,#fef3eb)));
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.o-button--light.o-button--hover {
|
|
121
|
+
z-index: 0;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.o-button--light.o-button--hover,
|
|
125
|
+
.o-button--light.o-button--hover::after {
|
|
126
|
+
background-color: var(--o-button-light-active-bg-color,var(--o-brand-color-light-active,var(--o-primary-color-2,#fce2cc)));
|
|
127
|
+
border-color: var(--o-button-light-active-border-color,var(--o-brand-color-light-active,var(--o-primary-color-2,#fce2cc)));
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.o-button--light.o-button--disabled {
|
|
131
|
+
color: var(--o-button-light-disabled-color,var(--o-brand-color-disabled,var(--o-primary-color-3,#f9c599)));
|
|
132
|
+
background-color: var(--o-button-light-disabled-bg,var(--o-brand-color-light,var(--o-primary-color-1,#fef3eb)));
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.o-button--light.o-button--disabled,
|
|
136
|
+
.o-button--light.o-button--disabled::after {
|
|
137
|
+
border-color: var(--o-button-light-disabled-border-color,var(--o-brand-color-light,var(--o-primary-color-1,#fef3eb)));
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.o-button--danger {
|
|
141
|
+
color: var(--o-button-danger-color,var(--o-text-color-anti,var(--o-font-white-1,#fff)));
|
|
142
|
+
background-color: var(--o-button-danger-bg-color,var(--o-error-color,var(--o-error-color-6,#cd3c14)));
|
|
143
|
+
border-color: var(--o-button-danger-border-color,var(--o-error-color,var(--o-error-color-6,#cd3c14)));
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.o-button--danger::after {
|
|
147
|
+
border-width: var(--o-button-border-width,4rpx);
|
|
148
|
+
border-color: var(--o-button-danger-border-color,var(--o-error-color,var(--o-error-color-6,#cd3c14)));
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.o-button--danger.o-button--hover {
|
|
152
|
+
z-index: 0;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.o-button--danger.o-button--hover,
|
|
156
|
+
.o-button--danger.o-button--hover::after {
|
|
157
|
+
background-color: var(--o-button-danger-active-bg-color,var(--o-error-color-active,var(--o-error-color-7,#ad352f)));
|
|
158
|
+
border-color: var(--o-button-danger-active-border-color,var(--o-error-color-active,var(--o-error-color-7,#ad352f)));
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.o-button--danger.o-button--disabled {
|
|
162
|
+
color: var(--o-button-danger-disabled-color,var(--o-font-white-1,#fff));
|
|
163
|
+
background-color: var(--o-button-danger-disabled-bg,var(--o-error-color-3,#ffb9b0));
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.o-button--danger.o-button--disabled,
|
|
167
|
+
.o-button--danger.o-button--disabled::after {
|
|
168
|
+
border-color: var(--o-button-danger-disabled-border-color,var(--o-error-color-3,#ffb9b0));
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.o-button {
|
|
172
|
+
display: inline-flex;
|
|
173
|
+
align-items: center;
|
|
174
|
+
justify-content: center;
|
|
175
|
+
position: relative;
|
|
176
|
+
white-space: nowrap;
|
|
177
|
+
text-align: center;
|
|
178
|
+
background-image: none;
|
|
179
|
+
transition: all .3s;
|
|
180
|
+
touch-action: manipulation;
|
|
181
|
+
border-radius: var(--o-button-border-radius,var(--o-radius-default,12rpx));
|
|
182
|
+
outline: 0;
|
|
183
|
+
vertical-align: top;
|
|
184
|
+
box-sizing: border-box;
|
|
185
|
+
cursor: pointer;
|
|
186
|
+
-webkit-tap-highlight-color: transparent;
|
|
187
|
+
-webkit-user-select: none;
|
|
188
|
+
user-select: none;
|
|
189
|
+
-webkit-appearance: none;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.o-button:not([size=mini]) {
|
|
193
|
+
width: auto;
|
|
194
|
+
margin-left: 0;
|
|
195
|
+
margin-right: 0;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.o-button::after {
|
|
199
|
+
border-radius: calc(var(--o-button-border-radius,var(--o-radius-default,12rpx)) * 2);
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.o-button--text {
|
|
203
|
+
color: var(--o-button-default-color,var(--o-text-color-primary,var(--o-font-gray-1,#1c1b1f)));
|
|
204
|
+
background-color: transparent;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.o-button--text,
|
|
208
|
+
.o-button--text::after {
|
|
209
|
+
border: 0;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.o-button--text.o-button--hover,
|
|
213
|
+
.o-button--text.o-button--hover::after {
|
|
214
|
+
background-color: var(--o-button-default-text-active-bg-color,var(--o-bg-color-container-active,var(--o-gray-color-3,#dddddd)));
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.o-button--text.o-button--primary {
|
|
218
|
+
color: var(--o-button-primary-text-color,var(--o-brand-color,var(--o-primary-color-7,#f16e00)));
|
|
219
|
+
background-color: transparent;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.o-button--text.o-button--primary.o-button--hover,
|
|
223
|
+
.o-button--text.o-button--primary.o-button--hover::after {
|
|
224
|
+
background-color: var(--o-button-primary-text-active-bg-color,var(--o-bg-color-container-active,var(--o-gray-color-3,#dddddd)));
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.o-button--text.o-button--primary.o-button--disabled {
|
|
228
|
+
color: var(--o-button-primary-text-disabled-color,var(--o-brand-color-disabled,var(--o-primary-color-3,#f9c599)));
|
|
229
|
+
background-color: var(--o-bg-color-container,var(--o-font-white-1,#fff));
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.o-button--text.o-button--danger {
|
|
233
|
+
color: var(--o-button-danger-text-color,var(--o-error-color,var(--o-error-color-6,#cd3c14)));
|
|
234
|
+
background-color: transparent;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.o-button--text.o-button--danger.o-button--hover,
|
|
238
|
+
.o-button--text.o-button--danger.o-button--hover::after {
|
|
239
|
+
background-color: var(--o-button-danger-text-active-bg-color,var(--o-bg-color-container-active,var(--o-gray-color-3,#dddddd)));
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.o-button--text.o-button--danger.o-button--disabled {
|
|
243
|
+
color: var(--o-button-danger-text-disabled-color,var(--o-button-danger-disabled-color,var(--o-font-white-1,#fff)));
|
|
244
|
+
background-color: var(--o-bg-color-container,var(--o-font-white-1,#fff));
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.o-button--text.o-button--light {
|
|
248
|
+
color: var(--o-button-light-text-color,var(--o-brand-color,var(--o-primary-color-7,#f16e00)));
|
|
249
|
+
background-color: transparent;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.o-button--text.o-button--light.o-button--hover,
|
|
253
|
+
.o-button--text.o-button--light.o-button--hover::after {
|
|
254
|
+
background-color: var(--o-button-light-text-active-bg-color,var(--o-bg-color-container-active,var(--o-gray-color-3,#dddddd)));
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.o-button--text.o-button--disabled {
|
|
258
|
+
color: var(--o-button-default-disabled-color,var(--o-text-color-disabled,var(--o-font-gray-4,rgba(0,0,0,.26))));
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.o-button--outline {
|
|
262
|
+
color: var(--o-button-default-outline-color,var(--o-text-color-primary,var(--o-font-gray-1,#1c1b1f)));
|
|
263
|
+
background-color: var(--o-bg-color-container,var(--o-font-white-1,#fff));
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.o-button--outline,
|
|
267
|
+
.o-button--outline::after {
|
|
268
|
+
border-color: var(--o-button-default-outline-border-color,var(--o-component-border,var(--o-gray-color-4,#dddddd)));
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.o-button--outline.o-button--hover,
|
|
272
|
+
.o-button--outline.o-button--hover::after {
|
|
273
|
+
background-color: var(--o-button-default-outline-active-bg-color,var(--o-bg-color-container-active,var(--o-gray-color-3,#dddddd)));
|
|
274
|
+
border-color: var(--o-button-default-outline-active-border-color,var(--o-component-border,var(--o-gray-color-4,#dddddd)));
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.o-button--outline.o-button--disabled {
|
|
278
|
+
color: var(--o-button-default-outline-disabled-color,var(--o-component-border,var(--o-gray-color-4,#dddddd)));
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.o-button--outline.o-button--disabled,
|
|
282
|
+
.o-button--outline.o-button--disabled::after {
|
|
283
|
+
border-color: var(--o-button-default-outline-disabled-color,var(--o-component-border,var(--o-gray-color-4,#dddddd)));
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
.o-button--outline.o-button--primary {
|
|
287
|
+
color: var(--o-button-primary-outline-color,var(--o-brand-color,var(--o-primary-color-7,#f16e00)));
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.o-button--outline.o-button--primary,
|
|
291
|
+
.o-button--outline.o-button--primary::after {
|
|
292
|
+
border-color: var(--o-button-primary-outline-border-color,var(--o-button-primary-outline-color,var(--o-brand-color,var(--o-primary-color-7,#f16e00))));
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.o-button--outline.o-button--primary.o-button--hover {
|
|
296
|
+
color: var(--o-button-primary-outline-active-border-color,var(--o-brand-color-active,var(--o-primary-color-8,#cd5e00)));
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
.o-button--outline.o-button--primary.o-button--hover::after {
|
|
300
|
+
background-color: var(--o-button-primary-outline-active-bg-color,var(--o-bg-color-container-active,var(--o-gray-color-3,#dddddd)));
|
|
301
|
+
border-color: var(--o-button-primary-outline-active-border-color,var(--o-brand-color-active,var(--o-primary-color-8,#cd5e00)));
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
.o-button--outline.o-button--primary.o-button--disabled {
|
|
305
|
+
background-color: transparent;
|
|
306
|
+
color: var(--o-button-primary-outline-disabled-color,var(--o-brand-color-disabled,var(--o-primary-color-3,#f9c599)));
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
.o-button--outline.o-button--primary.o-button--disabled,
|
|
310
|
+
.o-button--outline.o-button--primary.o-button--disabled::after {
|
|
311
|
+
border-color: var(--o-button-primary-outline-disabled-color,var(--o-brand-color-disabled,var(--o-primary-color-3,#f9c599)));
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
.o-button--outline.o-button--danger {
|
|
315
|
+
color: var(--o-button-danger-outline-color,var(--o-error-color,var(--o-error-color-6,#cd3c14)));
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
.o-button--outline.o-button--danger,
|
|
319
|
+
.o-button--outline.o-button--danger::after {
|
|
320
|
+
border-color: var(--o-button-danger-outline-border-color,var(--o-button-danger-outline-color,var(--o-error-color,var(--o-error-color-6,#cd3c14))));
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
.o-button--outline.o-button--danger.o-button--hover {
|
|
324
|
+
color: var(--o-button-danger-outline-active-border-color,var(--o-error-color-active,var(--o-error-color-7,#ad352f)));
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.o-button--outline.o-button--danger.o-button--hover::after {
|
|
328
|
+
background-color: var(--o-button-danger-outline-active-bg-color,var(--o-bg-color-container-active,var(--o-gray-color-3,#dddddd)));
|
|
329
|
+
border-color: var(--o-button-danger-outline-active-border-color,var(--o-error-color-active,var(--o-error-color-7,#ad352f)));
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.o-button--outline.o-button--danger.o-button--disabled {
|
|
333
|
+
background-color: var(--o-bg-color-container,var(--o-font-white-1,#fff));
|
|
334
|
+
color: var(--o-button-danger-outline-disabled-color,var(--o-error-color-3,#ffb9b0));
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
.o-button--outline.o-button--danger.o-button--disabled,
|
|
338
|
+
.o-button--outline.o-button--danger.o-button--disabled::after {
|
|
339
|
+
border-color: var(--o-button-danger-outline-disabled-color,var(--o-error-color-3,#ffb9b0));
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
.o-button--outline.o-button--light {
|
|
343
|
+
color: var(--o-button-light-outline-color,var(--o-brand-color,var(--o-primary-color-7,#f16e00)));
|
|
344
|
+
background-color: var(--o-button-light-outline-bg-color,var(--o-brand-color-light,var(--o-primary-color-1,#fef3eb)));
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
.o-button--outline.o-button--light,
|
|
348
|
+
.o-button--outline.o-button--light::after {
|
|
349
|
+
border-color: var(--o-button-light-outline-border-color,var(--o-button-light-outline-color,var(--o-brand-color,var(--o-primary-color-7,#f16e00))));
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
.o-button--outline.o-button--light.o-button--hover {
|
|
353
|
+
color: var(--o-button-light-outline-active-border-color,var(--o-brand-color-active,var(--o-primary-color-8,#cd5e00)));
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
.o-button--outline.o-button--light.o-button--hover,
|
|
357
|
+
.o-button--outline.o-button--light.o-button--hover::after {
|
|
358
|
+
background-color: var(--o-button-light-outline-active-bg-color,var(--o-brand-color-light-active,var(--o-primary-color-2,#fce2cc)));
|
|
359
|
+
border-color: var(--o-button-light-outline-active-border-color,var(--o-brand-color-active,var(--o-primary-color-8,#cd5e00)));
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
.o-button--outline.o-button--light.o-button--disabled {
|
|
363
|
+
background-color: var(--o-bg-color-container,var(--o-font-white-1,#fff));
|
|
364
|
+
color: var(--o-button-light-outline-disabled-color,var(--o-brand-color-disabled,var(--o-primary-color-3,#f9c599)));
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
.o-button--outline.o-button--light.o-button--disabled,
|
|
368
|
+
.o-button--outline.o-button--light.o-button--disabled::after {
|
|
369
|
+
border-color: var(--o-button-light-outline-disabled-color,var(--o-brand-color-disabled,var(--o-primary-color-3,#f9c599)));
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
.o-button--dashed {
|
|
373
|
+
background-color: var(--o-bg-color-container,var(--o-font-white-1,#fff));
|
|
374
|
+
border-style: dashed;
|
|
375
|
+
border-width: 2rpx;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
.o-button--dashed::after {
|
|
379
|
+
border: 0;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
.o-button--dashed.o-button--hover,
|
|
383
|
+
.o-button--dashed.o-button--hover::after {
|
|
384
|
+
background-color: var(--o-button-default-outline-active-bg-color,var(--o-bg-color-container-active,var(--o-gray-color-3,#dddddd)));
|
|
385
|
+
border-color: var(--o-button-default-outline-active-border-color,var(--o-component-border,var(--o-gray-color-4,#dddddd)));
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
.o-button--dashed.o-button--primary {
|
|
389
|
+
color: var(--o-button-primary-dashed-color,var(--o-brand-color,var(--o-primary-color-7,#f16e00)));
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
.o-button--dashed.o-button--primary,
|
|
393
|
+
.o-button--dashed.o-button--primary::after {
|
|
394
|
+
border-color: var(--o-button-primary-dashed-border-color,var(--o-button-primary-dashed-color,var(--o-brand-color,var(--o-primary-color-7,#f16e00))));
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
.o-button--dashed.o-button--primary.o-button--disabled {
|
|
398
|
+
background-color: var(--o-bg-color-container,var(--o-font-white-1,#fff));
|
|
399
|
+
color: var(--o-button-primary-dashed-disabled-color,var(--o-brand-color-disabled,var(--o-primary-color-3,#f9c599)));
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
.o-button--dashed.o-button--primary.o-button--disabled,
|
|
403
|
+
.o-button--dashed.o-button--primary.o-button--disabled::after {
|
|
404
|
+
border-color: var(--o-button-primary-dashed-disabled-color,var(--o-brand-color-disabled,var(--o-primary-color-3,#f9c599)));
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
.o-button--dashed.o-button--danger {
|
|
408
|
+
color: var(--o-button-danger-dashed-color,var(--o-error-color,var(--o-error-color-6,#cd3c14)));
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
.o-button--dashed.o-button--danger,
|
|
412
|
+
.o-button--dashed.o-button--danger::after {
|
|
413
|
+
border-color: var(--o-button-danger-dashed-border-color,var(--o-button-danger-dashed-color,var(--o-error-color,var(--o-error-color-6,#cd3c14))));
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
.o-button--dashed.o-button--danger.o-button--disabled {
|
|
417
|
+
background-color: transparent;
|
|
418
|
+
color: var(--o-button-danger-dashed-disabled-color,var(--o-button-danger-disabled-color,var(--o-font-white-1,#fff)));
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
.o-button--dashed.o-button--danger.o-button--disabled::after {
|
|
422
|
+
border-color: var(--o-button-danger-dashed-disabled-color,var(--o-button-danger-disabled-color,var(--o-font-white-1,#fff)));
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
.o-button--ghost {
|
|
426
|
+
background-color: transparent;
|
|
427
|
+
color: var(--o-button-ghost-color,var(--o-text-color-anti,var(--o-font-white-1,#fff)));
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
.o-button--ghost,
|
|
431
|
+
.o-button--ghost::after {
|
|
432
|
+
border-color: var(--o-button-ghost-border-color,var(--o-button-ghost-color,var(--o-text-color-anti,var(--o-font-white-1,#fff))));
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
.o-button--ghost.o-button--default.o-button--hover {
|
|
436
|
+
color: var(--o-button-ghost-hover-color,var(--o-font-white-2,rgba(255,255,255,.55)));
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
.o-button--ghost.o-button--default.o-button--hover,
|
|
440
|
+
.o-button--ghost.o-button--default.o-button--hover::after {
|
|
441
|
+
background-color: transparent;
|
|
442
|
+
border-color: var(--o-button-ghost-hover-color,var(--o-font-white-2,rgba(255,255,255,.55)));
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
.o-button--ghost.o-button--primary {
|
|
446
|
+
color: var(--o-button-ghost-primary-color,var(--o-brand-color,var(--o-primary-color-7,#f16e00)));
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
.o-button--ghost.o-button--primary,
|
|
450
|
+
.o-button--ghost.o-button--primary::after {
|
|
451
|
+
border-color: var(--o-button-ghost-primary-border-color,var(--o-brand-color,var(--o-primary-color-7,#f16e00)));
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
.o-button--ghost.o-button--primary.o-button--hover {
|
|
455
|
+
color: var(--o-button-ghost-primary-hover-color,var(--o-brand-color-active,var(--o-primary-color-8,#cd5e00)));
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
.o-button--ghost.o-button--primary.o-button--hover,
|
|
459
|
+
.o-button--ghost.o-button--primary.o-button--hover::after {
|
|
460
|
+
background-color: transparent;
|
|
461
|
+
border-color: var(--o-button-ghost-primary-hover-color,var(--o-brand-color-active,var(--o-primary-color-8,#cd5e00)));
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
.o-button--ghost.o-button--primary.o-button--text.o-button--hover,
|
|
465
|
+
.o-button--ghost.o-button--primary.o-button--text.o-button--hover::after {
|
|
466
|
+
background-color: var(--o-gray-color-10,#4b4b4b);
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
.o-button--ghost.o-button--primary.o-button--disabled {
|
|
470
|
+
background-color: transparent;
|
|
471
|
+
color: var(--o-button-ghost-disabled-color,var(--o-font-white-4,rgba(255,255,255,.22)));
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
.o-button--ghost.o-button--primary.o-button--disabled,
|
|
475
|
+
.o-button--ghost.o-button--primary.o-button--disabled::after {
|
|
476
|
+
border-color: var(--o-button-ghost-disabled-color,var(--o-font-white-4,rgba(255,255,255,.22)));
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
.o-button--secondary {
|
|
480
|
+
color: var(--o-button-secondary-color,var(--o-text-color-anti,var(--o-font-white-1,#fff)));
|
|
481
|
+
background-color: var(--o-button-secondary-bg-color,var(--o-secondary-color,#000));
|
|
482
|
+
border-color: var(--o-button-secondary-border-color,var(--o-secondary-color,#000));
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
.o-button--secondary::after {
|
|
486
|
+
border-width: var(--o-button-border-width,4rpx);
|
|
487
|
+
border-color: var(--o-button-secondary-border-color,var(--o-secondary-color,#000));
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
.o-button--secondary.o-button--hover {
|
|
491
|
+
z-index: 0;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
.o-button--secondary.o-button--hover,
|
|
495
|
+
.o-button--secondary.o-button--hover::after {
|
|
496
|
+
background-color: var(--o-button-secondary-active-bg-color,var(--o-secondary-color-active,#333));
|
|
497
|
+
border-color: var(--o-button-secondary-active-border-color,var(--o-secondary-color-active,#333));
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
.o-button--secondary.o-button--disabled {
|
|
501
|
+
color: var(--o-button-secondary-disabled-color,var(--o-text-color-anti,var(--o-font-white-1,#fff)));
|
|
502
|
+
background-color: var(--o-button-secondary-disabled-bg,var(--o-secondary-color-disabled,#b3b3b3));
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
.o-button--secondary.o-button--disabled,
|
|
506
|
+
.o-button--secondary.o-button--disabled::after {
|
|
507
|
+
border-color: var(--o-button-secondary-disabled-border-color,var(--o-secondary-color-disabled,#b3b3b3));
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
.o-button--text.o-button--secondary {
|
|
511
|
+
color: var(--o-button-secondary-text-color,var(--o-secondary-color,#000));
|
|
512
|
+
background-color: transparent;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
.o-button--text.o-button--secondary.o-button--hover,
|
|
516
|
+
.o-button--text.o-button--secondary.o-button--hover::after {
|
|
517
|
+
background-color: var(--o-button-secondary-text-active-bg-color,var(--o-bg-color-container-active,var(--o-gray-color-3,#dddddd)));
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
.o-button--text.o-button--secondary.o-button--disabled {
|
|
521
|
+
color: var(--o-button-secondary-text-disabled-color,var(--o-secondary-color-disabled,#b3b3b3));
|
|
522
|
+
background-color: var(--o-bg-color-container,var(--o-font-white-1,#fff));
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
.o-button--outline.o-button--secondary {
|
|
526
|
+
color: var(--o-button-secondary-outline-color,var(--o-secondary-color,#000));
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
.o-button--outline.o-button--secondary,
|
|
530
|
+
.o-button--outline.o-button--secondary::after {
|
|
531
|
+
border-color: var(--o-button-secondary-outline-border-color,var(--o-button-secondary-outline-color,var(--o-secondary-color,#000)));
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
.o-button--outline.o-button--secondary.o-button--hover {
|
|
535
|
+
color: var(--o-button-secondary-outline-active-border-color,var(--o-secondary-color-active,#333));
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
.o-button--outline.o-button--secondary.o-button--hover::after {
|
|
539
|
+
background-color: var(--o-button-secondary-outline-active-bg-color,var(--o-bg-color-container-active,var(--o-gray-color-3,#dddddd)));
|
|
540
|
+
border-color: var(--o-button-secondary-outline-active-border-color,var(--o-secondary-color-active,#333));
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
.o-button--outline.o-button--secondary.o-button--disabled {
|
|
544
|
+
background-color: transparent;
|
|
545
|
+
color: var(--o-button-secondary-outline-disabled-color,var(--o-secondary-color-disabled,#b3b3b3));
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
.o-button--outline.o-button--secondary.o-button--disabled,
|
|
549
|
+
.o-button--outline.o-button--secondary.o-button--disabled::after {
|
|
550
|
+
border-color: var(--o-button-secondary-outline-disabled-color,var(--o-secondary-color-disabled,#b3b3b3));
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
.o-button--dashed.o-button--secondary {
|
|
554
|
+
color: var(--o-button-secondary-dashed-color,var(--o-secondary-color,#000));
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
.o-button--dashed.o-button--secondary,
|
|
558
|
+
.o-button--dashed.o-button--secondary::after {
|
|
559
|
+
border-color: var(--o-button-secondary-dashed-border-color,var(--o-button-secondary-dashed-color,var(--o-secondary-color,#000)));
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
.o-button--dashed.o-button--secondary.o-button--disabled {
|
|
563
|
+
background-color: var(--o-bg-color-container,var(--o-font-white-1,#fff));
|
|
564
|
+
color: var(--o-button-secondary-dashed-disabled-color,var(--o-secondary-color-disabled,#b3b3b3));
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
.o-button--dashed.o-button--secondary.o-button--disabled,
|
|
568
|
+
.o-button--dashed.o-button--secondary.o-button--disabled::after {
|
|
569
|
+
border-color: var(--o-button-secondary-dashed-disabled-color,var(--o-secondary-color-disabled,#b3b3b3));
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
.o-button--ghost.o-button--secondary {
|
|
573
|
+
color: var(--o-button-ghost-secondary-color,var(--o-secondary-color,#000));
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
.o-button--ghost.o-button--secondary,
|
|
577
|
+
.o-button--ghost.o-button--secondary::after {
|
|
578
|
+
border-color: var(--o-button-ghost-secondary-border-color,var(--o-secondary-color,#000));
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
.o-button--ghost.o-button--secondary.o-button--hover {
|
|
582
|
+
color: var(--o-button-ghost-secondary-hover-color,var(--o-secondary-color-active,#333));
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
.o-button--ghost.o-button--secondary.o-button--hover,
|
|
586
|
+
.o-button--ghost.o-button--secondary.o-button--hover::after {
|
|
587
|
+
background-color: transparent;
|
|
588
|
+
border-color: var(--o-button-ghost-secondary-hover-color,var(--o-secondary-color-active,#333));
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
.o-button--ghost.o-button--secondary.o-button--text.o-button--hover,
|
|
592
|
+
.o-button--ghost.o-button--secondary.o-button--text.o-button--hover::after {
|
|
593
|
+
background-color: var(--o-gray-color-10,#4b4b4b);
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
.o-button--ghost.o-button--secondary.o-button--disabled {
|
|
597
|
+
background-color: transparent;
|
|
598
|
+
color: var(--o-button-ghost-disabled-color,var(--o-font-white-4,rgba(255,255,255,.22)));
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
.o-button--ghost.o-button--secondary.o-button--disabled,
|
|
602
|
+
.o-button--ghost.o-button--secondary.o-button--disabled::after {
|
|
603
|
+
border-color: var(--o-button-ghost-disabled-color,var(--o-font-white-4,rgba(255,255,255,.22)));
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
.o-button--ghost.o-button--danger {
|
|
607
|
+
color: var(--o-button-ghost-danger-color,var(--o-error-color,var(--o-error-color-6,#cd3c14)));
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
.o-button--ghost.o-button--danger,
|
|
611
|
+
.o-button--ghost.o-button--danger::after {
|
|
612
|
+
border-color: var(--o-button-ghost-danger-border-color,var(--o-error-color,var(--o-error-color-6,#cd3c14)));
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
.o-button--ghost.o-button--danger.o-button--hover {
|
|
616
|
+
color: var(--o-button-ghost-danger-hover-color,var(--o-error-color-active,var(--o-error-color-7,#ad352f)));
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
.o-button--ghost.o-button--danger.o-button--hover,
|
|
620
|
+
.o-button--ghost.o-button--danger.o-button--hover::after {
|
|
621
|
+
background-color: transparent;
|
|
622
|
+
border-color: var(--o-button-ghost-danger-hover-color,var(--o-error-color-active,var(--o-error-color-7,#ad352f)));
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
.o-button--ghost.o-button--danger.o-button--text.o-button--hover,
|
|
626
|
+
.o-button--ghost.o-button--danger.o-button--text.o-button--hover::after {
|
|
627
|
+
background-color: var(--o-gray-color-10,#4b4b4b);
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
.o-button--ghost.o-button--danger.o-button--disabled {
|
|
631
|
+
background-color: transparent;
|
|
632
|
+
color: var(--o-button-ghost-disabled-color,var(--o-font-white-4,rgba(255,255,255,.22)));
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
.o-button--ghost.o-button--danger.o-button--disabled,
|
|
636
|
+
.o-button--ghost.o-button--danger.o-button--disabled::after {
|
|
637
|
+
border-color: var(--o-button-ghost-disabled-color,var(--o-font-white-4,rgba(255,255,255,.22)));
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
.o-button--ghost.o-button--default.o-button--text.o-button--hover,
|
|
641
|
+
.o-button--ghost.o-button--default.o-button--text.o-button--hover::after {
|
|
642
|
+
background-color: var(--o-gray-color-10,#4b4b4b);
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
.o-button--ghost.o-button--default.o-button--disabled {
|
|
646
|
+
background-color: transparent;
|
|
647
|
+
color: var(--o-button-ghost-disabled-color,var(--o-font-white-4,rgba(255,255,255,.22)));
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
.o-button--ghost.o-button--default.o-button--disabled,
|
|
651
|
+
.o-button--ghost.o-button--default.o-button--disabled::after {
|
|
652
|
+
border-color: var(--o-button-ghost-disabled-color,var(--o-font-white-4,rgba(255,255,255,.22)));
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
.o-button__icon+.o-button__content:not(:empty),
|
|
656
|
+
.o-button__loading+.o-button__content:not(:empty) {
|
|
657
|
+
margin-left: calc(var(--o-spacer,16rpx)/ 2);
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
.o-button__icon {
|
|
661
|
+
border-radius: var(--o-button-icon-border-radius,8rpx);
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
.o-button--round.o-button--size-large {
|
|
665
|
+
border-radius: calc(var(--o-button-large-height,96rpx)/ 2);
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
.o-button--round.o-button--size-large::after {
|
|
669
|
+
border-radius: var(--o-button-large-height,96rpx);
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
.o-button--round.o-button--size-medium {
|
|
673
|
+
border-radius: calc(var(--o-button-medium-height,80rpx)/ 2);
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
.o-button--round.o-button--size-medium::after {
|
|
677
|
+
border-radius: var(--o-button-medium-height,80rpx);
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
.o-button--round.o-button--size-small {
|
|
681
|
+
border-radius: calc(var(--o-button-small-height,64rpx)/ 2);
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
.o-button--round.o-button--size-small::after {
|
|
685
|
+
border-radius: var(--o-button-small-height,64rpx);
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
.o-button--round.o-button--size-extra-small {
|
|
689
|
+
border-radius: calc(var(--o-button-extra-small-height,56rpx)/ 2);
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
.o-button--round.o-button--size-extra-small::after {
|
|
693
|
+
border-radius: var(--o-button-extra-small-height,56rpx);
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
.o-button--square {
|
|
697
|
+
padding: 0;
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
.o-button--square.o-button--size-large {
|
|
701
|
+
width: var(--o-button-large-height,96rpx);
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
.o-button--square.o-button--size-medium {
|
|
705
|
+
width: var(--o-button-medium-height,80rpx);
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
.o-button--square.o-button--size-small {
|
|
709
|
+
width: var(--o-button-small-height,64rpx);
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
.o-button--square.o-button--size-extra-small {
|
|
713
|
+
width: var(--o-button-extra-small-height,56rpx);
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
.o-button--circle {
|
|
717
|
+
padding: 0;
|
|
718
|
+
border-radius: var(--o-radius-circle,50%);
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
.o-button--circle.o-button--size-large {
|
|
722
|
+
width: var(--o-button-large-height,96rpx);
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
.o-button--circle.o-button--size-large::after {
|
|
726
|
+
border-radius: var(--o-radius-circle,50%);
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
.o-button--circle.o-button--size-medium {
|
|
730
|
+
width: var(--o-button-medium-height,80rpx);
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
.o-button--circle.o-button--size-medium::after {
|
|
734
|
+
border-radius: var(--o-radius-circle,50%);
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
.o-button--circle.o-button--size-small {
|
|
738
|
+
width: var(--o-button-small-height,64rpx);
|
|
739
|
+
}
|
|
740
|
+
|
|
741
|
+
.o-button--circle.o-button--size-small::after {
|
|
742
|
+
border-radius: var(--o-radius-circle,50%);
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
.o-button--circle.o-button--size-extra-small {
|
|
746
|
+
width: var(--o-button-extra-small-height,56rpx);
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
.o-button--circle.o-button--size-extra-small::after {
|
|
750
|
+
border-radius: var(--o-radius-circle,50%);
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
.o-button.o-button--block {
|
|
754
|
+
display: flex;
|
|
755
|
+
width: 100%;
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
.o-button--disabled {
|
|
759
|
+
cursor: not-allowed;
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
.o-button__loading--wrapper {
|
|
763
|
+
display: flex;
|
|
764
|
+
align-items: center;
|
|
765
|
+
justify-content: center;
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
.o-button.o-button--hover::after {
|
|
769
|
+
z-index: -1;
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
.o-button--base.o-button--default:not(.o-button--ghost):not(.o-button--disabled) {
|
|
773
|
+
color: var(--o-button-default-fill-text-color,#1c1b1f);
|
|
774
|
+
}
|
|
775
|
+
|