@fonixtree/magic-design 2.0.202 → 2.0.204
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/magic-box-iconfont.css +27 -3
- 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/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/CountDown/index.js +29 -2
- package/es/common/CountDown/index.less +38 -5
- 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 +24 -0
- package/es/composite-comp/common/components/ProductItem/index.js +15 -8
- package/es/composite-comp/common/components/ProductItem/index.less +7 -0
- package/es/composite-comp/common/config-panels/BackgroundConfig/index.js +15 -73
- package/es/composite-comp/common/config-panels/SpacingConfig/index.js +30 -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 +26 -12
- package/es/composite-comp/dito/components/FlashDeal/mobile/index.js +15 -14
- 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/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 +56 -2
- package/es/composite-comp/dito/components/PersonalInformation/mobile/index.js +147 -15
- package/es/composite-comp/dito/components/PersonalInformation/mobile/index.less +100 -8
- package/es/composite-comp/dito/components/Recommend/mobile/index.js +130 -14
- package/es/composite-comp/dito/components/SearchBanner/mobile/index.js +3 -11
- 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.js +114 -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/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/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/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/{OrdersConfig/ConfigGroup → PersonalInformationConfig/OrdersConfigGroup}/index.js +2 -2
- package/es/composite-comp/dito/config-panels/PersonalInformationConfig/index.js +14 -4
- package/es/composite-comp/dito/config-panels/RecommendConfig/index.js +10 -4
- 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/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/constants/component-types.js +27 -9
- package/es/constants/index.js +40 -20
- package/es/constants/layout.js +46 -2
- package/es/core/Designer/ConfigPanel/index.js +17 -1
- package/es/core/Renderer/index.js +37 -2
- package/es/decorator/compositeDecorator.js +5 -1
- package/es/decorator/metaDecorator.js +1 -2
- package/es/locale/ar/ar.json +11 -1
- package/es/locale/en/en.json +11 -1
- package/es/locale/es/es.json +11 -1
- 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/magic-box-iconfont.css +27 -3
- 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/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/CountDown/index.js +29 -2
- package/lib/common/CountDown/index.less +38 -5
- 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 +24 -0
- package/lib/composite-comp/common/components/ProductItem/index.js +15 -8
- package/lib/composite-comp/common/components/ProductItem/index.less +7 -0
- package/lib/composite-comp/common/config-panels/BackgroundConfig/index.js +15 -73
- package/lib/composite-comp/common/config-panels/SpacingConfig/index.js +30 -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 +26 -12
- package/lib/composite-comp/dito/components/FlashDeal/mobile/index.js +15 -14
- 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/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 +56 -2
- package/lib/composite-comp/dito/components/PersonalInformation/mobile/index.js +147 -15
- package/lib/composite-comp/dito/components/PersonalInformation/mobile/index.less +100 -8
- package/lib/composite-comp/dito/components/Recommend/mobile/index.js +130 -14
- package/lib/composite-comp/dito/components/SearchBanner/mobile/index.js +3 -11
- 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.js +114 -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/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/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/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/{OrdersConfig/ConfigGroup → PersonalInformationConfig/OrdersConfigGroup}/index.js +2 -2
- package/lib/composite-comp/dito/config-panels/PersonalInformationConfig/index.js +14 -4
- package/lib/composite-comp/dito/config-panels/RecommendConfig/index.js +10 -4
- 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/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/constants/component-types.js +27 -9
- package/lib/constants/index.js +40 -20
- package/lib/constants/layout.js +46 -2
- package/lib/core/Designer/ConfigPanel/index.js +17 -1
- package/lib/core/Renderer/index.js +37 -2
- package/lib/decorator/compositeDecorator.js +5 -1
- package/lib/decorator/metaDecorator.js +1 -2
- package/lib/locale/ar/ar.json +11 -1
- package/lib/locale/en/en.json +11 -1
- package/lib/locale/es/es.json +11 -1
- 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,197 @@
|
|
|
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 _classnames = _interopRequireDefault(require("classnames"));
|
|
11
|
+
|
|
12
|
+
var _commonUtil = require("../../../../../../utils/commonUtil");
|
|
13
|
+
|
|
14
|
+
var _currencyUtil = require("../../../../../../utils/currencyUtil");
|
|
15
|
+
|
|
16
|
+
var _common = require("../../../../../../common");
|
|
17
|
+
|
|
18
|
+
var _components = require("../../../../../../meta-comp/components");
|
|
19
|
+
|
|
20
|
+
var _businessUtil = require("../../../../../../utils/businessUtil");
|
|
21
|
+
|
|
22
|
+
require("./index.less");
|
|
23
|
+
|
|
24
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
25
|
+
|
|
26
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
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 __rest = void 0 && (void 0).__rest || function (s, e) {
|
|
71
|
+
var t = {};
|
|
72
|
+
|
|
73
|
+
for (var p in s) {
|
|
74
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
78
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
|
|
79
|
+
}
|
|
80
|
+
return t;
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
var ProductItem =
|
|
84
|
+
/** @class */
|
|
85
|
+
function (_super) {
|
|
86
|
+
__extends(ProductItem, _super);
|
|
87
|
+
|
|
88
|
+
function ProductItem() {
|
|
89
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
90
|
+
|
|
91
|
+
_this.state = {};
|
|
92
|
+
return _this;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
ProductItem.prototype.render = function () {
|
|
96
|
+
var _a = this.props,
|
|
97
|
+
data = _a.data,
|
|
98
|
+
panelProps = _a.panelProps,
|
|
99
|
+
onItemClick = _a.onItemClick,
|
|
100
|
+
unknownPrice = _a.unknownPrice,
|
|
101
|
+
rest = __rest(_a, ["data", "panelProps", "onItemClick", "unknownPrice"]);
|
|
102
|
+
|
|
103
|
+
var promotions = (0, _businessUtil.getPromotionList)(data);
|
|
104
|
+
var price = (0, _currencyUtil.formatCurrency)(data.salesPrice);
|
|
105
|
+
/** 当是拼团时 显示价格 */
|
|
106
|
+
|
|
107
|
+
if (data.sppType && promotions.length) {
|
|
108
|
+
price = data.specialPrice !== null ? (0, _currencyUtil.formatCurrency)(data.specialPrice) : (0, _currencyUtil.formatCurrency)(data.salesPrice);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
var integerPart = price;
|
|
112
|
+
var decimalPart = null;
|
|
113
|
+
|
|
114
|
+
if (unknownPrice) {
|
|
115
|
+
if (price.length > 5) {
|
|
116
|
+
integerPart = price.slice(0, -5).replace(/\d/g, '? ') + price.slice(-5);
|
|
117
|
+
} else {
|
|
118
|
+
integerPart = price.replace(/\d/, '? ');
|
|
119
|
+
}
|
|
120
|
+
} else if (Array.isArray(price)) {
|
|
121
|
+
integerPart = price[0];
|
|
122
|
+
decimalPart = price[1];
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
var pricePrefix = (0, _commonUtil.ensure)(function () {
|
|
126
|
+
return window.systemParams.prefix;
|
|
127
|
+
}, 'Rp');
|
|
128
|
+
|
|
129
|
+
var _price = integerPart + " " + (decimalPart ? '.' + decimalPart : '');
|
|
130
|
+
|
|
131
|
+
var oldPrice = data.marketPrice !== null ? (0, _currencyUtil.formatCurrencyWithSymbol)(data.marketPrice) : null;
|
|
132
|
+
return /*#__PURE__*/_react["default"].createElement("div", _extends({
|
|
133
|
+
className: (0, _classnames["default"])('m-pc-flash-product-item'),
|
|
134
|
+
onClick: function onClick() {
|
|
135
|
+
return onItemClick();
|
|
136
|
+
}
|
|
137
|
+
}, rest), /*#__PURE__*/_react["default"].createElement("div", {
|
|
138
|
+
className: "img-wrap"
|
|
139
|
+
}, /*#__PURE__*/_react["default"].createElement(_common.NewImg, {
|
|
140
|
+
className: "product-img",
|
|
141
|
+
lazy: true,
|
|
142
|
+
src: (0, _commonUtil.convertImageUrl)(data.productImg || data.imgUrlContent || data.productImageUrlContent)
|
|
143
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
144
|
+
className: "content-wrap"
|
|
145
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
146
|
+
className: "product-name-wrap"
|
|
147
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
148
|
+
className: "box"
|
|
149
|
+
}, panelProps.productName.open && /*#__PURE__*/_react["default"].createElement(_components.MetaText, {
|
|
150
|
+
data: __assign(__assign({}, panelProps.productName), {
|
|
151
|
+
text: data.offerName
|
|
152
|
+
}),
|
|
153
|
+
readonly: true
|
|
154
|
+
}))), (panelProps.activityPrice.open || panelProps.salesPrice.open) && /*#__PURE__*/_react["default"].createElement("div", {
|
|
155
|
+
className: "price-wrap"
|
|
156
|
+
}, panelProps.activityPrice.open && /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement("span", {
|
|
157
|
+
className: "prefix"
|
|
158
|
+
}, pricePrefix), /*#__PURE__*/_react["default"].createElement(_components.MetaText, {
|
|
159
|
+
className: "price",
|
|
160
|
+
data: __assign(__assign({}, panelProps.activityPrice), {
|
|
161
|
+
text: _price
|
|
162
|
+
}),
|
|
163
|
+
readonly: true
|
|
164
|
+
})), panelProps.salesPrice.open && oldPrice && /*#__PURE__*/_react["default"].createElement(_components.MetaText, {
|
|
165
|
+
className: "old-price",
|
|
166
|
+
data: __assign(__assign({}, panelProps.salesPrice), {
|
|
167
|
+
text: oldPrice
|
|
168
|
+
}),
|
|
169
|
+
readonly: true,
|
|
170
|
+
style: {
|
|
171
|
+
color: panelProps.salesPrice.content.color
|
|
172
|
+
}
|
|
173
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
174
|
+
className: "rate-sold-wrap"
|
|
175
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
176
|
+
className: "rate-wrap"
|
|
177
|
+
}, /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
|
|
178
|
+
color: "#FCD117",
|
|
179
|
+
size: 16,
|
|
180
|
+
type: "icon-star"
|
|
181
|
+
}), /*#__PURE__*/_react["default"].createElement("span", {
|
|
182
|
+
className: "rate-text"
|
|
183
|
+
}, (0, _currencyUtil.numberToFixed)(5.0, 1))), data.salesCnt > 0 && /*#__PURE__*/_react["default"].createElement("div", {
|
|
184
|
+
className: "sold-count"
|
|
185
|
+
}, (0, _commonUtil.convertCount)(data.salesCnt), " sold"))));
|
|
186
|
+
};
|
|
187
|
+
|
|
188
|
+
ProductItem.defaultProps = {
|
|
189
|
+
data: {},
|
|
190
|
+
panelProps: {},
|
|
191
|
+
layout: 'vertical'
|
|
192
|
+
};
|
|
193
|
+
return ProductItem;
|
|
194
|
+
}(_react["default"].Component);
|
|
195
|
+
|
|
196
|
+
var _default = ProductItem;
|
|
197
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
.m-pc-flash-product-item {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
background: #FFFFFF;
|
|
5
|
+
cursor: pointer;
|
|
6
|
+
position: relative;
|
|
7
|
+
width: 270px;
|
|
8
|
+
|
|
9
|
+
.img-wrap {
|
|
10
|
+
position: relative;
|
|
11
|
+
overflow: hidden;
|
|
12
|
+
border-radius: 16px;
|
|
13
|
+
border: 1px solid #E0E0E0;
|
|
14
|
+
|
|
15
|
+
.product-img {
|
|
16
|
+
width: 270px;
|
|
17
|
+
height: 270px;
|
|
18
|
+
object-fit: cover;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.content-wrap {
|
|
23
|
+
padding: 8px;
|
|
24
|
+
|
|
25
|
+
.product-name-wrap {
|
|
26
|
+
overflow: hidden;
|
|
27
|
+
text-overflow: ellipsis;
|
|
28
|
+
display: -webkit-box;
|
|
29
|
+
-webkit-box-orient: vertical;
|
|
30
|
+
-webkit-line-clamp: 2;
|
|
31
|
+
line-height: 24px;
|
|
32
|
+
height: 48px;
|
|
33
|
+
white-space: wrap;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.price-wrap {
|
|
37
|
+
display: flex;
|
|
38
|
+
align-items: baseline;
|
|
39
|
+
flex-wrap: wrap;
|
|
40
|
+
margin-top: 8px;
|
|
41
|
+
|
|
42
|
+
.prefix {
|
|
43
|
+
font-weight: 700;
|
|
44
|
+
font-size: 20px;
|
|
45
|
+
color: #CE1126;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.price {
|
|
49
|
+
width: auto !important;
|
|
50
|
+
white-space: nowrap;
|
|
51
|
+
overflow: hidden;
|
|
52
|
+
text-overflow: ellipsis;
|
|
53
|
+
margin-right: 8px;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.old-price {
|
|
57
|
+
text-decoration: line-through;
|
|
58
|
+
width: fit-content;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.rate-sold-wrap {
|
|
64
|
+
margin-top: 4px;
|
|
65
|
+
display: flex;
|
|
66
|
+
align-items: center;
|
|
67
|
+
|
|
68
|
+
.rate-wrap {
|
|
69
|
+
display: flex;
|
|
70
|
+
align-items: center;
|
|
71
|
+
|
|
72
|
+
.rate-text {
|
|
73
|
+
font-size: 16px;
|
|
74
|
+
font-weight: 500;
|
|
75
|
+
color: #666666;
|
|
76
|
+
margin-left: 4px;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.sold-count {
|
|
81
|
+
font-size: 16px;
|
|
82
|
+
font-weight: 500;
|
|
83
|
+
color: #666666;
|
|
84
|
+
margin-left: 10px;
|
|
85
|
+
display: flex;
|
|
86
|
+
align-items: center;
|
|
87
|
+
|
|
88
|
+
&:before {
|
|
89
|
+
content: '';
|
|
90
|
+
display: block;
|
|
91
|
+
width: 2px;
|
|
92
|
+
height: 16px;
|
|
93
|
+
background-color: #666666;
|
|
94
|
+
margin-right: 10px;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
}
|
|
@@ -13,7 +13,7 @@ var _lodash = _interopRequireDefault(require("lodash.throttle"));
|
|
|
13
13
|
|
|
14
14
|
var _defImg = _interopRequireDefault(require("./imgs/defImg.png"));
|
|
15
15
|
|
|
16
|
-
var _ProductItem = _interopRequireDefault(require("
|
|
16
|
+
var _ProductItem = _interopRequireDefault(require("./ProductItem"));
|
|
17
17
|
|
|
18
18
|
var _coreUtil = require("../../../../../utils/coreUtil");
|
|
19
19
|
|
|
@@ -474,40 +474,40 @@ function (_super) {
|
|
|
474
474
|
FlashDealPc.prototype.render = function () {
|
|
475
475
|
var _this = this;
|
|
476
476
|
|
|
477
|
+
var _a, _b;
|
|
478
|
+
|
|
477
479
|
var panelProps = this.props.panelProps;
|
|
478
|
-
var
|
|
479
|
-
list =
|
|
480
|
-
effDate =
|
|
481
|
-
expDate =
|
|
482
|
-
now =
|
|
483
|
-
isWill =
|
|
484
|
-
scrollToLeftDisabled =
|
|
485
|
-
scrollToRightDisabled =
|
|
480
|
+
var _c = this.state,
|
|
481
|
+
list = _c.list,
|
|
482
|
+
effDate = _c.effDate,
|
|
483
|
+
expDate = _c.expDate,
|
|
484
|
+
now = _c.now,
|
|
485
|
+
isWill = _c.isWill,
|
|
486
|
+
scrollToLeftDisabled = _c.scrollToLeftDisabled,
|
|
487
|
+
scrollToRightDisabled = _c.scrollToRightDisabled;
|
|
486
488
|
|
|
487
489
|
var _list = list.length === 0 && (0, _coreUtil.isDesignMode)() ? defaultData : list;
|
|
488
490
|
|
|
489
|
-
var imgHeight = panelProps.customize.pcRowNum === 6 ? 153 : 193;
|
|
490
|
-
var imgWidth = panelProps.customize.pcRowNum === 6 ? 153 : 193;
|
|
491
491
|
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, _list.length > 0 && /*#__PURE__*/_react["default"].createElement("div", {
|
|
492
492
|
className: "m-flash-deal-pc"
|
|
493
493
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
494
494
|
className: "flash-deal-title"
|
|
495
495
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
496
496
|
className: "left"
|
|
497
|
-
}, panelProps.title.
|
|
498
|
-
alt: "",
|
|
497
|
+
}, ((_a = panelProps.title.image) === null || _a === void 0 ? void 0 : _a.open) && /*#__PURE__*/_react["default"].createElement(_components.MetaImage, {
|
|
499
498
|
className: "icon",
|
|
500
|
-
|
|
501
|
-
}), panelProps.title.headline.open && /*#__PURE__*/_react["default"].createElement(_components.MetaText, {
|
|
499
|
+
data: panelProps.title.image
|
|
500
|
+
}), !(0, _coreUtil.isPc)() && panelProps.title.headline.open && /*#__PURE__*/_react["default"].createElement(_components.MetaText, {
|
|
502
501
|
className: "title",
|
|
503
502
|
data: panelProps.title.headline
|
|
504
|
-
}), isWill && /*#__PURE__*/_react["default"].createElement("span", {
|
|
503
|
+
}), !(0, _coreUtil.isPc)() && isWill && /*#__PURE__*/_react["default"].createElement("span", {
|
|
505
504
|
className: "sub-title"
|
|
506
|
-
}, (0, _locale.i18n)('NEXT')), /*#__PURE__*/_react["default"].createElement(_CountDown["default"], {
|
|
505
|
+
}, (0, _locale.i18n)('NEXT')), ((_b = panelProps.title.countDown) === null || _b === void 0 ? void 0 : _b.open) && /*#__PURE__*/_react["default"].createElement(_CountDown["default"], {
|
|
507
506
|
effDate: effDate,
|
|
508
507
|
expDate: expDate,
|
|
509
508
|
now: now,
|
|
510
|
-
refresh: this.getNextFlashSale
|
|
509
|
+
refresh: this.getNextFlashSale,
|
|
510
|
+
type: "pc"
|
|
511
511
|
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
512
512
|
className: "right",
|
|
513
513
|
onClick: function onClick() {
|
|
@@ -536,10 +536,6 @@ function (_super) {
|
|
|
536
536
|
data: __assign(__assign({}, item), {
|
|
537
537
|
salePercent: isWill ? 0 : item.salePercent
|
|
538
538
|
}),
|
|
539
|
-
fixHeight: true,
|
|
540
|
-
imgHeight: imgHeight,
|
|
541
|
-
imgWidth: imgWidth // onItemClick={() => clickUrl(`/product/detail/${item.offerId}?productId=${item.sppProductId ?? ''}`)}
|
|
542
|
-
,
|
|
543
539
|
onItemClick: function onItemClick() {
|
|
544
540
|
return (0, _coreUtil.clickUrl)("proDetail-" + item.offerId + "-" + (item.sppProductId || ''));
|
|
545
541
|
},
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
.m-flash-deal-pc {
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
|
-
padding: 16px 16px 28px 16px;
|
|
5
4
|
|
|
6
5
|
.flash-deal-title {
|
|
7
6
|
display: flex;
|
|
8
7
|
justify-content: space-between;
|
|
9
8
|
align-items: center;
|
|
9
|
+
padding: 0 64px;
|
|
10
|
+
margin-bottom: 40px;
|
|
10
11
|
|
|
11
12
|
.left {
|
|
12
13
|
display: flex;
|
|
@@ -18,7 +19,6 @@
|
|
|
18
19
|
}
|
|
19
20
|
|
|
20
21
|
.title {
|
|
21
|
-
font-family: 'Montserrat';
|
|
22
22
|
font-style: normal;
|
|
23
23
|
font-weight: 600;
|
|
24
24
|
font-size: 14px;
|
|
@@ -28,7 +28,6 @@
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
.sub-title {
|
|
31
|
-
font-family: 'Montserrat';
|
|
32
31
|
font-style: normal;
|
|
33
32
|
font-weight: 600;
|
|
34
33
|
font-size: 10px;
|
|
@@ -44,7 +43,6 @@
|
|
|
44
43
|
align-items: center;
|
|
45
44
|
|
|
46
45
|
.text {
|
|
47
|
-
font-family: 'Montserrat';
|
|
48
46
|
font-style: normal;
|
|
49
47
|
font-weight: 600;
|
|
50
48
|
font-size: 12px;
|
|
@@ -66,27 +64,26 @@
|
|
|
66
64
|
|
|
67
65
|
.arrow-icon {
|
|
68
66
|
display: block;
|
|
69
|
-
width:
|
|
70
|
-
height:
|
|
71
|
-
line-height:
|
|
67
|
+
width: 48px;
|
|
68
|
+
height: 48px;
|
|
69
|
+
line-height: 50px;
|
|
72
70
|
text-align: center;
|
|
73
71
|
background: #FFFFFF;
|
|
74
|
-
box-shadow: -1px -1px 4px rgba(45, 48, 64, 0.08), 1px 1px 4px rgba(45, 48, 64, 0.08);
|
|
75
72
|
border-radius: 100px;
|
|
73
|
+
border: 1px solid #F0F0F0;
|
|
76
74
|
cursor: pointer;
|
|
77
75
|
|
|
78
76
|
&.left {
|
|
79
|
-
margin-right:
|
|
77
|
+
margin-right: 16px;
|
|
80
78
|
}
|
|
81
79
|
|
|
82
80
|
&.right {
|
|
83
|
-
margin-left:
|
|
81
|
+
margin-left: 16px;
|
|
84
82
|
}
|
|
85
83
|
}
|
|
86
84
|
}
|
|
87
85
|
|
|
88
86
|
.flash-deal-list {
|
|
89
|
-
margin-top: 16px;
|
|
90
87
|
overflow-x: auto;
|
|
91
88
|
overflow-y: hidden;
|
|
92
89
|
white-space: nowrap;
|
|
@@ -95,27 +92,19 @@
|
|
|
95
92
|
justify-content: flex-start;
|
|
96
93
|
position: relative;
|
|
97
94
|
flex: 1;
|
|
95
|
+
gap: 40px;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
98
|
|
|
99
|
-
.loading-wrap {
|
|
100
|
-
display: flex;
|
|
101
|
-
align-items: center;
|
|
102
|
-
justify-content: center;
|
|
103
|
-
padding: 30px;
|
|
104
|
-
position: absolute;
|
|
105
|
-
top: 0;
|
|
106
|
-
bottom: 0;
|
|
107
|
-
left: 0;
|
|
108
|
-
right: 0;
|
|
109
|
-
margin: auto;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
// 秒杀特有样式
|
|
113
|
-
.m-product-item-wrap {
|
|
114
|
-
width: 142px;
|
|
115
|
-
margin-right: 24px;
|
|
116
99
|
|
|
117
|
-
|
|
118
|
-
|
|
100
|
+
@media(min-width: 750px) {
|
|
101
|
+
.m-flash-deal-pc {
|
|
102
|
+
.flash-deal-title {
|
|
103
|
+
.left {
|
|
104
|
+
.icon {
|
|
105
|
+
height: 36px;
|
|
106
|
+
margin-right: 16px;
|
|
107
|
+
}
|
|
119
108
|
}
|
|
120
109
|
}
|
|
121
110
|
}
|
|
@@ -76,9 +76,12 @@
|
|
|
76
76
|
.m-group-buy-mobile .group-buy-list .m-product-item-wrap {
|
|
77
77
|
width: 3.44rem;
|
|
78
78
|
margin-right: 0.24rem;
|
|
79
|
-
border-radius: 0;
|
|
79
|
+
border-radius: 0.16rem;
|
|
80
80
|
}
|
|
81
|
-
.m-group-buy-mobile .group-buy-list .m-product-item-wrap .
|
|
81
|
+
.m-group-buy-mobile .group-buy-list .m-product-item-wrap .img-wrap {
|
|
82
|
+
border-radius: 0.16rem 0.16rem 0 0;
|
|
83
|
+
}
|
|
84
|
+
.m-group-buy-mobile .group-buy-list .m-product-item-wrap .img-wrap .product-img {
|
|
82
85
|
height: 3.4rem;
|
|
83
86
|
width: 3.4rem;
|
|
84
87
|
}
|