@dckj-npm/dc-material 0.1.150 → 0.1.152
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -17
- package/build/index.js +8 -8
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.design.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +10 -10
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +293 -145
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +293 -145
- package/dist/BizComps.css +1 -1
- package/dist/BizComps.js +5 -5
- package/dist/BizComps.js.map +1 -1
- package/es/assets/icon/grid-nav/right.png +0 -0
- package/es/assets/icon/position/location.png +0 -0
- package/es/assets/icon/search/delete.png +0 -0
- package/es/assets/icon/teletext-list/arr.png +0 -0
- package/es/components/bottom-navigation/bottom-navigation.d.ts +15 -15
- package/es/components/bottom-navigation/bottom-navigation.js +6 -9
- package/es/components/bottom-navigation/index.d.ts +3 -3
- package/es/components/bottom-navigation/index.scss +24 -28
- package/es/components/button/button.d.ts +14 -14
- package/es/components/button/index.d.ts +6 -6
- package/es/components/button/index.js +2 -2
- package/es/components/button/index.scss +16 -16
- package/es/components/carousel/carousel.d.ts +14 -14
- package/es/components/carousel/carousel.scss +32 -32
- package/es/components/colorful-button/colorful-button.d.ts +12 -12
- package/es/components/colorful-button/index.d.ts +3 -3
- package/es/components/colorful-button/index.scss +5 -5
- package/es/components/colorful-input/colorful-input.d.ts +8 -8
- package/es/components/colorful-input/index.d.ts +3 -3
- package/es/components/colorful-input/index.scss +5 -5
- package/es/components/form/form-item.d.ts +42 -42
- package/es/components/form/form-item.scss +20 -20
- package/es/components/form/form.d.ts +57 -20
- package/es/components/form/form.js +9 -1559
- package/es/components/form/index.d.ts +6 -6
- package/es/components/form/index.js +4 -4
- package/es/components/form/index.scss +21 -21
- package/es/components/form/next-wrapper.d.ts +54 -0
- package/es/components/form/next-wrapper.js +43 -0
- package/es/components/goods-card-list/goods-card-list-common.d.ts +5 -5
- package/es/components/goods-card-list/goods-card-list-common.scss +118 -118
- package/es/components/goods-card-list/goods-card-list.d.ts +5 -5
- package/es/components/goods-card-list/goods-card-list.scss +112 -112
- package/es/components/goods-card-list/index.d.ts +4 -4
- package/es/components/goods-card-list/types.d.ts +45 -45
- package/es/components/grid-nav/grid-nav.d.ts +13 -13
- package/es/components/grid-nav/index.d.ts +3 -3
- package/es/components/grid-nav/index.scss +50 -50
- package/es/components/integral-task/index.d.ts +6 -6
- package/es/components/integral-task/index.js +2 -2
- package/es/components/integral-task/index.scss +35 -35
- package/es/components/integral-task/integral-task.d.ts +40 -40
- package/es/components/menu-list/index.d.ts +6 -6
- package/es/components/menu-list/index.js +2 -2
- package/es/components/menu-list/index.scss +16 -16
- package/es/components/menu-list/menu-list-item.d.ts +5 -5
- package/es/components/menu-list/menu-list-item.scss +49 -49
- package/es/components/menu-list/menu-list.d.ts +5 -5
- package/es/components/menu-list/types.d.ts +23 -23
- package/es/components/message-list/index.d.ts +6 -6
- package/es/components/message-list/index.js +2 -2
- package/es/components/message-list/index.scss +22 -22
- package/es/components/message-list/message-list-item.d.ts +33 -33
- package/es/components/message-list/message-list-item.js +2 -2
- package/es/components/message-list/message-list-item.scss +60 -62
- package/es/components/message-list/message-list.d.ts +28 -28
- package/es/components/message-list/message-list.js +9 -6
- package/es/components/notice-bar/index.d.ts +3 -3
- package/es/components/notice-bar/index.scss +84 -84
- package/es/components/notice-bar/notice-bar-item.d.ts +18 -18
- package/es/components/notice-bar/notice-bar-item.scss +26 -26
- package/es/components/notice-bar/notice-bar.d.ts +46 -46
- package/es/components/position/entity.d.ts +5 -5
- package/es/components/position/index.d.ts +3 -3
- package/es/components/position/index.scss +27 -124
- package/es/components/position/position-left.d.ts +9 -9
- package/es/components/position/position-list.d.ts +11 -12
- package/es/components/position/position-list.js +6 -111
- package/es/components/position/position.d.ts +8 -8
- package/es/components/position/position.js +2 -1
- package/es/components/radio-group/index.d.ts +8 -8
- package/es/components/radio-group/index.js +2 -2
- package/es/components/radio-group/index.scss +40 -40
- package/es/components/radio-group/radio-group-item.d.ts +48 -48
- package/es/components/radio-group/radio-group.d.ts +52 -52
- package/es/components/rich-text/index.d.ts +6 -6
- package/es/components/rich-text/index.js +2 -2
- package/es/components/rich-text/index.scss +19 -19
- package/es/components/rich-text/rich-text.d.ts +14 -14
- package/es/components/search-bar/index.d.ts +3 -3
- package/es/components/search-bar/index.scss +39 -39
- package/es/components/search-bar/search-bar.d.ts +10 -10
- package/es/components/search-bar/search-bar.js +2 -2
- package/es/components/stream-list/index.d.ts +6 -6
- package/es/components/stream-list/index.js +2 -2
- package/es/components/stream-list/index.scss +26 -26
- package/es/components/stream-list/stream-list.d.ts +54 -54
- package/es/components/stream-list/stream-list.js +2 -2
- package/es/components/swiper/index.d.ts +3 -3
- package/es/components/swiper/index.scss +33 -20
- package/es/components/swiper/swiper.d.ts +26 -30
- package/es/components/swiper/swiper.js +16 -18
- package/es/components/tab/index.d.ts +6 -6
- package/es/components/tab/index.js +2 -2
- package/es/components/tab/index.scss +39 -44
- package/es/components/tab/tab.d.ts +27 -27
- package/es/components/tab/tab.js +10 -12
- package/es/components/tab-container/index.d.ts +3 -3
- package/es/components/tab-container/index.scss +47 -47
- package/es/components/tab-container/tab-container.d.ts +10 -10
- package/es/components/tab-container-item/index.d.ts +3 -3
- package/es/components/tab-container-item/tab-container-item.d.ts +11 -11
- package/es/components/tag/index.d.ts +6 -6
- package/es/components/tag/index.js +2 -2
- package/es/components/tag/index.scss +24 -24
- package/es/components/tag/tag.d.ts +14 -14
- package/es/components/teletext-list/index.d.ts +6 -6
- package/es/components/teletext-list/index.js +2 -2
- package/es/components/teletext-list/index.scss +40 -40
- package/es/components/teletext-list/teletext-list-item.d.ts +33 -33
- package/es/components/teletext-list/teletext-list-item.js +2 -2
- package/es/components/teletext-list/teletext-list-item.scss +57 -57
- package/es/components/teletext-list/teletext-list.d.ts +61 -61
- package/es/components/teletext-list/teletext-list.js +2 -2
- package/es/components/title/index.d.ts +8 -8
- package/es/components/title/index.js +2 -2
- package/es/components/title/title-1.d.ts +10 -10
- package/es/components/title/title-1.scss +25 -25
- package/es/components/title/title-2.d.ts +18 -18
- package/es/components/title/title-2.scss +22 -22
- package/es/entity/dynamic-column-data-type.d.ts +47 -316
- package/es/entity/dynamic-column-data-type.js +1 -9
- package/es/index.d.ts +46 -52
- package/es/index.js +1 -13
- package/es/index.scss +5 -5
- package/es/style.js +0 -2
- package/es/utils/children-node-handle.d.ts +9 -9
- package/es/utils/children-node-handle.js +7 -7
- package/es/utils/component-wrapper.d.ts +9 -9
- package/es/utils/debounce.d.ts +1 -1
- package/es/utils/textUtil.d.ts +10 -10
- package/es/utils/textUtil.js +9 -9
- package/es/utils/time-util.d.ts +5 -5
- package/es/utils/time-util.js +3 -3
- package/es/variables.d.ts +2 -2
- package/es/variables.scss +3 -3
- package/lib/assets/icon/grid-nav/right.png +0 -0
- package/lib/assets/icon/position/location.png +0 -0
- package/lib/assets/icon/search/delete.png +0 -0
- package/lib/assets/icon/teletext-list/arr.png +0 -0
- package/lib/components/bottom-navigation/bottom-navigation.d.ts +15 -15
- package/lib/components/bottom-navigation/bottom-navigation.js +7 -10
- package/lib/components/bottom-navigation/index.d.ts +3 -3
- package/lib/components/bottom-navigation/index.scss +24 -28
- package/lib/components/button/button.d.ts +14 -14
- package/lib/components/button/index.d.ts +6 -6
- package/lib/components/button/index.js +2 -2
- package/lib/components/button/index.scss +16 -16
- package/lib/components/carousel/carousel.d.ts +14 -14
- package/lib/components/carousel/carousel.scss +32 -32
- package/lib/components/colorful-button/colorful-button.d.ts +12 -12
- package/lib/components/colorful-button/index.d.ts +3 -3
- package/lib/components/colorful-button/index.scss +5 -5
- package/lib/components/colorful-input/colorful-input.d.ts +8 -8
- package/lib/components/colorful-input/index.d.ts +3 -3
- package/lib/components/colorful-input/index.scss +5 -5
- package/lib/components/form/form-item.d.ts +42 -42
- package/lib/components/form/form-item.scss +20 -20
- package/lib/components/form/form.d.ts +57 -20
- package/lib/components/form/form.js +9 -1558
- package/lib/components/form/index.d.ts +6 -6
- package/lib/components/form/index.js +1 -1
- package/lib/components/form/index.scss +21 -21
- package/lib/components/form/next-wrapper.d.ts +54 -0
- package/lib/components/form/next-wrapper.js +49 -0
- package/lib/components/goods-card-list/goods-card-list-common.d.ts +5 -5
- package/lib/components/goods-card-list/goods-card-list-common.scss +118 -118
- package/lib/components/goods-card-list/goods-card-list.d.ts +5 -5
- package/lib/components/goods-card-list/goods-card-list.scss +112 -112
- package/lib/components/goods-card-list/index.d.ts +4 -4
- package/lib/components/goods-card-list/types.d.ts +45 -45
- package/lib/components/grid-nav/grid-nav.d.ts +13 -13
- package/lib/components/grid-nav/index.d.ts +3 -3
- package/lib/components/grid-nav/index.scss +50 -50
- package/lib/components/integral-task/index.d.ts +6 -6
- package/lib/components/integral-task/index.js +2 -2
- package/lib/components/integral-task/index.scss +35 -35
- package/lib/components/integral-task/integral-task.d.ts +40 -40
- package/lib/components/menu-list/index.d.ts +6 -6
- package/lib/components/menu-list/index.js +2 -2
- package/lib/components/menu-list/index.scss +16 -16
- package/lib/components/menu-list/menu-list-item.d.ts +5 -5
- package/lib/components/menu-list/menu-list-item.scss +49 -49
- package/lib/components/menu-list/menu-list.d.ts +5 -5
- package/lib/components/menu-list/types.d.ts +23 -23
- package/lib/components/message-list/index.d.ts +6 -6
- package/lib/components/message-list/index.js +2 -2
- package/lib/components/message-list/index.scss +22 -22
- package/lib/components/message-list/message-list-item.d.ts +33 -33
- package/lib/components/message-list/message-list-item.js +2 -2
- package/lib/components/message-list/message-list-item.scss +60 -62
- package/lib/components/message-list/message-list.d.ts +28 -28
- package/lib/components/message-list/message-list.js +9 -6
- package/lib/components/notice-bar/index.d.ts +3 -3
- package/lib/components/notice-bar/index.scss +84 -84
- package/lib/components/notice-bar/notice-bar-item.d.ts +18 -18
- package/lib/components/notice-bar/notice-bar-item.scss +26 -26
- package/lib/components/notice-bar/notice-bar.d.ts +46 -46
- package/lib/components/position/entity.d.ts +5 -5
- package/lib/components/position/index.d.ts +3 -3
- package/lib/components/position/index.scss +27 -124
- package/lib/components/position/position-left.d.ts +9 -9
- package/lib/components/position/position-list.d.ts +11 -12
- package/lib/components/position/position-list.js +7 -113
- package/lib/components/position/position.d.ts +8 -8
- package/lib/components/position/position.js +2 -1
- package/lib/components/radio-group/index.d.ts +8 -8
- package/lib/components/radio-group/index.scss +40 -40
- package/lib/components/radio-group/radio-group-item.d.ts +48 -48
- package/lib/components/radio-group/radio-group.d.ts +52 -52
- package/lib/components/rich-text/index.d.ts +6 -6
- package/lib/components/rich-text/index.scss +19 -19
- package/lib/components/rich-text/rich-text.d.ts +14 -14
- package/lib/components/search-bar/index.d.ts +3 -3
- package/lib/components/search-bar/index.scss +39 -39
- package/lib/components/search-bar/search-bar.d.ts +10 -10
- package/lib/components/search-bar/search-bar.js +2 -2
- package/lib/components/stream-list/index.d.ts +6 -6
- package/lib/components/stream-list/index.scss +26 -26
- package/lib/components/stream-list/stream-list.d.ts +54 -54
- package/lib/components/stream-list/stream-list.js +2 -2
- package/lib/components/swiper/index.d.ts +3 -3
- package/lib/components/swiper/index.scss +33 -20
- package/lib/components/swiper/swiper.d.ts +26 -30
- package/lib/components/swiper/swiper.js +16 -18
- package/lib/components/tab/index.d.ts +6 -6
- package/lib/components/tab/index.js +2 -2
- package/lib/components/tab/index.scss +39 -44
- package/lib/components/tab/tab.d.ts +27 -27
- package/lib/components/tab/tab.js +10 -12
- package/lib/components/tab-container/index.d.ts +3 -3
- package/lib/components/tab-container/index.scss +47 -47
- package/lib/components/tab-container/tab-container.d.ts +10 -10
- package/lib/components/tab-container-item/index.d.ts +3 -3
- package/lib/components/tab-container-item/tab-container-item.d.ts +11 -11
- package/lib/components/tag/index.d.ts +6 -6
- package/lib/components/tag/index.js +2 -2
- package/lib/components/tag/index.scss +24 -24
- package/lib/components/tag/tag.d.ts +14 -14
- package/lib/components/teletext-list/index.d.ts +6 -6
- package/lib/components/teletext-list/index.scss +40 -40
- package/lib/components/teletext-list/teletext-list-item.d.ts +33 -33
- package/lib/components/teletext-list/teletext-list-item.js +2 -2
- package/lib/components/teletext-list/teletext-list-item.scss +57 -57
- package/lib/components/teletext-list/teletext-list.d.ts +61 -61
- package/lib/components/teletext-list/teletext-list.js +2 -2
- package/lib/components/title/index.d.ts +8 -8
- package/lib/components/title/title-1.d.ts +10 -10
- package/lib/components/title/title-1.scss +25 -25
- package/lib/components/title/title-2.d.ts +18 -18
- package/lib/components/title/title-2.scss +22 -22
- package/lib/entity/dynamic-column-data-type.d.ts +47 -316
- package/lib/entity/dynamic-column-data-type.js +1 -9
- package/lib/index.d.ts +46 -52
- package/lib/index.js +2 -14
- package/lib/index.scss +5 -5
- package/lib/style.js +0 -2
- package/lib/utils/children-node-handle.d.ts +9 -9
- package/lib/utils/children-node-handle.js +7 -7
- package/lib/utils/component-wrapper.d.ts +9 -9
- package/lib/utils/debounce.d.ts +1 -1
- package/lib/utils/textUtil.d.ts +10 -10
- package/lib/utils/textUtil.js +9 -9
- package/lib/utils/time-util.d.ts +5 -5
- package/lib/utils/time-util.js +3 -3
- package/lib/variables.d.ts +2 -2
- package/lib/variables.scss +3 -3
- package/lowcode/address-list/meta.ts +71 -0
- package/lowcode/button2/meta.ts +76 -76
- package/lowcode/custom-radio-group/meta.ts +312 -312
- package/lowcode/custom-radio-group-item/meta.ts +230 -230
- package/lowcode/d-c-slider/meta.design.ts +174 -174
- package/lowcode/d-c-slider/meta.ts +186 -186
- package/lowcode/d-c-slider/snippets.ts +69 -69
- package/lowcode/goods-card-list/meta.ts +270 -270
- package/lowcode/goods-card-list-common/meta.ts +270 -270
- package/lowcode/grid-nav/meta.ts +236 -236
- package/lowcode/integral-task/meta.ts +212 -212
- package/lowcode/member-card/meta.ts +187 -187
- package/lowcode/menu-list/meta.ts +154 -154
- package/lowcode/message-list/meta.ts +225 -225
- package/lowcode/navigation/meta.ts +177 -177
- package/lowcode/notice-bar/meta.ts +251 -251
- package/lowcode/position/meta.ts +162 -162
- package/lowcode/rich-text/meta.ts +72 -72
- package/lowcode/search-bar/meta.ts +61 -61
- package/lowcode/shopping-cart/meta.ts +494 -0
- package/lowcode/stream-list/meta.ts +209 -209
- package/lowcode/swiper/meta.ts +237 -237
- package/lowcode/tab-container/meta.ts +71 -71
- package/lowcode/tab-container/props.ts +194 -194
- package/lowcode/tab-container-item/meta.ts +195 -195
- package/lowcode/tab-message/meta.ts +105 -105
- package/lowcode/tag-c/meta.ts +76 -76
- package/lowcode/teletext-list/meta.ts +353 -353
- package/lowcode/title1/meta.ts +60 -60
- package/lowcode/title2/meta.ts +94 -94
- package/lowcode/user-card/meta.ts +130 -130
- package/lowcode_es/address-list/meta.d.ts +22 -0
- package/lowcode_es/address-list/meta.js +62 -0
- package/lowcode_es/button2/meta.d.ts +22 -22
- package/lowcode_es/custom-radio-group/meta.d.ts +22 -22
- package/lowcode_es/custom-radio-group-item/meta.d.ts +23 -23
- package/lowcode_es/d-c-slider/meta.d.ts +151 -151
- package/lowcode_es/d-c-slider/meta.design.d.ts +102 -102
- package/lowcode_es/d-c-slider/snippets.d.ts +37 -37
- package/lowcode_es/form/meta.d.ts +22 -22
- package/lowcode_es/goods-card-list/meta.d.ts +22 -22
- package/lowcode_es/goods-card-list-common/meta.d.ts +22 -22
- package/lowcode_es/grid-nav/meta.d.ts +22 -22
- package/lowcode_es/integral-task/meta.d.ts +22 -22
- package/lowcode_es/member-card/meta.d.ts +22 -22
- package/lowcode_es/menu-list/meta.d.ts +22 -22
- package/lowcode_es/message-list/meta.d.ts +22 -22
- package/lowcode_es/meta.js +30 -28
- package/lowcode_es/navigation/meta.d.ts +22 -22
- package/lowcode_es/notice-bar/meta.d.ts +22 -22
- package/lowcode_es/position/meta.d.ts +22 -22
- package/lowcode_es/rich-text/meta.d.ts +22 -22
- package/lowcode_es/search-bar/meta.d.ts +22 -22
- package/lowcode_es/shopping-cart/meta.d.ts +22 -0
- package/lowcode_es/shopping-cart/meta.js +431 -0
- package/lowcode_es/stream-list/meta.d.ts +22 -22
- package/lowcode_es/swiper/meta.d.ts +22 -22
- package/lowcode_es/tab-container/meta.d.ts +22 -22
- package/lowcode_es/tab-container/props.d.ts +90 -90
- package/lowcode_es/tab-container-item/meta.d.ts +22 -22
- package/lowcode_es/tab-message/meta.d.ts +22 -22
- package/lowcode_es/tag-c/meta.d.ts +22 -22
- package/lowcode_es/teletext-list/meta.d.ts +22 -22
- package/lowcode_es/title1/meta.d.ts +22 -22
- package/lowcode_es/title2/meta.d.ts +22 -22
- package/lowcode_es/user-card/meta.d.ts +22 -22
- package/lowcode_es/view.js +3 -3
- package/lowcode_lib/address-list/meta.d.ts +22 -0
- package/lowcode_lib/address-list/meta.js +67 -0
- package/lowcode_lib/button2/meta.d.ts +22 -22
- package/lowcode_lib/custom-radio-group/meta.d.ts +22 -22
- package/lowcode_lib/custom-radio-group-item/meta.d.ts +23 -23
- package/lowcode_lib/d-c-slider/meta.d.ts +151 -151
- package/lowcode_lib/d-c-slider/meta.design.d.ts +102 -102
- package/lowcode_lib/d-c-slider/snippets.d.ts +37 -37
- package/lowcode_lib/form/meta.d.ts +22 -22
- package/lowcode_lib/goods-card-list/meta.d.ts +22 -22
- package/lowcode_lib/goods-card-list-common/meta.d.ts +22 -22
- package/lowcode_lib/grid-nav/meta.d.ts +22 -22
- package/lowcode_lib/integral-task/meta.d.ts +22 -22
- package/lowcode_lib/member-card/meta.d.ts +22 -22
- package/lowcode_lib/menu-list/meta.d.ts +22 -22
- package/lowcode_lib/message-list/meta.d.ts +22 -22
- package/lowcode_lib/meta.js +30 -28
- package/lowcode_lib/navigation/meta.d.ts +22 -22
- package/lowcode_lib/notice-bar/meta.d.ts +22 -22
- package/lowcode_lib/position/meta.d.ts +22 -22
- package/lowcode_lib/rich-text/meta.d.ts +22 -22
- package/lowcode_lib/search-bar/meta.d.ts +22 -22
- package/lowcode_lib/shopping-cart/meta.d.ts +22 -0
- package/lowcode_lib/shopping-cart/meta.js +436 -0
- package/lowcode_lib/stream-list/meta.d.ts +22 -22
- package/lowcode_lib/swiper/meta.d.ts +22 -22
- package/lowcode_lib/tab-container/meta.d.ts +22 -22
- package/lowcode_lib/tab-container/props.d.ts +90 -90
- package/lowcode_lib/tab-container-item/meta.d.ts +22 -22
- package/lowcode_lib/tab-message/meta.d.ts +22 -22
- package/lowcode_lib/tag-c/meta.d.ts +22 -22
- package/lowcode_lib/teletext-list/meta.d.ts +22 -22
- package/lowcode_lib/title1/meta.d.ts +22 -22
- package/lowcode_lib/title2/meta.d.ts +22 -22
- package/lowcode_lib/user-card/meta.d.ts +22 -22
- package/lowcode_lib/view.js +2 -2
- package/package.json +5 -3
- package/es/assets/icon/form/right.png +0 -0
- package/es/assets/icon/mine/default.png +0 -0
- package/es/assets/icon/mine/right.png +0 -0
- package/es/components/dc-slider/index.d.ts +0 -3
- package/es/components/dc-slider/index.js +0 -2
- package/es/components/dc-slider/index.scss +0 -6
- package/es/components/dc-slider/slider-img.d.ts +0 -32
- package/es/components/dc-slider/slider-img.js +0 -17
- package/es/components/member-card/index.d.ts +0 -6
- package/es/components/member-card/index.js +0 -6
- package/es/components/member-card/index.scss +0 -86
- package/es/components/member-card/member-card.d.ts +0 -5
- package/es/components/member-card/member-card.js +0 -68
- package/es/components/member-card/type.d.ts +0 -11
- package/es/components/member-card/type.js +0 -1
- package/es/components/user-card/index.d.ts +0 -6
- package/es/components/user-card/index.js +0 -6
- package/es/components/user-card/index.scss +0 -68
- package/es/components/user-card/type.d.ts +0 -8
- package/es/components/user-card/type.js +0 -1
- package/es/components/user-card/user-card.d.ts +0 -5
- package/es/components/user-card/user-card.js +0 -61
- package/lib/assets/icon/form/right.png +0 -0
- package/lib/assets/icon/mine/default.png +0 -0
- package/lib/assets/icon/mine/right.png +0 -0
- package/lib/components/dc-slider/index.d.ts +0 -3
- package/lib/components/dc-slider/index.js +0 -7
- package/lib/components/dc-slider/index.scss +0 -6
- package/lib/components/dc-slider/slider-img.d.ts +0 -32
- package/lib/components/dc-slider/slider-img.js +0 -24
- package/lib/components/member-card/index.d.ts +0 -6
- package/lib/components/member-card/index.js +0 -6
- package/lib/components/member-card/index.scss +0 -86
- package/lib/components/member-card/member-card.d.ts +0 -5
- package/lib/components/member-card/member-card.js +0 -75
- package/lib/components/member-card/type.d.ts +0 -11
- package/lib/components/member-card/type.js +0 -3
- package/lib/components/user-card/index.d.ts +0 -6
- package/lib/components/user-card/index.js +0 -6
- package/lib/components/user-card/index.scss +0 -68
- package/lib/components/user-card/type.d.ts +0 -8
- package/lib/components/user-card/type.js +0 -3
- package/lib/components/user-card/user-card.d.ts +0 -5
- package/lib/components/user-card/user-card.js +0 -66
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.scss';
|
|
3
|
-
interface DataProps {
|
|
4
|
-
/**
|
|
5
|
-
* 内容
|
|
6
|
-
*/
|
|
7
|
-
content?: string;
|
|
8
|
-
/**
|
|
9
|
-
* 发布时间
|
|
10
|
-
*/
|
|
11
|
-
releaseTime?: string;
|
|
12
|
-
/**
|
|
13
|
-
* 是否置顶
|
|
14
|
-
*/
|
|
15
|
-
isTop?: number;
|
|
16
|
-
}
|
|
17
|
-
export interface NoticeBarProps {
|
|
18
|
-
/**
|
|
19
|
-
* 数据
|
|
20
|
-
*/
|
|
21
|
-
dataList?: DataProps[];
|
|
22
|
-
/**
|
|
23
|
-
* 点击事件
|
|
24
|
-
* @param e
|
|
25
|
-
*/
|
|
26
|
-
onClick?: (e: any) => void;
|
|
27
|
-
/**
|
|
28
|
-
* 子节点
|
|
29
|
-
*/
|
|
30
|
-
children: React.ReactChild;
|
|
31
|
-
/**
|
|
32
|
-
* 左侧图标
|
|
33
|
-
*/
|
|
34
|
-
icon: string;
|
|
35
|
-
/**
|
|
36
|
-
* 点击事件
|
|
37
|
-
* @param e
|
|
38
|
-
*/
|
|
39
|
-
handleMoreClick?: (e: any) => void;
|
|
40
|
-
/**
|
|
41
|
-
* 更多
|
|
42
|
-
*/
|
|
43
|
-
moreText: string;
|
|
44
|
-
}
|
|
45
|
-
declare const NoticeBar: React.FC<NoticeBarProps>;
|
|
46
|
-
export default NoticeBar;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './index.scss';
|
|
3
|
+
interface DataProps {
|
|
4
|
+
/**
|
|
5
|
+
* 内容
|
|
6
|
+
*/
|
|
7
|
+
content?: string;
|
|
8
|
+
/**
|
|
9
|
+
* 发布时间
|
|
10
|
+
*/
|
|
11
|
+
releaseTime?: string;
|
|
12
|
+
/**
|
|
13
|
+
* 是否置顶
|
|
14
|
+
*/
|
|
15
|
+
isTop?: number;
|
|
16
|
+
}
|
|
17
|
+
export interface NoticeBarProps {
|
|
18
|
+
/**
|
|
19
|
+
* 数据
|
|
20
|
+
*/
|
|
21
|
+
dataList?: DataProps[];
|
|
22
|
+
/**
|
|
23
|
+
* 点击事件
|
|
24
|
+
* @param e
|
|
25
|
+
*/
|
|
26
|
+
onClick?: (e: any) => void;
|
|
27
|
+
/**
|
|
28
|
+
* 子节点
|
|
29
|
+
*/
|
|
30
|
+
children: React.ReactChild;
|
|
31
|
+
/**
|
|
32
|
+
* 左侧图标
|
|
33
|
+
*/
|
|
34
|
+
icon: string;
|
|
35
|
+
/**
|
|
36
|
+
* 点击事件
|
|
37
|
+
* @param e
|
|
38
|
+
*/
|
|
39
|
+
handleMoreClick?: (e: any) => void;
|
|
40
|
+
/**
|
|
41
|
+
* 更多
|
|
42
|
+
*/
|
|
43
|
+
moreText: string;
|
|
44
|
+
}
|
|
45
|
+
declare const NoticeBar: React.FC<NoticeBarProps>;
|
|
46
|
+
export default NoticeBar;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export interface Location {
|
|
2
|
-
lat: string;
|
|
3
|
-
lng: string;
|
|
4
|
-
address: string;
|
|
5
|
-
}
|
|
1
|
+
export interface Location {
|
|
2
|
+
lat: string;
|
|
3
|
+
lng: string;
|
|
4
|
+
address: string;
|
|
5
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import Position from './position';
|
|
2
|
-
export type { LocationProps } from './position';
|
|
3
|
-
export default Position;
|
|
1
|
+
import Position from './position';
|
|
2
|
+
export type { LocationProps } from './position';
|
|
3
|
+
export default Position;
|
|
@@ -1,124 +1,27 @@
|
|
|
1
|
-
.location {
|
|
2
|
-
display: flex;
|
|
3
|
-
cursor: pointer;
|
|
4
|
-
color: #414141;
|
|
5
|
-
font-size: 13.5px;
|
|
6
|
-
&-address {
|
|
7
|
-
margin-right: 7px;
|
|
8
|
-
}
|
|
9
|
-
&-icon {
|
|
10
|
-
display: flex;
|
|
11
|
-
align-items: center;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
.location-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
top: 0;
|
|
29
|
-
left: 0;
|
|
30
|
-
width: 100vw;
|
|
31
|
-
height: 100vh;
|
|
32
|
-
background-color: #fff;
|
|
33
|
-
padding: 10px 10px 0 13px;
|
|
34
|
-
z-index: 999;
|
|
35
|
-
overflow-y: scroll;
|
|
36
|
-
|
|
37
|
-
&-head {
|
|
38
|
-
padding: 0 13px 0 13px;
|
|
39
|
-
display: flex;
|
|
40
|
-
justify-content: flex-start;
|
|
41
|
-
align-items: center;
|
|
42
|
-
gap: 12px;
|
|
43
|
-
margin-bottom: 15px;
|
|
44
|
-
&-img {
|
|
45
|
-
width: 8px;
|
|
46
|
-
height: 14px;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
&-location {
|
|
50
|
-
margin-bottom: 15px;
|
|
51
|
-
&-img {
|
|
52
|
-
width: 10px;
|
|
53
|
-
height: 13px;
|
|
54
|
-
margin-right: 2px;
|
|
55
|
-
}
|
|
56
|
-
&-text {
|
|
57
|
-
white-space: nowrap;
|
|
58
|
-
overflow: hidden;
|
|
59
|
-
text-overflow: ellipsis;
|
|
60
|
-
max-width: 4em;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
&-hot {
|
|
64
|
-
margin-bottom: 21px;
|
|
65
|
-
&-title {
|
|
66
|
-
font-size: 14px;
|
|
67
|
-
color: #999999;
|
|
68
|
-
margin-bottom: 15px;
|
|
69
|
-
}
|
|
70
|
-
&-content {
|
|
71
|
-
display: grid;
|
|
72
|
-
grid-template-columns: repeat(4, 1fr);
|
|
73
|
-
grid-column-gap: 10px;
|
|
74
|
-
grid-row-gap: 15px;
|
|
75
|
-
&-item {
|
|
76
|
-
white-space: nowrap;
|
|
77
|
-
overflow: hidden;
|
|
78
|
-
text-overflow: ellipsis;
|
|
79
|
-
max-width: 4em;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
&-city {
|
|
84
|
-
&-box {
|
|
85
|
-
&-type {
|
|
86
|
-
font-size: 14px;
|
|
87
|
-
color: #999999;
|
|
88
|
-
padding: 0;
|
|
89
|
-
line-height: 10px;
|
|
90
|
-
margin: 5px 0 20px 0;
|
|
91
|
-
}
|
|
92
|
-
&-name {
|
|
93
|
-
color: #000;
|
|
94
|
-
font-size: 13px;
|
|
95
|
-
padding: 0;
|
|
96
|
-
line-height: 12px;
|
|
97
|
-
margin-bottom: 20px;
|
|
98
|
-
font-weight: 500;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
&-index-bar {
|
|
103
|
-
background-color: #F7F7F7;
|
|
104
|
-
position: fixed;
|
|
105
|
-
right: 12px;
|
|
106
|
-
border-radius: 5px;
|
|
107
|
-
padding: 5px 3px;
|
|
108
|
-
top: 280px;
|
|
109
|
-
z-index: 10;
|
|
110
|
-
display: flex;
|
|
111
|
-
flex-direction: column;
|
|
112
|
-
align-items: center;
|
|
113
|
-
text-align: center;
|
|
114
|
-
cursor: pointer;
|
|
115
|
-
user-select: none;
|
|
116
|
-
&-name {
|
|
117
|
-
font-weight: 500;
|
|
118
|
-
font-size: 10px;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
.location-list-index {
|
|
123
|
-
overflow-y: scroll;
|
|
124
|
-
}
|
|
1
|
+
.location {
|
|
2
|
+
display: flex;
|
|
3
|
+
cursor: pointer;
|
|
4
|
+
color: #414141;
|
|
5
|
+
font-size: 13.5px;
|
|
6
|
+
&-address {
|
|
7
|
+
margin-right: 7px;
|
|
8
|
+
}
|
|
9
|
+
&-icon {
|
|
10
|
+
display: flex;
|
|
11
|
+
align-items: center;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
.location-list {
|
|
15
|
+
position: fixed;
|
|
16
|
+
top: 0;
|
|
17
|
+
left: 0;
|
|
18
|
+
width: 100vw;
|
|
19
|
+
height: 100vh;
|
|
20
|
+
background-color: #fff;
|
|
21
|
+
padding: 10px 15px;
|
|
22
|
+
z-index: 999;
|
|
23
|
+
&-item {
|
|
24
|
+
padding: 10px 0;
|
|
25
|
+
border-bottom: solid 1px #eee;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import './index.scss';
|
|
3
|
-
import { Location } from "./entity";
|
|
4
|
-
export interface LocationProps {
|
|
5
|
-
currentLocation: Location;
|
|
6
|
-
clickHandle: () => void;
|
|
7
|
-
}
|
|
8
|
-
declare const NavigationLeft: React.FC<LocationProps>;
|
|
9
|
-
export default NavigationLeft;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import './index.scss';
|
|
3
|
+
import { Location } from "./entity";
|
|
4
|
+
export interface LocationProps {
|
|
5
|
+
currentLocation: Location;
|
|
6
|
+
clickHandle: () => void;
|
|
7
|
+
}
|
|
8
|
+
declare const NavigationLeft: React.FC<LocationProps>;
|
|
9
|
+
export default NavigationLeft;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import './index.scss';
|
|
3
|
-
import { Location } from "./position";
|
|
4
|
-
interface LocationProps {
|
|
5
|
-
itemArray: Location[];
|
|
6
|
-
open: boolean;
|
|
7
|
-
setIsOpen: () => void;
|
|
8
|
-
setCurrent: (data: Location) => void;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
export default ContentList;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import './index.scss';
|
|
3
|
+
import { Location } from "./position";
|
|
4
|
+
interface LocationProps {
|
|
5
|
+
itemArray: Location[];
|
|
6
|
+
open: boolean;
|
|
7
|
+
setIsOpen: () => void;
|
|
8
|
+
setCurrent: (data: Location) => void;
|
|
9
|
+
}
|
|
10
|
+
declare const ContentList: React.FC<LocationProps>;
|
|
11
|
+
export default ContentList;
|
|
@@ -1,56 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
3
|
exports.__esModule = true;
|
|
5
4
|
exports["default"] = void 0;
|
|
6
|
-
var
|
|
7
|
-
var React = _react;
|
|
5
|
+
var React = _interopRequireWildcard(require("react"));
|
|
8
6
|
require("./index.scss");
|
|
9
|
-
var _img = _interopRequireDefault(require("../../assets/icon/position/img.png"));
|
|
10
|
-
var _location = _interopRequireDefault(require("../../assets/icon/position/location.png"));
|
|
11
|
-
var _searchBar = _interopRequireDefault(require("../search-bar/search-bar"));
|
|
12
|
-
var _textUtil = require("../../utils/textUtil");
|
|
13
7
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
14
8
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
15
|
-
var ContentList = function
|
|
9
|
+
var ContentList = function navigationList(_ref) {
|
|
16
10
|
var open = _ref.open,
|
|
17
11
|
itemArray = _ref.itemArray,
|
|
18
12
|
setIsOpen = _ref.setIsOpen,
|
|
19
|
-
setCurrent = _ref.setCurrent
|
|
20
|
-
currentLocation = _ref.currentLocation;
|
|
21
|
-
var indexKeys = [];
|
|
22
|
-
/**
|
|
23
|
-
* 处理城市列表
|
|
24
|
-
* @param itemArrays
|
|
25
|
-
* @param searchValue
|
|
26
|
-
*/
|
|
27
|
-
var handleItem = function handleItem(itemArrays, searchValue) {
|
|
28
|
-
if (!itemArrays) {
|
|
29
|
-
return {};
|
|
30
|
-
}
|
|
31
|
-
var groupName = (0, _textUtil.groupCitiesByInitial)(itemArrays);
|
|
32
|
-
indexKeys = Object.keys(groupName);
|
|
33
|
-
if (searchValue) {
|
|
34
|
-
// 根据关键字过滤
|
|
35
|
-
indexKeys.forEach(function (item) {
|
|
36
|
-
var cityArray = groupName[item];
|
|
37
|
-
var filterCity = cityArray.filter(function (locationItem) {
|
|
38
|
-
return locationItem.address.indexOf(searchValue) != -1;
|
|
39
|
-
});
|
|
40
|
-
if (!filterCity || filterCity.length == 0) {
|
|
41
|
-
// 如果不存在关键字匹配,则删掉整个key
|
|
42
|
-
delete groupName[item];
|
|
43
|
-
} else {
|
|
44
|
-
groupName[item] = filterCity;
|
|
45
|
-
}
|
|
46
|
-
});
|
|
47
|
-
}
|
|
48
|
-
return groupName;
|
|
49
|
-
};
|
|
50
|
-
var _useState = (0, _react.useState)(handleItem(itemArray)),
|
|
51
|
-
cityList = _useState[0],
|
|
52
|
-
setCityList = _useState[1];
|
|
53
|
-
console.log('cityList', cityList);
|
|
13
|
+
setCurrent = _ref.setCurrent;
|
|
54
14
|
var changeHandle = function changeHandle(position) {
|
|
55
15
|
console.log('changeHandle', position);
|
|
56
16
|
// 设置当前选中位置
|
|
@@ -58,84 +18,18 @@ var ContentList = function NavigationList(_ref) {
|
|
|
58
18
|
// 关闭位置列表
|
|
59
19
|
setIsOpen();
|
|
60
20
|
};
|
|
61
|
-
var indexClickHandle = function indexClickHandle(index) {
|
|
62
|
-
var indexStr = 'index-' + index;
|
|
63
|
-
var dom = document.getElementById(indexStr);
|
|
64
|
-
if (dom) {
|
|
65
|
-
dom.scrollIntoView({
|
|
66
|
-
behavior: 'smooth',
|
|
67
|
-
block: 'start'
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
|
-
};
|
|
71
|
-
var handleSearch = function handleSearch(name) {
|
|
72
|
-
var data = handleItem(itemArray, name);
|
|
73
|
-
setCityList(data);
|
|
74
|
-
};
|
|
75
|
-
var hotCityArray = itemArray ? itemArray.filter(function (item) {
|
|
76
|
-
return item.isHot;
|
|
77
|
-
}) : [];
|
|
78
21
|
return /*#__PURE__*/React.createElement("div", {
|
|
79
22
|
className: "location-list",
|
|
80
23
|
style: {
|
|
81
24
|
display: open ? 'block' : 'none'
|
|
82
25
|
}
|
|
83
|
-
},
|
|
84
|
-
className: "location-list-head"
|
|
85
|
-
}, /*#__PURE__*/React.createElement("img", {
|
|
86
|
-
src: _img["default"],
|
|
87
|
-
className: "location-list-head-img",
|
|
88
|
-
onClick: setIsOpen
|
|
89
|
-
}), /*#__PURE__*/React.createElement(_searchBar["default"], {
|
|
90
|
-
onConfirm: function onConfirm(value) {
|
|
91
|
-
return handleSearch(value);
|
|
92
|
-
}
|
|
93
|
-
})), /*#__PURE__*/React.createElement("div", {
|
|
94
|
-
className: "location-city-box location-list-location"
|
|
95
|
-
}, /*#__PURE__*/React.createElement("img", {
|
|
96
|
-
src: _location["default"],
|
|
97
|
-
className: "location-list-location-img"
|
|
98
|
-
}), /*#__PURE__*/React.createElement("span", {
|
|
99
|
-
className: "location-list-location-text",
|
|
100
|
-
onClick: setIsOpen
|
|
101
|
-
}, currentLocation.address)), hotCityArray && hotCityArray.length ? /*#__PURE__*/React.createElement("div", {
|
|
102
|
-
className: "location-list-hot"
|
|
103
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
104
|
-
className: "location-list-hot-title"
|
|
105
|
-
}, "\u70ED\u95E8\u57CE\u5E02"), /*#__PURE__*/React.createElement("div", {
|
|
106
|
-
className: "location-list-hot-content"
|
|
107
|
-
}, hotCityArray ? hotCityArray.map(function (item) {
|
|
26
|
+
}, itemArray ? itemArray.map(function (item) {
|
|
108
27
|
return /*#__PURE__*/React.createElement("div", {
|
|
109
|
-
className: "location-city-box location-list-hot-content-item",
|
|
110
28
|
onClick: function onClick() {
|
|
111
29
|
return changeHandle(item);
|
|
112
|
-
}
|
|
30
|
+
},
|
|
31
|
+
className: "location-list-item"
|
|
113
32
|
}, item.address);
|
|
114
|
-
}) :
|
|
115
|
-
className: "location-list-city"
|
|
116
|
-
}, cityList ? Object.keys(cityList).map(function (item) {
|
|
117
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
118
|
-
className: "location-list-city-box"
|
|
119
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
120
|
-
className: "location-list-city-box-type",
|
|
121
|
-
id: "index-" + item
|
|
122
|
-
}, item), cityList[item].map(function (cityInfo) {
|
|
123
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
124
|
-
className: "location-list-city-box-name",
|
|
125
|
-
onClick: function onClick() {
|
|
126
|
-
return changeHandle(cityInfo);
|
|
127
|
-
}
|
|
128
|
-
}, cityInfo.address);
|
|
129
|
-
}));
|
|
130
|
-
}) : ''), /*#__PURE__*/React.createElement("div", {
|
|
131
|
-
className: "location-list-index-bar"
|
|
132
|
-
}, cityList ? Object.keys(cityList).map(function (item) {
|
|
133
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
134
|
-
className: "location-list-index-bar-name",
|
|
135
|
-
onClick: function onClick() {
|
|
136
|
-
return indexClickHandle(item);
|
|
137
|
-
}
|
|
138
|
-
}, item);
|
|
139
|
-
}) : ''));
|
|
33
|
+
}) : /*#__PURE__*/React.createElement("div", null, "\u6682\u65E0\u6570\u636E"));
|
|
140
34
|
};
|
|
141
35
|
var _default = exports["default"] = ContentList;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { Location } from "./entity";
|
|
3
|
-
export interface LocationProps {
|
|
4
|
-
itemArray: Location[];
|
|
5
|
-
defaultLocation: Location;
|
|
6
|
-
}
|
|
7
|
-
declare const Navigation: React.FC<LocationProps>;
|
|
8
|
-
export default Navigation;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Location } from "./entity";
|
|
3
|
+
export interface LocationProps {
|
|
4
|
+
itemArray: Location[];
|
|
5
|
+
defaultLocation: Location;
|
|
6
|
+
}
|
|
7
|
+
declare const Navigation: React.FC<LocationProps>;
|
|
8
|
+
export default Navigation;
|
|
@@ -11,7 +11,7 @@ var _positionLeft = _interopRequireDefault(require("./position-left"));
|
|
|
11
11
|
var _excluded = ["itemArray", "defaultLocation", "__designMode"];
|
|
12
12
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
13
13
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
14
|
-
var Navigation = function
|
|
14
|
+
var Navigation = function bottomNavigation(_ref) {
|
|
15
15
|
var itemArray = _ref.itemArray,
|
|
16
16
|
defaultLocation = _ref.defaultLocation,
|
|
17
17
|
__designMode = _ref.__designMode,
|
|
@@ -28,6 +28,7 @@ var Navigation = function BottomNavigation(_ref) {
|
|
|
28
28
|
return;
|
|
29
29
|
}
|
|
30
30
|
setIsOpen(!isOpen);
|
|
31
|
+
console.log('isopen', isOpen);
|
|
31
32
|
};
|
|
32
33
|
// React.useEffect(() => {
|
|
33
34
|
// console.log('defaultLocation', defaultLocation)
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* 单选按钮组
|
|
3
|
-
*/
|
|
4
|
-
import RadioGroup from './radio-group';
|
|
5
|
-
import RadioGroupItem from './radio-group-item';
|
|
6
|
-
export type { RadioGroupProps } from './radio-group';
|
|
7
|
-
export type { RadioGroupItemProps } from './radio-group-item';
|
|
8
|
-
export { RadioGroup as CustomRadioGroup, RadioGroupItem as CustomRadioGroupItem, };
|
|
1
|
+
/**
|
|
2
|
+
* 单选按钮组
|
|
3
|
+
*/
|
|
4
|
+
import RadioGroup from './radio-group';
|
|
5
|
+
import RadioGroupItem from './radio-group-item';
|
|
6
|
+
export type { RadioGroupProps } from './radio-group';
|
|
7
|
+
export type { RadioGroupItemProps } from './radio-group-item';
|
|
8
|
+
export { RadioGroup as CustomRadioGroup, RadioGroupItem as CustomRadioGroupItem, };
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
@import '../../variables.scss';
|
|
2
|
-
|
|
3
|
-
.radio-group__panel {
|
|
4
|
-
display: flex;
|
|
5
|
-
gap: 12px;
|
|
6
|
-
width: 100%;
|
|
7
|
-
|
|
8
|
-
.radio-group-item__button {
|
|
9
|
-
flex: 0 0 auto;
|
|
10
|
-
transition-property: all;
|
|
11
|
-
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
12
|
-
transition-duration: 250ms;
|
|
13
|
-
font-size: 12px;
|
|
14
|
-
padding: 5px 11px;
|
|
15
|
-
border-radius: 25rem;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.radio-group-item__text {
|
|
19
|
-
flex: 0 0 auto;
|
|
20
|
-
transition-property: all;
|
|
21
|
-
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
22
|
-
transition-duration: 250ms;
|
|
23
|
-
font-size: 12px;
|
|
24
|
-
padding: 5px 0;
|
|
25
|
-
|
|
26
|
-
.radio-group-item__text__line {
|
|
27
|
-
width: 100%;
|
|
28
|
-
height: 1px;
|
|
29
|
-
right: 0;
|
|
30
|
-
left: 0;
|
|
31
|
-
bottom: 0;
|
|
32
|
-
position: absolute;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
|
|
1
|
+
@import '../../variables.scss';
|
|
2
|
+
|
|
3
|
+
.radio-group__panel {
|
|
4
|
+
display: flex;
|
|
5
|
+
gap: 12px;
|
|
6
|
+
width: 100%;
|
|
7
|
+
|
|
8
|
+
.radio-group-item__button {
|
|
9
|
+
flex: 0 0 auto;
|
|
10
|
+
transition-property: all;
|
|
11
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
12
|
+
transition-duration: 250ms;
|
|
13
|
+
font-size: 12px;
|
|
14
|
+
padding: 5px 11px;
|
|
15
|
+
border-radius: 25rem;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.radio-group-item__text {
|
|
19
|
+
flex: 0 0 auto;
|
|
20
|
+
transition-property: all;
|
|
21
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
22
|
+
transition-duration: 250ms;
|
|
23
|
+
font-size: 12px;
|
|
24
|
+
padding: 5px 0;
|
|
25
|
+
|
|
26
|
+
.radio-group-item__text__line {
|
|
27
|
+
width: 100%;
|
|
28
|
+
height: 1px;
|
|
29
|
+
right: 0;
|
|
30
|
+
left: 0;
|
|
31
|
+
bottom: 0;
|
|
32
|
+
position: absolute;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
|