@fonixtree/magic-design 2.0.200 → 2.0.203
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/es/assets/fonts/AvenirNext-Bold.ttf +0 -0
- package/es/assets/fonts/AvenirNext-DemiBold.ttf +0 -0
- package/es/assets/fonts/AvenirNext-Medium.ttf +0 -0
- package/es/assets/fonts/AvenirNext-Regular.ttf +0 -0
- 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/magic-box-iconfont.css +38 -6
- package/es/assets/fonts/magic-box-iconfont.js +1 -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/base64/index.js +8 -2
- package/es/assets/images/layout-icon/banner-slide-layout3.png +0 -0
- package/es/assets/images/layout-icon/grouped-carousel-layout1.png +0 -0
- package/es/assets/images/layout-icon/news-layout1.png +0 -0
- package/es/assets/images/layout-icon/search-dito-layout1.png +0 -0
- package/es/assets/images/layout-icon/slide-image-layout1.png +0 -0
- package/es/assets/less/font.less +30 -0
- package/es/assets/less/global.less +5 -0
- package/es/common/ColorPickerInput/index.less +2 -0
- package/es/common/CountDown/index.js +29 -2
- package/es/common/CountDown/index.less +38 -5
- package/es/common/ErrorBoundary/index.js +90 -0
- package/es/common/FontStyles/index.less +1 -1
- package/es/common/LinkModal/ProductList/index.js +484 -0
- package/es/common/LinkModal/ProductList/index.less +130 -0
- package/es/common/LinkModal/index.js +8 -1
- package/es/common/ProductCardModal/imgs/dot-icon.png +0 -0
- package/es/common/ProductCardModal/index.js +255 -0
- package/es/common/ProductCardModal/index.less +131 -0
- package/es/common/Toast/index.js +30 -0
- package/es/common/Toast/index.less +29 -0
- package/es/common/UrlPicker/index.js +1 -1
- package/es/common/Video/index.js +5 -3
- package/es/common/VideoPC/background.png +0 -0
- package/es/common/VideoPC/closeImg.png +0 -0
- package/es/common/VideoPC/components/index.js +100 -0
- package/es/common/VideoPC/components/index.less +62 -0
- package/es/common/VideoPC/cover.png +0 -0
- package/es/common/VideoPC/index.js +750 -0
- package/es/common/VideoPC/index.less +79 -0
- package/es/common/index.js +32 -0
- package/es/composite-comp/common/components/ImageLabel/index.js +2 -2
- package/es/composite-comp/common/components/ImageLabel/index.less +23 -7
- package/es/composite-comp/common/components/ProductItem/index.js +41 -24
- package/es/composite-comp/common/components/ProductItem/index.less +17 -15
- package/es/composite-comp/common/config-panels/BackgroundConfig/index.js +16 -12
- package/es/composite-comp/common/config-panels/SpacingConfig/index.js +30 -0
- package/es/composite-comp/dito/components/Bargain/defaultJSON.js +24 -0
- package/es/composite-comp/dito/components/CommonFunctions/defaultJSON.js +1 -1
- package/es/composite-comp/dito/components/CommonFunctions/mobile/index.js +8 -0
- package/es/composite-comp/dito/components/CommonFunctions/mobile/index.less +3 -0
- package/es/composite-comp/dito/components/FlashDeal/defaultJSON.js +49 -11
- package/es/composite-comp/dito/components/FlashDeal/mobile/index.js +15 -14
- package/es/composite-comp/dito/components/FlashDeal/mobile/index.less +9 -1
- package/es/composite-comp/dito/components/FlashDeal/pc/ProductItem/index.js +197 -0
- package/es/composite-comp/dito/components/FlashDeal/pc/ProductItem/index.less +100 -0
- package/es/composite-comp/dito/components/FlashDeal/pc/index.js +18 -22
- package/es/composite-comp/dito/components/FlashDeal/pc/index.less +19 -30
- package/es/composite-comp/dito/components/GroupBuy/defaultJSON.js +24 -0
- package/es/composite-comp/dito/components/GroupBuy/mobile/index.js +8 -5
- package/es/composite-comp/dito/components/GroupBuy/mobile/index.less +5 -2
- package/es/composite-comp/dito/components/GroupedCarousel/defaultJSON.js +312 -0
- package/es/composite-comp/dito/components/GroupedCarousel/index.js +86 -0
- package/es/composite-comp/dito/components/GroupedCarousel/pc/index.js +189 -0
- package/es/composite-comp/dito/components/GroupedCarousel/pc/index.less +65 -0
- package/es/composite-comp/dito/components/News/defaultJSON.js +172 -0
- package/{lib/composite-comp/dito/components/Orders → es/composite-comp/dito/components/News}/index.js +13 -13
- package/es/composite-comp/dito/components/News/pc/index.js +113 -0
- package/es/composite-comp/dito/components/News/pc/index.less +46 -0
- package/es/composite-comp/dito/components/Orders/defaultJSON.js +1 -1
- package/es/composite-comp/dito/components/PersonalInformation/defaultJSON.js +75 -2
- package/es/composite-comp/dito/components/PersonalInformation/mobile/images/avatar.png +0 -0
- package/es/composite-comp/dito/components/PersonalInformation/mobile/index.js +159 -21
- package/es/composite-comp/dito/components/PersonalInformation/mobile/index.less +108 -9
- package/es/composite-comp/dito/components/Recommend/defaultJSON.js +55 -1
- package/es/composite-comp/dito/components/Recommend/mobile/imgs/card.png +0 -0
- package/es/composite-comp/dito/components/Recommend/mobile/index.js +177 -20
- package/es/composite-comp/dito/components/Recommend/mobile/index.less +24 -1
- package/es/composite-comp/dito/components/SearchBanner/defaultJSON.js +234 -0
- package/es/composite-comp/dito/components/SearchBanner/imgs/defaultImg.png +0 -0
- package/es/composite-comp/dito/components/SearchBanner/imgs/pcDefImg1.png +0 -0
- package/es/composite-comp/dito/components/SearchBanner/index.js +108 -0
- package/es/composite-comp/dito/components/SearchBanner/mobile/index.js +293 -0
- package/es/composite-comp/dito/components/SearchBanner/mobile/index.less +108 -0
- package/es/composite-comp/dito/components/SearchDITO/defaultJSON.js +221 -0
- package/es/composite-comp/dito/components/SearchDITO/index.js +86 -0
- package/es/composite-comp/dito/components/SearchDITO/pc/components/ConfirmModal/index.less +69 -0
- package/es/composite-comp/dito/components/SearchDITO/pc/components/Header/index.js +602 -0
- package/es/composite-comp/dito/components/SearchDITO/pc/components/Header/index.less +184 -0
- package/es/composite-comp/dito/components/SearchDITO/pc/components/VideoItem/index.js +153 -0
- package/es/composite-comp/dito/components/SearchDITO/pc/components/VideoItem/index.less +25 -0
- package/es/composite-comp/dito/components/SearchDITO/pc/imgs/avatar.png +0 -0
- package/es/composite-comp/dito/components/SearchDITO/pc/index.js +176 -0
- package/es/composite-comp/dito/components/SearchDITO/pc/index.less +57 -0
- package/es/composite-comp/dito/components/SignBoard/mobile/index.js +1 -1
- package/es/composite-comp/dito/components/SlideImage/defaultJSON.js +138 -0
- package/es/composite-comp/dito/components/SlideImage/index.js +86 -0
- package/es/composite-comp/dito/components/SlideImage/pc/components/CardItem/index.js +105 -0
- package/es/composite-comp/dito/components/SlideImage/pc/components/CardItem/index.less +5 -0
- package/es/composite-comp/dito/components/SlideImage/pc/components/ParallaxScroll/index.js +170 -0
- package/es/composite-comp/dito/components/SlideImage/pc/components/ParallaxScroll/index.less +23 -0
- package/es/composite-comp/dito/components/SlideImage/pc/components/VideoItem/imgs/cursor.png +0 -0
- package/es/composite-comp/dito/components/SlideImage/pc/components/VideoItem/imgs/d.png +0 -0
- package/es/composite-comp/dito/components/SlideImage/pc/components/VideoItem/index.js +176 -0
- package/es/composite-comp/dito/components/SlideImage/pc/components/VideoItem/index.less +61 -0
- package/es/composite-comp/dito/components/SlideImage/pc/index.js +76 -0
- package/es/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigContent/index.js +7 -0
- package/es/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.js +7 -0
- package/es/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.js +7 -20
- package/es/composite-comp/dito/config-panels/FlashDealConfig/index.js +15 -1
- package/es/composite-comp/dito/config-panels/GroupBuyConfig/GroupBuyConfigContent/index.js +7 -0
- package/es/composite-comp/dito/config-panels/GroupedCarouselConfig/ConfigGroup/index.js +149 -0
- package/es/composite-comp/dito/config-panels/GroupedCarouselConfig/ConfigGroup/index.less +16 -0
- package/es/composite-comp/dito/config-panels/GroupedCarouselConfig/ConfigTitle/index.js +93 -0
- package/es/composite-comp/dito/config-panels/GroupedCarouselConfig/ConfigTitle/index.less +0 -0
- package/es/composite-comp/dito/config-panels/GroupedCarouselConfig/imgs/defaultImg.png +0 -0
- package/es/composite-comp/dito/config-panels/GroupedCarouselConfig/index.js +114 -0
- package/es/composite-comp/dito/config-panels/NewsConfig/ConfigGroup/index.js +148 -0
- package/es/composite-comp/dito/config-panels/NewsConfig/ConfigGroup/index.less +16 -0
- package/es/composite-comp/dito/config-panels/NewsConfig/ConfigTitle/index.js +101 -0
- package/es/composite-comp/dito/config-panels/NewsConfig/ConfigTitle/index.less +0 -0
- package/es/composite-comp/dito/config-panels/NewsConfig/imgs/defaultImg.png +0 -0
- package/{lib/composite-comp/dito/config-panels/OrdersConfig → es/composite-comp/dito/config-panels/NewsConfig}/index.js +40 -40
- package/es/composite-comp/dito/config-panels/PersonalInformationConfig/ConfigDecoration/index.js +91 -0
- package/es/composite-comp/dito/config-panels/PersonalInformationConfig/ConfigDecoration/index.less +9 -0
- package/es/composite-comp/dito/config-panels/{OrdersConfig/ConfigGroup → PersonalInformationConfig/OrdersConfigGroup}/index.js +2 -2
- package/es/composite-comp/dito/config-panels/PersonalInformationConfig/index.js +23 -5
- package/es/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigContent/index.js +17 -1
- package/es/composite-comp/dito/config-panels/RecommendConfig/index.js +10 -3
- package/es/composite-comp/dito/config-panels/SearchBannerConfig/ConfigContent/index.js +197 -0
- package/es/composite-comp/dito/config-panels/SearchBannerConfig/ConfigContent/index.less +7 -0
- package/es/composite-comp/dito/config-panels/SearchBannerConfig/ConfigImageGroup/index.js +148 -0
- package/es/composite-comp/dito/config-panels/SearchBannerConfig/ConfigImageGroup/index.less +0 -0
- package/es/composite-comp/dito/config-panels/SearchBannerConfig/ConfigSetting/index.js +226 -0
- package/es/composite-comp/dito/config-panels/SearchBannerConfig/ConfigSetting/index.less +9 -0
- package/es/composite-comp/dito/config-panels/SearchBannerConfig/imgs/defaultImg.png +0 -0
- package/es/composite-comp/dito/config-panels/SearchBannerConfig/index.js +65 -0
- package/es/composite-comp/dito/config-panels/SearchDITOConfig/ConfigContent/index.js +165 -0
- package/es/composite-comp/dito/config-panels/SearchDITOConfig/ConfigContent/index.less +7 -0
- package/es/composite-comp/dito/config-panels/SearchDITOConfig/ConfigImageGroup/index.js +179 -0
- package/es/composite-comp/dito/config-panels/SearchDITOConfig/ConfigImageGroup/index.less +0 -0
- package/es/composite-comp/dito/config-panels/SearchDITOConfig/ConfigSetting/index.js +181 -0
- package/es/composite-comp/dito/config-panels/SearchDITOConfig/ConfigSetting/index.less +9 -0
- package/es/composite-comp/dito/config-panels/SearchDITOConfig/imgs/defaultImg.png +0 -0
- package/es/composite-comp/dito/config-panels/SearchDITOConfig/index.js +69 -0
- package/es/composite-comp/dito/config-panels/SlideImageConfig/ConfigGroup/index.js +150 -0
- package/es/composite-comp/dito/config-panels/SlideImageConfig/ConfigGroup/index.less +16 -0
- package/es/composite-comp/dito/config-panels/SlideImageConfig/imgs/defaultImg.png +0 -0
- package/es/composite-comp/dito/config-panels/SlideImageConfig/index.js +134 -0
- package/es/composite-comp/dito/second-config-panels/GroupedCarouselSecondConfig/index.js +196 -0
- package/es/composite-comp/dito/second-config-panels/NewsSecondConfig/index.js +133 -0
- package/es/composite-comp/dito/second-config-panels/NewsSecondConfig/index.less +8 -0
- package/es/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.js +64 -1
- package/es/composite-comp/dito/second-config-panels/SearchBannerSecondConfig/index.js +98 -0
- package/es/composite-comp/dito/second-config-panels/SearchDITOSecondConfig/index.js +366 -0
- package/es/composite-comp/dito/second-config-panels/SearchDITOSecondConfig/index.less +79 -0
- package/es/composite-comp/dito/second-config-panels/SlideImageSecondConfig/index.js +243 -0
- package/es/composite-comp/dito/second-config-panels/SlideImageSecondConfig/index.less +71 -0
- package/es/composite-comp/monpay/components/MonpayRecommend/mobile/index.js +4 -3
- package/es/composite-comp/nuri/components/AffiliateRecommend/mobile/index.js +1 -1
- package/es/composite-comp/nuri/components/AffiliateRecommend/mobile/index.less +15 -15
- package/es/composite-comp/public/components/Stores/mobile/index.less +3 -0
- package/es/constants/component-types.js +33 -9
- package/es/constants/index.js +44 -20
- package/es/constants/layout.js +46 -2
- package/es/core/Designer/ConfigPanel/index.js +18 -1
- package/es/core/Designer/index.js +2 -2
- package/es/core/Renderer/index.js +37 -2
- package/es/decorator/compositeDecorator.js +14 -4
- package/es/decorator/metaDecorator.js +1 -2
- package/es/locale/ar/ar.json +18 -1
- package/es/locale/en/en.json +18 -1
- package/es/locale/es/es.json +18 -1
- package/es/locale/mn/mn.json +4 -0
- package/es/meta-comp/components/Button/editable.js +3 -1
- package/es/meta-comp/components/Button/index.js +13 -4
- package/es/meta-comp/components/Button/index.less +8 -1
- package/es/meta-comp/components/Image/index.js +7 -2
- package/es/meta-comp/components/Image/index.less +7 -0
- package/es/meta-comp/components/Text/index.js +6 -2
- package/es/meta-comp/components/Text/index.less +3 -0
- package/es/mobx/Frame.js +12 -1
- package/es/mobx/Store.js +12 -0
- package/es/utils/androidUtil.js +10 -2
- package/es/utils/businessUtil.js +218 -3
- package/es/utils/commonUtil.js +155 -4
- package/es/utils/coreUtil.js +59 -4
- package/es/utils/messageUtil.js +40 -0
- package/es/utils/pluginsUtil.js +1 -0
- package/lib/assets/fonts/AvenirNext-Bold.ttf +0 -0
- package/lib/assets/fonts/AvenirNext-DemiBold.ttf +0 -0
- package/lib/assets/fonts/AvenirNext-Medium.ttf +0 -0
- package/lib/assets/fonts/AvenirNext-Regular.ttf +0 -0
- 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/magic-box-iconfont.css +38 -6
- package/lib/assets/fonts/magic-box-iconfont.js +1 -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/base64/index.js +8 -2
- package/lib/assets/images/layout-icon/banner-slide-layout3.png +0 -0
- package/lib/assets/images/layout-icon/grouped-carousel-layout1.png +0 -0
- package/lib/assets/images/layout-icon/news-layout1.png +0 -0
- package/lib/assets/images/layout-icon/search-dito-layout1.png +0 -0
- package/lib/assets/images/layout-icon/slide-image-layout1.png +0 -0
- package/lib/assets/less/font.less +30 -0
- package/lib/assets/less/global.less +5 -0
- package/lib/common/ColorPickerInput/index.less +2 -0
- package/lib/common/CountDown/index.js +29 -2
- package/lib/common/CountDown/index.less +38 -5
- package/lib/common/ErrorBoundary/index.js +90 -0
- package/lib/common/FontStyles/index.less +1 -1
- package/lib/common/LinkModal/ProductList/index.js +484 -0
- package/lib/common/LinkModal/ProductList/index.less +130 -0
- package/lib/common/LinkModal/index.js +8 -1
- package/lib/common/ProductCardModal/imgs/dot-icon.png +0 -0
- package/lib/common/ProductCardModal/index.js +255 -0
- package/lib/common/ProductCardModal/index.less +131 -0
- package/lib/common/Toast/index.js +30 -0
- package/lib/common/Toast/index.less +29 -0
- package/lib/common/UrlPicker/index.js +1 -1
- package/lib/common/Video/index.js +5 -3
- package/lib/common/VideoPC/background.png +0 -0
- package/lib/common/VideoPC/closeImg.png +0 -0
- package/lib/common/VideoPC/components/index.js +100 -0
- package/lib/common/VideoPC/components/index.less +62 -0
- package/lib/common/VideoPC/cover.png +0 -0
- package/lib/common/VideoPC/index.js +750 -0
- package/lib/common/VideoPC/index.less +79 -0
- package/lib/common/index.js +32 -0
- package/lib/composite-comp/common/components/ImageLabel/index.js +2 -2
- package/lib/composite-comp/common/components/ImageLabel/index.less +23 -7
- package/lib/composite-comp/common/components/ProductItem/index.js +41 -24
- package/lib/composite-comp/common/components/ProductItem/index.less +17 -15
- package/lib/composite-comp/common/config-panels/BackgroundConfig/index.js +16 -12
- package/lib/composite-comp/common/config-panels/SpacingConfig/index.js +30 -0
- package/lib/composite-comp/dito/components/Bargain/defaultJSON.js +24 -0
- package/lib/composite-comp/dito/components/CommonFunctions/defaultJSON.js +1 -1
- package/lib/composite-comp/dito/components/CommonFunctions/mobile/index.js +8 -0
- package/lib/composite-comp/dito/components/CommonFunctions/mobile/index.less +3 -0
- package/lib/composite-comp/dito/components/FlashDeal/defaultJSON.js +49 -11
- package/lib/composite-comp/dito/components/FlashDeal/mobile/index.js +15 -14
- package/lib/composite-comp/dito/components/FlashDeal/mobile/index.less +9 -1
- package/lib/composite-comp/dito/components/FlashDeal/pc/ProductItem/index.js +197 -0
- package/lib/composite-comp/dito/components/FlashDeal/pc/ProductItem/index.less +100 -0
- package/lib/composite-comp/dito/components/FlashDeal/pc/index.js +18 -22
- package/lib/composite-comp/dito/components/FlashDeal/pc/index.less +19 -30
- package/lib/composite-comp/dito/components/GroupBuy/defaultJSON.js +24 -0
- package/lib/composite-comp/dito/components/GroupBuy/mobile/index.js +8 -5
- package/lib/composite-comp/dito/components/GroupBuy/mobile/index.less +5 -2
- package/lib/composite-comp/dito/components/GroupedCarousel/defaultJSON.js +312 -0
- package/lib/composite-comp/dito/components/GroupedCarousel/index.js +86 -0
- package/lib/composite-comp/dito/components/GroupedCarousel/pc/index.js +189 -0
- package/lib/composite-comp/dito/components/GroupedCarousel/pc/index.less +65 -0
- package/lib/composite-comp/dito/components/News/defaultJSON.js +172 -0
- package/{es/composite-comp/dito/components/Orders → lib/composite-comp/dito/components/News}/index.js +13 -13
- package/lib/composite-comp/dito/components/News/pc/index.js +113 -0
- package/lib/composite-comp/dito/components/News/pc/index.less +46 -0
- package/lib/composite-comp/dito/components/Orders/defaultJSON.js +1 -1
- package/lib/composite-comp/dito/components/PersonalInformation/defaultJSON.js +75 -2
- package/lib/composite-comp/dito/components/PersonalInformation/mobile/images/avatar.png +0 -0
- package/lib/composite-comp/dito/components/PersonalInformation/mobile/index.js +159 -21
- package/lib/composite-comp/dito/components/PersonalInformation/mobile/index.less +108 -9
- package/lib/composite-comp/dito/components/Recommend/defaultJSON.js +55 -1
- package/lib/composite-comp/dito/components/Recommend/mobile/imgs/card.png +0 -0
- package/lib/composite-comp/dito/components/Recommend/mobile/index.js +177 -20
- package/lib/composite-comp/dito/components/Recommend/mobile/index.less +24 -1
- package/lib/composite-comp/dito/components/SearchBanner/defaultJSON.js +234 -0
- package/lib/composite-comp/dito/components/SearchBanner/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/dito/components/SearchBanner/imgs/pcDefImg1.png +0 -0
- package/lib/composite-comp/dito/components/SearchBanner/index.js +108 -0
- package/lib/composite-comp/dito/components/SearchBanner/mobile/index.js +293 -0
- package/lib/composite-comp/dito/components/SearchBanner/mobile/index.less +108 -0
- package/lib/composite-comp/dito/components/SearchDITO/defaultJSON.js +221 -0
- package/lib/composite-comp/dito/components/SearchDITO/index.js +86 -0
- package/lib/composite-comp/dito/components/SearchDITO/pc/components/ConfirmModal/index.less +69 -0
- package/lib/composite-comp/dito/components/SearchDITO/pc/components/Header/index.js +602 -0
- package/lib/composite-comp/dito/components/SearchDITO/pc/components/Header/index.less +184 -0
- package/lib/composite-comp/dito/components/SearchDITO/pc/components/VideoItem/index.js +153 -0
- package/lib/composite-comp/dito/components/SearchDITO/pc/components/VideoItem/index.less +25 -0
- package/lib/composite-comp/dito/components/SearchDITO/pc/imgs/avatar.png +0 -0
- package/lib/composite-comp/dito/components/SearchDITO/pc/index.js +176 -0
- package/lib/composite-comp/dito/components/SearchDITO/pc/index.less +57 -0
- package/lib/composite-comp/dito/components/SignBoard/mobile/index.js +1 -1
- package/lib/composite-comp/dito/components/SlideImage/defaultJSON.js +138 -0
- package/lib/composite-comp/dito/components/SlideImage/index.js +86 -0
- package/lib/composite-comp/dito/components/SlideImage/pc/components/CardItem/index.js +105 -0
- package/lib/composite-comp/dito/components/SlideImage/pc/components/CardItem/index.less +5 -0
- package/lib/composite-comp/dito/components/SlideImage/pc/components/ParallaxScroll/index.js +170 -0
- package/lib/composite-comp/dito/components/SlideImage/pc/components/ParallaxScroll/index.less +23 -0
- package/lib/composite-comp/dito/components/SlideImage/pc/components/VideoItem/imgs/cursor.png +0 -0
- package/lib/composite-comp/dito/components/SlideImage/pc/components/VideoItem/imgs/d.png +0 -0
- package/lib/composite-comp/dito/components/SlideImage/pc/components/VideoItem/index.js +176 -0
- package/lib/composite-comp/dito/components/SlideImage/pc/components/VideoItem/index.less +61 -0
- package/lib/composite-comp/dito/components/SlideImage/pc/index.js +76 -0
- package/lib/composite-comp/dito/config-panels/BargainConfig/FlashDealConfigContent/index.js +7 -0
- package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.js +7 -0
- package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigTitle/index.js +7 -20
- package/lib/composite-comp/dito/config-panels/FlashDealConfig/index.js +15 -1
- package/lib/composite-comp/dito/config-panels/GroupBuyConfig/GroupBuyConfigContent/index.js +7 -0
- package/lib/composite-comp/dito/config-panels/GroupedCarouselConfig/ConfigGroup/index.js +149 -0
- package/lib/composite-comp/dito/config-panels/GroupedCarouselConfig/ConfigGroup/index.less +16 -0
- package/lib/composite-comp/dito/config-panels/GroupedCarouselConfig/ConfigTitle/index.js +93 -0
- package/lib/composite-comp/dito/config-panels/GroupedCarouselConfig/ConfigTitle/index.less +0 -0
- package/lib/composite-comp/dito/config-panels/GroupedCarouselConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/dito/config-panels/GroupedCarouselConfig/index.js +114 -0
- package/lib/composite-comp/dito/config-panels/NewsConfig/ConfigGroup/index.js +148 -0
- package/lib/composite-comp/dito/config-panels/NewsConfig/ConfigGroup/index.less +16 -0
- package/lib/composite-comp/dito/config-panels/NewsConfig/ConfigTitle/index.js +101 -0
- package/lib/composite-comp/dito/config-panels/NewsConfig/ConfigTitle/index.less +0 -0
- package/lib/composite-comp/dito/config-panels/NewsConfig/imgs/defaultImg.png +0 -0
- package/{es/composite-comp/dito/config-panels/OrdersConfig → lib/composite-comp/dito/config-panels/NewsConfig}/index.js +40 -40
- package/lib/composite-comp/dito/config-panels/PersonalInformationConfig/ConfigDecoration/index.js +91 -0
- package/lib/composite-comp/dito/config-panels/PersonalInformationConfig/ConfigDecoration/index.less +9 -0
- package/lib/composite-comp/dito/config-panels/{OrdersConfig/ConfigGroup → PersonalInformationConfig/OrdersConfigGroup}/index.js +2 -2
- package/lib/composite-comp/dito/config-panels/PersonalInformationConfig/index.js +23 -5
- package/lib/composite-comp/dito/config-panels/RecommendConfig/RecommendConfigContent/index.js +17 -1
- package/lib/composite-comp/dito/config-panels/RecommendConfig/index.js +10 -3
- package/lib/composite-comp/dito/config-panels/SearchBannerConfig/ConfigContent/index.js +197 -0
- package/lib/composite-comp/dito/config-panels/SearchBannerConfig/ConfigContent/index.less +7 -0
- package/lib/composite-comp/dito/config-panels/SearchBannerConfig/ConfigImageGroup/index.js +148 -0
- package/lib/composite-comp/dito/config-panels/SearchBannerConfig/ConfigImageGroup/index.less +0 -0
- package/lib/composite-comp/dito/config-panels/SearchBannerConfig/ConfigSetting/index.js +226 -0
- package/lib/composite-comp/dito/config-panels/SearchBannerConfig/ConfigSetting/index.less +9 -0
- package/lib/composite-comp/dito/config-panels/SearchBannerConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/dito/config-panels/SearchBannerConfig/index.js +65 -0
- package/lib/composite-comp/dito/config-panels/SearchDITOConfig/ConfigContent/index.js +165 -0
- package/lib/composite-comp/dito/config-panels/SearchDITOConfig/ConfigContent/index.less +7 -0
- package/lib/composite-comp/dito/config-panels/SearchDITOConfig/ConfigImageGroup/index.js +179 -0
- package/lib/composite-comp/dito/config-panels/SearchDITOConfig/ConfigImageGroup/index.less +0 -0
- package/lib/composite-comp/dito/config-panels/SearchDITOConfig/ConfigSetting/index.js +181 -0
- package/lib/composite-comp/dito/config-panels/SearchDITOConfig/ConfigSetting/index.less +9 -0
- package/lib/composite-comp/dito/config-panels/SearchDITOConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/dito/config-panels/SearchDITOConfig/index.js +69 -0
- package/lib/composite-comp/dito/config-panels/SlideImageConfig/ConfigGroup/index.js +150 -0
- package/lib/composite-comp/dito/config-panels/SlideImageConfig/ConfigGroup/index.less +16 -0
- package/lib/composite-comp/dito/config-panels/SlideImageConfig/imgs/defaultImg.png +0 -0
- package/lib/composite-comp/dito/config-panels/SlideImageConfig/index.js +134 -0
- package/lib/composite-comp/dito/second-config-panels/GroupedCarouselSecondConfig/index.js +196 -0
- package/lib/composite-comp/dito/second-config-panels/NewsSecondConfig/index.js +133 -0
- package/lib/composite-comp/dito/second-config-panels/NewsSecondConfig/index.less +8 -0
- package/lib/composite-comp/dito/second-config-panels/PersonalInformationSecondConfig/index.js +64 -1
- package/lib/composite-comp/dito/second-config-panels/SearchBannerSecondConfig/index.js +98 -0
- package/lib/composite-comp/dito/second-config-panels/SearchDITOSecondConfig/index.js +366 -0
- package/lib/composite-comp/dito/second-config-panels/SearchDITOSecondConfig/index.less +79 -0
- package/lib/composite-comp/dito/second-config-panels/SlideImageSecondConfig/index.js +243 -0
- package/lib/composite-comp/dito/second-config-panels/SlideImageSecondConfig/index.less +71 -0
- package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/index.js +4 -3
- package/lib/composite-comp/nuri/components/AffiliateRecommend/mobile/index.js +1 -1
- package/lib/composite-comp/nuri/components/AffiliateRecommend/mobile/index.less +15 -15
- package/lib/composite-comp/public/components/Stores/mobile/index.less +3 -0
- package/lib/constants/component-types.js +33 -9
- package/lib/constants/index.js +44 -20
- package/lib/constants/layout.js +46 -2
- package/lib/core/Designer/ConfigPanel/index.js +18 -1
- package/lib/core/Designer/index.js +2 -2
- package/lib/core/Renderer/index.js +37 -2
- package/lib/decorator/compositeDecorator.js +14 -4
- package/lib/decorator/metaDecorator.js +1 -2
- package/lib/locale/ar/ar.json +18 -1
- package/lib/locale/en/en.json +18 -1
- package/lib/locale/es/es.json +18 -1
- package/lib/locale/mn/mn.json +4 -0
- package/lib/meta-comp/components/Button/editable.js +3 -1
- package/lib/meta-comp/components/Button/index.js +13 -4
- package/lib/meta-comp/components/Button/index.less +8 -1
- package/lib/meta-comp/components/Image/index.js +7 -2
- package/lib/meta-comp/components/Image/index.less +7 -0
- package/lib/meta-comp/components/Text/index.js +6 -2
- package/lib/meta-comp/components/Text/index.less +3 -0
- package/lib/mobx/Frame.js +12 -1
- package/lib/mobx/Store.js +12 -0
- package/lib/utils/androidUtil.js +10 -2
- package/lib/utils/businessUtil.js +218 -3
- package/lib/utils/commonUtil.js +155 -4
- package/lib/utils/coreUtil.js +59 -4
- package/lib/utils/messageUtil.js +40 -0
- package/lib/utils/pluginsUtil.js +1 -0
- package/package.json +5 -2
- package/es/composite-comp/dito/components/FlashDeal/pc/imgs/defImg1.png +0 -0
- package/es/composite-comp/dito/components/FlashDeal/pc/imgs/defImg2.png +0 -0
- package/es/composite-comp/dito/components/FlashDeal/pc/imgs/defImg3.png +0 -0
- package/es/composite-comp/dito/components/Orders/mobile/index.js +0 -352
- package/es/composite-comp/dito/components/Orders/mobile/index.less +0 -86
- package/es/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.less +0 -9
- package/lib/composite-comp/dito/components/FlashDeal/pc/imgs/defImg1.png +0 -0
- package/lib/composite-comp/dito/components/FlashDeal/pc/imgs/defImg2.png +0 -0
- package/lib/composite-comp/dito/components/FlashDeal/pc/imgs/defImg3.png +0 -0
- package/lib/composite-comp/dito/components/Orders/mobile/index.js +0 -352
- package/lib/composite-comp/dito/components/Orders/mobile/index.less +0 -86
- package/lib/composite-comp/dito/second-config-panels/OrdersSecondConfig/index.less +0 -9
- /package/es/composite-comp/dito/config-panels/PersonalInformationConfig/{ConfigGroup → PersonInfoConfigGroup}/index.js +0 -0
- /package/lib/composite-comp/dito/config-panels/PersonalInformationConfig/{ConfigGroup → PersonInfoConfigGroup}/index.js +0 -0
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
.slide_image_second_conf_wrap {
|
|
2
|
+
.input-url {
|
|
3
|
+
width: 100%;
|
|
4
|
+
height: 40px;
|
|
5
|
+
background: #FFFFFF;
|
|
6
|
+
border: 1px solid #D2D9E5;
|
|
7
|
+
border-radius: 8px;
|
|
8
|
+
display: flex;
|
|
9
|
+
padding: 9px 14px;
|
|
10
|
+
display: flex;
|
|
11
|
+
align-items: center;
|
|
12
|
+
|
|
13
|
+
input {
|
|
14
|
+
border: none;
|
|
15
|
+
outline: none;
|
|
16
|
+
height: 24px;
|
|
17
|
+
flex-grow: 1;
|
|
18
|
+
font-family: 'Open Sans';
|
|
19
|
+
font-style: normal;
|
|
20
|
+
font-weight: 400;
|
|
21
|
+
font-size: 14px;
|
|
22
|
+
color: #232F46;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/* 使用webkit内核的浏览器 */
|
|
26
|
+
input::-webkit-input-placeholder {
|
|
27
|
+
font-family: 'Open Sans';
|
|
28
|
+
font-style: normal;
|
|
29
|
+
font-weight: 400;
|
|
30
|
+
font-size: 14px;
|
|
31
|
+
color: #8493AF;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/* Firefox版本4-18 */
|
|
35
|
+
input:-moz-placeholder {
|
|
36
|
+
font-family: 'Open Sans';
|
|
37
|
+
font-style: normal;
|
|
38
|
+
font-weight: 400;
|
|
39
|
+
font-size: 14px;
|
|
40
|
+
color: #8493AF;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/* Firefox版本19+ */
|
|
44
|
+
input::-moz-placeholder {
|
|
45
|
+
font-family: 'Open Sans';
|
|
46
|
+
font-style: normal;
|
|
47
|
+
font-weight: 400;
|
|
48
|
+
font-size: 14px;
|
|
49
|
+
color: #8493AF;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/* IE浏览器 */
|
|
53
|
+
input:-ms-input-placeholder {
|
|
54
|
+
font-family: 'Open Sans';
|
|
55
|
+
font-style: normal;
|
|
56
|
+
font-weight: 400;
|
|
57
|
+
font-size: 14px;
|
|
58
|
+
color: #8493AF;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.icon-btns {
|
|
62
|
+
display: flex;
|
|
63
|
+
align-items: center;
|
|
64
|
+
|
|
65
|
+
&>span {
|
|
66
|
+
margin-left: 12px;
|
|
67
|
+
cursor: pointer;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -834,7 +834,7 @@ function (_super) {
|
|
|
834
834
|
});
|
|
835
835
|
}
|
|
836
836
|
|
|
837
|
-
(0, _coreUtil.clickUrl)("
|
|
837
|
+
(0, _coreUtil.clickUrl)("/product/browse/" + item.offerId);
|
|
838
838
|
},
|
|
839
839
|
panelProps: panelProps.content,
|
|
840
840
|
showProgress: false
|
|
@@ -868,9 +868,10 @@ function (_super) {
|
|
|
868
868
|
/** PTO 定制GA */
|
|
869
869
|
if (window.magicDesign.pushGA) {
|
|
870
870
|
window.magicDesign.pushGA({}, 'select_item', item);
|
|
871
|
-
}
|
|
871
|
+
} // clickUrl(`proDetail-${item.offerId}-${item.sppProductId || item.productId || ''}`);
|
|
872
|
+
|
|
872
873
|
|
|
873
|
-
(0, _coreUtil.clickUrl)("
|
|
874
|
+
(0, _coreUtil.clickUrl)("/product/browse/" + item.offerId);
|
|
874
875
|
},
|
|
875
876
|
panelProps: panelProps.content,
|
|
876
877
|
showProgress: false
|
|
@@ -553,7 +553,7 @@ function (_super) {
|
|
|
553
553
|
if (layout === 'layout1' && contentWidth) imgHeight = (contentWidth - 12) / 2;
|
|
554
554
|
if (layout === 'layout3' && contentWidth) imgHeight = (contentWidth - 12 * 2) / 3;
|
|
555
555
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
556
|
-
className: "m-recommend-mobile recommend_" + panelProps.id
|
|
556
|
+
className: "m-affiliate-recommend-mobile recommend_" + panelProps.id
|
|
557
557
|
}, !hideTabs && /*#__PURE__*/_react["default"].createElement("div", {
|
|
558
558
|
className: "tab-select-wrap"
|
|
559
559
|
}, groupSource.map(function (tab, index) {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
.m-recommend-mobile {
|
|
1
|
+
.m-affiliate-recommend-mobile {
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
}
|
|
5
|
-
.m-recommend-mobile .cylon-tabs-nav-operations {
|
|
5
|
+
.m-affiliate-recommend-mobile .cylon-tabs-nav-operations {
|
|
6
6
|
display: none !important;
|
|
7
7
|
}
|
|
8
|
-
.m-recommend-mobile ::-webkit-scrollbar {
|
|
8
|
+
.m-affiliate-recommend-mobile ::-webkit-scrollbar {
|
|
9
9
|
width: 0;
|
|
10
10
|
height: 0;
|
|
11
11
|
display: none;
|
|
12
12
|
}
|
|
13
|
-
.m-recommend-mobile .tab-select-wrap {
|
|
13
|
+
.m-affiliate-recommend-mobile .tab-select-wrap {
|
|
14
14
|
display: flex;
|
|
15
15
|
align-items: center;
|
|
16
16
|
height: 1rem;
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
position: relative;
|
|
20
20
|
margin-bottom: 0.3rem;
|
|
21
21
|
}
|
|
22
|
-
.m-recommend-mobile .tab-select-wrap .tabTitle {
|
|
22
|
+
.m-affiliate-recommend-mobile .tab-select-wrap .tabTitle {
|
|
23
23
|
display: flex;
|
|
24
24
|
align-items: center;
|
|
25
25
|
text-align: center;
|
|
@@ -30,12 +30,12 @@
|
|
|
30
30
|
white-space: nowrap;
|
|
31
31
|
flex-direction: column;
|
|
32
32
|
}
|
|
33
|
-
.m-recommend-mobile .tab-select-wrap .tabTitle img {
|
|
33
|
+
.m-affiliate-recommend-mobile .tab-select-wrap .tabTitle img {
|
|
34
34
|
height: 0.4rem;
|
|
35
35
|
width: 0.4rem;
|
|
36
36
|
margin-bottom: 0.04rem;
|
|
37
37
|
}
|
|
38
|
-
.m-recommend-mobile .tab-select-wrap .active-line {
|
|
38
|
+
.m-affiliate-recommend-mobile .tab-select-wrap .active-line {
|
|
39
39
|
position: absolute;
|
|
40
40
|
bottom: 0;
|
|
41
41
|
width: 4rem;
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
transition: 0.2s all linear;
|
|
45
45
|
border-radius: 0.03rem;
|
|
46
46
|
}
|
|
47
|
-
.m-recommend-mobile .macyContainer {
|
|
47
|
+
.m-affiliate-recommend-mobile .macyContainer {
|
|
48
48
|
display: flex;
|
|
49
49
|
margin: 0 0.32rem;
|
|
50
50
|
}
|
|
51
|
-
.m-recommend-mobile .scrollContainer {
|
|
51
|
+
.m-affiliate-recommend-mobile .scrollContainer {
|
|
52
52
|
display: flex;
|
|
53
53
|
flex-direction: row;
|
|
54
54
|
align-items: center;
|
|
@@ -56,26 +56,26 @@
|
|
|
56
56
|
overflow-x: auto;
|
|
57
57
|
padding-bottom: 0.3rem;
|
|
58
58
|
}
|
|
59
|
-
.m-recommend-mobile .scrollContainer.pl_140 {
|
|
59
|
+
.m-affiliate-recommend-mobile .scrollContainer.pl_140 {
|
|
60
60
|
padding-left: 2.8rem;
|
|
61
61
|
}
|
|
62
|
-
.m-recommend-mobile .scrollContainer .scrollProductList {
|
|
62
|
+
.m-affiliate-recommend-mobile .scrollContainer .scrollProductList {
|
|
63
63
|
display: flex;
|
|
64
64
|
flex-direction: row;
|
|
65
65
|
align-items: flex-start;
|
|
66
66
|
}
|
|
67
|
-
.m-recommend-mobile .scrollContainer .scrollProductList .productCard {
|
|
67
|
+
.m-affiliate-recommend-mobile .scrollContainer .scrollProductList .productCard {
|
|
68
68
|
margin-right: 0.24rem;
|
|
69
69
|
}
|
|
70
|
-
.m-recommend-mobile .scrollContainer .scrollProductListRow {
|
|
70
|
+
.m-affiliate-recommend-mobile .scrollContainer .scrollProductListRow {
|
|
71
71
|
display: flex;
|
|
72
72
|
flex-direction: row;
|
|
73
73
|
align-items: flex-start;
|
|
74
74
|
}
|
|
75
|
-
.m-recommend-mobile .scrollContainer .scrollProductListRow .productCardRow {
|
|
75
|
+
.m-affiliate-recommend-mobile .scrollContainer .scrollProductListRow .productCardRow {
|
|
76
76
|
margin-right: 0.16rem;
|
|
77
77
|
}
|
|
78
|
-
.m-recommend-mobile .btnSeeAll {
|
|
78
|
+
.m-affiliate-recommend-mobile .btnSeeAll {
|
|
79
79
|
display: block;
|
|
80
80
|
width: fit-content;
|
|
81
81
|
min-width: 1.6rem;
|
|
@@ -53,12 +53,20 @@ var _HeadNavigation = _interopRequireDefault(require("../composite-comp/dito/com
|
|
|
53
53
|
|
|
54
54
|
var _PersonalInformation = _interopRequireDefault(require("../composite-comp/dito/components/PersonalInformation"));
|
|
55
55
|
|
|
56
|
-
var _Orders = _interopRequireDefault(require("../composite-comp/dito/components/Orders"));
|
|
57
|
-
|
|
58
56
|
var _CommonFunctions = _interopRequireDefault(require("../composite-comp/dito/components/CommonFunctions"));
|
|
59
57
|
|
|
60
58
|
var _Bargain = _interopRequireDefault(require("../composite-comp/dito/components/Bargain"));
|
|
61
59
|
|
|
60
|
+
var _SearchBanner = _interopRequireDefault(require("../composite-comp/dito/components/SearchBanner"));
|
|
61
|
+
|
|
62
|
+
var _GroupedCarousel = _interopRequireDefault(require("../composite-comp/dito/components/GroupedCarousel"));
|
|
63
|
+
|
|
64
|
+
var _SlideImage = _interopRequireDefault(require("../composite-comp/dito/components/SlideImage"));
|
|
65
|
+
|
|
66
|
+
var _SearchDITO = _interopRequireDefault(require("../composite-comp/dito/components/SearchDITO"));
|
|
67
|
+
|
|
68
|
+
var _News = _interopRequireDefault(require("../composite-comp/dito/components/News"));
|
|
69
|
+
|
|
62
70
|
var _MonpayRecommend = _interopRequireDefault(require("../composite-comp/monpay/components/MonpayRecommend"));
|
|
63
71
|
|
|
64
72
|
var _MonpayFlashDeal = _interopRequireDefault(require("../composite-comp/monpay/components/MonpayFlashDeal"));
|
|
@@ -125,12 +133,20 @@ var _HeadNavigationConfig = _interopRequireDefault(require("../composite-comp/di
|
|
|
125
133
|
|
|
126
134
|
var _PersonalInformationConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/PersonalInformationConfig"));
|
|
127
135
|
|
|
128
|
-
var _OrdersConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/OrdersConfig"));
|
|
129
|
-
|
|
130
136
|
var _CommonFunctionsConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/CommonFunctionsConfig"));
|
|
131
137
|
|
|
132
138
|
var _BargainConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/BargainConfig"));
|
|
133
139
|
|
|
140
|
+
var _SearchBannerConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/SearchBannerConfig"));
|
|
141
|
+
|
|
142
|
+
var _GroupedCarouselConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/GroupedCarouselConfig"));
|
|
143
|
+
|
|
144
|
+
var _SlideImageConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/SlideImageConfig"));
|
|
145
|
+
|
|
146
|
+
var _SearchDITOConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/SearchDITOConfig"));
|
|
147
|
+
|
|
148
|
+
var _NewsConfig = _interopRequireDefault(require("../composite-comp/dito/config-panels/NewsConfig"));
|
|
149
|
+
|
|
134
150
|
var _MonpayRecommendConfig = _interopRequireDefault(require("../composite-comp/monpay/config-panels/MonpayRecommendConfig"));
|
|
135
151
|
|
|
136
152
|
var _MonpayFlashDealConfig = _interopRequireDefault(require("../composite-comp/monpay/config-panels/MonpayFlashDealConfig"));
|
|
@@ -183,10 +199,18 @@ var _HeadNavigationSecondConfig = _interopRequireDefault(require("../composite-c
|
|
|
183
199
|
|
|
184
200
|
var _PersonalInformationSecondConfig = _interopRequireDefault(require("../composite-comp/dito/second-config-panels/PersonalInformationSecondConfig"));
|
|
185
201
|
|
|
186
|
-
var _OrdersSecondConfig = _interopRequireDefault(require("../composite-comp/dito/second-config-panels/OrdersSecondConfig"));
|
|
187
|
-
|
|
188
202
|
var _CommonFunctionsSecondConfig = _interopRequireDefault(require("../composite-comp/dito/second-config-panels/CommonFunctionsSecondConfig"));
|
|
189
203
|
|
|
204
|
+
var _SearchBannerSecondConfig = _interopRequireDefault(require("../composite-comp/dito/second-config-panels/SearchBannerSecondConfig"));
|
|
205
|
+
|
|
206
|
+
var _GroupedCarouselSecondConfig = _interopRequireDefault(require("../composite-comp/dito/second-config-panels/GroupedCarouselSecondConfig"));
|
|
207
|
+
|
|
208
|
+
var _SlideImageSecondConfig = _interopRequireDefault(require("../composite-comp/dito/second-config-panels/SlideImageSecondConfig"));
|
|
209
|
+
|
|
210
|
+
var _SearchDITOSecondConfig = _interopRequireDefault(require("../composite-comp/dito/second-config-panels/SearchDITOSecondConfig"));
|
|
211
|
+
|
|
212
|
+
var _NewsSecondConfig = _interopRequireDefault(require("../composite-comp/dito/second-config-panels/NewsSecondConfig"));
|
|
213
|
+
|
|
190
214
|
var _MonpayRecommendSecondConfig = _interopRequireDefault(require("../composite-comp/monpay/second-config-panels/MonpayRecommendSecondConfig"));
|
|
191
215
|
|
|
192
216
|
var _WalletSecondConfig = _interopRequireDefault(require("../composite-comp/public/second-config-panels/WalletSecondConfig"));
|
|
@@ -199,17 +223,17 @@ var _a, _b, _c; // 组件
|
|
|
199
223
|
/**
|
|
200
224
|
* 渲染组件索引
|
|
201
225
|
*/
|
|
202
|
-
var componentMap = (_a = {}, _a[_Banner["default"].type] = _Banner["default"], _a[_Video["default"].type] = _Video["default"], _a[_Text["default"].type] = _Text["default"], _a[_FlashDeal["default"].type] = _FlashDeal["default"], _a[_MonpayFlashDeal["default"].type] = _MonpayFlashDeal["default"], _a[_GroupBuy["default"].type] = _GroupBuy["default"], _a[_SearchBar["default"].type] = _SearchBar["default"], _a[_SignBoard["default"].type] = _SignBoard["default"], _a[_MenuNavigation["default"].type] = _MenuNavigation["default"], _a[_HeadNavigation["default"].type] = _HeadNavigation["default"], _a[_PersonalInformation["default"].type] = _PersonalInformation["default"], _a[
|
|
226
|
+
var componentMap = (_a = {}, _a[_Banner["default"].type] = _Banner["default"], _a[_Video["default"].type] = _Video["default"], _a[_Text["default"].type] = _Text["default"], _a[_FlashDeal["default"].type] = _FlashDeal["default"], _a[_MonpayFlashDeal["default"].type] = _MonpayFlashDeal["default"], _a[_GroupBuy["default"].type] = _GroupBuy["default"], _a[_SearchBar["default"].type] = _SearchBar["default"], _a[_SignBoard["default"].type] = _SignBoard["default"], _a[_MenuNavigation["default"].type] = _MenuNavigation["default"], _a[_HeadNavigation["default"].type] = _HeadNavigation["default"], _a[_PersonalInformation["default"].type] = _PersonalInformation["default"], _a[_CommonFunctions["default"].type] = _CommonFunctions["default"], _a[_ImageText["default"].type] = _ImageText["default"], _a[_Recommend["default"].type] = _Recommend["default"], _a[_AffiliateRecommend["default"].type] = _AffiliateRecommend["default"], _a[_MonpayRecommend["default"].type] = _MonpayRecommend["default"], _a[_InterestProducts["default"].type] = _InterestProducts["default"], _a[_Bundle["default"].type] = _Bundle["default"], _a[_MerchantSales["default"].type] = _MerchantSales["default"], _a[_MobileNavigation["default"].type] = _MobileNavigation["default"], _a[_PcNavigation["default"].type] = _PcNavigation["default"], _a[_Divider["default"].type] = _Divider["default"], _a[_ImageGallery["default"].type] = _ImageGallery["default"], _a[_Newsletter["default"].type] = _Newsletter["default"], _a[_Carousel["default"].type] = _Carousel["default"], _a[_Button["default"].type] = _Button["default"], _a[_Tag["default"].type] = _Tag["default"], _a[_WalletAshita["default"].type] = _WalletAshita["default"], _a[_WalletNuri["default"].type] = _WalletNuri["default"], _a[_Wallet["default"].type] = _Wallet["default"], _a[_CustomCode["default"].type] = _CustomCode["default"], _a[_Location["default"].type] = _Location["default"], _a[_Stores["default"].type] = _Stores["default"], _a[_Bargain["default"].type] = _Bargain["default"], _a[_MonpaySignBoard["default"].type] = _MonpaySignBoard["default"], _a[_SearchBanner["default"].type] = _SearchBanner["default"], _a[_GroupedCarousel["default"].type] = _GroupedCarousel["default"], _a[_SlideImage["default"].type] = _SlideImage["default"], _a[_SearchDITO["default"].type] = _SearchDITO["default"], _a[_News["default"].type] = _News["default"], _a);
|
|
203
227
|
/**
|
|
204
228
|
* 一级配置面板索引
|
|
205
229
|
*/
|
|
206
230
|
|
|
207
231
|
exports.componentMap = componentMap;
|
|
208
|
-
var configPanelMap = (_b = {}, _b[_Banner["default"].type] = _BannerConfig["default"], _b[_Video["default"].type] = _VideoConfig["default"], _b[_Text["default"].type] = _TextCompConfig["default"], _b[_FlashDeal["default"].type] = _FlashDealConfig["default"], _b[_MonpayFlashDeal["default"].type] = _MonpayFlashDealConfig["default"], _b[_GroupBuy["default"].type] = _GroupBuyConfig["default"], _b[_SearchBar["default"].type] = _SearchBarConfig["default"], _b[_SignBoard["default"].type] = _SignBoardConfig["default"], _b[_MenuNavigation["default"].type] = _MenuNavigationConfig["default"], _b[_HeadNavigation["default"].type] = _HeadNavigationConfig["default"], _b[_PersonalInformation["default"].type] = _PersonalInformationConfig["default"], _b[
|
|
232
|
+
var configPanelMap = (_b = {}, _b[_Banner["default"].type] = _BannerConfig["default"], _b[_Video["default"].type] = _VideoConfig["default"], _b[_Text["default"].type] = _TextCompConfig["default"], _b[_FlashDeal["default"].type] = _FlashDealConfig["default"], _b[_MonpayFlashDeal["default"].type] = _MonpayFlashDealConfig["default"], _b[_GroupBuy["default"].type] = _GroupBuyConfig["default"], _b[_SearchBar["default"].type] = _SearchBarConfig["default"], _b[_SignBoard["default"].type] = _SignBoardConfig["default"], _b[_MenuNavigation["default"].type] = _MenuNavigationConfig["default"], _b[_HeadNavigation["default"].type] = _HeadNavigationConfig["default"], _b[_PersonalInformation["default"].type] = _PersonalInformationConfig["default"], _b[_CommonFunctions["default"].type] = _CommonFunctionsConfig["default"], _b[_ImageText["default"].type] = _ImageTextConfig["default"], _b[_Recommend["default"].type] = _RecommendConfig["default"], _b[_AffiliateRecommend["default"].type] = _AffiliateRecommendConfig["default"], _b[_MonpayRecommend["default"].type] = _MonpayRecommendConfig["default"], _b[_InterestProducts["default"].type] = _InterestProductsConfig["default"], _b[_Bundle["default"].type] = _BundleConfig["default"], _b[_MerchantSales["default"].type] = _MerchantSalesConfig["default"], _b[_MobileNavigation["default"].type] = _MobileNavigationConfig["default"], _b[_PcNavigation["default"].type] = _PcNavigationConfig["default"], _b[_Divider["default"].type] = _DividerConfig["default"], _b[_ImageGallery["default"].type] = _ImageGalleryConfig["default"], _b[_Newsletter["default"].type] = _NewsletterConfig["default"], _b[_Carousel["default"].type] = _CarouselConfig["default"], _b[_Button["default"].type] = _ButtonCompConfig["default"], _b[_Tag["default"].type] = _TagCompConfig["default"], _b[_WalletAshita["default"].type] = _WalletAshitaConfig["default"], _b[_WalletNuri["default"].type] = _WalletNuriConfig["default"], _b[_Wallet["default"].type] = _WalletConfig["default"], _b[_CustomCode["default"].type] = _CustomCodeConfig["default"], _b[_Location["default"].type] = _LocationConfig["default"], _b[_Stores["default"].type] = _StoresConfig["default"], _b[_Bargain["default"].type] = _BargainConfig["default"], _b[_MonpaySignBoard["default"].type] = _MonpaySignBoardConfig["default"], _b[_SearchBanner["default"].type] = _SearchBannerConfig["default"], _b[_GroupedCarousel["default"].type] = _GroupedCarouselConfig["default"], _b[_SlideImage["default"].type] = _SlideImageConfig["default"], _b[_SearchDITO["default"].type] = _SearchDITOConfig["default"], _b[_News["default"].type] = _NewsConfig["default"], _b);
|
|
209
233
|
/**
|
|
210
234
|
* 二级配置面板索引
|
|
211
235
|
*/
|
|
212
236
|
|
|
213
237
|
exports.configPanelMap = configPanelMap;
|
|
214
|
-
var secondConfigPanelMap = (_c = {}, _c[_Banner["default"].type] = _BannerSecondConfig["default"], _c[_Video["default"].type] = _VideoSecondConfig["default"], _c[_Text["default"].type] = _TextSecondConfig["default"], _c[_ImageText["default"].type] = _ImageTextSecondConfig["default"], _c[_Recommend["default"].type] = _RecommendSecondConfig["default"], _c[_AffiliateRecommend["default"].type] = _AffiliateRecommendSecondConfig["default"], _c[_MonpayRecommend["default"].type] = _MonpayRecommendSecondConfig["default"], _c[_MobileNavigation["default"].type] = _MobileNavigationSecondConfig["default"], _c[_PcNavigation["default"].type] = _PcNavigationSecondConfig["default"], _c[_MenuNavigation["default"].type] = _MenuNavigationSecondConfig["default"], _c[_HeadNavigation["default"].type] = _HeadNavigationSecondConfig["default"], _c[_PersonalInformation["default"].type] = _PersonalInformationSecondConfig["default"], _c[
|
|
238
|
+
var secondConfigPanelMap = (_c = {}, _c[_Banner["default"].type] = _BannerSecondConfig["default"], _c[_Video["default"].type] = _VideoSecondConfig["default"], _c[_Text["default"].type] = _TextSecondConfig["default"], _c[_ImageText["default"].type] = _ImageTextSecondConfig["default"], _c[_Recommend["default"].type] = _RecommendSecondConfig["default"], _c[_AffiliateRecommend["default"].type] = _AffiliateRecommendSecondConfig["default"], _c[_MonpayRecommend["default"].type] = _MonpayRecommendSecondConfig["default"], _c[_MobileNavigation["default"].type] = _MobileNavigationSecondConfig["default"], _c[_PcNavigation["default"].type] = _PcNavigationSecondConfig["default"], _c[_MenuNavigation["default"].type] = _MenuNavigationSecondConfig["default"], _c[_HeadNavigation["default"].type] = _HeadNavigationSecondConfig["default"], _c[_PersonalInformation["default"].type] = _PersonalInformationSecondConfig["default"], _c[_CommonFunctions["default"].type] = _CommonFunctionsSecondConfig["default"], _c[_Carousel["default"].type] = _CarouselSecondConfig["default"], _c[_ImageGallery["default"].type] = _ImageGallerySecondConfig["default"], _c[_Tag["default"].type] = _TagSecondConfig["default"], _c[_Button["default"].type] = _ButtonSecondConfig["default"], _c[_WalletAshita["default"].type] = _WalletAshitaSecondConfig["default"], _c[_WalletNuri["default"].type] = _WalletNuriSecondConfig["default"], _c[_Wallet["default"].type] = _WalletSecondConfig["default"], _c[_SearchBanner["default"].type] = _SearchBannerSecondConfig["default"], _c[_GroupedCarousel["default"].type] = _GroupedCarouselSecondConfig["default"], _c[_SlideImage["default"].type] = _SlideImageSecondConfig["default"], _c[_SearchDITO["default"].type] = _SearchDITOSecondConfig["default"], _c[_News["default"].type] = _NewsSecondConfig["default"], _c);
|
|
215
239
|
exports.secondConfigPanelMap = secondConfigPanelMap;
|
package/lib/constants/index.js
CHANGED
|
@@ -4,9 +4,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.walletType = exports.urlTypeMap = exports.urlType = exports.tempTypeMap = exports.sppTypeMap = exports.respCodeMap = exports.quickMenuCode = exports.projectFontFamily = exports.projectCodes = exports.personalInfoType = exports.partyTypeMap = exports.pageStateMap = exports.otherFontWeightList = exports.orderStatusType = exports.metaType = exports.metaInst = exports.metaInsType = exports.magicMode = exports.fontWeightList = exports.fontFamilyList = exports.eventType = exports.deviceTypeWidthMap = exports.deviceTypeMap = exports.compInfoMap = exports.campaignTypes = exports.baseUrlMap = exports.STORE_KEY = exports.STORAGE_KEY = exports.ORDER_TYPE = exports.CREDIT_STATE = void 0;
|
|
7
|
-
|
|
8
|
-
var _locale = require("../locale");
|
|
9
|
-
|
|
10
7
|
var STORAGE_KEY = {
|
|
11
8
|
FISHX_LOCALE: 'fishx_locale',
|
|
12
9
|
LOCALE: 'ZSMART_LOCALE',
|
|
@@ -65,41 +62,47 @@ var personalInfoType = {
|
|
|
65
62
|
};
|
|
66
63
|
exports.personalInfoType = personalInfoType;
|
|
67
64
|
var fontFamilyList = [{
|
|
68
|
-
name:
|
|
65
|
+
name: 'Montserrat',
|
|
69
66
|
value: 'Montserrat'
|
|
70
67
|
}, {
|
|
71
|
-
name:
|
|
68
|
+
name: 'Open Sans',
|
|
72
69
|
value: 'Open Sans'
|
|
73
70
|
}, {
|
|
74
|
-
name:
|
|
71
|
+
name: 'Inter',
|
|
75
72
|
value: 'Inter'
|
|
76
73
|
}, {
|
|
77
|
-
name:
|
|
74
|
+
name: 'Roboto',
|
|
78
75
|
value: 'Roboto'
|
|
76
|
+
}, {
|
|
77
|
+
name: 'Avenir Next',
|
|
78
|
+
value: 'AvenirNext'
|
|
79
|
+
}, {
|
|
80
|
+
name: 'Default',
|
|
81
|
+
value: ''
|
|
79
82
|
}];
|
|
80
83
|
exports.fontFamilyList = fontFamilyList;
|
|
81
84
|
var fontWeightList = [{
|
|
82
|
-
name:
|
|
85
|
+
name: 'Regular',
|
|
83
86
|
value: 400
|
|
84
87
|
}, {
|
|
85
|
-
name:
|
|
88
|
+
name: 'Medium',
|
|
86
89
|
value: 500
|
|
87
90
|
}, {
|
|
88
|
-
name:
|
|
91
|
+
name: 'Semibold',
|
|
89
92
|
value: 600
|
|
90
93
|
}, {
|
|
91
|
-
name:
|
|
94
|
+
name: 'Bold',
|
|
92
95
|
value: 700
|
|
93
96
|
}];
|
|
94
97
|
exports.fontWeightList = fontWeightList;
|
|
95
98
|
var otherFontWeightList = [{
|
|
96
|
-
name:
|
|
99
|
+
name: 'Regular',
|
|
97
100
|
value: 400
|
|
98
101
|
}, {
|
|
99
|
-
name:
|
|
102
|
+
name: 'Semibold',
|
|
100
103
|
value: 600
|
|
101
104
|
}, {
|
|
102
|
-
name:
|
|
105
|
+
name: 'Bold',
|
|
103
106
|
value: 700
|
|
104
107
|
}];
|
|
105
108
|
exports.otherFontWeightList = otherFontWeightList;
|
|
@@ -168,7 +171,9 @@ var urlTypeMap = {
|
|
|
168
171
|
INTERESTED_PRODUCTS: 'InterestedProducts',
|
|
169
172
|
MERCHANT_STORY: 'MerchantStory',
|
|
170
173
|
AFFILIATE_MISSION_DETAIL: 'AffiliateMissionDetail',
|
|
171
|
-
BUSINESS_TYPE: 'Business Type'
|
|
174
|
+
BUSINESS_TYPE: 'Business Type',
|
|
175
|
+
PRODUCT_LIST: 'ProductList',
|
|
176
|
+
CARD_PRODUCT_LIST: 'ProductList'
|
|
172
177
|
};
|
|
173
178
|
exports.urlTypeMap = urlTypeMap;
|
|
174
179
|
var respCodeMap = {
|
|
@@ -343,13 +348,29 @@ var compInfoMap = {
|
|
|
343
348
|
name: 'Personal Information',
|
|
344
349
|
icon: 'icon-account'
|
|
345
350
|
},
|
|
346
|
-
ORDERS: {
|
|
347
|
-
name: 'Orders',
|
|
348
|
-
icon: 'icon-orders'
|
|
349
|
-
},
|
|
350
351
|
COMMON_FUNCTIONS: {
|
|
351
352
|
name: 'Common Functions',
|
|
352
353
|
icon: 'icon-function'
|
|
354
|
+
},
|
|
355
|
+
SEARCH_BANNER: {
|
|
356
|
+
name: 'Search Banner',
|
|
357
|
+
icon: 'icon-carousel'
|
|
358
|
+
},
|
|
359
|
+
GROUPED_CAROUSEL: {
|
|
360
|
+
name: 'Grouped Carousel',
|
|
361
|
+
icon: 'icon-image-gallery'
|
|
362
|
+
},
|
|
363
|
+
SLIDE_IMAGE: {
|
|
364
|
+
name: 'Slide Image',
|
|
365
|
+
icon: 'icon-three-column'
|
|
366
|
+
},
|
|
367
|
+
SEARCH_DITO: {
|
|
368
|
+
name: 'Search DITO',
|
|
369
|
+
icon: 'icon-carousel'
|
|
370
|
+
},
|
|
371
|
+
NEWS: {
|
|
372
|
+
name: 'News',
|
|
373
|
+
icon: 'icon-filled-image'
|
|
353
374
|
}
|
|
354
375
|
};
|
|
355
376
|
/**
|
|
@@ -452,7 +473,10 @@ var STORE_KEY = {
|
|
|
452
473
|
|
|
453
474
|
/** 确认订单商品信息 */
|
|
454
475
|
CHECKOUT_ORDER: 'orderItems',
|
|
455
|
-
IMAGE_MODAL_MENU_EXPANDED_INDEX: 'imageModalMenuExpandedIndex'
|
|
476
|
+
IMAGE_MODAL_MENU_EXPANDED_INDEX: 'imageModalMenuExpandedIndex',
|
|
477
|
+
|
|
478
|
+
/** 游客模式 临时购物车 */
|
|
479
|
+
TEMP_CART: 'TEMP_CART'
|
|
456
480
|
};
|
|
457
481
|
/** 订单来源 */
|
|
458
482
|
|
package/lib/constants/layout.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.videoPCLayout = exports.videoH5Layout = exports.textLayout = exports.tagLayout = exports.storesLayout = exports.searchLayout = exports.recommendLayoutPc = exports.recommendLayoutMobile = exports.pcNavigationLayout = exports.newsletterLayout = exports.monpaySignBoardLayout = exports.monpayRecommendLayoutMobile = exports.monpayFlashDealLayout = exports.mobileNavigationLayout = exports.merchantSalesLayout = exports.locationLayout = exports.interestLayout = exports.imageTextLayoutPc = exports.imageTextLayoutMobile = exports.imageGalleryLayout = exports.groupBuyLayout = exports.flashDealLayout = exports.dividerLayout = exports.defaultLayout = exports.carouselLayout = exports.buttonLayout = exports.bundleLayout = exports.bargainLayout = exports.bannerSlideLayout = exports.affiliateLayoutPc = exports.affiliateLayoutMobile = exports.WalletNuriLayout = exports.WalletLayout = void 0;
|
|
6
|
+
exports.videoPCLayout = exports.videoH5Layout = exports.textLayout = exports.tagLayout = exports.storesLayout = exports.slideImageLayout = exports.searchLayout = exports.searchDitoLayout = exports.recommendLayoutPc = exports.recommendLayoutMobile = exports.pcNavigationLayout = exports.pcFlashDealLayout = exports.newsletterLayout = exports.newsLayout = exports.monpaySignBoardLayout = exports.monpayRecommendLayoutMobile = exports.monpayFlashDealLayout = exports.mobileNavigationLayout = exports.merchantSalesLayout = exports.locationLayout = exports.interestLayout = exports.imageTextLayoutPc = exports.imageTextLayoutMobile = exports.imageGalleryLayout = exports.groupedCarouselLayout = exports.groupBuyLayout = exports.flashDealLayout = exports.dividerLayout = exports.defaultLayout = exports.carouselLayout = exports.buttonLayout = exports.bundleLayout = exports.bargainLayout = exports.bannerSlideLayout = exports.affiliateLayoutPc = exports.affiliateLayoutMobile = exports.WalletNuriLayout = exports.WalletLayout = void 0;
|
|
7
7
|
|
|
8
8
|
var _dividerLayout = _interopRequireDefault(require("../assets/images/layout-icon/dividerLayout.svg"));
|
|
9
9
|
|
|
@@ -95,6 +95,8 @@ var _bannerSlideLayout = _interopRequireDefault(require("../assets/images/layout
|
|
|
95
95
|
|
|
96
96
|
var _bannerSlideLayout2 = _interopRequireDefault(require("../assets/images/layout-icon/banner-slide-layout2.png"));
|
|
97
97
|
|
|
98
|
+
var _bannerSlideLayout3 = _interopRequireDefault(require("../assets/images/layout-icon/banner-slide-layout3.png"));
|
|
99
|
+
|
|
98
100
|
var _flashDealLayout = _interopRequireDefault(require("../assets/images/layout-icon/flash-deal-layout1.png"));
|
|
99
101
|
|
|
100
102
|
var _buttonLayout = _interopRequireDefault(require("../assets/images/layout-icon/buttonLayout1.png"));
|
|
@@ -125,6 +127,14 @@ var _center = _interopRequireDefault(require("../assets/images/layout-icon/cente
|
|
|
125
127
|
|
|
126
128
|
var _right = _interopRequireDefault(require("../assets/images/layout-icon/right.png"));
|
|
127
129
|
|
|
130
|
+
var _groupedCarouselLayout = _interopRequireDefault(require("../assets/images/layout-icon/grouped-carousel-layout1.png"));
|
|
131
|
+
|
|
132
|
+
var _slideImageLayout = _interopRequireDefault(require("../assets/images/layout-icon/slide-image-layout1.png"));
|
|
133
|
+
|
|
134
|
+
var _searchDitoLayout = _interopRequireDefault(require("../assets/images/layout-icon/search-dito-layout1.png"));
|
|
135
|
+
|
|
136
|
+
var _newsLayout = _interopRequireDefault(require("../assets/images/layout-icon/news-layout1.png"));
|
|
137
|
+
|
|
128
138
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
129
139
|
|
|
130
140
|
var defaultLayout = [{
|
|
@@ -395,6 +405,10 @@ var bannerSlideLayout = [{
|
|
|
395
405
|
id: 'layout2',
|
|
396
406
|
name: 'layout2',
|
|
397
407
|
image: _bannerSlideLayout2["default"]
|
|
408
|
+
}, {
|
|
409
|
+
id: 'layout3',
|
|
410
|
+
name: 'layout3',
|
|
411
|
+
image: _bannerSlideLayout3["default"]
|
|
398
412
|
}];
|
|
399
413
|
exports.bannerSlideLayout = bannerSlideLayout;
|
|
400
414
|
var monpaySignBoardLayout = [{
|
|
@@ -480,4 +494,34 @@ var storesLayout = [{
|
|
|
480
494
|
name: 'layout2',
|
|
481
495
|
image: _storesLayout2["default"]
|
|
482
496
|
}];
|
|
483
|
-
exports.storesLayout = storesLayout;
|
|
497
|
+
exports.storesLayout = storesLayout;
|
|
498
|
+
var pcFlashDealLayout = [{
|
|
499
|
+
id: 'layout1',
|
|
500
|
+
name: 'layout1',
|
|
501
|
+
image: _flashDealLayout["default"]
|
|
502
|
+
}];
|
|
503
|
+
exports.pcFlashDealLayout = pcFlashDealLayout;
|
|
504
|
+
var groupedCarouselLayout = [{
|
|
505
|
+
id: 'layout1',
|
|
506
|
+
name: 'layout1',
|
|
507
|
+
image: _groupedCarouselLayout["default"]
|
|
508
|
+
}];
|
|
509
|
+
exports.groupedCarouselLayout = groupedCarouselLayout;
|
|
510
|
+
var slideImageLayout = [{
|
|
511
|
+
id: 'layout1',
|
|
512
|
+
name: 'layout1',
|
|
513
|
+
image: _slideImageLayout["default"]
|
|
514
|
+
}];
|
|
515
|
+
exports.slideImageLayout = slideImageLayout;
|
|
516
|
+
var searchDitoLayout = [{
|
|
517
|
+
id: 'layout1',
|
|
518
|
+
name: 'layout1',
|
|
519
|
+
image: _searchDitoLayout["default"]
|
|
520
|
+
}];
|
|
521
|
+
exports.searchDitoLayout = searchDitoLayout;
|
|
522
|
+
var newsLayout = [{
|
|
523
|
+
id: 'layout1',
|
|
524
|
+
name: 'layout1',
|
|
525
|
+
image: _newsLayout["default"]
|
|
526
|
+
}];
|
|
527
|
+
exports.newsLayout = newsLayout;
|
|
@@ -73,6 +73,15 @@ var getSecondConfigName = function getSecondConfigName(selectedNode, clickedGrou
|
|
|
73
73
|
return src.id === clickedGroup;
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
+
if (!panelProps && selectedNode.groupSource2) {
|
|
77
|
+
panelProps = selectedNode.groupSource2.find(function (src) {
|
|
78
|
+
return src.id === clickedGroup;
|
|
79
|
+
});
|
|
80
|
+
panelIndex = selectedNode.groupSource2.findIndex(function (src) {
|
|
81
|
+
return src.id === clickedGroup;
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
|
|
76
85
|
if (!panelProps) {
|
|
77
86
|
return;
|
|
78
87
|
}
|
|
@@ -82,6 +91,7 @@ var getSecondConfigName = function getSecondConfigName(selectedNode, clickedGrou
|
|
|
82
91
|
switch (selectedNode.type) {
|
|
83
92
|
case 'IMAGE_GALLERY':
|
|
84
93
|
case 'BANNER':
|
|
94
|
+
case 'SEARCH_BANNER':
|
|
85
95
|
groupName = ''; // if (!groupName) {
|
|
86
96
|
// groupName = isPc() ? panelProps.image?.content?.pcName : panelProps.image?.content?.h5Name;
|
|
87
97
|
// }
|
|
@@ -132,7 +142,6 @@ var getSecondConfigName = function getSecondConfigName(selectedNode, clickedGrou
|
|
|
132
142
|
break;
|
|
133
143
|
|
|
134
144
|
case 'PERSONAL_INFOMATION':
|
|
135
|
-
case 'ORDERS':
|
|
136
145
|
groupName = panelProps.sourceType;
|
|
137
146
|
break;
|
|
138
147
|
}
|
|
@@ -290,6 +299,14 @@ function (_super) {
|
|
|
290
299
|
});
|
|
291
300
|
}, null);
|
|
292
301
|
|
|
302
|
+
if (!panelProps && (selectedNode === null || selectedNode === void 0 ? void 0 : selectedNode.groupSource2)) {
|
|
303
|
+
panelProps = (0, _commonUtil.ensure)(function () {
|
|
304
|
+
return selectedNode === null || selectedNode === void 0 ? void 0 : selectedNode.groupSource2.find(function (src) {
|
|
305
|
+
return src.id === _this.state.clickedGroup;
|
|
306
|
+
});
|
|
307
|
+
}, null);
|
|
308
|
+
}
|
|
309
|
+
|
|
293
310
|
if (panelProps) {
|
|
294
311
|
var instance = Clazz ? /*#__PURE__*/_react["default"].createElement(Clazz, {
|
|
295
312
|
panelProps: panelProps,
|
|
@@ -388,6 +388,8 @@ function (_super) {
|
|
|
388
388
|
|
|
389
389
|
_this.closeConfigPanel();
|
|
390
390
|
|
|
391
|
+
window.magicDesign.device = device;
|
|
392
|
+
|
|
391
393
|
_this.setState(__assign(__assign({}, _this.state), {
|
|
392
394
|
device: device
|
|
393
395
|
}));
|
|
@@ -397,8 +399,6 @@ function (_super) {
|
|
|
397
399
|
_mobx.store.setState({
|
|
398
400
|
clickedFloor: ''
|
|
399
401
|
});
|
|
400
|
-
|
|
401
|
-
window.magicDesign.device = device;
|
|
402
402
|
};
|
|
403
403
|
|
|
404
404
|
_this.onAdd = function () {
|