@fonixtree/magic-design 0.0.4 → 0.0.7
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/package.json +3 -61
- package/es/assets/fonts/Montserrat-Bold.ttf +0 -0
- package/es/assets/fonts/Montserrat-Medium.ttf +0 -0
- package/es/assets/fonts/Montserrat-Regular.ttf +0 -0
- package/es/assets/fonts/Montserrat-SemiBold.ttf +0 -0
- package/es/assets/fonts/OpenSans-Bold.ttf +0 -0
- package/es/assets/fonts/OpenSans-Regular.ttf +0 -0
- package/es/assets/fonts/OpenSans-SemiBold.ttf +0 -0
- package/es/assets/fonts/magic-box-iconfont.css +0 -299
- package/es/assets/fonts/magic-box-iconfont.css.bak +0 -299
- package/es/assets/fonts/magic-box-iconfont.js +0 -1
- package/es/assets/fonts/magic-box-iconfont.js.bak +0 -1
- package/es/assets/fonts/magic-box-iconfont.ttf +0 -0
- package/es/assets/fonts/magic-box-iconfont.woff +0 -0
- package/es/assets/fonts/magic-box-iconfont.woff2 +0 -0
- package/es/assets/images/icon/index.js +0 -68
- package/es/assets/images/layout-icon/carouselLayout1.png +0 -0
- package/es/assets/images/layout-icon/carouselLayout2.png +0 -0
- package/es/assets/images/layout-icon/dividerLayout.svg +0 -4
- package/es/assets/images/layout-icon/imageGalleryLayout1.png +0 -0
- package/es/assets/images/layout-icon/imageGalleryLayout2.png +0 -0
- package/es/assets/images/layout-icon/imageGalleryLayout3.png +0 -0
- package/es/assets/images/layout-icon/layout-imagetext-m1-1.png +0 -0
- package/es/assets/images/layout-icon/layout-imagetext-m1-2.png +0 -0
- package/es/assets/images/layout-icon/layout-imagetext-m1-3.png +0 -0
- package/es/assets/images/layout-icon/layout-imagetext-m2.png +0 -0
- package/es/assets/images/layout-icon/layout-imagetext-m3-1.svg +0 -18
- package/es/assets/images/layout-icon/layout-imagetext-m3-2.svg +0 -9
- package/es/assets/images/layout-icon/layout-imagetext-m3.png +0 -0
- package/es/assets/images/layout-icon/layout-imagetext-p1.png +0 -0
- package/es/assets/images/layout-icon/layout-imagetext-p2.png +0 -0
- package/es/assets/images/layout-icon/layout-imagetext-p3.png +0 -0
- package/es/assets/images/layout-icon/layout-imagetext-p4.png +0 -0
- package/es/assets/images/layout-icon/layout-search.png +0 -0
- package/es/assets/images/layout-icon/newsletter.svg +0 -7
- package/es/assets/less/button.less +0 -9
- package/es/assets/less/common.less +0 -82
- package/es/assets/less/cylon-antd.less +0 -32534
- package/es/assets/less/font.less +0 -50
- package/es/assets/less/global.less +0 -8
- package/es/assets/less/index.less +0 -11
- package/es/assets/less/input.less +0 -8
- package/es/assets/less/menu.less +0 -21
- package/es/assets/less/modal.less +0 -16
- package/es/assets/less/select.less +0 -19
- package/es/assets/less/slider.less +0 -21
- package/es/assets/less/switch.less +0 -20
- package/es/assets/less/table.less +0 -40
- package/es/assets/less/variables.less +0 -4
- package/es/common/AlignSelector/index.js +0 -104
- package/es/common/AlignSelector/index.less +0 -28
- package/es/common/Button/index.js +0 -134
- package/es/common/Button/index.less +0 -68
- package/es/common/ButtonIconLayout/index.js +0 -103
- package/es/common/ButtonIconLayout/index.less +0 -53
- package/es/common/Collapse/index.js +0 -384
- package/es/common/Collapse/index.less +0 -97
- package/es/common/ColorPicker/imgs/no-color.png +0 -0
- package/es/common/ColorPicker/index.js +0 -131
- package/es/common/ColorPicker/index.less +0 -26
- package/es/common/ColorPickerInput/imgs/code.png +0 -0
- package/es/common/ColorPickerInput/index.js +0 -114
- package/es/common/ColorPickerInput/index.less +0 -50
- package/es/common/CountDown/index.js +0 -151
- package/es/common/CountDown/index.less +0 -23
- package/es/common/Field/index.js +0 -80
- package/es/common/Field/index.less +0 -37
- package/es/common/FontStyles/index.js +0 -178
- package/es/common/FontStyles/index.less +0 -63
- package/es/common/GroupList/defaultImg.png +0 -0
- package/es/common/GroupList/index.js +0 -210
- package/es/common/GroupList/index.less +0 -85
- package/es/common/IconPicker/index.js +0 -147
- package/es/common/IconPicker/index.less +0 -46
- package/es/common/Iconfont/index.js +0 -148
- package/es/common/Iconfont/index.less +0 -20
- package/es/common/ImageModal/CommonModal/const.js +0 -22
- package/es/common/ImageModal/CommonModal/index.js +0 -46
- package/es/common/ImageModal/CommonSelPicCard/index.js +0 -80
- package/es/common/ImageModal/CommonSelPicCard/index.less +0 -40
- package/es/common/ImageModal/const.js +0 -24
- package/es/common/ImageModal/index.js +0 -748
- package/es/common/ImageModal/index.less +0 -21
- package/es/common/ImagePicker/index.js +0 -162
- package/es/common/ImagePicker/index.less +0 -104
- package/es/common/InputNumber/index.js +0 -91
- package/es/common/InputNumber/index.less +0 -33
- package/es/common/LayoutSelector/imgs/center.png +0 -0
- package/es/common/LayoutSelector/imgs/left.png +0 -0
- package/es/common/LayoutSelector/imgs/right.png +0 -0
- package/es/common/LayoutSelector/index.js +0 -111
- package/es/common/LayoutSelector/index.less +0 -34
- package/es/common/LinkModal/CatgTable/index.js +0 -234
- package/es/common/LinkModal/CouponTable/index.js +0 -299
- package/es/common/LinkModal/CustomTable/index.js +0 -227
- package/es/common/LinkModal/FilteredProductModal/index.js +0 -640
- package/es/common/LinkModal/FilteredProductModal/index.less +0 -113
- package/es/common/LinkModal/FunctionTable/index.js +0 -221
- package/es/common/LinkModal/ProductDetailPage/index.js +0 -433
- package/es/common/LinkModal/ProductDetailPage/index.less +0 -21
- package/es/common/LinkModal/index.js +0 -136
- package/es/common/LinkModal/index.less +0 -108
- package/es/common/NewImg/index.js +0 -165
- package/es/common/NewImg/index.less +0 -0
- package/es/common/ProductModal/index.js +0 -760
- package/es/common/ProductModal/index.less +0 -238
- package/es/common/ProductSource/index.js +0 -250
- package/es/common/ProductSource/index.less +0 -12
- package/es/common/RcCollapse/Collapse.js +0 -240
- package/es/common/RcCollapse/Panel.js +0 -193
- package/es/common/RcCollapse/PanelContent.js +0 -59
- package/es/common/RcCollapse/index.js +0 -15
- package/es/common/RcCollapse/index.less +0 -108
- package/es/common/RcCollapse/interface.js +0 -1
- package/es/common/RcCollapse/motion.less +0 -12
- package/es/common/RcCollapse/motionUtil.js +0 -44
- package/es/common/Slider/index.js +0 -151
- package/es/common/Slider/index.less +0 -45
- package/es/common/SwitchCollapse/index.js +0 -216
- package/es/common/SwitchCollapse/index.less +0 -40
- package/es/common/UrlPicker/index.js +0 -119
- package/es/common/UrlPicker/index.less +0 -72
- package/es/common/index.js +0 -127
- package/es/composite-comp/bol/components/Banner/defaultJSON.js +0 -268
- package/es/composite-comp/bol/components/Banner/imgs/banner.png +0 -0
- package/es/composite-comp/bol/components/Banner/index.js +0 -89
- package/es/composite-comp/bol/components/Banner/mobile/index.js +0 -216
- package/es/composite-comp/bol/components/Banner/mobile/index.less +0 -73
- package/es/composite-comp/bol/components/Banner/pc/index.js +0 -278
- package/es/composite-comp/bol/components/Banner/pc/index.less +0 -78
- package/es/composite-comp/bol/components/Button/defaultJSON.js +0 -114
- package/es/composite-comp/bol/components/Button/index.js +0 -103
- package/es/composite-comp/bol/components/Button/index.less +0 -47
- package/es/composite-comp/bol/components/Carousel/defaultJSON.js +0 -294
- package/es/composite-comp/bol/components/Carousel/imgs/defaultImg.png +0 -0
- package/es/composite-comp/bol/components/Carousel/index.js +0 -93
- package/es/composite-comp/bol/components/Carousel/mobile/index.js +0 -251
- package/es/composite-comp/bol/components/Carousel/mobile/index.less +0 -81
- package/es/composite-comp/bol/components/Carousel/pc/index.js +0 -250
- package/es/composite-comp/bol/components/Carousel/pc/index.less +0 -81
- package/es/composite-comp/bol/components/Divider/defaultJSON.js +0 -47
- package/es/composite-comp/bol/components/Divider/index.js +0 -101
- package/es/composite-comp/bol/components/ImageGallery/defaultJSON.js +0 -74
- package/es/composite-comp/bol/components/ImageGallery/imgs/banner.png +0 -0
- package/es/composite-comp/bol/components/ImageGallery/index.js +0 -84
- package/es/composite-comp/bol/components/ImageGallery/mobile/index.js +0 -83
- package/es/composite-comp/bol/components/ImageGallery/mobile/index.less +0 -73
- package/es/composite-comp/bol/components/ImageText/defaultJSON.js +0 -537
- package/es/composite-comp/bol/components/ImageText/index.js +0 -88
- package/es/composite-comp/bol/components/ImageText/mobile/index.js +0 -181
- package/es/composite-comp/bol/components/ImageText/mobile/index.less +0 -288
- package/es/composite-comp/bol/components/ImageText/pc/index.js +0 -155
- package/es/composite-comp/bol/components/ImageText/pc/index.less +0 -106
- package/es/composite-comp/bol/components/Newsletter/defaultJSON.js +0 -135
- package/es/composite-comp/bol/components/Newsletter/index.js +0 -127
- package/es/composite-comp/bol/components/Newsletter/index.less +0 -75
- package/es/composite-comp/bol/components/Tag/defaultJSON.js +0 -112
- package/es/composite-comp/bol/components/Tag/index.js +0 -107
- package/es/composite-comp/bol/components/Tag/index.less +0 -34
- package/es/composite-comp/bol/components/Text/defaultJSON.js +0 -149
- package/es/composite-comp/bol/components/Text/index.js +0 -123
- package/es/composite-comp/bol/components/Text/index.less +0 -61
- package/es/composite-comp/bol/components/Text/slice.svg +0 -1
- package/es/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.js +0 -126
- package/es/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.less +0 -16
- package/es/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.js +0 -225
- package/es/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.less +0 -9
- package/es/composite-comp/bol/config-panels/BannerConfig/index.js +0 -46
- package/es/composite-comp/bol/config-panels/ButtonCompConfig/ButtonConfigContent/index.js +0 -99
- package/es/composite-comp/bol/config-panels/ButtonCompConfig/imgs/defaultImg.png +0 -0
- package/es/composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout1.png +0 -0
- package/es/composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout2.png +0 -0
- package/es/composite-comp/bol/config-panels/ButtonCompConfig/index.js +0 -67
- package/es/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.js +0 -144
- package/es/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.less +0 -0
- package/es/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.js +0 -199
- package/es/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.less +0 -9
- package/es/composite-comp/bol/config-panels/CarouselConfig/imgs/defaultImg.png +0 -0
- package/es/composite-comp/bol/config-panels/CarouselConfig/index.js +0 -136
- package/es/composite-comp/bol/config-panels/DividerConfig/DividerConfigSetting/index.js +0 -98
- package/es/composite-comp/bol/config-panels/DividerConfig/DividerConfigSetting/index.less +0 -9
- package/es/composite-comp/bol/config-panels/DividerConfig/DividerContentSetting/index.js +0 -177
- package/es/composite-comp/bol/config-panels/DividerConfig/DividerSpacingSetting/index.js +0 -89
- package/es/composite-comp/bol/config-panels/DividerConfig/index.js +0 -57
- package/es/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.js +0 -144
- package/es/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.less +0 -0
- package/es/composite-comp/bol/config-panels/ImageGalleryConfig/imgs/defaultImg.png +0 -0
- package/es/composite-comp/bol/config-panels/ImageGalleryConfig/index.js +0 -57
- package/es/composite-comp/bol/config-panels/ImageTextConfig/ImageTextConfigGroup/index.js +0 -126
- package/es/composite-comp/bol/config-panels/ImageTextConfig/index.js +0 -196
- package/es/composite-comp/bol/config-panels/NewsletterConfig/InputField/index.js +0 -185
- package/es/composite-comp/bol/config-panels/NewsletterConfig/NewsletterContentSetting/index.js +0 -111
- package/es/composite-comp/bol/config-panels/NewsletterConfig/index.js +0 -57
- package/es/composite-comp/bol/config-panels/TagCompConfig/TagConfigContent/index.js +0 -109
- package/es/composite-comp/bol/config-panels/TagCompConfig/imgs/defaultImg.png +0 -0
- package/es/composite-comp/bol/config-panels/TagCompConfig/imgs/layout1.png +0 -0
- package/es/composite-comp/bol/config-panels/TagCompConfig/imgs/layout2.png +0 -0
- package/es/composite-comp/bol/config-panels/TagCompConfig/index.js +0 -61
- package/es/composite-comp/bol/config-panels/TextCompConfig/TextConfigContent/index.js +0 -99
- package/es/composite-comp/bol/config-panels/TextCompConfig/TextConfigContent/index.less +0 -0
- package/es/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.js +0 -138
- package/es/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.less +0 -16
- package/es/composite-comp/bol/config-panels/TextCompConfig/imgs/defaultImg.png +0 -0
- package/es/composite-comp/bol/config-panels/TextCompConfig/imgs/layout1.png +0 -0
- package/es/composite-comp/bol/config-panels/TextCompConfig/index.js +0 -69
- package/es/composite-comp/bol/second-config-panels/BannerSecondConfig/index.js +0 -151
- package/es/composite-comp/bol/second-config-panels/BannerSecondConfig/index.less +0 -3
- package/es/composite-comp/bol/second-config-panels/CarouselSecondConfig/index.js +0 -164
- package/es/composite-comp/bol/second-config-panels/ImageGallerySecondConfig/index.js +0 -82
- package/es/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +0 -141
- package/es/composite-comp/bol/second-config-panels/TextSecondConfig/TextContentConfigContent/index.js +0 -99
- package/es/composite-comp/bol/second-config-panels/TextSecondConfig/TextContentConfigContent/index.less +0 -0
- package/es/composite-comp/bol/second-config-panels/TextSecondConfig/index.js +0 -90
- package/es/composite-comp/bol/second-config-panels/TextSecondConfig/index.less +0 -3
- package/es/composite-comp/common/components/ImageLabel/index.js +0 -90
- package/es/composite-comp/common/components/ImageLabel/index.less +0 -35
- package/es/composite-comp/common/components/ProductItem/index.js +0 -191
- package/es/composite-comp/common/components/ProductItem/index.less +0 -121
- package/es/composite-comp/common/config-panels/BackgroundConfig/index.js +0 -109
- package/es/composite-comp/common/config-panels/CustomizeConfig/index.js +0 -204
- package/es/composite-comp/common/config-panels/CustomizeConfig/index.less +0 -21
- package/es/composite-comp/common/config-panels/SpacingConfig/index.js +0 -154
- package/es/composite-comp/common/config-panels/SpacingConfig/index.less +0 -17
- package/es/composite-comp/dito/components/FlashDeal/defaultJSON.js +0 -183
- package/es/composite-comp/dito/components/FlashDeal/index.js +0 -86
- package/es/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg1.png +0 -0
- package/es/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg2.png +0 -0
- package/es/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg3.png +0 -0
- package/es/composite-comp/dito/components/FlashDeal/mobile/index.js +0 -436
- package/es/composite-comp/dito/components/FlashDeal/mobile/index.less +0 -94
- package/es/composite-comp/dito/components/Recommend/defaultJSON.js +0 -220
- package/es/composite-comp/dito/components/Recommend/index.js +0 -86
- package/es/composite-comp/dito/components/Recommend/mobile/imgs/defImg1.png +0 -0
- package/es/composite-comp/dito/components/Recommend/mobile/imgs/defImg2.png +0 -0
- package/es/composite-comp/dito/components/Recommend/mobile/imgs/defImg3.png +0 -0
- package/es/composite-comp/dito/components/Recommend/mobile/index.js +0 -530
- package/es/composite-comp/dito/components/Recommend/mobile/index.less +0 -79
- package/es/composite-comp/dito/components/SearchBar/defaultJSON.js +0 -56
- package/es/composite-comp/dito/components/SearchBar/imgs/dito-logo.svg +0 -6
- package/es/composite-comp/dito/components/SearchBar/index.js +0 -86
- package/es/composite-comp/dito/components/SearchBar/mobile/index.js +0 -108
- package/es/composite-comp/dito/components/SearchBar/mobile/index.less +0 -38
- package/es/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.js +0 -143
- package/es/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.less +0 -0
- package/es/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.js +0 -125
- package/es/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.less +0 -0
- package/es/composite-comp/dito/config-panels/FlashDealConfig/imgs/layout1.png +0 -0
- package/es/composite-comp/dito/config-panels/FlashDealConfig/index.js +0 -62
- package/es/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigContent/index.js +0 -118
- package/es/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigContent/index.less +0 -0
- package/es/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.js +0 -143
- package/es/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.less +0 -16
- package/es/composite-comp/dito/config-panels/RecommendConfig/imgs/defaultImg.png +0 -0
- package/es/composite-comp/dito/config-panels/RecommendConfig/imgs/layout1.png +0 -0
- package/es/composite-comp/dito/config-panels/RecommendConfig/index.js +0 -62
- package/es/composite-comp/dito/config-panels/SearchBarConfig/index.js +0 -138
- package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +0 -185
- package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.less +0 -3
- package/es/constants/component-types.js +0 -87
- package/es/constants/index.js +0 -144
- package/es/constants/layout.js +0 -120
- package/es/core/Designer/CompListPanel/CompCard/index.js +0 -42
- package/es/core/Designer/CompListPanel/CompCard/index.less +0 -69
- package/es/core/Designer/CompListPanel/index.js +0 -156
- package/es/core/Designer/CompListPanel/index.less +0 -69
- package/es/core/Designer/ConfigPanel/index.js +0 -294
- package/es/core/Designer/ConfigPanel/index.less +0 -139
- package/es/core/Designer/History/index.js +0 -91
- package/es/core/Designer/PageCompList/index.js +0 -266
- package/es/core/Designer/PageCompList/index.less +0 -114
- package/es/core/Designer/QuickMenuBar/index.js +0 -176
- package/es/core/Designer/QuickMenuBar/index.less +0 -67
- package/es/core/Designer/ViewArea/index.js +0 -150
- package/es/core/Designer/ViewArea/index.less +0 -53
- package/es/core/Designer/index.js +0 -454
- package/es/core/Designer/index.less +0 -6
- package/es/core/Renderer/index.js +0 -82
- package/es/decorator/compositeDecorator.js +0 -130
- package/es/decorator/index.js +0 -23
- package/es/decorator/metaDecorator.js +0 -199
- package/es/index.js +0 -27
- package/es/meta-comp/components/Button/index.js +0 -185
- package/es/meta-comp/components/Button/index.less +0 -19
- package/es/meta-comp/components/Image/index.js +0 -171
- package/es/meta-comp/components/Image/index.less +0 -18
- package/es/meta-comp/components/Text/index.js +0 -473
- package/es/meta-comp/components/Text/index.less +0 -38
- package/es/meta-comp/components/index.js +0 -31
- package/es/meta-comp/config-panels/BaseConfig.js +0 -87
- package/es/meta-comp/config-panels/ButtonConfig/index.js +0 -353
- package/es/meta-comp/config-panels/ButtonConfig/index.less +0 -4
- package/es/meta-comp/config-panels/ImageConfig/index.js +0 -204
- package/es/meta-comp/config-panels/ImageConfig/index.less +0 -16
- package/es/meta-comp/config-panels/TextConfig/index.js +0 -327
- package/es/meta-comp/config-panels/TextConfig/index.less +0 -24
- package/es/mobx/Store.js +0 -93
- package/es/mobx/index.js +0 -36
- package/es/utils/androidUtil.js +0 -113
- package/es/utils/businessUtil.js +0 -235
- package/es/utils/commonUtil.js +0 -269
- package/es/utils/compJsonUtil.js +0 -240
- package/es/utils/coreUtil.js +0 -156
- package/es/utils/currencyUtil.js +0 -190
- package/es/utils/dataTreeUtils.js +0 -105
- package/es/utils/dateUtil.js +0 -70
- package/es/utils/storeUtil.js +0 -258
- package/lib/assets/fonts/Montserrat-Bold.ttf +0 -0
- package/lib/assets/fonts/Montserrat-Medium.ttf +0 -0
- package/lib/assets/fonts/Montserrat-Regular.ttf +0 -0
- package/lib/assets/fonts/Montserrat-SemiBold.ttf +0 -0
- package/lib/assets/fonts/OpenSans-Bold.ttf +0 -0
- package/lib/assets/fonts/OpenSans-Regular.ttf +0 -0
- package/lib/assets/fonts/OpenSans-SemiBold.ttf +0 -0
- package/lib/assets/fonts/magic-box-iconfont.css +0 -299
- package/lib/assets/fonts/magic-box-iconfont.css.bak +0 -299
- package/lib/assets/fonts/magic-box-iconfont.js +0 -1
- package/lib/assets/fonts/magic-box-iconfont.js.bak +0 -1
- package/lib/assets/fonts/magic-box-iconfont.ttf +0 -0
- package/lib/assets/fonts/magic-box-iconfont.woff +0 -0
- package/lib/assets/fonts/magic-box-iconfont.woff2 +0 -0
- package/lib/assets/images/icon/index.js +0 -68
- package/lib/assets/images/layout-icon/carouselLayout1.png +0 -0
- package/lib/assets/images/layout-icon/carouselLayout2.png +0 -0
- package/lib/assets/images/layout-icon/dividerLayout.svg +0 -4
- package/lib/assets/images/layout-icon/imageGalleryLayout1.png +0 -0
- package/lib/assets/images/layout-icon/imageGalleryLayout2.png +0 -0
- package/lib/assets/images/layout-icon/imageGalleryLayout3.png +0 -0
- package/lib/assets/images/layout-icon/layout-imagetext-m1-1.png +0 -0
- package/lib/assets/images/layout-icon/layout-imagetext-m1-2.png +0 -0
- package/lib/assets/images/layout-icon/layout-imagetext-m1-3.png +0 -0
- package/lib/assets/images/layout-icon/layout-imagetext-m2.png +0 -0
- package/lib/assets/images/layout-icon/layout-imagetext-m3-1.svg +0 -18
- package/lib/assets/images/layout-icon/layout-imagetext-m3-2.svg +0 -9
- package/lib/assets/images/layout-icon/layout-imagetext-m3.png +0 -0
- package/lib/assets/images/layout-icon/layout-imagetext-p1.png +0 -0
- package/lib/assets/images/layout-icon/layout-imagetext-p2.png +0 -0
- package/lib/assets/images/layout-icon/layout-imagetext-p3.png +0 -0
- package/lib/assets/images/layout-icon/layout-imagetext-p4.png +0 -0
- package/lib/assets/images/layout-icon/layout-search.png +0 -0
- package/lib/assets/images/layout-icon/newsletter.svg +0 -7
- package/lib/assets/less/button.less +0 -9
- package/lib/assets/less/common.less +0 -82
- package/lib/assets/less/cylon-antd.less +0 -32534
- package/lib/assets/less/font.less +0 -50
- package/lib/assets/less/global.less +0 -8
- package/lib/assets/less/index.less +0 -11
- package/lib/assets/less/input.less +0 -8
- package/lib/assets/less/menu.less +0 -21
- package/lib/assets/less/modal.less +0 -16
- package/lib/assets/less/select.less +0 -19
- package/lib/assets/less/slider.less +0 -21
- package/lib/assets/less/switch.less +0 -20
- package/lib/assets/less/table.less +0 -40
- package/lib/assets/less/variables.less +0 -4
- package/lib/common/AlignSelector/index.js +0 -104
- package/lib/common/AlignSelector/index.less +0 -28
- package/lib/common/Button/index.js +0 -134
- package/lib/common/Button/index.less +0 -68
- package/lib/common/ButtonIconLayout/index.js +0 -103
- package/lib/common/ButtonIconLayout/index.less +0 -53
- package/lib/common/Collapse/index.js +0 -384
- package/lib/common/Collapse/index.less +0 -97
- package/lib/common/ColorPicker/imgs/no-color.png +0 -0
- package/lib/common/ColorPicker/index.js +0 -131
- package/lib/common/ColorPicker/index.less +0 -26
- package/lib/common/ColorPickerInput/imgs/code.png +0 -0
- package/lib/common/ColorPickerInput/index.js +0 -114
- package/lib/common/ColorPickerInput/index.less +0 -50
- package/lib/common/CountDown/index.js +0 -151
- package/lib/common/CountDown/index.less +0 -23
- package/lib/common/Field/index.js +0 -80
- package/lib/common/Field/index.less +0 -37
- package/lib/common/FontStyles/index.js +0 -178
- package/lib/common/FontStyles/index.less +0 -63
- package/lib/common/GroupList/defaultImg.png +0 -0
- package/lib/common/GroupList/index.js +0 -210
- package/lib/common/GroupList/index.less +0 -85
- package/lib/common/IconPicker/index.js +0 -147
- package/lib/common/IconPicker/index.less +0 -46
- package/lib/common/Iconfont/index.js +0 -148
- package/lib/common/Iconfont/index.less +0 -20
- package/lib/common/ImageModal/CommonModal/const.js +0 -22
- package/lib/common/ImageModal/CommonModal/index.js +0 -46
- package/lib/common/ImageModal/CommonSelPicCard/index.js +0 -80
- package/lib/common/ImageModal/CommonSelPicCard/index.less +0 -40
- package/lib/common/ImageModal/const.js +0 -24
- package/lib/common/ImageModal/index.js +0 -748
- package/lib/common/ImageModal/index.less +0 -21
- package/lib/common/ImagePicker/index.js +0 -162
- package/lib/common/ImagePicker/index.less +0 -104
- package/lib/common/InputNumber/index.js +0 -91
- package/lib/common/InputNumber/index.less +0 -33
- package/lib/common/LayoutSelector/imgs/center.png +0 -0
- package/lib/common/LayoutSelector/imgs/left.png +0 -0
- package/lib/common/LayoutSelector/imgs/right.png +0 -0
- package/lib/common/LayoutSelector/index.js +0 -111
- package/lib/common/LayoutSelector/index.less +0 -34
- package/lib/common/LinkModal/CatgTable/index.js +0 -234
- package/lib/common/LinkModal/CouponTable/index.js +0 -299
- package/lib/common/LinkModal/CustomTable/index.js +0 -227
- package/lib/common/LinkModal/FilteredProductModal/index.js +0 -640
- package/lib/common/LinkModal/FilteredProductModal/index.less +0 -113
- package/lib/common/LinkModal/FunctionTable/index.js +0 -221
- package/lib/common/LinkModal/ProductDetailPage/index.js +0 -433
- package/lib/common/LinkModal/ProductDetailPage/index.less +0 -21
- package/lib/common/LinkModal/index.js +0 -136
- package/lib/common/LinkModal/index.less +0 -108
- package/lib/common/NewImg/index.js +0 -165
- package/lib/common/NewImg/index.less +0 -0
- package/lib/common/ProductModal/index.js +0 -760
- package/lib/common/ProductModal/index.less +0 -238
- package/lib/common/ProductSource/index.js +0 -250
- package/lib/common/ProductSource/index.less +0 -12
- package/lib/common/RcCollapse/Collapse.js +0 -240
- package/lib/common/RcCollapse/Panel.js +0 -193
- package/lib/common/RcCollapse/PanelContent.js +0 -59
- package/lib/common/RcCollapse/index.js +0 -15
- package/lib/common/RcCollapse/index.less +0 -108
- package/lib/common/RcCollapse/interface.js +0 -1
- package/lib/common/RcCollapse/motion.less +0 -12
- package/lib/common/RcCollapse/motionUtil.js +0 -44
- package/lib/common/Slider/index.js +0 -151
- package/lib/common/Slider/index.less +0 -45
- package/lib/common/SwitchCollapse/index.js +0 -216
- package/lib/common/SwitchCollapse/index.less +0 -40
- package/lib/common/UrlPicker/index.js +0 -119
- package/lib/common/UrlPicker/index.less +0 -72
- package/lib/common/index.js +0 -127
- package/lib/composite-comp/bol/components/Banner/defaultJSON.js +0 -268
- package/lib/composite-comp/bol/components/Banner/imgs/banner.png +0 -0
- package/lib/composite-comp/bol/components/Banner/index.js +0 -89
- package/lib/composite-comp/bol/components/Banner/mobile/index.js +0 -216
- package/lib/composite-comp/bol/components/Banner/mobile/index.less +0 -73
- package/lib/composite-comp/bol/components/Banner/pc/index.js +0 -278
- package/lib/composite-comp/bol/components/Banner/pc/index.less +0 -78
- package/lib/composite-comp/bol/components/Button/defaultJSON.js +0 -114
- package/lib/composite-comp/bol/components/Button/index.js +0 -103
- package/lib/composite-comp/bol/components/Button/index.less +0 -47
- package/lib/composite-comp/bol/components/Carousel/defaultJSON.js +0 -294
- package/lib/composite-comp/bol/components/Carousel/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/bol/components/Carousel/index.js +0 -93
- package/lib/composite-comp/bol/components/Carousel/mobile/index.js +0 -251
- package/lib/composite-comp/bol/components/Carousel/mobile/index.less +0 -81
- package/lib/composite-comp/bol/components/Carousel/pc/index.js +0 -250
- package/lib/composite-comp/bol/components/Carousel/pc/index.less +0 -81
- package/lib/composite-comp/bol/components/Divider/defaultJSON.js +0 -47
- package/lib/composite-comp/bol/components/Divider/index.js +0 -101
- package/lib/composite-comp/bol/components/ImageGallery/defaultJSON.js +0 -74
- package/lib/composite-comp/bol/components/ImageGallery/imgs/banner.png +0 -0
- package/lib/composite-comp/bol/components/ImageGallery/index.js +0 -84
- package/lib/composite-comp/bol/components/ImageGallery/mobile/index.js +0 -83
- package/lib/composite-comp/bol/components/ImageGallery/mobile/index.less +0 -73
- package/lib/composite-comp/bol/components/ImageText/defaultJSON.js +0 -537
- package/lib/composite-comp/bol/components/ImageText/index.js +0 -88
- package/lib/composite-comp/bol/components/ImageText/mobile/index.js +0 -181
- package/lib/composite-comp/bol/components/ImageText/mobile/index.less +0 -288
- package/lib/composite-comp/bol/components/ImageText/pc/index.js +0 -155
- package/lib/composite-comp/bol/components/ImageText/pc/index.less +0 -106
- package/lib/composite-comp/bol/components/Newsletter/defaultJSON.js +0 -135
- package/lib/composite-comp/bol/components/Newsletter/index.js +0 -127
- package/lib/composite-comp/bol/components/Newsletter/index.less +0 -75
- package/lib/composite-comp/bol/components/Tag/defaultJSON.js +0 -112
- package/lib/composite-comp/bol/components/Tag/index.js +0 -107
- package/lib/composite-comp/bol/components/Tag/index.less +0 -34
- package/lib/composite-comp/bol/components/Text/defaultJSON.js +0 -149
- package/lib/composite-comp/bol/components/Text/index.js +0 -123
- package/lib/composite-comp/bol/components/Text/index.less +0 -61
- package/lib/composite-comp/bol/components/Text/slice.svg +0 -1
- package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.js +0 -126
- package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.less +0 -16
- package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.js +0 -225
- package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigSetting/index.less +0 -9
- package/lib/composite-comp/bol/config-panels/BannerConfig/index.js +0 -46
- package/lib/composite-comp/bol/config-panels/ButtonCompConfig/ButtonConfigContent/index.js +0 -99
- package/lib/composite-comp/bol/config-panels/ButtonCompConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout1.png +0 -0
- package/lib/composite-comp/bol/config-panels/ButtonCompConfig/imgs/layout2.png +0 -0
- package/lib/composite-comp/bol/config-panels/ButtonCompConfig/index.js +0 -67
- package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.js +0 -144
- package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.less +0 -0
- package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.js +0 -199
- package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigSetting/index.less +0 -9
- package/lib/composite-comp/bol/config-panels/CarouselConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/bol/config-panels/CarouselConfig/index.js +0 -136
- package/lib/composite-comp/bol/config-panels/DividerConfig/DividerConfigSetting/index.js +0 -98
- package/lib/composite-comp/bol/config-panels/DividerConfig/DividerConfigSetting/index.less +0 -9
- package/lib/composite-comp/bol/config-panels/DividerConfig/DividerContentSetting/index.js +0 -177
- package/lib/composite-comp/bol/config-panels/DividerConfig/DividerSpacingSetting/index.js +0 -89
- package/lib/composite-comp/bol/config-panels/DividerConfig/index.js +0 -57
- package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.js +0 -144
- package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.less +0 -0
- package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/index.js +0 -57
- package/lib/composite-comp/bol/config-panels/ImageTextConfig/ImageTextConfigGroup/index.js +0 -126
- package/lib/composite-comp/bol/config-panels/ImageTextConfig/index.js +0 -196
- package/lib/composite-comp/bol/config-panels/NewsletterConfig/InputField/index.js +0 -185
- package/lib/composite-comp/bol/config-panels/NewsletterConfig/NewsletterContentSetting/index.js +0 -111
- package/lib/composite-comp/bol/config-panels/NewsletterConfig/index.js +0 -57
- package/lib/composite-comp/bol/config-panels/TagCompConfig/TagConfigContent/index.js +0 -109
- package/lib/composite-comp/bol/config-panels/TagCompConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/bol/config-panels/TagCompConfig/imgs/layout1.png +0 -0
- package/lib/composite-comp/bol/config-panels/TagCompConfig/imgs/layout2.png +0 -0
- package/lib/composite-comp/bol/config-panels/TagCompConfig/index.js +0 -61
- package/lib/composite-comp/bol/config-panels/TextCompConfig/TextConfigContent/index.js +0 -99
- package/lib/composite-comp/bol/config-panels/TextCompConfig/TextConfigContent/index.less +0 -0
- package/lib/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.js +0 -138
- package/lib/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.less +0 -16
- package/lib/composite-comp/bol/config-panels/TextCompConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/bol/config-panels/TextCompConfig/imgs/layout1.png +0 -0
- package/lib/composite-comp/bol/config-panels/TextCompConfig/index.js +0 -69
- package/lib/composite-comp/bol/second-config-panels/BannerSecondConfig/index.js +0 -151
- package/lib/composite-comp/bol/second-config-panels/BannerSecondConfig/index.less +0 -3
- package/lib/composite-comp/bol/second-config-panels/CarouselSecondConfig/index.js +0 -164
- package/lib/composite-comp/bol/second-config-panels/ImageGallerySecondConfig/index.js +0 -82
- package/lib/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +0 -141
- package/lib/composite-comp/bol/second-config-panels/TextSecondConfig/TextContentConfigContent/index.js +0 -99
- package/lib/composite-comp/bol/second-config-panels/TextSecondConfig/TextContentConfigContent/index.less +0 -0
- package/lib/composite-comp/bol/second-config-panels/TextSecondConfig/index.js +0 -90
- package/lib/composite-comp/bol/second-config-panels/TextSecondConfig/index.less +0 -3
- package/lib/composite-comp/common/components/ImageLabel/index.js +0 -90
- package/lib/composite-comp/common/components/ImageLabel/index.less +0 -35
- package/lib/composite-comp/common/components/ProductItem/index.js +0 -191
- package/lib/composite-comp/common/components/ProductItem/index.less +0 -121
- package/lib/composite-comp/common/config-panels/BackgroundConfig/index.js +0 -109
- package/lib/composite-comp/common/config-panels/CustomizeConfig/index.js +0 -204
- package/lib/composite-comp/common/config-panels/CustomizeConfig/index.less +0 -21
- package/lib/composite-comp/common/config-panels/SpacingConfig/index.js +0 -154
- package/lib/composite-comp/common/config-panels/SpacingConfig/index.less +0 -17
- package/lib/composite-comp/dito/components/FlashDeal/defaultJSON.js +0 -183
- package/lib/composite-comp/dito/components/FlashDeal/index.js +0 -86
- package/lib/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg1.png +0 -0
- package/lib/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg2.png +0 -0
- package/lib/composite-comp/dito/components/FlashDeal/mobile/imgs/defImg3.png +0 -0
- package/lib/composite-comp/dito/components/FlashDeal/mobile/index.js +0 -436
- package/lib/composite-comp/dito/components/FlashDeal/mobile/index.less +0 -94
- package/lib/composite-comp/dito/components/Recommend/defaultJSON.js +0 -220
- package/lib/composite-comp/dito/components/Recommend/index.js +0 -86
- package/lib/composite-comp/dito/components/Recommend/mobile/imgs/defImg1.png +0 -0
- package/lib/composite-comp/dito/components/Recommend/mobile/imgs/defImg2.png +0 -0
- package/lib/composite-comp/dito/components/Recommend/mobile/imgs/defImg3.png +0 -0
- package/lib/composite-comp/dito/components/Recommend/mobile/index.js +0 -530
- package/lib/composite-comp/dito/components/Recommend/mobile/index.less +0 -79
- package/lib/composite-comp/dito/components/SearchBar/defaultJSON.js +0 -56
- package/lib/composite-comp/dito/components/SearchBar/imgs/dito-logo.svg +0 -6
- package/lib/composite-comp/dito/components/SearchBar/index.js +0 -86
- package/lib/composite-comp/dito/components/SearchBar/mobile/index.js +0 -108
- package/lib/composite-comp/dito/components/SearchBar/mobile/index.less +0 -38
- package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.js +0 -143
- package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.less +0 -0
- package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.js +0 -125
- package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.less +0 -0
- package/lib/composite-comp/dito/config-panels/FlashDealConfig/imgs/layout1.png +0 -0
- package/lib/composite-comp/dito/config-panels/FlashDealConfig/index.js +0 -62
- package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigContent/index.js +0 -118
- package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigContent/index.less +0 -0
- package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.js +0 -143
- package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigGroup/index.less +0 -16
- package/lib/composite-comp/dito/config-panels/RecommendConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/dito/config-panels/RecommendConfig/imgs/layout1.png +0 -0
- package/lib/composite-comp/dito/config-panels/RecommendConfig/index.js +0 -62
- package/lib/composite-comp/dito/config-panels/SearchBarConfig/index.js +0 -138
- package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +0 -185
- package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.less +0 -3
- package/lib/constants/component-types.js +0 -87
- package/lib/constants/index.js +0 -144
- package/lib/constants/layout.js +0 -120
- package/lib/core/Designer/CompListPanel/CompCard/index.js +0 -42
- package/lib/core/Designer/CompListPanel/CompCard/index.less +0 -69
- package/lib/core/Designer/CompListPanel/index.js +0 -156
- package/lib/core/Designer/CompListPanel/index.less +0 -69
- package/lib/core/Designer/ConfigPanel/index.js +0 -294
- package/lib/core/Designer/ConfigPanel/index.less +0 -139
- package/lib/core/Designer/History/index.js +0 -91
- package/lib/core/Designer/PageCompList/index.js +0 -266
- package/lib/core/Designer/PageCompList/index.less +0 -114
- package/lib/core/Designer/QuickMenuBar/index.js +0 -176
- package/lib/core/Designer/QuickMenuBar/index.less +0 -67
- package/lib/core/Designer/ViewArea/index.js +0 -150
- package/lib/core/Designer/ViewArea/index.less +0 -53
- package/lib/core/Designer/index.js +0 -454
- package/lib/core/Designer/index.less +0 -6
- package/lib/core/Renderer/index.js +0 -82
- package/lib/decorator/compositeDecorator.js +0 -130
- package/lib/decorator/index.js +0 -23
- package/lib/decorator/metaDecorator.js +0 -199
- package/lib/index.js +0 -27
- package/lib/meta-comp/components/Button/index.js +0 -185
- package/lib/meta-comp/components/Button/index.less +0 -19
- package/lib/meta-comp/components/Image/index.js +0 -171
- package/lib/meta-comp/components/Image/index.less +0 -18
- package/lib/meta-comp/components/Text/index.js +0 -473
- package/lib/meta-comp/components/Text/index.less +0 -38
- package/lib/meta-comp/components/index.js +0 -31
- package/lib/meta-comp/config-panels/BaseConfig.js +0 -87
- package/lib/meta-comp/config-panels/ButtonConfig/index.js +0 -353
- package/lib/meta-comp/config-panels/ButtonConfig/index.less +0 -4
- package/lib/meta-comp/config-panels/ImageConfig/index.js +0 -204
- package/lib/meta-comp/config-panels/ImageConfig/index.less +0 -16
- package/lib/meta-comp/config-panels/TextConfig/index.js +0 -327
- package/lib/meta-comp/config-panels/TextConfig/index.less +0 -24
- package/lib/mobx/Store.js +0 -93
- package/lib/mobx/index.js +0 -36
- package/lib/utils/androidUtil.js +0 -113
- package/lib/utils/businessUtil.js +0 -235
- package/lib/utils/commonUtil.js +0 -269
- package/lib/utils/compJsonUtil.js +0 -240
- package/lib/utils/coreUtil.js +0 -156
- package/lib/utils/currencyUtil.js +0 -190
- package/lib/utils/dataTreeUtils.js +0 -105
- package/lib/utils/dateUtil.js +0 -70
- package/lib/utils/storeUtil.js +0 -258
|
@@ -1,530 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports["default"] = void 0;
|
|
7
|
-
|
|
8
|
-
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
|
|
10
|
-
var _macy = _interopRequireDefault(require("macy"));
|
|
11
|
-
|
|
12
|
-
require("./index.less");
|
|
13
|
-
|
|
14
|
-
var _mobx = require("../../../../../mobx");
|
|
15
|
-
|
|
16
|
-
var _ProductItem = _interopRequireDefault(require("../../../../common/components/ProductItem"));
|
|
17
|
-
|
|
18
|
-
var _components = require("../../../../../meta-comp/components");
|
|
19
|
-
|
|
20
|
-
var _storeUtil = require("../../../../../utils/storeUtil");
|
|
21
|
-
|
|
22
|
-
var _commonUtil = require("../../../../../utils/commonUtil");
|
|
23
|
-
|
|
24
|
-
var _coreUtil = require("../../../../../utils/coreUtil");
|
|
25
|
-
|
|
26
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
27
|
-
|
|
28
|
-
var __extends = void 0 && (void 0).__extends || function () {
|
|
29
|
-
var _extendStatics = function extendStatics(d, b) {
|
|
30
|
-
_extendStatics = Object.setPrototypeOf || {
|
|
31
|
-
__proto__: []
|
|
32
|
-
} instanceof Array && function (d, b) {
|
|
33
|
-
d.__proto__ = b;
|
|
34
|
-
} || function (d, b) {
|
|
35
|
-
for (var p in b) {
|
|
36
|
-
if (b.hasOwnProperty(p)) d[p] = b[p];
|
|
37
|
-
}
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
return _extendStatics(d, b);
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
return function (d, b) {
|
|
44
|
-
_extendStatics(d, b);
|
|
45
|
-
|
|
46
|
-
function __() {
|
|
47
|
-
this.constructor = d;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
51
|
-
};
|
|
52
|
-
}();
|
|
53
|
-
|
|
54
|
-
var __assign = void 0 && (void 0).__assign || function () {
|
|
55
|
-
__assign = Object.assign || function (t) {
|
|
56
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
57
|
-
s = arguments[i];
|
|
58
|
-
|
|
59
|
-
for (var p in s) {
|
|
60
|
-
if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
return t;
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
return __assign.apply(this, arguments);
|
|
68
|
-
};
|
|
69
|
-
|
|
70
|
-
var __awaiter = void 0 && (void 0).__awaiter || function (thisArg, _arguments, P, generator) {
|
|
71
|
-
function adopt(value) {
|
|
72
|
-
return value instanceof P ? value : new P(function (resolve) {
|
|
73
|
-
resolve(value);
|
|
74
|
-
});
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
78
|
-
function fulfilled(value) {
|
|
79
|
-
try {
|
|
80
|
-
step(generator.next(value));
|
|
81
|
-
} catch (e) {
|
|
82
|
-
reject(e);
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
function rejected(value) {
|
|
87
|
-
try {
|
|
88
|
-
step(generator["throw"](value));
|
|
89
|
-
} catch (e) {
|
|
90
|
-
reject(e);
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
function step(result) {
|
|
95
|
-
result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
99
|
-
});
|
|
100
|
-
};
|
|
101
|
-
|
|
102
|
-
var __generator = void 0 && (void 0).__generator || function (thisArg, body) {
|
|
103
|
-
var _ = {
|
|
104
|
-
label: 0,
|
|
105
|
-
sent: function sent() {
|
|
106
|
-
if (t[0] & 1) throw t[1];
|
|
107
|
-
return t[1];
|
|
108
|
-
},
|
|
109
|
-
trys: [],
|
|
110
|
-
ops: []
|
|
111
|
-
},
|
|
112
|
-
f,
|
|
113
|
-
y,
|
|
114
|
-
t,
|
|
115
|
-
g;
|
|
116
|
-
return g = {
|
|
117
|
-
next: verb(0),
|
|
118
|
-
"throw": verb(1),
|
|
119
|
-
"return": verb(2)
|
|
120
|
-
}, typeof Symbol === "function" && (g[Symbol.iterator] = function () {
|
|
121
|
-
return this;
|
|
122
|
-
}), g;
|
|
123
|
-
|
|
124
|
-
function verb(n) {
|
|
125
|
-
return function (v) {
|
|
126
|
-
return step([n, v]);
|
|
127
|
-
};
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
function step(op) {
|
|
131
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
132
|
-
|
|
133
|
-
while (_) {
|
|
134
|
-
try {
|
|
135
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
136
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
137
|
-
|
|
138
|
-
switch (op[0]) {
|
|
139
|
-
case 0:
|
|
140
|
-
case 1:
|
|
141
|
-
t = op;
|
|
142
|
-
break;
|
|
143
|
-
|
|
144
|
-
case 4:
|
|
145
|
-
_.label++;
|
|
146
|
-
return {
|
|
147
|
-
value: op[1],
|
|
148
|
-
done: false
|
|
149
|
-
};
|
|
150
|
-
|
|
151
|
-
case 5:
|
|
152
|
-
_.label++;
|
|
153
|
-
y = op[1];
|
|
154
|
-
op = [0];
|
|
155
|
-
continue;
|
|
156
|
-
|
|
157
|
-
case 7:
|
|
158
|
-
op = _.ops.pop();
|
|
159
|
-
|
|
160
|
-
_.trys.pop();
|
|
161
|
-
|
|
162
|
-
continue;
|
|
163
|
-
|
|
164
|
-
default:
|
|
165
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
|
|
166
|
-
_ = 0;
|
|
167
|
-
continue;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {
|
|
171
|
-
_.label = op[1];
|
|
172
|
-
break;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
if (op[0] === 6 && _.label < t[1]) {
|
|
176
|
-
_.label = t[1];
|
|
177
|
-
t = op;
|
|
178
|
-
break;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
if (t && _.label < t[2]) {
|
|
182
|
-
_.label = t[2];
|
|
183
|
-
|
|
184
|
-
_.ops.push(op);
|
|
185
|
-
|
|
186
|
-
break;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
if (t[2]) _.ops.pop();
|
|
190
|
-
|
|
191
|
-
_.trys.pop();
|
|
192
|
-
|
|
193
|
-
continue;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
op = body.call(thisArg, _);
|
|
197
|
-
} catch (e) {
|
|
198
|
-
op = [6, e];
|
|
199
|
-
y = 0;
|
|
200
|
-
} finally {
|
|
201
|
-
f = t = 0;
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
if (op[0] & 5) throw op[1];
|
|
206
|
-
return {
|
|
207
|
-
value: op[0] ? op[1] : void 0,
|
|
208
|
-
done: true
|
|
209
|
-
};
|
|
210
|
-
}
|
|
211
|
-
};
|
|
212
|
-
|
|
213
|
-
var __spreadArrays = void 0 && (void 0).__spreadArrays || function () {
|
|
214
|
-
for (var s = 0, i = 0, il = arguments.length; i < il; i++) {
|
|
215
|
-
s += arguments[i].length;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
for (var r = Array(s), k = 0, i = 0; i < il; i++) {
|
|
219
|
-
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) {
|
|
220
|
-
r[k] = a[j];
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
return r;
|
|
225
|
-
};
|
|
226
|
-
|
|
227
|
-
var RecommendMobile =
|
|
228
|
-
/** @class */
|
|
229
|
-
function (_super) {
|
|
230
|
-
__extends(RecommendMobile, _super);
|
|
231
|
-
|
|
232
|
-
function RecommendMobile() {
|
|
233
|
-
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
234
|
-
|
|
235
|
-
_this.preData = {};
|
|
236
|
-
_this._cache = (0, _coreUtil.isDesignMode)() ? {} : (0, _commonUtil.ensure)(function () {
|
|
237
|
-
return (0, _storeUtil.getMagicStore)("recommend_" + _this.props.panelProps.id);
|
|
238
|
-
}, {});
|
|
239
|
-
_this.state = __assign({
|
|
240
|
-
tabIndex: 0,
|
|
241
|
-
tabLeft: 0,
|
|
242
|
-
tabWidth: 0
|
|
243
|
-
}, _this._cache);
|
|
244
|
-
|
|
245
|
-
_this.getTabBarActiveColor = function (_panelProps) {
|
|
246
|
-
var tabIndex = _this.state.tabIndex;
|
|
247
|
-
return (0, _commonUtil.ensure)(function () {
|
|
248
|
-
return _panelProps.groupSource[tabIndex].hover.groupName.content.color;
|
|
249
|
-
}, '#1890ff');
|
|
250
|
-
};
|
|
251
|
-
|
|
252
|
-
_this.getProductList = function (index) {
|
|
253
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
254
|
-
var recommendId, cache, sourceType, ids, newData, res, res, e_1, _cache;
|
|
255
|
-
|
|
256
|
-
var _a, _b, _c;
|
|
257
|
-
|
|
258
|
-
var _this = this;
|
|
259
|
-
|
|
260
|
-
return __generator(this, function (_d) {
|
|
261
|
-
switch (_d.label) {
|
|
262
|
-
case 0:
|
|
263
|
-
recommendId = this.props.panelProps.id;
|
|
264
|
-
|
|
265
|
-
if (!(0, _coreUtil.isDesignMode)()) {
|
|
266
|
-
cache = (0, _storeUtil.getMagicStore)("recommend_" + recommendId);
|
|
267
|
-
|
|
268
|
-
if (cache) {
|
|
269
|
-
if ("products" + index in cache) {
|
|
270
|
-
this.setState((_a = {}, _a["products" + index] = cache["products" + index], _a), function () {
|
|
271
|
-
_this.getMacy('.tab-item-container');
|
|
272
|
-
});
|
|
273
|
-
/** 如果数据未过期 */
|
|
274
|
-
|
|
275
|
-
if (cache.endTime > Date.now()) return [2
|
|
276
|
-
/*return*/
|
|
277
|
-
];
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
sourceType = (0, _commonUtil.ensure)(function () {
|
|
283
|
-
return _this.props.panelProps.groupSource[index].sourceType;
|
|
284
|
-
}, 'recommend');
|
|
285
|
-
ids = (0, _commonUtil.ensure)(function () {
|
|
286
|
-
return _this.props.panelProps.groupSource[index].prodIds;
|
|
287
|
-
}, '');
|
|
288
|
-
newData = [];
|
|
289
|
-
_d.label = 1;
|
|
290
|
-
|
|
291
|
-
case 1:
|
|
292
|
-
_d.trys.push([1, 6,, 7]);
|
|
293
|
-
|
|
294
|
-
if (!(sourceType === 'select')) return [3
|
|
295
|
-
/*break*/
|
|
296
|
-
, 3];
|
|
297
|
-
|
|
298
|
-
if (!ids) {
|
|
299
|
-
return [2
|
|
300
|
-
/*return*/
|
|
301
|
-
];
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
return [4
|
|
305
|
-
/*yield*/
|
|
306
|
-
, (0, _commonUtil.commonFetch)(window.magicDesign.MBaseUrl + "/h5/products", {
|
|
307
|
-
products: ids,
|
|
308
|
-
state: 'A'
|
|
309
|
-
}, 'GET')];
|
|
310
|
-
|
|
311
|
-
case 2:
|
|
312
|
-
res = _d.sent();
|
|
313
|
-
newData = __spreadArrays(res.list);
|
|
314
|
-
return [3
|
|
315
|
-
/*break*/
|
|
316
|
-
, 5];
|
|
317
|
-
|
|
318
|
-
case 3:
|
|
319
|
-
return [4
|
|
320
|
-
/*yield*/
|
|
321
|
-
, (0, _commonUtil.commonFetch)(window.magicDesign.MBaseUrl + "/h5/offers", {
|
|
322
|
-
pageIndex: 1,
|
|
323
|
-
pageSize: 30,
|
|
324
|
-
sortType: '1',
|
|
325
|
-
// intelligentType: 'ALL',
|
|
326
|
-
// aggregation: false,
|
|
327
|
-
q: ''
|
|
328
|
-
}, 'POST')];
|
|
329
|
-
|
|
330
|
-
case 4:
|
|
331
|
-
res = _d.sent();
|
|
332
|
-
newData = __spreadArrays(res.pageInfo.list);
|
|
333
|
-
_d.label = 5;
|
|
334
|
-
|
|
335
|
-
case 5:
|
|
336
|
-
return [3
|
|
337
|
-
/*break*/
|
|
338
|
-
, 7];
|
|
339
|
-
|
|
340
|
-
case 6:
|
|
341
|
-
e_1 = _d.sent();
|
|
342
|
-
newData = [];
|
|
343
|
-
return [3
|
|
344
|
-
/*break*/
|
|
345
|
-
, 7];
|
|
346
|
-
|
|
347
|
-
case 7:
|
|
348
|
-
if (!(0, _coreUtil.isDesignMode)()) {
|
|
349
|
-
_cache = (0, _storeUtil.getMagicStore)("recommend_" + recommendId);
|
|
350
|
-
(0, _storeUtil.setMagicStore)("recommend_" + recommendId, __assign(__assign({}, _cache), (_b = {}, _b["products" + index] = newData, _b.endTime = Date.now() + 3 * 60 * 1000, _b)));
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
this.setState((_c = {}, _c["products" + index] = newData, _c), function () {
|
|
354
|
-
_this.getMacy('.tab-item-container');
|
|
355
|
-
});
|
|
356
|
-
return [2
|
|
357
|
-
/*return*/
|
|
358
|
-
];
|
|
359
|
-
}
|
|
360
|
-
});
|
|
361
|
-
});
|
|
362
|
-
};
|
|
363
|
-
|
|
364
|
-
_this.getMacy = function (container) {
|
|
365
|
-
var masonryNew = new _macy["default"]({
|
|
366
|
-
container: container,
|
|
367
|
-
trueOrder: false,
|
|
368
|
-
waitForImages: false,
|
|
369
|
-
useOwnImageLoader: false,
|
|
370
|
-
margin: {
|
|
371
|
-
x: 12,
|
|
372
|
-
y: 12
|
|
373
|
-
},
|
|
374
|
-
columns: 2
|
|
375
|
-
});
|
|
376
|
-
masonryNew.runOnImageLoad(function () {
|
|
377
|
-
masonryNew.recalculate(true);
|
|
378
|
-
}, true);
|
|
379
|
-
};
|
|
380
|
-
|
|
381
|
-
_this.onTabChange = function (tabIndex) {
|
|
382
|
-
var _a;
|
|
383
|
-
|
|
384
|
-
var panelProps = _this.props.panelProps;
|
|
385
|
-
if (tabIndex === _this.state.tabIndex) return;
|
|
386
|
-
|
|
387
|
-
_this.setState((_a = {
|
|
388
|
-
tabIndex: tabIndex
|
|
389
|
-
}, _a["products" + tabIndex] = [], _a));
|
|
390
|
-
|
|
391
|
-
var curTab = panelProps.groupSource[tabIndex];
|
|
392
|
-
if (curTab.prodIds === '') return;
|
|
393
|
-
|
|
394
|
-
_this.getProductList(tabIndex);
|
|
395
|
-
};
|
|
396
|
-
|
|
397
|
-
_this.getBackgroundStyle = function () {
|
|
398
|
-
var panelProps = _this.props.panelProps;
|
|
399
|
-
var bgStyle = {};
|
|
400
|
-
|
|
401
|
-
if (panelProps.background.bgType === 'color') {
|
|
402
|
-
bgStyle = {
|
|
403
|
-
backgroundColor: (0, _commonUtil.getColorRgba)(panelProps.background.color || '#fff', panelProps.background.opacity / 100 || 1)
|
|
404
|
-
};
|
|
405
|
-
} else {
|
|
406
|
-
bgStyle = {
|
|
407
|
-
background: "url(" + panelProps.background.image + ") no-repeat center",
|
|
408
|
-
backgroundSize: '100%'
|
|
409
|
-
};
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
return bgStyle;
|
|
413
|
-
};
|
|
414
|
-
|
|
415
|
-
_this.onTabClick = function (e, index) {
|
|
416
|
-
var tabLeft = e.currentTarget.offsetLeft;
|
|
417
|
-
var tabWidth = e.currentTarget.offsetWidth;
|
|
418
|
-
e.currentTarget.scrollIntoView(false);
|
|
419
|
-
|
|
420
|
-
_this.getProductList(index);
|
|
421
|
-
|
|
422
|
-
_this.setState({
|
|
423
|
-
tabLeft: tabLeft,
|
|
424
|
-
tabWidth: tabWidth,
|
|
425
|
-
tabIndex: index
|
|
426
|
-
}, function () {
|
|
427
|
-
_this.getMacy('.tab-item-container');
|
|
428
|
-
});
|
|
429
|
-
};
|
|
430
|
-
|
|
431
|
-
return _this;
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
RecommendMobile.prototype.componentDidMount = function () {
|
|
435
|
-
var tabIndex = this.state.tabIndex;
|
|
436
|
-
this.getProductList(tabIndex);
|
|
437
|
-
var initTabDom = document.querySelector('.tab-select-wrap .tabTitle:nth-child(1)');
|
|
438
|
-
var tabLeft = initTabDom.offsetLeft;
|
|
439
|
-
var tabWidth = initTabDom.offsetWidth;
|
|
440
|
-
this.setState({
|
|
441
|
-
tabLeft: tabLeft,
|
|
442
|
-
tabWidth: tabWidth
|
|
443
|
-
});
|
|
444
|
-
};
|
|
445
|
-
|
|
446
|
-
RecommendMobile.prototype.componentWillReceiveProps = function () {
|
|
447
|
-
var tabIndex = this.state.tabIndex;
|
|
448
|
-
var tabGroupInfo = this.props.panelProps.groupSource[tabIndex];
|
|
449
|
-
|
|
450
|
-
if (JSON.stringify(tabGroupInfo) === this.preData) {
|
|
451
|
-
return;
|
|
452
|
-
}
|
|
453
|
-
|
|
454
|
-
this.preData = JSON.stringify(tabGroupInfo);
|
|
455
|
-
this.getProductList(tabIndex);
|
|
456
|
-
};
|
|
457
|
-
|
|
458
|
-
RecommendMobile.prototype.render = function () {
|
|
459
|
-
var _this = this;
|
|
460
|
-
|
|
461
|
-
var panelProps = this.props.panelProps;
|
|
462
|
-
var _a = this.state,
|
|
463
|
-
tabIndex = _a.tabIndex,
|
|
464
|
-
tabLeft = _a.tabLeft,
|
|
465
|
-
tabWidth = _a.tabWidth;
|
|
466
|
-
var bgStyle = this.getBackgroundStyle();
|
|
467
|
-
var products = this.state["products" + tabIndex] || [];
|
|
468
|
-
var isDivide = panelProps.groupSource.length <= 3;
|
|
469
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
470
|
-
className: "m-recommend-mobile",
|
|
471
|
-
style: bgStyle
|
|
472
|
-
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
473
|
-
className: "tab-select-wrap"
|
|
474
|
-
}, panelProps.groupSource.map(function (tab, index) {
|
|
475
|
-
var _image = index == tabIndex && tab.hover.open && tab.hover.image.open ? tab.hover.image : tab.image;
|
|
476
|
-
|
|
477
|
-
var _groupName = index == tabIndex && tab.hover.open && tab.hover.groupName.open ? tab.hover.groupName : tab.groupName;
|
|
478
|
-
|
|
479
|
-
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
480
|
-
className: "tabTitle",
|
|
481
|
-
onClick: function onClick(e) {
|
|
482
|
-
_this.onTabClick(e, index);
|
|
483
|
-
|
|
484
|
-
_mobx.store.setState({
|
|
485
|
-
clickedGroup: tab.id,
|
|
486
|
-
clickedFloor: _mobx.store.getFloorIdByGroupId(tab.id)
|
|
487
|
-
});
|
|
488
|
-
},
|
|
489
|
-
style: {
|
|
490
|
-
flex: ~~isDivide
|
|
491
|
-
}
|
|
492
|
-
}, tab.image.open && _image && /*#__PURE__*/_react["default"].createElement(_components.MetaImage, {
|
|
493
|
-
data: _image
|
|
494
|
-
}), tab.groupName.open && /*#__PURE__*/_react["default"].createElement(_components.MetaText, {
|
|
495
|
-
data: _groupName,
|
|
496
|
-
onTextInput: function onTextInput(text) {
|
|
497
|
-
tab.hover.groupName.text = text;
|
|
498
|
-
tab.groupName.text = text;
|
|
499
|
-
}
|
|
500
|
-
}));
|
|
501
|
-
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
502
|
-
className: "active-line",
|
|
503
|
-
style: {
|
|
504
|
-
width: tabWidth,
|
|
505
|
-
transform: "translateX(" + tabLeft + "px)",
|
|
506
|
-
background: this.getTabBarActiveColor(panelProps)
|
|
507
|
-
}
|
|
508
|
-
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
509
|
-
className: "tab-item-container"
|
|
510
|
-
}, products.map(function (item) {
|
|
511
|
-
return /*#__PURE__*/_react["default"].createElement(_ProductItem["default"], {
|
|
512
|
-
key: item.productId,
|
|
513
|
-
data: item,
|
|
514
|
-
onItemClick: function onItemClick() {
|
|
515
|
-
return (0, _coreUtil.clickUrl)("/product/detail/" + item.offerId + "?productId=" + (item.sppProductId || item.productId || ''));
|
|
516
|
-
},
|
|
517
|
-
panelProps: panelProps.content,
|
|
518
|
-
showProgress: false
|
|
519
|
-
});
|
|
520
|
-
})));
|
|
521
|
-
};
|
|
522
|
-
|
|
523
|
-
RecommendMobile.defaultProps = {
|
|
524
|
-
panelProps: {}
|
|
525
|
-
};
|
|
526
|
-
return RecommendMobile;
|
|
527
|
-
}(_react["default"].Component);
|
|
528
|
-
|
|
529
|
-
var _default = RecommendMobile;
|
|
530
|
-
exports["default"] = _default;
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
.m-recommend-mobile {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
|
|
5
|
-
.ant-tabs-nav-operations {
|
|
6
|
-
display: none !important;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
::-webkit-scrollbar {
|
|
10
|
-
width: 0;
|
|
11
|
-
height: 0;
|
|
12
|
-
display: none;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
.tab-select-wrap {
|
|
17
|
-
display: flex;
|
|
18
|
-
align-items: center;
|
|
19
|
-
height: 50px;
|
|
20
|
-
background: rgb(255 255 255);
|
|
21
|
-
overflow: auto;
|
|
22
|
-
position: relative;
|
|
23
|
-
margin-bottom: 10px;
|
|
24
|
-
|
|
25
|
-
.tabTitle {
|
|
26
|
-
display: flex;
|
|
27
|
-
align-items: center;
|
|
28
|
-
padding: 0 24px;
|
|
29
|
-
height: 100%;
|
|
30
|
-
justify-content: center;
|
|
31
|
-
white-space: nowrap;
|
|
32
|
-
|
|
33
|
-
img {
|
|
34
|
-
height: 18px;
|
|
35
|
-
width: 18px;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.active-line {
|
|
40
|
-
position: absolute;
|
|
41
|
-
bottom: 0;
|
|
42
|
-
width: 200px;
|
|
43
|
-
height: 3px;
|
|
44
|
-
background-color: #fff;
|
|
45
|
-
transition: .2s all linear;
|
|
46
|
-
border-radius: 1.5px;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.tab-item-container {
|
|
51
|
-
display: flex;
|
|
52
|
-
margin: 0 12px;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
// .ant-tabs-content-holder {
|
|
58
|
-
// padding: 0 16px;
|
|
59
|
-
// }
|
|
60
|
-
|
|
61
|
-
// // 推荐特有样式
|
|
62
|
-
// .m-product-item-wrap {
|
|
63
|
-
// width: 100%;
|
|
64
|
-
|
|
65
|
-
// .img-wrap {
|
|
66
|
-
// width: 100%;
|
|
67
|
-
// }
|
|
68
|
-
// }
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
// 被隐藏的标签页
|
|
72
|
-
// .ant-tabs-dropdown {
|
|
73
|
-
// .tabTitle {
|
|
74
|
-
// .m-meta-image img {
|
|
75
|
-
// width: 18px;
|
|
76
|
-
// height: 18px;
|
|
77
|
-
// }
|
|
78
|
-
// }
|
|
79
|
-
// }
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.getDefaultJSON = void 0;
|
|
7
|
-
|
|
8
|
-
var _uuid = require("uuid");
|
|
9
|
-
|
|
10
|
-
var _ditoLogo = _interopRequireDefault(require("./imgs/dito-logo.svg"));
|
|
11
|
-
|
|
12
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
13
|
-
|
|
14
|
-
// import { ButtonMetaType } from '../../../meta-comp/config-panels/ButtonConfig';
|
|
15
|
-
// import { TextMetaType } from '../../../meta-comp/config-panels/TextConfig';
|
|
16
|
-
var getDefaultJSON = function getDefaultJSON() {
|
|
17
|
-
return {
|
|
18
|
-
id: (0, _uuid.v4)(),
|
|
19
|
-
type: 'SEARCH',
|
|
20
|
-
logo: {
|
|
21
|
-
id: (0, _uuid.v4)(),
|
|
22
|
-
open: true,
|
|
23
|
-
type: 'IMAGE',
|
|
24
|
-
content: {
|
|
25
|
-
h5Name: 'name2',
|
|
26
|
-
pcName: 'name2',
|
|
27
|
-
h5ImgSrc: _ditoLogo["default"],
|
|
28
|
-
pcImgSrc: 'https://online.iwhalecloud.com/static/banner3.d4d11f4b.webp',
|
|
29
|
-
clickUrl: ''
|
|
30
|
-
},
|
|
31
|
-
hover: {
|
|
32
|
-
open: false,
|
|
33
|
-
backgroundType: 'enlarge',
|
|
34
|
-
magnification: 1.5,
|
|
35
|
-
pcImgHoverUrl: '',
|
|
36
|
-
h5ImgHoverUrl: ''
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
icon: {
|
|
40
|
-
open: true,
|
|
41
|
-
color: '#2F54EB'
|
|
42
|
-
},
|
|
43
|
-
customize: {
|
|
44
|
-
layout: 'left',
|
|
45
|
-
align: 'left'
|
|
46
|
-
},
|
|
47
|
-
background: {
|
|
48
|
-
opacity: 100,
|
|
49
|
-
color: '#fff',
|
|
50
|
-
image: '',
|
|
51
|
-
bgType: 'color'
|
|
52
|
-
}
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
|
|
56
|
-
exports.getDefaultJSON = getDefaultJSON;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
<svg width="69" height="20" viewBox="0 0 69 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M11.459 0.0166016H5.12022C3.76042 0.0194901 2.45736 0.562029 1.49731 1.52504C0.53725 2.48804 -0.00128482 3.79276 2.3019e-06 5.15257V19.5672C-0.000156996 19.6234 0.0107454 19.679 0.0320869 19.7309C0.0534285 19.7829 0.0847912 19.8301 0.124385 19.8699C0.163978 19.9097 0.211026 19.9414 0.262844 19.963C0.314661 19.9846 0.370232 19.9958 0.426385 19.996H11.5535C13.7819 19.9912 15.9171 19.1014 17.4895 17.5224C19.0619 15.9435 19.9427 13.8045 19.9382 11.5762V8.52608C19.9414 6.27348 19.0501 4.11179 17.4601 2.51612C15.8701 0.92046 13.7116 0.0214159 11.459 0.0166016ZM15.1681 11.4429C15.17 12.4235 14.7824 13.3647 14.0905 14.0596C13.3986 14.7545 12.459 15.1461 11.4784 15.1483H6.81001L3.03555 16.9193L4.83678 14.1526V5.19739C4.83645 5.08419 4.88103 4.97549 4.96073 4.89511C5.04043 4.81472 5.14875 4.76923 5.26195 4.76858H11.6662C12.5955 4.77211 13.4856 5.14376 14.1415 5.80216C14.7974 6.46056 15.1657 7.35204 15.1656 8.28139L15.1681 11.4429Z" fill="#CE1126"/>
|
|
3
|
-
<path d="M27.3733 2.39582C27.3733 1.07858 26.3055 0.0107422 24.9882 0.0107422C23.671 0.0107422 22.6031 1.07858 22.6031 2.39582V17.6148C22.6031 18.932 23.671 19.9998 24.9882 19.9998C26.3055 19.9998 27.3733 18.932 27.3733 17.6148V2.39582Z" fill="#CE1126"/>
|
|
4
|
-
<path d="M46.8076 0H30.4646C30.4083 -2.25721e-07 30.3526 0.0110998 30.3007 0.0326641C30.2487 0.0542284 30.2015 0.0858331 30.1618 0.125667C30.1221 0.165501 30.0906 0.212782 30.0692 0.2648C30.0478 0.316818 30.0368 0.372551 30.037 0.428805V4.29774C30.0368 4.35399 30.0478 4.40973 30.0692 4.46175C30.0906 4.51376 30.1221 4.56104 30.1618 4.60088C30.2015 4.64071 30.2487 4.67232 30.3007 4.69388C30.3526 4.71545 30.4083 4.72655 30.4646 4.72655H35.8138C35.8699 4.7267 35.9255 4.73792 35.9773 4.75956C36.0291 4.78119 36.0762 4.81282 36.1158 4.85264C36.1554 4.89246 36.1867 4.93969 36.208 4.99162C36.2294 5.04356 36.2403 5.0992 36.2401 5.15535V19.57C36.24 19.6262 36.2509 19.682 36.2723 19.734C36.2937 19.786 36.3252 19.8333 36.365 19.8731C36.4047 19.913 36.4519 19.9446 36.5038 19.9661C36.5558 19.9877 36.6115 19.9988 36.6677 19.9988H40.6105C40.6667 19.9986 40.7223 19.9874 40.7741 19.9658C40.8259 19.9441 40.873 19.9125 40.9126 19.8727C40.9522 19.8329 40.9835 19.7856 41.0049 19.7337C41.0262 19.6818 41.0371 19.6261 41.037 19.57V5.15535C41.036 5.04236 41.0798 4.93358 41.1588 4.85277C41.2377 4.77197 41.3455 4.72572 41.4585 4.72412H46.8076C46.8638 4.72396 46.9193 4.71275 46.9712 4.69111C47.023 4.66948 47.07 4.63785 47.1096 4.59803C47.1492 4.55821 47.1806 4.51098 47.2019 4.45904C47.2233 4.4071 47.2342 4.35147 47.234 4.29532V0.428805C47.2342 0.372653 47.2233 0.317019 47.2019 0.26508C47.1806 0.21314 47.1492 0.165914 47.1096 0.126095C47.07 0.0862771 47.023 0.0546472 46.9712 0.0330117C46.9193 0.0113762 46.8638 0.000158847 46.8076 0V0Z" fill="#CE1126"/>
|
|
5
|
-
<path d="M58.3829 0.0107422H58.2508C55.6058 0.0165188 53.0714 1.07272 51.205 2.94703C49.3387 4.82134 48.2933 7.36024 48.2987 10.0053V17.4355C48.2974 18.1141 48.5657 18.7654 49.0445 19.2463C49.5234 19.7272 50.1736 19.9982 50.8522 19.9998H58.3817C61.0261 19.9931 63.5596 18.9365 65.4252 17.0623C67.2907 15.1881 68.3357 12.6497 68.3302 10.0053C68.3357 7.36108 67.2909 4.82291 65.4256 2.94874C63.5603 1.07457 61.0271 0.0178015 58.3829 0.0107422ZM63.4329 9.94351C63.4309 11.1388 63.017 12.2968 62.2607 13.2224C61.5044 14.1479 60.4522 14.7844 59.2813 15.0246C58.1104 15.2647 56.8925 15.0937 55.833 14.5406C54.7735 13.9874 53.9371 13.0858 53.4649 11.9878C52.9927 10.8898 52.9135 9.66252 53.2407 8.51294C53.5679 7.36335 54.2814 6.36174 55.2611 5.67697C56.2407 4.99221 57.4265 4.66616 58.6185 4.75382C59.8106 4.84147 60.9359 5.33746 61.8049 6.15816L65.2425 4.80633L62.9096 7.66382C63.2544 8.37299 63.4333 9.15132 63.4329 9.93988V9.94351Z" fill="#CE1126"/>
|
|
6
|
-
</svg>
|