taro-ui 3.3.0 → 3.3.2
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 -0
- package/lib/common/component.d.ts +10 -0
- package/lib/common/component.js +27 -28
- package/lib/common/component.js.map +1 -1
- package/lib/common/utils.d.ts +41 -0
- package/lib/common/utils.js +169 -192
- package/lib/common/utils.js.map +1 -1
- package/lib/components/accordion/index.d.ts +14 -0
- package/lib/components/accordion/index.js +111 -106
- package/lib/components/accordion/index.js.map +1 -1
- package/lib/components/action-sheet/body/index.d.ts +5 -0
- package/lib/components/action-sheet/body/index.js +11 -8
- package/lib/components/action-sheet/body/index.js.map +1 -1
- package/lib/components/action-sheet/body/item/index.d.ts +9 -0
- package/lib/components/action-sheet/body/item/index.js +21 -18
- package/lib/components/action-sheet/body/item/index.js.map +1 -1
- package/lib/components/action-sheet/footer/index.d.ts +9 -0
- package/lib/components/action-sheet/footer/index.js +24 -18
- package/lib/components/action-sheet/footer/index.js.map +1 -1
- package/lib/components/action-sheet/header/index.d.ts +5 -0
- package/lib/components/action-sheet/header/index.js +14 -8
- package/lib/components/action-sheet/header/index.js.map +1 -1
- package/lib/components/action-sheet/index.d.ts +14 -0
- package/lib/components/action-sheet/index.js +69 -64
- package/lib/components/action-sheet/index.js.map +1 -1
- package/lib/components/activity-indicator/index.d.ts +8 -0
- package/lib/components/activity-indicator/index.js +33 -29
- package/lib/components/activity-indicator/index.js.map +1 -1
- package/lib/components/avatar/index.d.ts +9 -0
- package/lib/components/avatar/index.js +58 -50
- package/lib/components/avatar/index.js.map +1 -1
- package/lib/components/badge/index.d.ts +10 -0
- package/lib/components/badge/index.js +44 -35
- package/lib/components/badge/index.js.map +1 -1
- package/lib/components/button/index.d.ts +15 -0
- package/lib/components/button/index.js +165 -113
- package/lib/components/button/index.js.map +1 -1
- package/lib/components/calendar/body/index.d.ts +26 -0
- package/lib/components/calendar/body/index.js +279 -183
- package/lib/components/calendar/body/index.js.map +1 -1
- package/lib/components/calendar/common/constant.d.ts +3 -0
- package/lib/components/calendar/common/constant.js +8 -3
- package/lib/components/calendar/common/constant.js.map +1 -1
- package/lib/components/calendar/common/helper.d.ts +4 -0
- package/lib/components/calendar/common/helper.js +77 -76
- package/lib/components/calendar/common/helper.js.map +1 -1
- package/lib/components/calendar/common/plugins.d.ts +11 -0
- package/lib/components/calendar/common/plugins.js +50 -66
- package/lib/components/calendar/common/plugins.js.map +1 -1
- package/lib/components/calendar/controller/index.d.ts +5 -0
- package/lib/components/calendar/controller/index.js +49 -28
- package/lib/components/calendar/controller/index.js.map +1 -1
- package/lib/components/calendar/index.d.ts +20 -0
- package/lib/components/calendar/index.js +233 -196
- package/lib/components/calendar/index.js.map +1 -1
- package/lib/components/calendar/ui/date-list/index.d.ts +12 -0
- package/lib/components/calendar/ui/date-list/index.js +50 -39
- package/lib/components/calendar/ui/date-list/index.js.map +1 -1
- package/lib/components/calendar/ui/day-list/index.d.ts +4 -0
- package/lib/components/calendar/ui/day-list/index.js +9 -14
- package/lib/components/calendar/ui/day-list/index.js.map +1 -1
- package/lib/components/card/index.d.ts +9 -0
- package/lib/components/card/index.js +73 -52
- package/lib/components/card/index.js.map +1 -1
- package/lib/components/checkbox/index.d.ts +9 -0
- package/lib/components/checkbox/index.js +52 -48
- package/lib/components/checkbox/index.js.map +1 -1
- package/lib/components/countdown/index.d.ts +20 -0
- package/lib/components/countdown/index.js +140 -125
- package/lib/components/countdown/index.js.map +1 -1
- package/lib/components/countdown/item/index.d.ts +9 -0
- package/lib/components/countdown/item/index.js +18 -18
- package/lib/components/countdown/item/index.js.map +1 -1
- package/lib/components/curtain/index.d.ts +10 -0
- package/lib/components/curtain/index.js +56 -39
- package/lib/components/curtain/index.js.map +1 -1
- package/lib/components/divider/index.d.ts +8 -0
- package/lib/components/divider/index.js +51 -34
- package/lib/components/divider/index.js.map +1 -1
- package/lib/components/drawer/index.d.ts +16 -0
- package/lib/components/drawer/index.js +106 -85
- package/lib/components/drawer/index.js.map +1 -1
- package/lib/components/fab/index.d.ts +9 -0
- package/lib/components/fab/index.js +22 -19
- package/lib/components/fab/index.js.map +1 -1
- package/lib/components/flex/index.d.ts +7 -0
- package/lib/components/flex/index.js +37 -34
- package/lib/components/flex/index.js.map +1 -1
- package/lib/components/flex/item/index.d.ts +7 -0
- package/lib/components/flex/item/index.js +30 -27
- package/lib/components/flex/item/index.js.map +1 -1
- package/lib/components/float-layout/index.d.ts +13 -0
- package/lib/components/float-layout/index.js +96 -68
- package/lib/components/float-layout/index.js.map +1 -1
- package/lib/components/form/index.d.ts +10 -0
- package/lib/components/form/index.js +37 -24
- package/lib/components/form/index.js.map +1 -1
- package/lib/components/grid/index.d.ts +9 -0
- package/lib/components/grid/index.js +92 -62
- package/lib/components/grid/index.js.map +1 -1
- package/lib/components/icon/index.d.ts +9 -0
- package/lib/components/icon/index.js +48 -31
- package/lib/components/icon/index.js.map +1 -1
- package/lib/components/image-picker/index.d.ts +11 -0
- package/lib/components/image-picker/index.js +152 -126
- package/lib/components/image-picker/index.js.map +1 -1
- package/lib/components/indexes/index.d.ts +29 -0
- package/lib/components/indexes/index.js +255 -198
- package/lib/components/indexes/index.js.map +1 -1
- package/lib/components/input/index.d.ts +17 -0
- package/lib/components/input/index.js +224 -160
- package/lib/components/input/index.js.map +1 -1
- package/lib/components/input-number/index.d.ts +13 -0
- package/lib/components/input-number/index.js +180 -152
- package/lib/components/input-number/index.js.map +1 -1
- package/lib/components/list/index.d.ts +8 -0
- package/lib/components/list/index.js +20 -13
- package/lib/components/list/index.js.map +1 -1
- package/lib/components/list/item/index.d.ts +11 -0
- package/lib/components/list/item/index.js +146 -99
- package/lib/components/list/item/index.js.map +1 -1
- package/lib/components/load-more/index.d.ts +9 -0
- package/lib/components/load-more/index.js +65 -41
- package/lib/components/load-more/index.js.map +1 -1
- package/lib/components/loading/index.d.ts +12 -0
- package/lib/components/loading/index.js +26 -26
- package/lib/components/loading/index.js.map +1 -1
- package/lib/components/message/index.d.ts +15 -0
- package/lib/components/message/index.js +72 -63
- package/lib/components/message/index.js.map +1 -1
- package/lib/components/modal/action/index.d.ts +8 -0
- package/lib/components/modal/action/index.js +20 -14
- package/lib/components/modal/action/index.js.map +1 -1
- package/lib/components/modal/content/index.d.ts +5 -0
- package/lib/components/modal/content/index.js +11 -8
- package/lib/components/modal/content/index.js.map +1 -1
- package/lib/components/modal/header/index.d.ts +5 -0
- package/lib/components/modal/header/index.js +11 -8
- package/lib/components/modal/header/index.js.map +1 -1
- package/lib/components/modal/index.d.ts +15 -0
- package/lib/components/modal/index.js +96 -87
- package/lib/components/modal/index.js.map +1 -1
- package/lib/components/nav-bar/index.d.ts +12 -0
- package/lib/components/nav-bar/index.js +210 -98
- package/lib/components/nav-bar/index.js.map +1 -1
- package/lib/components/noticebar/index.d.ts +16 -0
- package/lib/components/noticebar/index.js +177 -154
- package/lib/components/noticebar/index.js.map +1 -1
- package/lib/components/pagination/index.d.ts +12 -0
- package/lib/components/pagination/index.js +133 -102
- package/lib/components/pagination/index.js.map +1 -1
- package/lib/components/progress/index.d.ts +7 -0
- package/lib/components/progress/index.js +48 -40
- package/lib/components/progress/index.js.map +1 -1
- package/lib/components/radio/index.d.ts +9 -0
- package/lib/components/radio/index.js +48 -37
- package/lib/components/radio/index.js.map +1 -1
- package/lib/components/range/index.d.ts +22 -0
- package/lib/components/range/index.js +197 -142
- package/lib/components/range/index.js.map +1 -1
- package/lib/components/rate/index.d.ts +9 -0
- package/lib/components/rate/index.js +74 -48
- package/lib/components/rate/index.js.map +1 -1
- package/lib/components/search-bar/index.d.ts +16 -0
- package/lib/components/search-bar/index.js +167 -112
- package/lib/components/search-bar/index.js.map +1 -1
- package/lib/components/segmented-control/index.d.ts +9 -0
- package/lib/components/segmented-control/index.js +78 -53
- package/lib/components/segmented-control/index.js.map +1 -1
- package/lib/components/slider/index.d.ts +13 -0
- package/lib/components/slider/index.js +107 -69
- package/lib/components/slider/index.js.map +1 -1
- package/lib/components/steps/index.d.ts +9 -0
- package/lib/components/steps/index.js +61 -44
- package/lib/components/steps/index.js.map +1 -1
- package/lib/components/swipe-action/index.d.ts +27 -0
- package/lib/components/swipe-action/index.js +206 -157
- package/lib/components/swipe-action/index.js.map +1 -1
- package/lib/components/swipe-action/options/index.d.ts +5 -0
- package/lib/components/swipe-action/options/index.js +22 -8
- package/lib/components/swipe-action/options/index.js.map +1 -1
- package/lib/components/switch/index.d.ts +9 -0
- package/lib/components/switch/index.js +53 -42
- package/lib/components/switch/index.js.map +1 -1
- package/lib/components/tab-bar/index.d.ts +9 -0
- package/lib/components/tab-bar/index.js +164 -90
- package/lib/components/tab-bar/index.js.map +1 -1
- package/lib/components/tabs/index.d.ts +24 -0
- package/lib/components/tabs/index.js +203 -174
- package/lib/components/tabs/index.js.map +1 -1
- package/lib/components/tabs-pane/index.d.ts +8 -0
- package/lib/components/tabs-pane/index.js +37 -24
- package/lib/components/tabs-pane/index.js.map +1 -1
- package/lib/components/tag/index.d.ts +9 -0
- package/lib/components/tag/index.js +64 -44
- package/lib/components/tag/index.js.map +1 -1
- package/lib/components/textarea/index.d.ts +13 -0
- package/lib/components/textarea/index.js +132 -86
- package/lib/components/textarea/index.js.map +1 -1
- package/lib/components/timeline/index.d.ts +8 -0
- package/lib/components/timeline/index.js +70 -47
- package/lib/components/timeline/index.js.map +1 -1
- package/lib/components/toast/img.json +6 -3
- package/lib/components/toast/index.d.ts +16 -0
- package/lib/components/toast/index.js +111 -104
- package/lib/components/toast/index.js.map +1 -1
- package/lib/index.d.ts +53 -0
- package/lib/index.js +108 -54
- package/lib/index.js.map +1 -1
- package/{dist → lib}/style/components/curtain.scss +3 -3
- package/{dist → lib}/style/components/grid.scss +2 -2
- package/lib/style/components/index.scss +52 -0
- package/{dist → lib}/style/components/list.scss +2 -2
- package/{dist → lib}/style/components/range.scss +2 -2
- package/{dist → lib}/style/components/toast.scss +1 -1
- package/lib/style/index.css +11754 -0
- package/lib/style/index.css.map +1 -0
- package/lib/style/mixins/index.scss +18 -0
- package/{dist → lib}/style/mixins/libs/shade.scss +4 -2
- package/{dist → lib}/style/mixins/libs/tint.scss +4 -2
- package/{dist → lib}/style/variables/default.scss +1 -1
- package/package.json +45 -48
- package/rn/components/action-sheet/index.tsx +8 -14
- package/rn/components/calendar/ui/date-list/index.tsx +1 -1
- package/rn/components/drawer/index.tsx +15 -15
- package/rn/components/float-layout/index.tsx +3 -2
- package/rn/components/input/index.tsx +14 -7
- package/rn/components/input-number/index.tsx +19 -19
- package/rn/components/message/index.tsx +1 -1
- package/rn/components/swipe-action/index.rn.tsx +4 -2
- package/rn/components/swipe-action/index.tsx +6 -5
- package/rn/components/tab-bar/index.tsx +1 -1
- package/rn/components/tabs/index.tsx +14 -14
- package/rn/components/textarea/index.tsx +2 -2
- package/README.md +0 -85
- package/dist/index.esm.js +0 -8407
- package/dist/index.esm.js.map +0 -1
- package/dist/index.js +0 -8468
- package/dist/index.js.map +0 -1
- package/dist/style/components/accordion.rn.scss +0 -79
- package/dist/style/components/action-sheet.rn.scss +0 -80
- package/dist/style/components/activity-indicator.rn.scss +0 -30
- package/dist/style/components/article.rn.scss +0 -59
- package/dist/style/components/avatar.rn.scss +0 -46
- package/dist/style/components/badge.rn.scss +0 -52
- package/dist/style/components/button.rn.scss +0 -80
- package/dist/style/components/calendar.rn.scss +0 -182
- package/dist/style/components/card.rn.scss +0 -88
- package/dist/style/components/checkbox.rn.scss +0 -108
- package/dist/style/components/countdown.rn.scss +0 -82
- package/dist/style/components/curtain.rn.scss +0 -129
- package/dist/style/components/divider.rn.scss +0 -33
- package/dist/style/components/drawer.rn.scss +0 -72
- package/dist/style/components/fab.rn.scss +0 -38
- package/dist/style/components/flex.rn.scss +0 -159
- package/dist/style/components/float-layout.rn.scss +0 -119
- package/dist/style/components/form.rn.scss +0 -12
- package/dist/style/components/grid.rn.scss +0 -104
- package/dist/style/components/icon.rn.scss +0 -221
- package/dist/style/components/image-picker.rn.scss +0 -108
- package/dist/style/components/index.rn.scss +0 -51
- package/dist/style/components/index.scss +0 -52
- package/dist/style/components/indexes.rn.scss +0 -53
- package/dist/style/components/input-number.rn.scss +0 -82
- package/dist/style/components/input.rn.scss +0 -149
- package/dist/style/components/list.rn.scss +0 -107
- package/dist/style/components/load-more.rn.scss +0 -28
- package/dist/style/components/loading.rn.scss +0 -45
- package/dist/style/components/message.rn.scss +0 -57
- package/dist/style/components/modal.rn.scss +0 -136
- package/dist/style/components/nav-bar.rn.scss +0 -123
- package/dist/style/components/noticebar.rn.scss +0 -111
- package/dist/style/components/pagination.rn.scss +0 -43
- package/dist/style/components/progress.rn.scss +0 -105
- package/dist/style/components/radio.rn.scss +0 -94
- package/dist/style/components/range.rn.scss +0 -52
- package/dist/style/components/rate.rn.scss +0 -48
- package/dist/style/components/search-bar.rn.scss +0 -134
- package/dist/style/components/segmented-control.rn.scss +0 -44
- package/dist/style/components/slider.rn.scss +0 -33
- package/dist/style/components/steps.rn.scss +0 -131
- package/dist/style/components/swipe-action.rn.scss +0 -53
- package/dist/style/components/switch.rn.scss +0 -61
- package/dist/style/components/tab-bar.rn.scss +0 -74
- package/dist/style/components/tabs.rn.scss +0 -205
- package/dist/style/components/tag.rn.scss +0 -74
- package/dist/style/components/textarea.rn.scss +0 -57
- package/dist/style/components/timeline.rn.scss +0 -89
- package/dist/style/components/toast.rn.scss +0 -112
- package/dist/style/index.rn.scss +0 -14
- package/dist/style/mixins/index.rn.scss +0 -18
- package/dist/style/mixins/index.scss +0 -18
- package/dist/style/mixins/libs/absolute-center.rn.scss +0 -9
- package/dist/style/mixins/libs/active.rn.scss +0 -10
- package/dist/style/mixins/libs/alignhack.rn.scss +0 -11
- package/dist/style/mixins/libs/border.rn.scss +0 -48
- package/dist/style/mixins/libs/clearfix.rn.scss +0 -21
- package/dist/style/mixins/libs/disabled.rn.scss +0 -6
- package/dist/style/mixins/libs/flex.rn.scss +0 -49
- package/dist/style/mixins/libs/hairline.rn.scss +0 -209
- package/dist/style/mixins/libs/line.rn.scss +0 -14
- package/dist/style/mixins/libs/overlay.rn.scss +0 -11
- package/dist/style/mixins/libs/placeholder.rn.scss +0 -12
- package/dist/style/mixins/libs/shade.rn.scss +0 -23
- package/dist/style/mixins/libs/tint.rn.scss +0 -23
- package/dist/style/themes/purple.rn.scss +0 -44
- package/dist/style/themes/red.rn.scss +0 -45
- package/dist/style/variables/default.rn.scss +0 -461
- package/types/accordion.d.ts +0 -49
- package/types/action-sheet.d.ts +0 -55
- package/types/activity-indicator.d.ts +0 -33
- package/types/avatar.d.ts +0 -39
- package/types/badge.d.ts +0 -24
- package/types/base.d.ts +0 -26
- package/types/button.d.ts +0 -70
- package/types/calendar.d.ts +0 -225
- package/types/card.d.ts +0 -48
- package/types/checkbox.d.ts +0 -24
- package/types/countdown.d.ts +0 -95
- package/types/curtain.d.ts +0 -26
- package/types/divider.d.ts +0 -33
- package/types/drawer.d.ts +0 -48
- package/types/fab.d.ts +0 -21
- package/types/flex.d.ts +0 -27
- package/types/float-button.d.ts +0 -26
- package/types/float-layout.d.ts +0 -73
- package/types/form.d.ts +0 -26
- package/types/grid.d.ts +0 -51
- package/types/icon.d.ts +0 -12
- package/types/image-picker.d.ts +0 -73
- package/types/index.d.ts +0 -55
- package/types/indexes.d.ts +0 -76
- package/types/input-number.d.ts +0 -89
- package/types/input.d.ts +0 -162
- package/types/list.d.ts +0 -84
- package/types/load-more.d.ts +0 -43
- package/types/message.d.ts +0 -43
- package/types/modal.d.ts +0 -62
- package/types/nav-bar.d.ts +0 -65
- package/types/noticebar.d.ts +0 -65
- package/types/pagination.d.ts +0 -51
- package/types/progress.d.ts +0 -30
- package/types/radio.d.ts +0 -47
- package/types/range.d.ts +0 -63
- package/types/rate.d.ts +0 -34
- package/types/search-bar.d.ts +0 -105
- package/types/segmented-control.d.ts +0 -44
- package/types/slider.d.ts +0 -73
- package/types/steps.d.ts +0 -69
- package/types/swipe-action.d.ts +0 -86
- package/types/switch.d.ts +0 -38
- package/types/tab-bar.d.ts +0 -98
- package/types/tabs-pane.d.ts +0 -25
- package/types/tabs.d.ts +0 -62
- package/types/tag.d.ts +0 -48
- package/types/textarea.d.ts +0 -113
- package/types/timeline.d.ts +0 -46
- package/types/toast.d.ts +0 -53
- /package/{dist → lib}/style/components/accordion.scss +0 -0
- /package/{dist → lib}/style/components/action-sheet.scss +0 -0
- /package/{dist → lib}/style/components/activity-indicator.scss +0 -0
- /package/{dist → lib}/style/components/article.scss +0 -0
- /package/{dist → lib}/style/components/avatar.scss +0 -0
- /package/{dist → lib}/style/components/badge.scss +0 -0
- /package/{dist → lib}/style/components/button.scss +0 -0
- /package/{dist → lib}/style/components/calendar.scss +0 -0
- /package/{dist → lib}/style/components/card.scss +0 -0
- /package/{dist → lib}/style/components/checkbox.scss +0 -0
- /package/{dist → lib}/style/components/countdown.scss +0 -0
- /package/{dist → lib}/style/components/divider.scss +0 -0
- /package/{dist → lib}/style/components/drawer.scss +0 -0
- /package/{dist → lib}/style/components/fab.scss +0 -0
- /package/{dist → lib}/style/components/flex.scss +0 -0
- /package/{dist → lib}/style/components/float-layout.scss +0 -0
- /package/{dist → lib}/style/components/form.scss +0 -0
- /package/{dist → lib}/style/components/icon.scss +0 -0
- /package/{dist → lib}/style/components/image-picker.scss +0 -0
- /package/{dist → lib}/style/components/indexes.scss +0 -0
- /package/{dist → lib}/style/components/input-number.scss +0 -0
- /package/{dist → lib}/style/components/input.scss +0 -0
- /package/{dist → lib}/style/components/load-more.scss +0 -0
- /package/{dist → lib}/style/components/loading.scss +0 -0
- /package/{dist → lib}/style/components/message.scss +0 -0
- /package/{dist → lib}/style/components/modal.scss +0 -0
- /package/{dist → lib}/style/components/nav-bar.scss +0 -0
- /package/{dist → lib}/style/components/noticebar.scss +0 -0
- /package/{dist → lib}/style/components/pagination.scss +0 -0
- /package/{dist → lib}/style/components/progress.scss +0 -0
- /package/{dist → lib}/style/components/radio.scss +0 -0
- /package/{dist → lib}/style/components/rate.scss +0 -0
- /package/{dist → lib}/style/components/search-bar.scss +0 -0
- /package/{dist → lib}/style/components/segmented-control.scss +0 -0
- /package/{dist → lib}/style/components/slider.scss +0 -0
- /package/{dist → lib}/style/components/steps.scss +0 -0
- /package/{dist → lib}/style/components/swipe-action.scss +0 -0
- /package/{dist → lib}/style/components/switch.scss +0 -0
- /package/{dist → lib}/style/components/tab-bar.scss +0 -0
- /package/{dist → lib}/style/components/tabs.scss +0 -0
- /package/{dist → lib}/style/components/tag.scss +0 -0
- /package/{dist → lib}/style/components/textarea.scss +0 -0
- /package/{dist → lib}/style/components/timeline.scss +0 -0
- /package/{dist → lib}/style/index.scss +0 -0
- /package/{dist → lib}/style/mixins/libs/absolute-center.scss +0 -0
- /package/{dist → lib}/style/mixins/libs/active.scss +0 -0
- /package/{dist → lib}/style/mixins/libs/alignhack.scss +0 -0
- /package/{dist → lib}/style/mixins/libs/border.scss +0 -0
- /package/{dist → lib}/style/mixins/libs/clearfix.scss +0 -0
- /package/{dist → lib}/style/mixins/libs/disabled.scss +0 -0
- /package/{dist → lib}/style/mixins/libs/flex.scss +0 -0
- /package/{dist → lib}/style/mixins/libs/hairline.scss +0 -0
- /package/{dist → lib}/style/mixins/libs/line.scss +0 -0
- /package/{dist → lib}/style/mixins/libs/overlay.scss +0 -0
- /package/{dist → lib}/style/mixins/libs/placeholder.scss +0 -0
- /package/{dist → lib}/style/themes/purple.scss +0 -0
- /package/{dist → lib}/style/themes/red.scss +0 -0
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
@import '../variables/default.scss';
|
|
2
|
-
@import '../mixins/index.scss';
|
|
3
|
-
|
|
4
|
-
.at-accordion {
|
|
5
|
-
&__header {
|
|
6
|
-
position: relative;
|
|
7
|
-
padding: $spacing-v-lg $spacing-h-lg;
|
|
8
|
-
display: flex;
|
|
9
|
-
align-items: center;
|
|
10
|
-
width: 100%;
|
|
11
|
-
min-height: $font-size-lg;
|
|
12
|
-
color: $color-text-base;
|
|
13
|
-
font-size: $font-size-lg;
|
|
14
|
-
// box-sizing: border-box;
|
|
15
|
-
@include hairline-bottom();
|
|
16
|
-
@include active;
|
|
17
|
-
|
|
18
|
-
&--noborder {
|
|
19
|
-
&::after {
|
|
20
|
-
display: none;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&__info {
|
|
26
|
-
flex: 1;
|
|
27
|
-
text-align: left;
|
|
28
|
-
line-height: 1.6;
|
|
29
|
-
|
|
30
|
-
&__title {
|
|
31
|
-
// @include line;
|
|
32
|
-
|
|
33
|
-
color: inherit;
|
|
34
|
-
font-size: inherit;
|
|
35
|
-
line-height: $line-height-zh;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
&__note {
|
|
39
|
-
// @include line;
|
|
40
|
-
|
|
41
|
-
color: $at-list-content-color;
|
|
42
|
-
font-size: $font-size-base;
|
|
43
|
-
line-height: $line-height-zh;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
&__icon {
|
|
48
|
-
margin-right: 15px;
|
|
49
|
-
color: $color-text-base;
|
|
50
|
-
font-size: 48px;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
&__content {
|
|
54
|
-
position: relative;
|
|
55
|
-
width: 100%;
|
|
56
|
-
overflow: hidden;
|
|
57
|
-
// transition:: height 500ms $ease-in-sine;
|
|
58
|
-
@include hairline-top();
|
|
59
|
-
|
|
60
|
-
&--inactive {
|
|
61
|
-
position: absolute;
|
|
62
|
-
// visibility: hidden;
|
|
63
|
-
height: 0;
|
|
64
|
-
z-index: -10;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
&__arrow {
|
|
69
|
-
color: $at-accordion-color-arrow;
|
|
70
|
-
font-size: 48px;
|
|
71
|
-
line-height: 1;
|
|
72
|
-
// transition:: transform 0.2s ease;
|
|
73
|
-
// transform-origin: center;
|
|
74
|
-
|
|
75
|
-
&--folded {
|
|
76
|
-
// transform: rotate(180deg);
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
@import '../variables/default.scss';
|
|
2
|
-
@import '../mixins/index.scss';
|
|
3
|
-
|
|
4
|
-
$at-action-sheet-duration: 300ms;
|
|
5
|
-
|
|
6
|
-
.at-action-sheet {
|
|
7
|
-
// position: absolute;
|
|
8
|
-
// width: 100%;
|
|
9
|
-
// height: 100%;
|
|
10
|
-
// top: 0;
|
|
11
|
-
// left: 0;
|
|
12
|
-
// z-index: $zindex-action-sheet;
|
|
13
|
-
// visibility: hidden;
|
|
14
|
-
// transition: visibility $at-action-sheet-duration $timing-func;
|
|
15
|
-
|
|
16
|
-
/* elements */
|
|
17
|
-
// &__overlay {
|
|
18
|
-
// @include overlay;
|
|
19
|
-
|
|
20
|
-
// opacity: 0;
|
|
21
|
-
// transition: opacity $at-action-sheet-duration ease-in;
|
|
22
|
-
// }
|
|
23
|
-
|
|
24
|
-
&__container {
|
|
25
|
-
position: absolute;
|
|
26
|
-
// padding-bottom: constant(safe-area-inset-bottom);
|
|
27
|
-
// padding-bottom: env(safe-area-inset-bottom);
|
|
28
|
-
bottom: 0;
|
|
29
|
-
width: 100%;
|
|
30
|
-
text-align: center;
|
|
31
|
-
background-color: $color-white;
|
|
32
|
-
// transform: translate3d(0, 100%, 0);
|
|
33
|
-
// transition: transform $at-action-sheet-duration $timing-func;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&__header {
|
|
37
|
-
padding: $spacing-v-lg $spacing-h-lg;
|
|
38
|
-
color: $color-black-3;
|
|
39
|
-
font-size: $font-size-base;
|
|
40
|
-
text-align: center;
|
|
41
|
-
// line-height: $line-height-zh;
|
|
42
|
-
@include hairline-bottom();
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
&__footer {
|
|
46
|
-
padding: $spacing-v-lg $spacing-h-lg;
|
|
47
|
-
font-size: $font-size-xl;
|
|
48
|
-
border-top-width: 12px;
|
|
49
|
-
border-style: solid;
|
|
50
|
-
text-align: center;
|
|
51
|
-
border-top-color: rgba($color: $color-border-base, $alpha: 0.3);
|
|
52
|
-
// @include active();
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
&__body {
|
|
56
|
-
text-align: center;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
&__item {
|
|
60
|
-
padding: $spacing-v-lg $spacing-h-lg;
|
|
61
|
-
font-size: $font-size-xl;
|
|
62
|
-
text-align: center;
|
|
63
|
-
// @include active();
|
|
64
|
-
// @include line(1);
|
|
65
|
-
@include hairline-bottom-relative();
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
/* modifiers */
|
|
69
|
-
&--active {
|
|
70
|
-
// visibility: visible;
|
|
71
|
-
|
|
72
|
-
// .at-action-sheet__overlay {
|
|
73
|
-
// opacity: 1;
|
|
74
|
-
// }
|
|
75
|
-
|
|
76
|
-
// .at-action-sheet__container {
|
|
77
|
-
// transform: translate3d(0, 0, 0);
|
|
78
|
-
// }
|
|
79
|
-
}
|
|
80
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
@import '../variables/default.scss';
|
|
2
|
-
@import '../mixins/index.scss';
|
|
3
|
-
|
|
4
|
-
.at-activity-indicator {
|
|
5
|
-
@include display-flex();
|
|
6
|
-
opacity: 0;
|
|
7
|
-
|
|
8
|
-
/* elements */
|
|
9
|
-
&__body {
|
|
10
|
-
@include flex(0, 0, auto);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
&__content {
|
|
14
|
-
@include flex(0, 0, auto);
|
|
15
|
-
@include align-self(center);
|
|
16
|
-
|
|
17
|
-
margin-left: $spacing-h-lg;
|
|
18
|
-
color: $at-activity-indicator-font-color;
|
|
19
|
-
font-size: $at-activity-indicator-font-size;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
/* modifiers */
|
|
23
|
-
&--center {
|
|
24
|
-
@include absolute-center;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&--isopened {
|
|
28
|
-
opacity: 1;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
@import '../variables/default.scss';
|
|
2
|
-
@import '../mixins/index.scss';
|
|
3
|
-
|
|
4
|
-
.at-article {
|
|
5
|
-
/* #ifndef rn */
|
|
6
|
-
// word-break: break-all;
|
|
7
|
-
// word-wrap: break-word;
|
|
8
|
-
/* #endif */
|
|
9
|
-
// line-height: $line-height-zh;
|
|
10
|
-
|
|
11
|
-
/* elements */
|
|
12
|
-
&__h1,
|
|
13
|
-
&__h2,
|
|
14
|
-
&__h3 {
|
|
15
|
-
margin: 0 30px;
|
|
16
|
-
color: $color-grey-0;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
&__h1 {
|
|
20
|
-
margin-top: 30px;
|
|
21
|
-
font-size: 48px;
|
|
22
|
-
line-height: 72px;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&__info {
|
|
26
|
-
margin: 0 30px;
|
|
27
|
-
color: $color-grey-3;
|
|
28
|
-
font-size: $font-size-base;
|
|
29
|
-
line-height: 42px;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&__h2 {
|
|
33
|
-
margin-top: 30px;
|
|
34
|
-
font-size: $font-size-xxl;
|
|
35
|
-
line-height: 60px;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
&__h3 {
|
|
39
|
-
font-size: $font-size-lg;
|
|
40
|
-
line-height: 48px;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
&__p {
|
|
44
|
-
margin: 25px 30px 0;
|
|
45
|
-
color: $color-grey-1;
|
|
46
|
-
font-size: $font-size-base;
|
|
47
|
-
line-height: 42px;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
&__img {
|
|
51
|
-
display: flex;
|
|
52
|
-
/* #ifndef rn */
|
|
53
|
-
// display: block;
|
|
54
|
-
/* #endif */
|
|
55
|
-
margin: 20px auto 0;
|
|
56
|
-
width: 690px;
|
|
57
|
-
border-radius: 4px;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
@use "sass:math";
|
|
2
|
-
@import '../variables/default.scss';
|
|
3
|
-
@import '../mixins/index.scss';
|
|
4
|
-
|
|
5
|
-
.at-avatar {
|
|
6
|
-
width: $at-avatar-size-md;
|
|
7
|
-
height: $at-avatar-size-md;
|
|
8
|
-
color: $at-avatar-color;
|
|
9
|
-
font-size: math.div($at-avatar-size-md, 2.5);
|
|
10
|
-
line-height: $at-avatar-size-md;
|
|
11
|
-
text-align: center;
|
|
12
|
-
border-radius: $border-radius-md;
|
|
13
|
-
background: $at-avatar-bg-color;
|
|
14
|
-
/* #ifndef rn */
|
|
15
|
-
// box-shadow: 0 0 50px 0 rgba(0, 0, 0, 0.05);
|
|
16
|
-
/* #endif */
|
|
17
|
-
overflow: hidden;
|
|
18
|
-
|
|
19
|
-
/* elements */
|
|
20
|
-
&__img {
|
|
21
|
-
width: 100%;
|
|
22
|
-
height: 100%;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
/* modifiers */
|
|
26
|
-
&--large {
|
|
27
|
-
width: $at-avatar-size-lg;
|
|
28
|
-
height: $at-avatar-size-lg;
|
|
29
|
-
font-size: math.div($at-avatar-size-lg, 2.5);
|
|
30
|
-
line-height: $at-avatar-size-lg;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
&--small {
|
|
34
|
-
width: $at-avatar-size-sm;
|
|
35
|
-
height: $at-avatar-size-sm;
|
|
36
|
-
font-size: math.div($at-avatar-size-sm, 2.5);
|
|
37
|
-
line-height: $at-avatar-size-sm;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&--circle {
|
|
41
|
-
/* #ifndef rn */
|
|
42
|
-
background-clip: border-box;
|
|
43
|
-
/* #endif */
|
|
44
|
-
overflow: hidden;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
@use "sass:math";
|
|
2
|
-
@import '../variables/default.scss';
|
|
3
|
-
@import '../mixins/index.scss';
|
|
4
|
-
|
|
5
|
-
$at-badge-border-radius: $at-badge-font-size * 0.7;
|
|
6
|
-
$at-badge-box-shadow: 0 4px 8px 0 rgba($color: $at-badge-bg-color, $alpha: 0.2);
|
|
7
|
-
|
|
8
|
-
.at-badge {
|
|
9
|
-
position: relative;
|
|
10
|
-
/* #ifdef rn */
|
|
11
|
-
// 行内样式自己的宽度,不撑满一行
|
|
12
|
-
align-self: flex-start;
|
|
13
|
-
/* #endif */
|
|
14
|
-
/* #ifndef rn */
|
|
15
|
-
// display: inline-block;
|
|
16
|
-
// vertical-align: middle;
|
|
17
|
-
/* #endif */
|
|
18
|
-
width: 100%;
|
|
19
|
-
|
|
20
|
-
/* elements */
|
|
21
|
-
&__dot {
|
|
22
|
-
position: absolute;
|
|
23
|
-
right: -16px;
|
|
24
|
-
top: -6px;
|
|
25
|
-
width: $at-badge-dot-size;
|
|
26
|
-
height: $at-badge-dot-size;
|
|
27
|
-
border-radius: math.div($at-badge-dot-size, 2);
|
|
28
|
-
overflow: hidden;
|
|
29
|
-
background: $at-badge-bg;
|
|
30
|
-
/* #ifndef rn */
|
|
31
|
-
// box-shadow: $at-badge-box-shadow;
|
|
32
|
-
/* #endif */
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&__num {
|
|
36
|
-
position: absolute;
|
|
37
|
-
top: -$at-badge-border-radius;
|
|
38
|
-
right: -16PX;
|
|
39
|
-
padding: 0 $spacing-h-sm;
|
|
40
|
-
color: $at-badge-color;
|
|
41
|
-
font-size: $at-badge-font-size;
|
|
42
|
-
border-radius: $at-badge-border-radius $at-badge-border-radius $at-badge-border-radius 0;
|
|
43
|
-
background: $at-badge-bg;
|
|
44
|
-
line-height: $at-badge-font-size * 1.4;
|
|
45
|
-
/* #ifndef rn */
|
|
46
|
-
// box-shadow: $at-badge-box-shadow;
|
|
47
|
-
// transform: translate(50%, 0);
|
|
48
|
-
/* #endif */
|
|
49
|
-
overflow: hidden;
|
|
50
|
-
z-index: 1;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
@use "sass:math";
|
|
2
|
-
@import '../variables/default.scss';
|
|
3
|
-
@import '../mixins/index.scss';
|
|
4
|
-
|
|
5
|
-
.at-button {
|
|
6
|
-
position: relative;
|
|
7
|
-
display: flex;
|
|
8
|
-
justify-content: center;
|
|
9
|
-
height: $at-button-height;
|
|
10
|
-
color: $color-text-base;
|
|
11
|
-
font-size: $font-size-lg;
|
|
12
|
-
line-height: $at-button-height - 2;
|
|
13
|
-
text-align: center;
|
|
14
|
-
border-radius: $border-radius-md;
|
|
15
|
-
border: 1PX solid $color-border-base;
|
|
16
|
-
margin: 0 $spacing-h-xl;
|
|
17
|
-
// &:active {
|
|
18
|
-
// opacity: $opacity-active;
|
|
19
|
-
// }
|
|
20
|
-
|
|
21
|
-
/* elements */
|
|
22
|
-
|
|
23
|
-
&__icon {
|
|
24
|
-
margin: 2PX 20px 0 20px;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/* modifiers */
|
|
28
|
-
&--active {
|
|
29
|
-
opacity: $opacity-active;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&--disabled {
|
|
33
|
-
opacity: $opacity-disabled;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&--primary {
|
|
37
|
-
color: $color-text-base-inverse;
|
|
38
|
-
border: 1PX solid $at-button-border-color-primary;
|
|
39
|
-
background: $at-button-bg;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
&--secondary {
|
|
43
|
-
border: 1PX solid $at-button-border-color-secondary;
|
|
44
|
-
background-color: $color-white;
|
|
45
|
-
|
|
46
|
-
&--text {
|
|
47
|
-
color: $at-button-color;
|
|
48
|
-
font-size: 36px;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
&--circle {
|
|
53
|
-
border-radius: math.div($at-button-height, 2);
|
|
54
|
-
overflow: hidden;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
&--small {
|
|
58
|
-
align-self: flex-start;
|
|
59
|
-
margin: 0;
|
|
60
|
-
width: auto;
|
|
61
|
-
min-width: 100px;
|
|
62
|
-
max-width: 710px;
|
|
63
|
-
height: $at-button-height-sm;
|
|
64
|
-
|
|
65
|
-
&--text {
|
|
66
|
-
font-size: 26px;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
&--full {
|
|
71
|
-
width: 100%;
|
|
72
|
-
margin: 0;
|
|
73
|
-
max-width: 100%;
|
|
74
|
-
border-radius: 0;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.at-button--circle {
|
|
79
|
-
border-radius: math.div($at-button-height-sm, 2);
|
|
80
|
-
}
|
|
@@ -1,182 +0,0 @@
|
|
|
1
|
-
@import '../variables/default.scss';
|
|
2
|
-
@import '../mixins/index.scss';
|
|
3
|
-
|
|
4
|
-
.at-calendar {
|
|
5
|
-
overflow: hidden;
|
|
6
|
-
|
|
7
|
-
/* elements */
|
|
8
|
-
&__header {
|
|
9
|
-
.header__flex {
|
|
10
|
-
@include display-flex;
|
|
11
|
-
@include align-items(center);
|
|
12
|
-
|
|
13
|
-
height: 72px;
|
|
14
|
-
color: $at-calendar-header-color;
|
|
15
|
-
text-align: center;
|
|
16
|
-
|
|
17
|
-
&-item {
|
|
18
|
-
@include flex(0 0 calc(100% / 7));
|
|
19
|
-
|
|
20
|
-
font-size: 30px;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&__list {
|
|
26
|
-
&.flex {
|
|
27
|
-
@include display-flex;
|
|
28
|
-
@include align-items();
|
|
29
|
-
@include flex-wrap(wrap);
|
|
30
|
-
|
|
31
|
-
color: $at-calendar-day-color;
|
|
32
|
-
|
|
33
|
-
.flex__item {
|
|
34
|
-
@include flex(0 0 calc(100% / 7));
|
|
35
|
-
|
|
36
|
-
font-size: 30px;
|
|
37
|
-
text-align: center;
|
|
38
|
-
position: relative;
|
|
39
|
-
margin: 5px 0;
|
|
40
|
-
|
|
41
|
-
&-container {
|
|
42
|
-
@include align-items(center);
|
|
43
|
-
@include display-flex;
|
|
44
|
-
|
|
45
|
-
width: $at-calendar-day-size;
|
|
46
|
-
height: $at-calendar-day-size;
|
|
47
|
-
margin-left: auto;
|
|
48
|
-
margin-right: auto;
|
|
49
|
-
border-radius: 50%;
|
|
50
|
-
|
|
51
|
-
.container-text {
|
|
52
|
-
@include flex;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
&-extra {
|
|
57
|
-
.extra-marks {
|
|
58
|
-
position: absolute;
|
|
59
|
-
bottom: 5px;
|
|
60
|
-
line-height: 0;
|
|
61
|
-
left: 50%;
|
|
62
|
-
// transform: translateX(-50%);
|
|
63
|
-
|
|
64
|
-
.mark {
|
|
65
|
-
width: $at-calendar-mark-size;
|
|
66
|
-
height: $at-calendar-mark-size;
|
|
67
|
-
margin-right: 4px;
|
|
68
|
-
// display: inline-block;
|
|
69
|
-
background-color: $at-calendar-main-color;
|
|
70
|
-
border-radius: 50%;
|
|
71
|
-
overflow: hidden;
|
|
72
|
-
|
|
73
|
-
&:last-child {
|
|
74
|
-
margin-right: 0;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
&--today {
|
|
81
|
-
color: $at-calendar-main-color;
|
|
82
|
-
font-weight: bolder;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
&--blur {
|
|
86
|
-
color: #e1e4e7;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
&--selected {
|
|
90
|
-
color: white;
|
|
91
|
-
background-color: rgba($color: $at-calendar-main-color, $alpha: 0.7);
|
|
92
|
-
|
|
93
|
-
&-head {
|
|
94
|
-
border-top-left-radius: 40px;
|
|
95
|
-
border-bottom-left-radius: 40px;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
&-tail {
|
|
99
|
-
border-top-right-radius: 40px;
|
|
100
|
-
border-bottom-right-radius: 40px;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
/* stylelint-disable-next-line */
|
|
104
|
-
.extra-marks .mark {
|
|
105
|
-
background-color: white;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
&-head.flex__item--selected-tail {
|
|
109
|
-
background-color: transparent;
|
|
110
|
-
|
|
111
|
-
.flex__item-container {
|
|
112
|
-
background-color: rgba(
|
|
113
|
-
$color: $at-calendar-main-color,
|
|
114
|
-
$alpha: 0.7
|
|
115
|
-
);
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
&__controller {
|
|
124
|
-
@include display-flex;
|
|
125
|
-
@include align-items(center);
|
|
126
|
-
@include justify-content(center);
|
|
127
|
-
|
|
128
|
-
margin-bottom: 20px;
|
|
129
|
-
|
|
130
|
-
.controller__arrow {
|
|
131
|
-
@include flex(0 0 40px);
|
|
132
|
-
|
|
133
|
-
height: 40px;
|
|
134
|
-
border-radius: 12px;
|
|
135
|
-
// display: inline-block;
|
|
136
|
-
background-size: 16px 24px;
|
|
137
|
-
background-position: center;
|
|
138
|
-
background-color: #f7f8fc;
|
|
139
|
-
background-repeat: no-repeat;
|
|
140
|
-
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAYCAYAAADzoH0MAAAAAXNSR0IArs4c6QAAAnFJREFUOBGVVF1rE0EUnXt3tzFtWmqjKYKfqIhVa1L8FQVRWtwnXwRhidXGDwQf81oCUQMioZRCHwNSgiD4lD9QSYVKsA8KbaW1jbamX8adnWsmMnESbYz7cs6ee8/ZnZm7y9h/Xk/Gs70TE9lOZQNFWsGx1IvDJoozxNDttNpmHOfyTssBj59PHxceP6keREDlYPvBGUMJzTD5LHuKhHtC70EEQe72atMAIoLu0MWzRPxInZnEdxZib2I37L2XEI/HsSvYd44AQrqZIW5b3J8fHR0sS/2ve5DJZIzFFexnSD262QAs+c1js45zyVU6KqIwnU5bS58x0mhGhusbaz153Sw9dW+QSr3yCdwJe4wCKlCigbAWiw7PAYDQdclrAclkxk8+iDBifr3JMq3lO86VQsVMuq549RQSU687mOcNANE+VfiFxuLd6NX3e5llD8qjskqb54E8n24mk5Yf3B6ab2auBsgGC8Q7QOJ1AS6ExrSZ12s6r57CyIi99cNgswywtkkIzDB2eSSdftmuGxp57RgfOfY38HlvRWVNqgmYsDb57sDkZK5hb1RHZQ9+U8bu37S/MtOc0zUg8G2U1yOV4WrTdcXrAqT4MDq0yokXVINEwb32pS9WOJfLmboueW0OGgtP05mj3IXTum6iuXHogDtr27an9D/eQBVijr2AiB/VvUQuePenNXZBfmhKrxEl6Hjv1vAHA2lJ1wRBcH9vf5+cH6k3DZANsei1eWCwIrm6uOf1Jsenq8v7Z4ActFJxrsBMo6gC0GAebPHq/Z6bqJoVyn/EQpGFK08MmF2B/Oj1wZKqtYzxeM5MJKY6dMNPQnnePR8FubkAAAAASUVORK5CYII=");
|
|
141
|
-
|
|
142
|
-
&--right {
|
|
143
|
-
// transform: rotate(180deg);
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
&--disabled {
|
|
147
|
-
opacity: 0.5;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
.controller__info {
|
|
152
|
-
@include flex(0 0 auto);
|
|
153
|
-
|
|
154
|
-
font-size: 30px;
|
|
155
|
-
margin-left: 40px;
|
|
156
|
-
margin-right: 40px;
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.at-calendar-slider__main {
|
|
162
|
-
.main__body {
|
|
163
|
-
@include display-flex;
|
|
164
|
-
|
|
165
|
-
width: 100%;
|
|
166
|
-
|
|
167
|
-
&--animate {
|
|
168
|
-
// transition:: transform 300ms cubic-bezier(0.36, 0.66, 0.04, 1);
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
.body__slider {
|
|
172
|
-
@include flex(0 0 100%);
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
&--weapp,
|
|
177
|
-
&--swan {
|
|
178
|
-
.main__body {
|
|
179
|
-
height: 480px;
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
}
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
@import '../variables/default.scss';
|
|
2
|
-
@import '../mixins/index.scss';
|
|
3
|
-
|
|
4
|
-
.at-card {
|
|
5
|
-
@include border-thin($color: $color-border-light, $width: 1PX);
|
|
6
|
-
flex: 1;
|
|
7
|
-
margin: 0 $spacing-h-lg;
|
|
8
|
-
border-radius: $border-radius-lg;
|
|
9
|
-
background-color: $color-bg;
|
|
10
|
-
|
|
11
|
-
/* elements */
|
|
12
|
-
&__header {
|
|
13
|
-
@include display-flex;
|
|
14
|
-
@include align-items(center);
|
|
15
|
-
@include border-thin-bottom($width: 1PX);
|
|
16
|
-
|
|
17
|
-
padding: $spacing-v-md $spacing-h-lg;
|
|
18
|
-
position: relative;
|
|
19
|
-
|
|
20
|
-
&-title,
|
|
21
|
-
&-extra {
|
|
22
|
-
// @include line;
|
|
23
|
-
|
|
24
|
-
// line-height: $line-height-zh;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&-thumb {
|
|
28
|
-
@include flex(0, 0, $at-card-thumb-size);
|
|
29
|
-
|
|
30
|
-
height: $at-card-thumb-size;
|
|
31
|
-
// display: block;
|
|
32
|
-
line-height: 0;
|
|
33
|
-
margin-right: $spacing-h-md;
|
|
34
|
-
|
|
35
|
-
&-info {
|
|
36
|
-
width: 100%;
|
|
37
|
-
height: 100%;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
&-icon {
|
|
42
|
-
margin-right: $spacing-h-md;
|
|
43
|
-
font-size: $at-card-icon-size;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
&-title {
|
|
47
|
-
@include flex(auto);
|
|
48
|
-
|
|
49
|
-
// display: block;
|
|
50
|
-
color: $at-card-title-color;
|
|
51
|
-
font-size: $font-size-lg;
|
|
52
|
-
line-height: $line-height-zh * $font-size-lg;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
&-extra {
|
|
56
|
-
@include flex(0, 0, auto);
|
|
57
|
-
|
|
58
|
-
max-width: 200px;
|
|
59
|
-
margin-left: $spacing-h-lg;
|
|
60
|
-
color: $at-card-extra-color;
|
|
61
|
-
font-size: $font-size-base;
|
|
62
|
-
line-height: $line-height-zh * $font-size-base;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
&__content {
|
|
67
|
-
padding: $spacing-v-lg $spacing-h-lg;
|
|
68
|
-
|
|
69
|
-
&-info {
|
|
70
|
-
color: $at-card-info-color;
|
|
71
|
-
font-size: $font-size-base;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
&-note {
|
|
75
|
-
margin-top: $spacing-v-md;
|
|
76
|
-
color: $at-card-note-color;
|
|
77
|
-
font-size: $font-size-sm;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
/* modifiers */
|
|
82
|
-
&--full {
|
|
83
|
-
margin: 0;
|
|
84
|
-
border-radius: 0;
|
|
85
|
-
border-left-width: 0;
|
|
86
|
-
border-right-width: 0;
|
|
87
|
-
}
|
|
88
|
-
}
|