@fonixtree/magic-design 0.0.78 → 0.0.80
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/magic-box-iconfont.css +24 -12
- package/es/assets/fonts/magic-box-iconfont.css.bak +24 -12
- package/es/assets/fonts/magic-box-iconfont.js +1 -1
- package/es/assets/fonts/magic-box-iconfont.js.bak +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/layout-navigation-normal.png +0 -0
- package/es/assets/less/common.less +2 -2
- package/es/assets/less/modal.less +7 -2
- package/es/common/Button/index.js +2 -1
- package/es/common/Button/index.less +5 -0
- package/es/common/ButtonIconLayout/index.less +4 -2
- package/es/common/Collapse/index.js +14 -4
- package/es/common/FontStyles/index.less +1 -1
- package/es/common/GroupList/index.js +4 -3
- package/es/common/ImageModal/index.js +31 -26
- package/es/common/ImageModal/index.less +6 -1
- package/es/common/ImgArea/components/Crop.js +267 -0
- package/es/common/ImgArea/components/Icons.js +44 -0
- package/es/common/ImgArea/components/MultiCrops.js +210 -0
- package/es/common/ImgArea/index.js +11 -0
- package/es/common/LinkModal/BundleCampaign/index.js +17 -17
- package/es/common/LinkModal/CustomTable/index.js +1 -0
- package/es/common/LinkModal/FilteredProductModal/index.js +3 -3
- package/es/common/LinkModal/FilteredProductModal/index.less +2 -3
- package/es/common/LinkModal/ProductDetailPage/index.js +3 -3
- package/es/common/LinkModal/index.less +1 -1
- package/es/common/MagicLink/index.js +89 -0
- package/es/common/MagicLink/index.less +0 -0
- package/es/common/ProductModal/index.js +1 -1
- package/es/common/ProductModal/index.less +12 -7
- package/es/common/UrlPicker/index.js +6 -2
- package/es/common/UrlPicker/index.less +12 -1
- package/es/common/index.js +8 -0
- package/es/composite-comp/bol/components/Banner/defaultJSON.js +10 -10
- package/es/composite-comp/bol/components/Banner/mobile/index.js +4 -10
- package/es/composite-comp/bol/components/Banner/pc/index.js +3 -6
- package/es/composite-comp/bol/components/Button/defaultJSON.js +40 -70
- package/es/composite-comp/bol/components/Button/index.js +8 -14
- package/es/composite-comp/bol/components/Button/index.less +1 -0
- package/es/composite-comp/bol/components/Carousel/defaultJSON.js +12 -16
- package/es/composite-comp/bol/components/Carousel/index.js +1 -6
- package/es/composite-comp/bol/components/Carousel/mobile/index.js +4 -8
- package/es/composite-comp/bol/components/Carousel/pc/index.js +15 -7
- package/es/composite-comp/bol/components/Carousel/pc/index.less +13 -5
- package/es/composite-comp/bol/components/ImageGallery/defaultJSON.js +2 -2
- package/es/composite-comp/bol/components/ImageText/defaultJSON.js +27 -167
- package/es/composite-comp/bol/components/ImageText/mobile/index.js +2 -5
- package/es/composite-comp/bol/components/ImageText/mobile/index.less +8 -8
- package/es/composite-comp/bol/components/ImageText/pc/index.js +46 -18
- package/es/composite-comp/bol/components/Newsletter/defaultJSON.js +2 -2
- package/es/composite-comp/bol/components/Newsletter/index.js +1 -6
- package/es/composite-comp/bol/components/Tag/defaultJSON.js +38 -48
- package/es/composite-comp/bol/components/Tag/index.js +8 -14
- package/es/composite-comp/bol/components/Tag/index.less +1 -0
- package/es/composite-comp/bol/components/Text/defaultJSON.js +4 -6
- package/es/composite-comp/bol/components/Text/index.js +4 -8
- package/es/composite-comp/bol/components/Text/index.less +3 -3
- package/es/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.js +3 -1
- package/es/composite-comp/bol/config-panels/ButtonCompConfig/ButtonConfigGroup/index.js +141 -0
- package/es/composite-comp/bol/config-panels/ButtonCompConfig/ButtonConfigGroup/index.less +16 -0
- package/es/composite-comp/bol/config-panels/ButtonCompConfig/index.js +3 -3
- package/es/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.js +4 -2
- package/es/composite-comp/bol/config-panels/CarouselConfig/index.js +1 -0
- package/es/composite-comp/bol/config-panels/ImageTextConfig/ImageTextConfigGroup/index.js +3 -1
- package/es/composite-comp/bol/config-panels/ImageTextConfig/index.js +2 -1
- package/es/composite-comp/bol/config-panels/NewsletterConfig/index.js +6 -4
- package/es/composite-comp/bol/config-panels/TagCompConfig/TagConfigContent/index.js +9 -17
- package/es/composite-comp/bol/config-panels/TagCompConfig/TagConfigGroup/index.js +141 -0
- package/es/composite-comp/bol/config-panels/TagCompConfig/TagConfigGroup/index.less +16 -0
- package/es/composite-comp/bol/config-panels/TagCompConfig/index.js +7 -4
- package/es/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.js +3 -1
- package/es/composite-comp/bol/config-panels/TextCompConfig/imgs/layout1.png +0 -0
- package/es/composite-comp/bol/second-config-panels/ButtonSecondConfig/index.js +103 -0
- package/es/composite-comp/bol/second-config-panels/ButtonSecondConfig/index.less +3 -0
- package/es/composite-comp/bol/second-config-panels/CarouselSecondConfig/index.js +8 -13
- package/es/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +10 -5
- package/es/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.less +8 -0
- package/es/composite-comp/bol/{config-panels/ButtonCompConfig/ButtonConfigContent → second-config-panels/TagSecondConfig}/index.js +40 -38
- package/es/composite-comp/bol/second-config-panels/TagSecondConfig/index.less +3 -0
- package/es/composite-comp/common/components/ImageLabel/index.js +2 -2
- package/es/composite-comp/common/components/ImageLabel/index.less +6 -2
- package/es/composite-comp/common/components/ProductItem/index.js +1 -1
- package/es/composite-comp/common/components/ProductItem/index.less +9 -9
- package/es/composite-comp/common/config-panels/CustomizeConfig/index.js +24 -13
- package/es/composite-comp/common/config-panels/SpacingConfig/index.js +25 -25
- package/es/composite-comp/dito/components/FlashDeal/defaultJSON.js +62 -2
- package/es/composite-comp/dito/components/FlashDeal/index.js +5 -1
- package/es/composite-comp/dito/components/FlashDeal/mobile/index.less +0 -1
- 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/FlashDeal/pc/index.js +578 -0
- package/es/composite-comp/dito/components/FlashDeal/pc/index.less +121 -0
- package/es/composite-comp/dito/components/MobileNavigation/defaultJSON.js +5 -4
- package/es/composite-comp/dito/components/MobileNavigation/mobile/index.js +13 -3
- package/es/composite-comp/dito/components/MobileNavigation/mobile/index.less +3 -2
- package/es/composite-comp/dito/components/PcNavigation/defaultJSON.js +131 -0
- package/es/composite-comp/dito/components/PcNavigation/images/menu-icon.svg +6 -0
- package/es/composite-comp/dito/components/PcNavigation/index.js +85 -0
- package/es/composite-comp/dito/components/PcNavigation/pc/index.js +478 -0
- package/es/composite-comp/dito/components/PcNavigation/pc/index.less +98 -0
- package/es/composite-comp/dito/components/Recommend/defaultJSON.js +30 -12
- package/es/composite-comp/dito/components/Recommend/index.js +5 -6
- package/es/composite-comp/dito/components/Recommend/mobile/index.js +45 -37
- package/es/composite-comp/dito/components/Recommend/mobile/index.less +10 -2
- package/es/composite-comp/dito/components/Recommend/pc/index.js +134 -22
- package/es/composite-comp/dito/components/Recommend/pc/index.less +54 -12
- package/es/composite-comp/dito/components/SearchBar/defaultJSON.js +45 -19
- package/es/composite-comp/dito/components/SearchBar/index.js +7 -2
- package/es/composite-comp/dito/components/SearchBar/mobile/index.js +29 -26
- package/es/composite-comp/dito/components/SearchBar/mobile/index.less +13 -3
- package/es/composite-comp/dito/components/SearchBar/pc/index.js +151 -0
- package/es/composite-comp/dito/components/SearchBar/pc/index.less +59 -0
- package/es/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.js +16 -6
- package/es/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.less +20 -0
- package/es/composite-comp/dito/config-panels/FlashDealConfig/index.js +12 -2
- package/es/composite-comp/dito/config-panels/MobileNavigationConfig/MobileNavigationConfigGroup/index.js +3 -1
- package/es/composite-comp/dito/config-panels/PcNavigationConfig/PcNavConfigCategory/index.js +129 -0
- package/es/composite-comp/dito/config-panels/PcNavigationConfig/PcNavigationConfigGroup/index.js +128 -0
- package/es/composite-comp/dito/config-panels/PcNavigationConfig/TextOnlyFontConfig/index.js +222 -0
- package/es/composite-comp/dito/config-panels/PcNavigationConfig/index.js +194 -0
- package/es/composite-comp/dito/config-panels/RecommendConfig/index.js +16 -3
- package/es/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.js +140 -0
- package/es/composite-comp/dito/config-panels/SearchBarConfig/index.js +15 -51
- package/es/composite-comp/dito/second-config-panels/PcNavigationSecondConfig/index.js +102 -0
- package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/AIRecommendation/index.js +39 -29
- package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +80 -49
- package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.less +13 -1
- package/es/constants/component-types.js +13 -3
- package/es/constants/index.js +20 -2
- package/es/constants/layout.js +34 -8
- package/es/core/Designer/CompListPanel/index.js +8 -33
- package/es/core/Designer/ConfigPanel/TerminalSelect/index.js +73 -0
- package/es/core/Designer/ConfigPanel/TerminalSelect/index.less +29 -0
- package/es/core/Designer/ConfigPanel/index.js +72 -23
- package/es/core/Designer/ConfigPanel/index.less +4 -0
- package/es/core/Designer/History/index.js +34 -28
- package/es/core/Designer/PageCompList/index.js +13 -3
- package/es/core/Designer/PageCompList/index.less +10 -10
- package/es/core/Designer/QuickMenuBar/index.js +1 -1
- package/es/core/Designer/ViewArea/index.js +20 -6
- package/es/core/Designer/index.js +43 -37
- package/es/core/Renderer/index.js +21 -5
- package/es/decorator/compositeDecorator.js +45 -12
- package/es/decorator/index.js +8 -0
- package/es/decorator/metaDecorator.js +4 -3
- package/es/decorator/updateConfigDecorator.js +76 -0
- package/es/locale/en/en.json +14 -1
- package/es/locale/es/es.json +14 -1
- package/es/locale/id/id.json +14 -1
- package/es/meta-comp/components/Button/editable.js +114 -0
- package/es/meta-comp/components/Button/editable.less +6 -0
- package/es/meta-comp/components/Button/index.js +14 -33
- package/es/meta-comp/components/Button/index.less +3 -2
- package/es/meta-comp/components/Image/index.js +39 -8
- package/es/meta-comp/components/Image/index.less +7 -4
- package/es/meta-comp/components/Text/index.js +28 -11
- package/es/meta-comp/config-panels/BaseConfig.js +8 -10
- package/es/meta-comp/config-panels/ButtonConfig/index.js +2 -3
- package/es/meta-comp/config-panels/ImageConfig/AreaConfigModal/index.js +164 -0
- package/es/meta-comp/config-panels/ImageConfig/AreaConfigModal/index.less +26 -0
- package/es/meta-comp/config-panels/ImageConfig/HotAreaConfig/index.js +133 -0
- package/es/meta-comp/config-panels/ImageConfig/HotAreaConfig/index.less +17 -0
- package/es/meta-comp/config-panels/ImageConfig/index.js +17 -4
- package/es/meta-comp/config-panels/TextConfig/index.js +15 -6
- package/es/mobx/Store.js +6 -10
- package/es/utils/coreUtil.js +15 -2
- package/lib/assets/fonts/magic-box-iconfont.css +24 -12
- package/lib/assets/fonts/magic-box-iconfont.css.bak +24 -12
- package/lib/assets/fonts/magic-box-iconfont.js +1 -1
- package/lib/assets/fonts/magic-box-iconfont.js.bak +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/layout-navigation-normal.png +0 -0
- package/lib/assets/less/common.less +2 -2
- package/lib/assets/less/modal.less +7 -2
- package/lib/common/Button/index.js +2 -1
- package/lib/common/Button/index.less +5 -0
- package/lib/common/ButtonIconLayout/index.less +4 -2
- package/lib/common/Collapse/index.js +14 -4
- package/lib/common/FontStyles/index.less +1 -1
- package/lib/common/GroupList/index.js +4 -3
- package/lib/common/ImageModal/index.js +31 -26
- package/lib/common/ImageModal/index.less +6 -1
- package/lib/common/ImgArea/components/Crop.js +267 -0
- package/lib/common/ImgArea/components/Icons.js +44 -0
- package/lib/common/ImgArea/components/MultiCrops.js +210 -0
- package/lib/common/ImgArea/index.js +11 -0
- package/lib/common/LinkModal/BundleCampaign/index.js +17 -17
- package/lib/common/LinkModal/CustomTable/index.js +1 -0
- package/lib/common/LinkModal/FilteredProductModal/index.js +3 -3
- package/lib/common/LinkModal/FilteredProductModal/index.less +2 -3
- package/lib/common/LinkModal/ProductDetailPage/index.js +3 -3
- package/lib/common/LinkModal/index.less +1 -1
- package/lib/common/MagicLink/index.js +89 -0
- package/lib/common/MagicLink/index.less +0 -0
- package/lib/common/ProductModal/index.js +1 -1
- package/lib/common/ProductModal/index.less +12 -7
- package/lib/common/UrlPicker/index.js +6 -2
- package/lib/common/UrlPicker/index.less +12 -1
- package/lib/common/index.js +8 -0
- package/lib/composite-comp/bol/components/Banner/defaultJSON.js +10 -10
- package/lib/composite-comp/bol/components/Banner/mobile/index.js +4 -10
- package/lib/composite-comp/bol/components/Banner/pc/index.js +3 -6
- package/lib/composite-comp/bol/components/Button/defaultJSON.js +40 -70
- package/lib/composite-comp/bol/components/Button/index.js +8 -14
- package/lib/composite-comp/bol/components/Button/index.less +1 -0
- package/lib/composite-comp/bol/components/Carousel/defaultJSON.js +12 -16
- package/lib/composite-comp/bol/components/Carousel/index.js +1 -6
- package/lib/composite-comp/bol/components/Carousel/mobile/index.js +4 -8
- package/lib/composite-comp/bol/components/Carousel/pc/index.js +15 -7
- package/lib/composite-comp/bol/components/Carousel/pc/index.less +13 -5
- package/lib/composite-comp/bol/components/ImageGallery/defaultJSON.js +2 -2
- package/lib/composite-comp/bol/components/ImageText/defaultJSON.js +27 -167
- package/lib/composite-comp/bol/components/ImageText/mobile/index.js +2 -5
- package/lib/composite-comp/bol/components/ImageText/mobile/index.less +8 -8
- package/lib/composite-comp/bol/components/ImageText/pc/index.js +46 -18
- package/lib/composite-comp/bol/components/Newsletter/defaultJSON.js +2 -2
- package/lib/composite-comp/bol/components/Newsletter/index.js +1 -6
- package/lib/composite-comp/bol/components/Tag/defaultJSON.js +38 -48
- package/lib/composite-comp/bol/components/Tag/index.js +8 -14
- package/lib/composite-comp/bol/components/Tag/index.less +1 -0
- package/lib/composite-comp/bol/components/Text/defaultJSON.js +4 -6
- package/lib/composite-comp/bol/components/Text/index.js +4 -8
- package/lib/composite-comp/bol/components/Text/index.less +3 -3
- package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.js +3 -1
- package/lib/composite-comp/bol/config-panels/ButtonCompConfig/ButtonConfigGroup/index.js +141 -0
- package/lib/composite-comp/bol/config-panels/ButtonCompConfig/ButtonConfigGroup/index.less +16 -0
- package/lib/composite-comp/bol/config-panels/ButtonCompConfig/index.js +3 -3
- package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.js +4 -2
- package/lib/composite-comp/bol/config-panels/CarouselConfig/index.js +1 -0
- package/lib/composite-comp/bol/config-panels/ImageTextConfig/ImageTextConfigGroup/index.js +3 -1
- package/lib/composite-comp/bol/config-panels/ImageTextConfig/index.js +2 -1
- package/lib/composite-comp/bol/config-panels/NewsletterConfig/index.js +6 -4
- package/lib/composite-comp/bol/config-panels/TagCompConfig/TagConfigContent/index.js +9 -17
- package/lib/composite-comp/bol/config-panels/TagCompConfig/TagConfigGroup/index.js +141 -0
- package/lib/composite-comp/bol/config-panels/TagCompConfig/TagConfigGroup/index.less +16 -0
- package/lib/composite-comp/bol/config-panels/TagCompConfig/index.js +7 -4
- package/lib/composite-comp/bol/config-panels/TextCompConfig/TextConfigGroup/index.js +3 -1
- package/lib/composite-comp/bol/config-panels/TextCompConfig/imgs/layout1.png +0 -0
- package/lib/composite-comp/bol/second-config-panels/ButtonSecondConfig/index.js +103 -0
- package/lib/composite-comp/bol/second-config-panels/ButtonSecondConfig/index.less +3 -0
- package/lib/composite-comp/bol/second-config-panels/CarouselSecondConfig/index.js +8 -13
- package/lib/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +10 -5
- package/lib/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.less +8 -0
- package/lib/composite-comp/bol/{config-panels/ButtonCompConfig/ButtonConfigContent → second-config-panels/TagSecondConfig}/index.js +40 -38
- package/lib/composite-comp/bol/second-config-panels/TagSecondConfig/index.less +3 -0
- package/lib/composite-comp/common/components/ImageLabel/index.js +2 -2
- package/lib/composite-comp/common/components/ImageLabel/index.less +6 -2
- package/lib/composite-comp/common/components/ProductItem/index.js +1 -1
- package/lib/composite-comp/common/components/ProductItem/index.less +9 -9
- package/lib/composite-comp/common/config-panels/CustomizeConfig/index.js +24 -13
- package/lib/composite-comp/common/config-panels/SpacingConfig/index.js +25 -25
- package/lib/composite-comp/dito/components/FlashDeal/defaultJSON.js +62 -2
- package/lib/composite-comp/dito/components/FlashDeal/index.js +5 -1
- package/lib/composite-comp/dito/components/FlashDeal/mobile/index.less +0 -1
- 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/FlashDeal/pc/index.js +578 -0
- package/lib/composite-comp/dito/components/FlashDeal/pc/index.less +121 -0
- package/lib/composite-comp/dito/components/MobileNavigation/defaultJSON.js +5 -4
- package/lib/composite-comp/dito/components/MobileNavigation/mobile/index.js +13 -3
- package/lib/composite-comp/dito/components/MobileNavigation/mobile/index.less +3 -2
- package/lib/composite-comp/dito/components/PcNavigation/defaultJSON.js +131 -0
- package/lib/composite-comp/dito/components/PcNavigation/images/menu-icon.svg +6 -0
- package/lib/composite-comp/dito/components/PcNavigation/index.js +85 -0
- package/lib/composite-comp/dito/components/PcNavigation/pc/index.js +478 -0
- package/lib/composite-comp/dito/components/PcNavigation/pc/index.less +98 -0
- package/lib/composite-comp/dito/components/Recommend/defaultJSON.js +30 -12
- package/lib/composite-comp/dito/components/Recommend/index.js +5 -6
- package/lib/composite-comp/dito/components/Recommend/mobile/index.js +45 -37
- package/lib/composite-comp/dito/components/Recommend/mobile/index.less +10 -2
- package/lib/composite-comp/dito/components/Recommend/pc/index.js +134 -22
- package/lib/composite-comp/dito/components/Recommend/pc/index.less +54 -12
- package/lib/composite-comp/dito/components/SearchBar/defaultJSON.js +45 -19
- package/lib/composite-comp/dito/components/SearchBar/index.js +7 -2
- package/lib/composite-comp/dito/components/SearchBar/mobile/index.js +29 -26
- package/lib/composite-comp/dito/components/SearchBar/mobile/index.less +13 -3
- package/lib/composite-comp/dito/components/SearchBar/pc/index.js +151 -0
- package/lib/composite-comp/dito/components/SearchBar/pc/index.less +59 -0
- package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.js +16 -6
- package/lib/composite-comp/dito/config-panels/FlashDealConfig/FlashDealConfigContent/index.less +20 -0
- package/lib/composite-comp/dito/config-panels/FlashDealConfig/index.js +12 -2
- package/lib/composite-comp/dito/config-panels/MobileNavigationConfig/MobileNavigationConfigGroup/index.js +3 -1
- package/lib/composite-comp/dito/config-panels/PcNavigationConfig/PcNavConfigCategory/index.js +129 -0
- package/lib/composite-comp/dito/config-panels/PcNavigationConfig/PcNavigationConfigGroup/index.js +128 -0
- package/lib/composite-comp/dito/config-panels/PcNavigationConfig/TextOnlyFontConfig/index.js +222 -0
- package/lib/composite-comp/dito/config-panels/PcNavigationConfig/index.js +194 -0
- package/lib/composite-comp/dito/config-panels/RecommendConfig/index.js +16 -3
- package/lib/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.js +140 -0
- package/lib/composite-comp/dito/config-panels/SearchBarConfig/index.js +15 -51
- package/lib/composite-comp/dito/second-config-panels/PcNavigationSecondConfig/index.js +102 -0
- package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/AIRecommendation/index.js +39 -29
- package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.js +80 -49
- package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/index.less +13 -1
- package/lib/constants/component-types.js +13 -3
- package/lib/constants/index.js +20 -2
- package/lib/constants/layout.js +34 -8
- package/lib/core/Designer/CompListPanel/index.js +8 -33
- package/lib/core/Designer/ConfigPanel/TerminalSelect/index.js +73 -0
- package/lib/core/Designer/ConfigPanel/TerminalSelect/index.less +29 -0
- package/lib/core/Designer/ConfigPanel/index.js +72 -23
- package/lib/core/Designer/ConfigPanel/index.less +4 -0
- package/lib/core/Designer/History/index.js +34 -28
- package/lib/core/Designer/PageCompList/index.js +13 -3
- package/lib/core/Designer/PageCompList/index.less +10 -10
- package/lib/core/Designer/QuickMenuBar/index.js +1 -1
- package/lib/core/Designer/ViewArea/index.js +20 -6
- package/lib/core/Designer/index.js +43 -37
- package/lib/core/Renderer/index.js +21 -5
- package/lib/decorator/compositeDecorator.js +45 -12
- package/lib/decorator/index.js +8 -0
- package/lib/decorator/metaDecorator.js +4 -3
- package/lib/decorator/updateConfigDecorator.js +76 -0
- package/lib/locale/en/en.json +14 -1
- package/lib/locale/es/es.json +14 -1
- package/lib/locale/id/id.json +14 -1
- package/lib/meta-comp/components/Button/editable.js +114 -0
- package/lib/meta-comp/components/Button/editable.less +6 -0
- package/lib/meta-comp/components/Button/index.js +14 -33
- package/lib/meta-comp/components/Button/index.less +3 -2
- package/lib/meta-comp/components/Image/index.js +39 -8
- package/lib/meta-comp/components/Image/index.less +7 -4
- package/lib/meta-comp/components/Text/index.js +28 -11
- package/lib/meta-comp/config-panels/BaseConfig.js +8 -10
- package/lib/meta-comp/config-panels/ButtonConfig/index.js +2 -3
- package/lib/meta-comp/config-panels/ImageConfig/AreaConfigModal/index.js +164 -0
- package/lib/meta-comp/config-panels/ImageConfig/AreaConfigModal/index.less +26 -0
- package/lib/meta-comp/config-panels/ImageConfig/HotAreaConfig/index.js +133 -0
- package/lib/meta-comp/config-panels/ImageConfig/HotAreaConfig/index.less +17 -0
- package/lib/meta-comp/config-panels/ImageConfig/index.js +17 -4
- package/lib/meta-comp/config-panels/TextConfig/index.js +15 -6
- package/lib/mobx/Store.js +6 -10
- package/lib/utils/coreUtil.js +15 -2
- package/package.json +5 -3
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
|
|
2
|
+
.body_wrap {
|
|
3
|
+
display: flex;
|
|
4
|
+
|
|
5
|
+
.area_config_wrap {
|
|
6
|
+
margin-left: 23px;
|
|
7
|
+
width: 259px;
|
|
8
|
+
max-height: 480px;
|
|
9
|
+
padding-right: 10px;
|
|
10
|
+
.list_wrap {
|
|
11
|
+
height: calc(100% - 30px);
|
|
12
|
+
overflow: auto;
|
|
13
|
+
.add_item {
|
|
14
|
+
margin-top: 18px;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.btn_wrap {
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
display: flex;
|
|
21
|
+
align-items: center;
|
|
22
|
+
color: #2F54EB;
|
|
23
|
+
margin-top: 10px;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports["default"] = void 0;
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
+
|
|
12
|
+
require("./index.less");
|
|
13
|
+
|
|
14
|
+
var _antd = require("antd");
|
|
15
|
+
|
|
16
|
+
var _coreUtil = require("../../../../utils/coreUtil");
|
|
17
|
+
|
|
18
|
+
var _locale = require("../../../../locale");
|
|
19
|
+
|
|
20
|
+
var _common = require("../../../../common");
|
|
21
|
+
|
|
22
|
+
var _AreaConfigModal = _interopRequireDefault(require("../AreaConfigModal"));
|
|
23
|
+
|
|
24
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
25
|
+
|
|
26
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
27
|
+
|
|
28
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
29
|
+
|
|
30
|
+
var __extends = void 0 && (void 0).__extends || function () {
|
|
31
|
+
var _extendStatics = function extendStatics(d, b) {
|
|
32
|
+
_extendStatics = Object.setPrototypeOf || {
|
|
33
|
+
__proto__: []
|
|
34
|
+
} instanceof Array && function (d, b) {
|
|
35
|
+
d.__proto__ = b;
|
|
36
|
+
} || function (d, b) {
|
|
37
|
+
for (var p in b) {
|
|
38
|
+
if (b.hasOwnProperty(p)) d[p] = b[p];
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
return _extendStatics(d, b);
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
return function (d, b) {
|
|
46
|
+
_extendStatics(d, b);
|
|
47
|
+
|
|
48
|
+
function __() {
|
|
49
|
+
this.constructor = d;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
53
|
+
};
|
|
54
|
+
}();
|
|
55
|
+
|
|
56
|
+
var HotAreaConfig =
|
|
57
|
+
/** @class */
|
|
58
|
+
function (_super) {
|
|
59
|
+
__extends(HotAreaConfig, _super);
|
|
60
|
+
|
|
61
|
+
function HotAreaConfig() {
|
|
62
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
63
|
+
|
|
64
|
+
_this.state = {
|
|
65
|
+
visible: false
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
_this.onCheckboxChange = function (e) {
|
|
69
|
+
var _a = _this.props,
|
|
70
|
+
option = _a.option,
|
|
71
|
+
onChange = _a.onChange;
|
|
72
|
+
console.log(e.target.checked);
|
|
73
|
+
option.clickUrl = '';
|
|
74
|
+
option.openHotArea = e.target.checked; // this.setState({});
|
|
75
|
+
|
|
76
|
+
onChange();
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
_this.onAddArea = function () {
|
|
80
|
+
_this.setState({
|
|
81
|
+
visible: true
|
|
82
|
+
});
|
|
83
|
+
};
|
|
84
|
+
|
|
85
|
+
_this.onOk = function (data) {
|
|
86
|
+
if ((0, _coreUtil.isPc)()) {
|
|
87
|
+
_this.props.option.pcAreas = data;
|
|
88
|
+
} else {
|
|
89
|
+
_this.props.option.h5Areas = data;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
_this.setState({
|
|
93
|
+
visible: false
|
|
94
|
+
});
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
_this.onCancel = function () {
|
|
98
|
+
_this.setState({
|
|
99
|
+
visible: false
|
|
100
|
+
});
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
return _this;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
HotAreaConfig.prototype.render = function () {
|
|
107
|
+
var option = this.props.option;
|
|
108
|
+
var visible = this.state.visible;
|
|
109
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
110
|
+
className: "hot_area_wrap"
|
|
111
|
+
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
112
|
+
className: "area_wrap mb14"
|
|
113
|
+
}, /*#__PURE__*/_react["default"].createElement("span", null, (0, _locale.i18n)('CLICKABLE_AREA')), /*#__PURE__*/_react["default"].createElement(_antd.Checkbox, {
|
|
114
|
+
checked: option.openHotArea,
|
|
115
|
+
onChange: this.onCheckboxChange
|
|
116
|
+
})), option.openHotArea && /*#__PURE__*/_react["default"].createElement(_common.Button, {
|
|
117
|
+
icon: "icon-add",
|
|
118
|
+
onClick: this.onAddArea,
|
|
119
|
+
type: "primary"
|
|
120
|
+
}, (0, _locale.i18n)('ADD_AREA')), /*#__PURE__*/_react["default"].createElement(_AreaConfigModal["default"], {
|
|
121
|
+
imgUrl: this.props.imgUrl,
|
|
122
|
+
onCancel: this.onCancel,
|
|
123
|
+
onOk: this.onOk,
|
|
124
|
+
value: (0, _coreUtil.isPc)() ? option.pcAreas : option.h5Areas,
|
|
125
|
+
visible: visible
|
|
126
|
+
}));
|
|
127
|
+
};
|
|
128
|
+
|
|
129
|
+
return HotAreaConfig;
|
|
130
|
+
}(_react.Component);
|
|
131
|
+
|
|
132
|
+
var _default = HotAreaConfig;
|
|
133
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
|
|
2
|
+
.hot_area_wrap {
|
|
3
|
+
border-bottom: 1px dashed #D2D9E5;
|
|
4
|
+
margin-bottom: 16px;
|
|
5
|
+
padding-bottom: 12px;
|
|
6
|
+
.area_wrap {
|
|
7
|
+
display: flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
justify-content: space-between;
|
|
10
|
+
font-family: 'Open Sans';
|
|
11
|
+
font-style: normal;
|
|
12
|
+
font-weight: 600;
|
|
13
|
+
font-size: 14px;
|
|
14
|
+
color: #232F46;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
@@ -11,6 +11,8 @@ var _antd = require("antd");
|
|
|
11
11
|
|
|
12
12
|
require("./index.less");
|
|
13
13
|
|
|
14
|
+
var _HotAreaConfig = _interopRequireDefault(require("./HotAreaConfig"));
|
|
15
|
+
|
|
14
16
|
var _commonUtil = require("../../../utils/commonUtil");
|
|
15
17
|
|
|
16
18
|
var _coreUtil = require("../../../utils/coreUtil");
|
|
@@ -200,8 +202,7 @@ function (_super) {
|
|
|
200
202
|
function ImageConfig() {
|
|
201
203
|
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
202
204
|
|
|
203
|
-
_this.onClick = function (event) {
|
|
204
|
-
console.log(event);
|
|
205
|
+
_this.onClick = function (event) {// console.log(event);
|
|
205
206
|
};
|
|
206
207
|
|
|
207
208
|
_this.getImg = function (v) {
|
|
@@ -291,6 +292,10 @@ function (_super) {
|
|
|
291
292
|
_this.selfRender();
|
|
292
293
|
};
|
|
293
294
|
|
|
295
|
+
_this.getSelectedImg = function (data) {
|
|
296
|
+
return (0, _coreUtil.isPc)() ? data.content.pcImgSrc : data.content.h5ImgSrc;
|
|
297
|
+
};
|
|
298
|
+
|
|
294
299
|
return _this;
|
|
295
300
|
}
|
|
296
301
|
|
|
@@ -299,16 +304,24 @@ function (_super) {
|
|
|
299
304
|
|
|
300
305
|
var _a = this.props,
|
|
301
306
|
data = _a.data,
|
|
302
|
-
needHover = _a.needHover;
|
|
307
|
+
needHover = _a.needHover;
|
|
308
|
+
var selectImg = this.getSelectedImg(data);
|
|
303
309
|
|
|
304
310
|
var ContentSetting = /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_common.ImagePicker, {
|
|
305
311
|
onChange: function onChange(v) {
|
|
306
312
|
_this.getImg(v);
|
|
307
313
|
},
|
|
308
|
-
value:
|
|
314
|
+
value: selectImg
|
|
315
|
+
}), selectImg && /*#__PURE__*/_react["default"].createElement(_HotAreaConfig["default"], {
|
|
316
|
+
imgUrl: selectImg,
|
|
317
|
+
onChange: function onChange() {
|
|
318
|
+
return _this.setState({});
|
|
319
|
+
},
|
|
320
|
+
option: data.content
|
|
309
321
|
}), /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
310
322
|
title: "URL"
|
|
311
323
|
}, /*#__PURE__*/_react["default"].createElement(_common.UrlPicker, {
|
|
324
|
+
disabled: data.content.openHotArea,
|
|
312
325
|
onChange: function onChange(v) {
|
|
313
326
|
data.content.clickUrl = v;
|
|
314
327
|
|
|
@@ -147,6 +147,11 @@ function (_super) {
|
|
|
147
147
|
_extends(obj, sizeTypeMap[v]);
|
|
148
148
|
};
|
|
149
149
|
|
|
150
|
+
_this.getContentWidth = function (textData) {
|
|
151
|
+
var baseWidth = (window.magicDesign.device == 'pc' ? textData.pcWidth : textData.width) || 100;
|
|
152
|
+
return Math.min(baseWidth, 100);
|
|
153
|
+
};
|
|
154
|
+
|
|
150
155
|
return _this;
|
|
151
156
|
}
|
|
152
157
|
|
|
@@ -273,17 +278,22 @@ function (_super) {
|
|
|
273
278
|
})), /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
274
279
|
title: (0, _locale.i18n)('CONTENT_WIDTH')
|
|
275
280
|
}, /*#__PURE__*/_react["default"].createElement(_common.Slider, {
|
|
276
|
-
maxVal:
|
|
277
|
-
minVal:
|
|
281
|
+
maxVal: 100,
|
|
282
|
+
minVal: 1,
|
|
278
283
|
onChange: function onChange(_a) {
|
|
279
284
|
var count = _a.count;
|
|
280
|
-
|
|
285
|
+
|
|
286
|
+
if (window.magicDesign.device == 'pc') {
|
|
287
|
+
textData.pcWidth = count;
|
|
288
|
+
} else {
|
|
289
|
+
textData.width = count;
|
|
290
|
+
}
|
|
281
291
|
|
|
282
292
|
_this.selfRender();
|
|
283
293
|
},
|
|
284
|
-
unit: "
|
|
294
|
+
unit: "%",
|
|
285
295
|
value: {
|
|
286
|
-
count: textData
|
|
296
|
+
count: this.getContentWidth(textData)
|
|
287
297
|
}
|
|
288
298
|
})))
|
|
289
299
|
}, {
|
|
@@ -291,7 +301,6 @@ function (_super) {
|
|
|
291
301
|
name: (0, _locale.i18n)('SPACING'),
|
|
292
302
|
value: /*#__PURE__*/_react["default"].createElement(_SpacingConfig["default"], {
|
|
293
303
|
configCompSpace: false,
|
|
294
|
-
configPaddingLR: true,
|
|
295
304
|
data: data.spacing
|
|
296
305
|
})
|
|
297
306
|
}, {
|
package/es/mobx/Store.js
CHANGED
|
@@ -13,6 +13,9 @@ var _storeUtil = require("../utils/storeUtil");
|
|
|
13
13
|
|
|
14
14
|
var debug = require('debug')('worker:mobx');
|
|
15
15
|
|
|
16
|
+
var CACHE_KEY = 'STORE';
|
|
17
|
+
var whiteList = ['hoveredMeta', 'clickedMeta', 'clickedGroup', 'clickedFloor', 'textSelection', 'MPageData'];
|
|
18
|
+
|
|
16
19
|
var Store =
|
|
17
20
|
/** @class */
|
|
18
21
|
function () {
|
|
@@ -23,7 +26,7 @@ function () {
|
|
|
23
26
|
|
|
24
27
|
this.clickedMeta = ''; // 点击的元组件Id
|
|
25
28
|
|
|
26
|
-
this.clickedGroup = ''; //
|
|
29
|
+
this.clickedGroup = ''; // 点击的元组的上一层Id,即groupSourceId(元组件在Group中)
|
|
27
30
|
|
|
28
31
|
this.clickedFloor = ''; // 点击的楼层Id
|
|
29
32
|
|
|
@@ -34,6 +37,7 @@ function () {
|
|
|
34
37
|
this.CarouselStore = {}; // 轮播组件暂存数据
|
|
35
38
|
|
|
36
39
|
(0, _mobx.makeObservable)(this, {
|
|
40
|
+
MPageData: _mobx.observable,
|
|
37
41
|
locale: _mobx.observable,
|
|
38
42
|
hoveredMeta: _mobx.observable,
|
|
39
43
|
clickedMeta: _mobx.observable,
|
|
@@ -54,6 +58,7 @@ function () {
|
|
|
54
58
|
propertyList.forEach(function (field) {
|
|
55
59
|
_this[field] = data[field];
|
|
56
60
|
});
|
|
61
|
+
(0, _storeUtil.persistence)(CACHE_KEY, this, whiteList);
|
|
57
62
|
};
|
|
58
63
|
/**
|
|
59
64
|
*根据groupId 获取楼层Id
|
|
@@ -87,15 +92,6 @@ function () {
|
|
|
87
92
|
return componentFloor.id;
|
|
88
93
|
};
|
|
89
94
|
|
|
90
|
-
Store.prototype.getFloorInfo = function () {
|
|
91
|
-
var _this = this;
|
|
92
|
-
|
|
93
|
-
var componentFloor = this.MPageData.find(function (floor) {
|
|
94
|
-
return floor.id === _this.clickedFloor;
|
|
95
|
-
});
|
|
96
|
-
return componentFloor;
|
|
97
|
-
};
|
|
98
|
-
|
|
99
95
|
return Store;
|
|
100
96
|
}();
|
|
101
97
|
|
package/es/utils/coreUtil.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.setMagicDesign = exports.renderPreview = exports.isPc = exports.isDesignMode = exports.copyNode = exports.clickUrl = void 0;
|
|
6
|
+
exports.setMagicDesign = exports.renderPreview = exports.isPc = exports.isDesignMode = exports.isActiveFloor = exports.copyNode = exports.clickUrl = void 0;
|
|
7
7
|
|
|
8
8
|
var _uuid = require("uuid");
|
|
9
9
|
|
|
@@ -184,6 +184,13 @@ var __generator = void 0 && (void 0).__generator || function (thisArg, body) {
|
|
|
184
184
|
|
|
185
185
|
var _this = void 0;
|
|
186
186
|
|
|
187
|
+
/** 根据楼层设置的终端类型,判断是否展示该楼层 */
|
|
188
|
+
var isActiveFloor = function isActiveFloor(activeTerminal) {
|
|
189
|
+
return !activeTerminal || activeTerminal === 'ALL' || activeTerminal === window.magicDesign.device.toUpperCase();
|
|
190
|
+
};
|
|
191
|
+
|
|
192
|
+
exports.isActiveFloor = isActiveFloor;
|
|
193
|
+
|
|
187
194
|
var isDesignMode = function isDesignMode() {
|
|
188
195
|
return window.magicDesign.mode === 'designer';
|
|
189
196
|
};
|
|
@@ -204,10 +211,15 @@ var setMagicDesign = function setMagicDesign(magicDesignObj) {
|
|
|
204
211
|
|
|
205
212
|
exports.setMagicDesign = setMagicDesign;
|
|
206
213
|
|
|
207
|
-
var renderPreview = function renderPreview() {
|
|
214
|
+
var renderPreview = function renderPreview(changeHistory) {
|
|
215
|
+
if (changeHistory === void 0) {
|
|
216
|
+
changeHistory = true;
|
|
217
|
+
}
|
|
218
|
+
|
|
208
219
|
var evt = new Event('render-view', {
|
|
209
220
|
bubbles: false
|
|
210
221
|
});
|
|
222
|
+
evt.changeHistory = changeHistory;
|
|
211
223
|
window.document.dispatchEvent(evt);
|
|
212
224
|
}; // 领取优惠券
|
|
213
225
|
|
|
@@ -291,6 +303,7 @@ var clickUrl = function clickUrl(url) {
|
|
|
291
303
|
if (url.startsWith('/')) {
|
|
292
304
|
(0, _commonUtil.navigateTo)(url);
|
|
293
305
|
} else {
|
|
306
|
+
// location.href = url;
|
|
294
307
|
var newUrl = isPc() ? pcLink : h5Link;
|
|
295
308
|
(0, _commonUtil.navigateTo)(newUrl);
|
|
296
309
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
@font-face {
|
|
2
2
|
font-family: "magic-box-iconfont"; /* Project id 3317752 */
|
|
3
|
-
src: url('magic-box-iconfont.woff2?t=
|
|
4
|
-
url('magic-box-iconfont.woff?t=
|
|
5
|
-
url('magic-box-iconfont.ttf?t=
|
|
3
|
+
src: url('magic-box-iconfont.woff2?t=1669616689172') format('woff2'),
|
|
4
|
+
url('magic-box-iconfont.woff?t=1669616689172') format('woff'),
|
|
5
|
+
url('magic-box-iconfont.ttf?t=1669616689172') format('truetype');
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
.magic-box-iconfont {
|
|
@@ -13,11 +13,31 @@
|
|
|
13
13
|
-moz-osx-font-smoothing: grayscale;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
.magic-box-icon-edit:before {
|
|
17
|
+
content: "\e72e";
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.magic-box-icon-ChatDots:before {
|
|
21
|
+
content: "\e641";
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.magic-box-icon-ShoppingCartSimple:before {
|
|
25
|
+
content: "\e640";
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.magic-box-icon-select:before {
|
|
29
|
+
content: "\e65b";
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.magic-box-icon-message:before {
|
|
33
|
+
content: "\e7b0";
|
|
34
|
+
}
|
|
35
|
+
|
|
16
36
|
.magic-box-icon-bg-color:before {
|
|
17
37
|
content: "\e63f";
|
|
18
38
|
}
|
|
19
39
|
|
|
20
|
-
.magic-box-icon-
|
|
40
|
+
.magic-box-icon-mobile:before {
|
|
21
41
|
content: "\e63e";
|
|
22
42
|
}
|
|
23
43
|
|
|
@@ -109,10 +129,6 @@
|
|
|
109
129
|
content: "\e7a0";
|
|
110
130
|
}
|
|
111
131
|
|
|
112
|
-
.magic-box-icon-message:before {
|
|
113
|
-
content: "\e7a1";
|
|
114
|
-
}
|
|
115
|
-
|
|
116
132
|
.magic-box-icon-flash-deal:before {
|
|
117
133
|
content: "\e7a2";
|
|
118
134
|
}
|
|
@@ -233,10 +249,6 @@
|
|
|
233
249
|
content: "\e609";
|
|
234
250
|
}
|
|
235
251
|
|
|
236
|
-
.magic-box-icon-mobile:before {
|
|
237
|
-
content: "\e60a";
|
|
238
|
-
}
|
|
239
|
-
|
|
240
252
|
.magic-box-icon-menu:before {
|
|
241
253
|
content: "\e60b";
|
|
242
254
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
@font-face {
|
|
2
2
|
font-family: "magic-box-iconfont"; /* Project id 3317752 */
|
|
3
|
-
src: url('magic-box-iconfont.woff2?t=
|
|
4
|
-
url('magic-box-iconfont.woff?t=
|
|
5
|
-
url('magic-box-iconfont.ttf?t=
|
|
3
|
+
src: url('magic-box-iconfont.woff2?t=1669616689172') format('woff2'),
|
|
4
|
+
url('magic-box-iconfont.woff?t=1669616689172') format('woff'),
|
|
5
|
+
url('magic-box-iconfont.ttf?t=1669616689172') format('truetype');
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
.magic-box-iconfont {
|
|
@@ -13,11 +13,31 @@
|
|
|
13
13
|
-moz-osx-font-smoothing: grayscale;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
.icon-edit:before {
|
|
17
|
+
content: "\e72e";
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.icon-ChatDots:before {
|
|
21
|
+
content: "\e641";
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.icon-ShoppingCartSimple:before {
|
|
25
|
+
content: "\e640";
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.icon-select:before {
|
|
29
|
+
content: "\e65b";
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.icon-message:before {
|
|
33
|
+
content: "\e7b0";
|
|
34
|
+
}
|
|
35
|
+
|
|
16
36
|
.icon-bg-color:before {
|
|
17
37
|
content: "\e63f";
|
|
18
38
|
}
|
|
19
39
|
|
|
20
|
-
.icon-
|
|
40
|
+
.icon-mobile:before {
|
|
21
41
|
content: "\e63e";
|
|
22
42
|
}
|
|
23
43
|
|
|
@@ -109,10 +129,6 @@
|
|
|
109
129
|
content: "\e7a0";
|
|
110
130
|
}
|
|
111
131
|
|
|
112
|
-
.icon-message:before {
|
|
113
|
-
content: "\e7a1";
|
|
114
|
-
}
|
|
115
|
-
|
|
116
132
|
.icon-flash-deal:before {
|
|
117
133
|
content: "\e7a2";
|
|
118
134
|
}
|
|
@@ -233,10 +249,6 @@
|
|
|
233
249
|
content: "\e609";
|
|
234
250
|
}
|
|
235
251
|
|
|
236
|
-
.icon-mobile:before {
|
|
237
|
-
content: "\e60a";
|
|
238
|
-
}
|
|
239
|
-
|
|
240
252
|
.icon-menu:before {
|
|
241
253
|
content: "\e60b";
|
|
242
254
|
}
|