@fonixtree/magic-design 1.0.4 → 1.0.6
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 +67 -3
- package/es/assets/fonts/magic-box-iconfont.css.bak +67 -3
- 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/imageTextLeft.svg +6 -0
- package/es/assets/images/layout-icon/imageTextRight.svg +6 -0
- package/es/assets/images/layout-icon/locationLayout.png +0 -0
- package/es/assets/less/slider.less +49 -1
- package/es/common/ColorPicker/index.js +4 -1
- package/es/common/Field/index.js +20 -3
- package/es/common/ImageLazy/index.js +172 -0
- package/es/common/ImageLazy/index.less +0 -0
- package/es/common/ImageModal/index.js +35 -2
- package/es/common/ImagePicker/index.js +76 -12
- package/es/common/ImagePicker/index.less +1 -0
- package/es/common/LinkModal/AffiliateProductTable/index.js +348 -0
- package/es/common/LinkModal/BundleCampaign/index.js +2 -2
- package/es/common/LinkModal/CatgTable/index.js +1 -1
- package/es/common/LinkModal/CouponTable/index.js +10 -2
- package/es/common/LinkModal/FilteredProductModal/index.js +5 -6
- package/es/common/LinkModal/ProductDetailPage/index.js +3 -3
- package/es/common/LinkModal/index.js +6 -0
- package/es/common/ProductModal/index.js +2 -2
- package/es/common/Video/index.js +11 -3
- package/es/common/Video/index.less +11 -7
- package/es/composite-comp/bol/components/Banner/defaultJSON.js +1 -1
- package/es/composite-comp/bol/components/Banner/index.js +15 -1
- package/es/composite-comp/bol/components/Banner/mobile/index.js +1 -4
- package/es/composite-comp/bol/components/Banner/mobile/index.less +52 -78
- package/es/composite-comp/bol/components/Banner/pc/index.js +1 -4
- package/es/composite-comp/bol/components/Button/index.js +3 -4
- package/es/composite-comp/bol/components/Carousel/index.js +27 -3
- package/es/composite-comp/bol/components/Carousel/mobile/index.js +12 -24
- package/es/composite-comp/bol/components/Carousel/mobile/index.less +81 -100
- package/es/composite-comp/bol/components/Carousel/pc/index.js +5 -6
- package/es/composite-comp/bol/components/CustomCode/defaultJSON.js +39 -0
- package/es/composite-comp/bol/components/CustomCode/index.js +138 -0
- package/es/composite-comp/bol/components/ImageGallery/mobile/index.js +1 -4
- package/es/composite-comp/bol/components/ImageGallery/mobile/index.less +15 -22
- package/es/composite-comp/bol/components/ImageGallery/pc/index.js +3 -4
- package/es/composite-comp/bol/components/ImageText/defaultJSON.js +11 -2
- package/es/composite-comp/bol/components/ImageText/mobile/index.js +1 -4
- package/es/composite-comp/bol/components/ImageText/mobile/index.less +233 -292
- package/es/composite-comp/bol/components/ImageText/pc/index.js +98 -7
- package/es/composite-comp/bol/components/ImageText/pc/index.less +32 -0
- package/es/composite-comp/bol/components/Location/defaultJSON.js +60 -0
- package/es/composite-comp/bol/components/Location/index.js +100 -0
- package/es/composite-comp/bol/components/Location/index.less +15 -0
- package/es/composite-comp/bol/components/Newsletter/index.js +1 -4
- package/es/composite-comp/bol/components/Tag/index.js +3 -4
- package/es/composite-comp/bol/components/Text/index.js +3 -4
- package/es/composite-comp/bol/components/Video/components/VideoTag/index.js +49 -10
- package/es/composite-comp/bol/components/Video/components/VideoTag/index.less +5 -5
- package/es/composite-comp/bol/components/Video/defaultJSON.js +10 -0
- package/es/composite-comp/bol/components/Video/index.js +23 -1
- package/es/composite-comp/bol/components/Video/mobile/Layout1/index.js +9 -12
- package/es/composite-comp/bol/components/Video/mobile/Layout1/index.less +21 -27
- package/es/composite-comp/bol/components/Video/mobile/Layout2/index.js +8 -11
- package/es/composite-comp/bol/components/Video/mobile/Layout2/index.less +36 -45
- package/es/composite-comp/bol/components/Video/mobile/Layout3/index.js +9 -11
- package/es/composite-comp/bol/components/Video/mobile/Layout3/index.less +43 -50
- package/es/composite-comp/bol/components/Video/mobile/index.js +8 -49
- package/es/composite-comp/bol/components/Video/mobile/index.less +2 -3
- package/es/composite-comp/bol/components/Video/pc/Layout1/index.js +9 -12
- package/es/composite-comp/bol/components/Video/pc/Layout1/index.less +2 -2
- package/es/composite-comp/bol/components/Video/pc/Layout2/index.js +15 -16
- package/es/composite-comp/bol/components/Video/pc/Layout2/index.less +4 -4
- package/es/composite-comp/bol/components/Video/pc/Layout3/index.js +8 -11
- package/es/composite-comp/bol/components/Video/pc/Layout3/index.less +2 -2
- package/es/composite-comp/bol/components/Video/pc/Layout4/index.js +9 -12
- package/es/composite-comp/bol/components/Video/pc/Layout4/index.less +5 -4
- package/es/composite-comp/bol/components/Video/pc/Layout5/index.js +9 -12
- package/es/composite-comp/bol/components/Video/pc/Layout5/index.less +12 -10
- package/es/composite-comp/bol/components/Wallet/mobile/index.js +1 -4
- package/es/composite-comp/bol/components/Wallet/mobile/index.less +27 -40
- package/es/composite-comp/bol/components/Wallet/pc/index.js +1 -4
- package/es/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.js +4 -0
- package/es/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.js +1 -1
- package/es/composite-comp/bol/config-panels/CustomCodeConfig/MyEditor/index.js +42 -0
- package/es/composite-comp/bol/config-panels/CustomCodeConfig/index.js +111 -0
- package/es/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.js +1 -1
- package/es/composite-comp/bol/config-panels/LocationConfig/index.js +149 -0
- package/es/composite-comp/bol/config-panels/VideoConfig/VideoShareConfig/index.js +12 -2
- package/es/composite-comp/bol/config-panels/VideoConfig/index.js +3 -1
- package/es/composite-comp/bol/second-config-panels/CarouselSecondConfig/index.js +182 -2
- package/es/composite-comp/bol/second-config-panels/ImageGallerySecondConfig/index.js +114 -2
- package/es/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +113 -2
- package/es/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +64 -3
- package/es/composite-comp/common/config-panels/BackgroundConfig/index.js +12 -2
- package/es/composite-comp/common/config-panels/CustomizeConfig/index.js +5 -3
- package/es/composite-comp/dito/components/FlashDeal/mobile/index.less +83 -97
- package/es/composite-comp/dito/components/MobileNavigation/mobile/index.less +18 -35
- package/es/composite-comp/dito/components/Recommend/mobile/index.js +2 -1
- package/es/composite-comp/dito/components/Recommend/mobile/index.less +73 -86
- package/es/composite-comp/dito/components/Recommend/pc/index.js +2 -1
- package/es/composite-comp/dito/components/SearchBar/defaultJSON.js +8 -0
- package/es/composite-comp/dito/components/SearchBar/mobile/index.js +67 -7
- package/es/composite-comp/dito/components/SearchBar/mobile/index.less +45 -52
- package/es/composite-comp/dito/components/SearchBar/pc/index.js +2 -2
- package/es/composite-comp/dito/components/SignBoard/defaultJSON.js +21 -37
- package/es/composite-comp/dito/components/SignBoard/mobile/index.js +35 -24
- package/es/composite-comp/dito/components/SignBoard/mobile/index.less +71 -80
- package/es/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.js +39 -9
- package/es/composite-comp/dito/config-panels/SignBoardConfig/SignBoardConfigContent/index.js +0 -48
- package/es/composite-comp/dito/config-panels/SignBoardConfig/index.js +9 -2
- package/es/composite-comp/dito/second-config-panels/MobileNavigationSecondConfig/index.js +68 -1
- package/es/composite-comp/dito/second-config-panels/RecommendSecondConfig/AIRecommendation/index.js +1 -1
- package/es/constants/component-types.js +10 -2
- package/es/constants/index.js +12 -2
- package/es/constants/layout.js +21 -1
- package/es/core/Designer/AiImageGenerator/GenerateArtist/images/back1.png +0 -0
- package/es/core/Designer/AiImageGenerator/GenerateArtist/images/back2.png +0 -0
- package/es/core/Designer/AiImageGenerator/GenerateArtist/images/back3.png +0 -0
- package/es/core/Designer/AiImageGenerator/GenerateArtist/images/back4.png +0 -0
- package/es/core/Designer/AiImageGenerator/GenerateArtist/index.js +72 -0
- package/es/core/Designer/AiImageGenerator/GenerateArtist/index.less +41 -0
- package/es/core/Designer/AiImageGenerator/GenerateSize/index.js +43 -0
- package/es/core/Designer/AiImageGenerator/GenerateSize/index.less +3 -0
- package/es/core/Designer/AiImageGenerator/History/index.js +147 -0
- package/es/core/Designer/AiImageGenerator/History/index.less +75 -0
- package/es/core/Designer/AiImageGenerator/NumberSlider/index.js +31 -0
- package/es/core/Designer/AiImageGenerator/NumberSlider/index.less +8 -0
- package/es/core/Designer/AiImageGenerator/UploadReference/index.js +55 -0
- package/es/core/Designer/AiImageGenerator/UploadReference/index.less +45 -0
- package/es/core/Designer/AiImageGenerator/images/nodata.png +0 -0
- package/es/core/Designer/AiImageGenerator/index.js +752 -0
- package/es/core/Designer/AiImageGenerator/index.less +136 -0
- package/es/core/Designer/ChatRobot/components/CopyBtn/index.js +49 -0
- package/es/core/Designer/ChatRobot/components/CopyBtn/index.less +0 -0
- package/es/core/Designer/ChatRobot/index.js +343 -0
- package/es/core/Designer/ChatRobot/index.less +138 -0
- package/es/core/Designer/ChatRobot/markdown.less +1 -0
- package/es/core/Designer/ConfigPanel/index.js +2 -1
- package/es/core/Designer/FonixtreeGpt/index.js +160 -0
- package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/components/AlignPicker/AlignSelectPicker/index.js +99 -0
- package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/components/AlignPicker/AlignSelectPicker/index.less +54 -0
- package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/components/AlignPicker/images/AlignCenterSVG.js +27 -0
- package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/components/AlignPicker/images/AlignLeftSVG.js +27 -0
- package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/components/AlignPicker/images/AlignRightSVG.js +27 -0
- package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/components/AlignPicker/index.js +96 -0
- package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/components/AlignPicker/index.less +26 -0
- package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/components/ColorPickerBtn/index.js +101 -0
- package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/components/ColorPickerBtn/index.less +26 -0
- package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/components/LinkBtn/LinkInputPicker/index.js +99 -0
- package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/components/LinkBtn/LinkInputPicker/index.less +39 -0
- package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/components/LinkBtn/index.js +93 -0
- package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/components/LinkBtn/index.less +26 -0
- package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/images/BackgroundSVG.js +27 -0
- package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/images/BoldSVG.js +29 -0
- package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/images/FontColorSVG.js +49 -0
- package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/images/ItalicSVG.js +29 -0
- package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/images/LinkSVG.js +26 -0
- package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/images/OrderSVG.js +27 -0
- package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/images/StrikeSVG.js +31 -0
- package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/images/UnderlineSVG.js +34 -0
- package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/images/UnorderSVG.js +41 -0
- package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/index.js +136 -0
- package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/index.less +25 -0
- package/es/core/Designer/TextEditModal/ToolBar/ToolBtn/type.js +1 -0
- package/es/core/Designer/TextEditModal/ToolBar/index.js +219 -0
- package/es/core/Designer/TextEditModal/ToolBar/index.less +19 -0
- package/es/core/Designer/TextEditModal/index.js +100 -0
- package/es/core/Designer/TextEditModal/index.less +4 -0
- package/es/core/Designer/TextEditModal_old/index.js +142 -0
- package/es/core/Designer/TextEditModal_old/index.less +25 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.js +99 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.less +54 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignCenterSVG.js +27 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignLeftSVG.js +27 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignRightSVG.js +27 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.js +96 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.less +26 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.js +101 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.less +60 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/CircleSVG.js +52 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/InitialSVG.js +51 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/SquareSVG.js +58 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.js +96 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.less +26 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.js +105 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.less +26 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.js +99 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.less +39 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.js +93 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.less +26 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.js +133 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.less +60 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/CJLDecimalSVG.js +46 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/DecimalSVG.js +46 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerAlphaSVG.js +46 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerRomanSVG.js +46 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperAlphaSVG.js +46 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperRomanSVG.js +46 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.js +105 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.less +26 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/images/BackgroundSVG.js +29 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/images/BoldSVG.js +29 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/images/FontColorSVG.js +49 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/images/ItalicSVG.js +29 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/images/LinkSVG.js +26 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/images/OrderSVG.js +27 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/images/StrikeSVG.js +31 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/images/UnderlineSVG.js +36 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/images/UnorderSVG.js +41 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/index.js +151 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/index.less +25 -0
- package/es/core/Designer/ToolBarModal/ToolBtn/type.js +1 -0
- package/es/core/Designer/ToolBarModal/index.js +354 -0
- package/es/core/Designer/ToolBarModal/index.less +32 -0
- package/es/core/Designer/index.js +56 -15
- package/es/decorator/index.js +14 -0
- package/es/decorator/lazyLoadDecorator.js +75 -0
- package/es/decorator/metaDecorator.js +1 -1
- package/es/locale/en/en.json +10 -0
- package/es/locale/es/es.json +10 -0
- package/es/locale/id/id.json +10 -0
- package/es/meta-comp/components/Image/index.js +19 -3
- package/es/meta-comp/components/Text/formats/fontFamily.js +58 -0
- package/es/meta-comp/components/Text/formats/fontWeight.js +58 -0
- package/es/meta-comp/components/Text/formats/listStyleTypeStyle.js +58 -0
- package/es/meta-comp/components/Text/formats/textDecorationColor.js +58 -0
- package/es/meta-comp/components/Text/formats/textDecorationStyle.js +58 -0
- package/es/meta-comp/components/Text/index.js +103 -374
- package/es/meta-comp/components/Text/index.less +57 -0
- package/es/meta-comp/config-panels/ImageConfig/index.js +35 -12
- package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-01.svg +4 -0
- package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-02.svg +4 -0
- package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-03.svg +4 -0
- package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-04.svg +4 -0
- package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-05.svg +3 -0
- package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-01.svg +4 -0
- package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-02.svg +4 -0
- package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-03.svg +4 -0
- package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-04.svg +4 -0
- package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-05.svg +3 -0
- package/es/meta-comp/config-panels/PlayIconConfig/PlaySvg/index.js +63 -0
- package/es/meta-comp/config-panels/PlayIconConfig/index.js +211 -0
- package/es/meta-comp/config-panels/PlayIconConfig/index.less +37 -2
- package/es/meta-comp/config-panels/TextConfig/TextEditModal/index.js +100 -0
- package/es/meta-comp/config-panels/TextConfig/TextEditModal/index.less +25 -0
- package/es/meta-comp/config-panels/TextConfig/UnderlineSelect/index.js +108 -0
- package/es/meta-comp/config-panels/TextConfig/UnderlineSelect/index.less +26 -0
- package/es/meta-comp/config-panels/TextConfig/index.js +14 -31
- package/es/meta-comp/config-panels/TextConfig/index.less +12 -16
- package/es/mobx/Frame.js +7 -1
- package/es/mobx/Store.js +3 -0
- package/es/utils/androidUtil.js +8 -1
- package/es/utils/businessUtil.js +13 -0
- package/es/utils/commonUtil.js +156 -34
- package/es/utils/coreUtil.js +18 -4
- package/lib/assets/fonts/magic-box-iconfont.css +67 -3
- package/lib/assets/fonts/magic-box-iconfont.css.bak +67 -3
- 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/imageTextLeft.svg +6 -0
- package/lib/assets/images/layout-icon/imageTextRight.svg +6 -0
- package/lib/assets/images/layout-icon/locationLayout.png +0 -0
- package/lib/assets/less/slider.less +49 -1
- package/lib/common/ColorPicker/index.js +4 -1
- package/lib/common/Field/index.js +20 -3
- package/lib/common/ImageLazy/index.js +172 -0
- package/lib/common/ImageLazy/index.less +0 -0
- package/lib/common/ImageModal/index.js +35 -2
- package/lib/common/ImagePicker/index.js +76 -12
- package/lib/common/ImagePicker/index.less +1 -0
- package/lib/common/LinkModal/AffiliateProductTable/index.js +348 -0
- package/lib/common/LinkModal/BundleCampaign/index.js +2 -2
- package/lib/common/LinkModal/CatgTable/index.js +1 -1
- package/lib/common/LinkModal/CouponTable/index.js +10 -2
- package/lib/common/LinkModal/FilteredProductModal/index.js +5 -6
- package/lib/common/LinkModal/ProductDetailPage/index.js +3 -3
- package/lib/common/LinkModal/index.js +6 -0
- package/lib/common/ProductModal/index.js +2 -2
- package/lib/common/Video/index.js +11 -3
- package/lib/common/Video/index.less +11 -7
- package/lib/composite-comp/bol/components/Banner/defaultJSON.js +1 -1
- package/lib/composite-comp/bol/components/Banner/index.js +15 -1
- package/lib/composite-comp/bol/components/Banner/mobile/index.js +1 -4
- package/lib/composite-comp/bol/components/Banner/mobile/index.less +52 -78
- package/lib/composite-comp/bol/components/Banner/pc/index.js +1 -4
- package/lib/composite-comp/bol/components/Button/index.js +3 -4
- package/lib/composite-comp/bol/components/Carousel/index.js +27 -3
- package/lib/composite-comp/bol/components/Carousel/mobile/index.js +12 -24
- package/lib/composite-comp/bol/components/Carousel/mobile/index.less +81 -100
- package/lib/composite-comp/bol/components/Carousel/pc/index.js +5 -6
- package/lib/composite-comp/bol/components/CustomCode/defaultJSON.js +39 -0
- package/lib/composite-comp/bol/components/CustomCode/index.js +138 -0
- package/lib/composite-comp/bol/components/ImageGallery/mobile/index.js +1 -4
- package/lib/composite-comp/bol/components/ImageGallery/mobile/index.less +15 -22
- package/lib/composite-comp/bol/components/ImageGallery/pc/index.js +3 -4
- package/lib/composite-comp/bol/components/ImageText/defaultJSON.js +11 -2
- package/lib/composite-comp/bol/components/ImageText/mobile/index.js +1 -4
- package/lib/composite-comp/bol/components/ImageText/mobile/index.less +233 -292
- package/lib/composite-comp/bol/components/ImageText/pc/index.js +98 -7
- package/lib/composite-comp/bol/components/ImageText/pc/index.less +32 -0
- package/lib/composite-comp/bol/components/Location/defaultJSON.js +60 -0
- package/lib/composite-comp/bol/components/Location/index.js +100 -0
- package/lib/composite-comp/bol/components/Location/index.less +15 -0
- package/lib/composite-comp/bol/components/Newsletter/index.js +1 -4
- package/lib/composite-comp/bol/components/Tag/index.js +3 -4
- package/lib/composite-comp/bol/components/Text/index.js +3 -4
- package/lib/composite-comp/bol/components/Video/components/VideoTag/index.js +49 -10
- package/lib/composite-comp/bol/components/Video/components/VideoTag/index.less +5 -5
- package/lib/composite-comp/bol/components/Video/defaultJSON.js +10 -0
- package/lib/composite-comp/bol/components/Video/index.js +23 -1
- package/lib/composite-comp/bol/components/Video/mobile/Layout1/index.js +9 -12
- package/lib/composite-comp/bol/components/Video/mobile/Layout1/index.less +21 -27
- package/lib/composite-comp/bol/components/Video/mobile/Layout2/index.js +8 -11
- package/lib/composite-comp/bol/components/Video/mobile/Layout2/index.less +36 -45
- package/lib/composite-comp/bol/components/Video/mobile/Layout3/index.js +9 -11
- package/lib/composite-comp/bol/components/Video/mobile/Layout3/index.less +43 -50
- package/lib/composite-comp/bol/components/Video/mobile/index.js +8 -49
- package/lib/composite-comp/bol/components/Video/mobile/index.less +2 -3
- package/lib/composite-comp/bol/components/Video/pc/Layout1/index.js +9 -12
- package/lib/composite-comp/bol/components/Video/pc/Layout1/index.less +2 -2
- package/lib/composite-comp/bol/components/Video/pc/Layout2/index.js +15 -16
- package/lib/composite-comp/bol/components/Video/pc/Layout2/index.less +4 -4
- package/lib/composite-comp/bol/components/Video/pc/Layout3/index.js +8 -11
- package/lib/composite-comp/bol/components/Video/pc/Layout3/index.less +2 -2
- package/lib/composite-comp/bol/components/Video/pc/Layout4/index.js +9 -12
- package/lib/composite-comp/bol/components/Video/pc/Layout4/index.less +5 -4
- package/lib/composite-comp/bol/components/Video/pc/Layout5/index.js +9 -12
- package/lib/composite-comp/bol/components/Video/pc/Layout5/index.less +12 -10
- package/lib/composite-comp/bol/components/Wallet/mobile/index.js +1 -4
- package/lib/composite-comp/bol/components/Wallet/mobile/index.less +27 -40
- package/lib/composite-comp/bol/components/Wallet/pc/index.js +1 -4
- package/lib/composite-comp/bol/config-panels/BannerConfig/BannerConfigGroup/index.js +4 -0
- package/lib/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.js +1 -1
- package/lib/composite-comp/bol/config-panels/CustomCodeConfig/MyEditor/index.js +42 -0
- package/lib/composite-comp/bol/config-panels/CustomCodeConfig/index.js +111 -0
- package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.js +1 -1
- package/lib/composite-comp/bol/config-panels/LocationConfig/index.js +149 -0
- package/lib/composite-comp/bol/config-panels/VideoConfig/VideoShareConfig/index.js +12 -2
- package/lib/composite-comp/bol/config-panels/VideoConfig/index.js +3 -1
- package/lib/composite-comp/bol/second-config-panels/CarouselSecondConfig/index.js +182 -2
- package/lib/composite-comp/bol/second-config-panels/ImageGallerySecondConfig/index.js +114 -2
- package/lib/composite-comp/bol/second-config-panels/ImageTextSecondConfig/index.js +113 -2
- package/lib/composite-comp/bol/second-config-panels/VideoSecondConfig/index.js +64 -3
- package/lib/composite-comp/common/config-panels/BackgroundConfig/index.js +12 -2
- package/lib/composite-comp/common/config-panels/CustomizeConfig/index.js +5 -3
- package/lib/composite-comp/dito/components/FlashDeal/mobile/index.less +83 -97
- package/lib/composite-comp/dito/components/MobileNavigation/mobile/index.less +18 -35
- package/lib/composite-comp/dito/components/Recommend/mobile/index.js +2 -1
- package/lib/composite-comp/dito/components/Recommend/mobile/index.less +73 -86
- package/lib/composite-comp/dito/components/Recommend/pc/index.js +2 -1
- package/lib/composite-comp/dito/components/SearchBar/defaultJSON.js +8 -0
- package/lib/composite-comp/dito/components/SearchBar/mobile/index.js +67 -7
- package/lib/composite-comp/dito/components/SearchBar/mobile/index.less +45 -52
- package/lib/composite-comp/dito/components/SearchBar/pc/index.js +2 -2
- package/lib/composite-comp/dito/components/SignBoard/defaultJSON.js +21 -37
- package/lib/composite-comp/dito/components/SignBoard/mobile/index.js +35 -24
- package/lib/composite-comp/dito/components/SignBoard/mobile/index.less +71 -80
- package/lib/composite-comp/dito/config-panels/SearchBarConfig/SearchBarConfigContent/index.js +39 -9
- package/lib/composite-comp/dito/config-panels/SignBoardConfig/SignBoardConfigContent/index.js +0 -48
- package/lib/composite-comp/dito/config-panels/SignBoardConfig/index.js +9 -2
- package/lib/composite-comp/dito/second-config-panels/MobileNavigationSecondConfig/index.js +68 -1
- package/lib/composite-comp/dito/second-config-panels/RecommendSecondConfig/AIRecommendation/index.js +1 -1
- package/lib/constants/component-types.js +10 -2
- package/lib/constants/index.js +12 -2
- package/lib/constants/layout.js +21 -1
- package/lib/core/Designer/AiImageGenerator/GenerateArtist/images/back1.png +0 -0
- package/lib/core/Designer/AiImageGenerator/GenerateArtist/images/back2.png +0 -0
- package/lib/core/Designer/AiImageGenerator/GenerateArtist/images/back3.png +0 -0
- package/lib/core/Designer/AiImageGenerator/GenerateArtist/images/back4.png +0 -0
- package/lib/core/Designer/AiImageGenerator/GenerateArtist/index.js +72 -0
- package/lib/core/Designer/AiImageGenerator/GenerateArtist/index.less +41 -0
- package/lib/core/Designer/AiImageGenerator/GenerateSize/index.js +43 -0
- package/lib/core/Designer/AiImageGenerator/GenerateSize/index.less +3 -0
- package/lib/core/Designer/AiImageGenerator/History/index.js +147 -0
- package/lib/core/Designer/AiImageGenerator/History/index.less +75 -0
- package/lib/core/Designer/AiImageGenerator/NumberSlider/index.js +31 -0
- package/lib/core/Designer/AiImageGenerator/NumberSlider/index.less +8 -0
- package/lib/core/Designer/AiImageGenerator/UploadReference/index.js +55 -0
- package/lib/core/Designer/AiImageGenerator/UploadReference/index.less +45 -0
- package/lib/core/Designer/AiImageGenerator/images/nodata.png +0 -0
- package/lib/core/Designer/AiImageGenerator/index.js +752 -0
- package/lib/core/Designer/AiImageGenerator/index.less +136 -0
- package/lib/core/Designer/ChatRobot/components/CopyBtn/index.js +49 -0
- package/lib/core/Designer/ChatRobot/components/CopyBtn/index.less +0 -0
- package/lib/core/Designer/ChatRobot/index.js +343 -0
- package/lib/core/Designer/ChatRobot/index.less +138 -0
- package/lib/core/Designer/ChatRobot/markdown.less +1 -0
- package/lib/core/Designer/ConfigPanel/index.js +2 -1
- package/lib/core/Designer/FonixtreeGpt/index.js +160 -0
- package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/components/AlignPicker/AlignSelectPicker/index.js +99 -0
- package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/components/AlignPicker/AlignSelectPicker/index.less +54 -0
- package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/components/AlignPicker/images/AlignCenterSVG.js +27 -0
- package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/components/AlignPicker/images/AlignLeftSVG.js +27 -0
- package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/components/AlignPicker/images/AlignRightSVG.js +27 -0
- package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/components/AlignPicker/index.js +96 -0
- package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/components/AlignPicker/index.less +26 -0
- package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/components/ColorPickerBtn/index.js +101 -0
- package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/components/ColorPickerBtn/index.less +26 -0
- package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/components/LinkBtn/LinkInputPicker/index.js +99 -0
- package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/components/LinkBtn/LinkInputPicker/index.less +39 -0
- package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/components/LinkBtn/index.js +93 -0
- package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/components/LinkBtn/index.less +26 -0
- package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/images/BackgroundSVG.js +27 -0
- package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/images/BoldSVG.js +29 -0
- package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/images/FontColorSVG.js +49 -0
- package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/images/ItalicSVG.js +29 -0
- package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/images/LinkSVG.js +26 -0
- package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/images/OrderSVG.js +27 -0
- package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/images/StrikeSVG.js +31 -0
- package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/images/UnderlineSVG.js +34 -0
- package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/images/UnorderSVG.js +41 -0
- package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/index.js +136 -0
- package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/index.less +25 -0
- package/lib/core/Designer/TextEditModal/ToolBar/ToolBtn/type.js +1 -0
- package/lib/core/Designer/TextEditModal/ToolBar/index.js +219 -0
- package/lib/core/Designer/TextEditModal/ToolBar/index.less +19 -0
- package/lib/core/Designer/TextEditModal/index.js +100 -0
- package/lib/core/Designer/TextEditModal/index.less +4 -0
- package/lib/core/Designer/TextEditModal_old/index.js +142 -0
- package/lib/core/Designer/TextEditModal_old/index.less +25 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.js +99 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/AlignSelectPicker/index.less +54 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignCenterSVG.js +27 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignLeftSVG.js +27 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/images/AlignRightSVG.js +27 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.js +96 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/AlignPicker/index.less +26 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.js +101 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/IconSelectPicker/index.less +60 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/CircleSVG.js +52 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/InitialSVG.js +51 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/images/SquareSVG.js +58 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.js +96 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/BulletPicker/index.less +26 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.js +105 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/ColorPickerBtn/index.less +26 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.js +99 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/LinkInputPicker/index.less +39 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.js +93 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/LinkBtn/index.less +26 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.js +133 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/IconSelectPicker/index.less +60 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/CJLDecimalSVG.js +46 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/DecimalSVG.js +46 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerAlphaSVG.js +46 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/LowerRomanSVG.js +46 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperAlphaSVG.js +46 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/images/UpperRomanSVG.js +46 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.js +105 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/components/OrderedPicker/index.less +26 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/BackgroundSVG.js +29 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/BoldSVG.js +29 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/FontColorSVG.js +49 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/ItalicSVG.js +29 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/LinkSVG.js +26 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/OrderSVG.js +27 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/StrikeSVG.js +31 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/UnderlineSVG.js +36 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/images/UnorderSVG.js +41 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/index.js +151 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/index.less +25 -0
- package/lib/core/Designer/ToolBarModal/ToolBtn/type.js +1 -0
- package/lib/core/Designer/ToolBarModal/index.js +354 -0
- package/lib/core/Designer/ToolBarModal/index.less +32 -0
- package/lib/core/Designer/index.js +56 -15
- package/lib/decorator/index.js +14 -0
- package/lib/decorator/lazyLoadDecorator.js +75 -0
- package/lib/decorator/metaDecorator.js +1 -1
- package/lib/locale/en/en.json +10 -0
- package/lib/locale/es/es.json +10 -0
- package/lib/locale/id/id.json +10 -0
- package/lib/meta-comp/components/Image/index.js +19 -3
- package/lib/meta-comp/components/Text/formats/fontFamily.js +58 -0
- package/lib/meta-comp/components/Text/formats/fontWeight.js +58 -0
- package/lib/meta-comp/components/Text/formats/listStyleTypeStyle.js +58 -0
- package/lib/meta-comp/components/Text/formats/textDecorationColor.js +58 -0
- package/lib/meta-comp/components/Text/formats/textDecorationStyle.js +58 -0
- package/lib/meta-comp/components/Text/index.js +103 -374
- package/lib/meta-comp/components/Text/index.less +57 -0
- package/lib/meta-comp/config-panels/ImageConfig/index.js +35 -12
- package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-01.svg +4 -0
- package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-02.svg +4 -0
- package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-03.svg +4 -0
- package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-04.svg +4 -0
- package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/dark-playicon-05.svg +3 -0
- package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-01.svg +4 -0
- package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-02.svg +4 -0
- package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-03.svg +4 -0
- package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-04.svg +4 -0
- package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/images/light-playicon-05.svg +3 -0
- package/lib/meta-comp/config-panels/PlayIconConfig/PlaySvg/index.js +63 -0
- package/lib/meta-comp/config-panels/PlayIconConfig/index.js +211 -0
- package/lib/meta-comp/config-panels/PlayIconConfig/index.less +37 -2
- package/lib/meta-comp/config-panels/TextConfig/TextEditModal/index.js +100 -0
- package/lib/meta-comp/config-panels/TextConfig/TextEditModal/index.less +25 -0
- package/lib/meta-comp/config-panels/TextConfig/UnderlineSelect/index.js +108 -0
- package/lib/meta-comp/config-panels/TextConfig/UnderlineSelect/index.less +26 -0
- package/lib/meta-comp/config-panels/TextConfig/index.js +14 -31
- package/lib/meta-comp/config-panels/TextConfig/index.less +12 -16
- package/lib/mobx/Frame.js +7 -1
- package/lib/mobx/Store.js +3 -0
- package/lib/utils/androidUtil.js +8 -1
- package/lib/utils/businessUtil.js +13 -0
- package/lib/utils/commonUtil.js +156 -34
- package/lib/utils/coreUtil.js +18 -4
- package/package.json +5 -1
- package/es/assets/fonts/.DS_Store +0 -0
- package/lib/assets/fonts/.DS_Store +0 -0
|
@@ -1,293 +1,234 @@
|
|
|
1
1
|
.image-text-mobile {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
.
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
}
|
|
105
|
-
.normal3 {
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
.outsideM {
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
.centerM {
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
margin-left: 8px;
|
|
236
|
-
}
|
|
237
|
-
// .card-text {
|
|
238
|
-
// .m-meta-text {
|
|
239
|
-
// text-align: right !important;
|
|
240
|
-
// }
|
|
241
|
-
// }
|
|
242
|
-
}
|
|
243
|
-
.card-btn-wrap {
|
|
244
|
-
display: flex;
|
|
245
|
-
flex-direction: column;
|
|
246
|
-
align-items: flex-end;
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
&:nth-of-type(2n) {
|
|
251
|
-
left: 50%;
|
|
252
|
-
&::before {
|
|
253
|
-
left: -5px;
|
|
254
|
-
top: 5px;
|
|
255
|
-
}
|
|
256
|
-
// &::after {
|
|
257
|
-
// left: -3px;
|
|
258
|
-
// top: 7px;
|
|
259
|
-
// }
|
|
260
|
-
.card-content-wrap {
|
|
261
|
-
.card-title, .card-text {
|
|
262
|
-
text-align: left !important;
|
|
263
|
-
}
|
|
264
|
-
.image-subtext-wrap {
|
|
265
|
-
.card-image-wrap {
|
|
266
|
-
margin-right: 8px;
|
|
267
|
-
}
|
|
268
|
-
// .card-text {
|
|
269
|
-
// .m-meta-text {
|
|
270
|
-
// text-align: left !important;
|
|
271
|
-
// }
|
|
272
|
-
// }
|
|
273
|
-
}
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
.card-content-wrap {
|
|
277
|
-
.card-title {
|
|
278
|
-
margin-bottom: 10px;
|
|
279
|
-
}
|
|
280
|
-
.image-subtext-wrap {
|
|
281
|
-
display: flex;
|
|
282
|
-
margin-bottom: 20px;
|
|
283
|
-
align-items: center;
|
|
284
|
-
}
|
|
285
|
-
.card-btn-wrap {
|
|
286
|
-
.card-second-btn {
|
|
287
|
-
margin-top: 12px;
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
}
|
|
2
|
+
padding: 0.34rem 0;
|
|
3
|
+
}
|
|
4
|
+
.image-text-mobile .headline {
|
|
5
|
+
margin-bottom: 0.16rem;
|
|
6
|
+
}
|
|
7
|
+
.image-text-mobile .subtitle {
|
|
8
|
+
margin-bottom: 0.72rem;
|
|
9
|
+
}
|
|
10
|
+
.image-text-mobile .group-wrap .one-card .card-btn-wrap .card-first-btn,
|
|
11
|
+
.image-text-mobile .group-wrap .one-card .card-btn-wrap .card-second-btn {
|
|
12
|
+
width: fit-content;
|
|
13
|
+
}
|
|
14
|
+
.image-text-mobile .btn-wrap {
|
|
15
|
+
display: flex;
|
|
16
|
+
width: 100%;
|
|
17
|
+
justify-content: center;
|
|
18
|
+
}
|
|
19
|
+
.image-text-mobile .btn-wrap .first-btn {
|
|
20
|
+
margin-top: 0.72rem;
|
|
21
|
+
}
|
|
22
|
+
.image-text-mobile .btn-wrap .second-btn {
|
|
23
|
+
margin-top: 0.72rem;
|
|
24
|
+
margin-left: 0.24rem;
|
|
25
|
+
}
|
|
26
|
+
.normal1 .group-wrap {
|
|
27
|
+
padding: 0 0.3rem;
|
|
28
|
+
width: 100%;
|
|
29
|
+
}
|
|
30
|
+
.normal1 .group-wrap .one-card {
|
|
31
|
+
display: flex;
|
|
32
|
+
align-items: stretch;
|
|
33
|
+
padding: 0.36rem;
|
|
34
|
+
margin-bottom: 0.16rem;
|
|
35
|
+
}
|
|
36
|
+
.normal1 .group-wrap .one-card:last-of-type {
|
|
37
|
+
margin-bottom: 0;
|
|
38
|
+
}
|
|
39
|
+
.normal1 .group-wrap .one-card .card-image-wrap {
|
|
40
|
+
flex-shrink: 0;
|
|
41
|
+
margin-right: 0.24rem;
|
|
42
|
+
}
|
|
43
|
+
.normal1 .group-wrap .one-card .card-content-wrap {
|
|
44
|
+
flex: 1;
|
|
45
|
+
display: flex;
|
|
46
|
+
flex-direction: column;
|
|
47
|
+
justify-content: center;
|
|
48
|
+
}
|
|
49
|
+
.normal1 .group-wrap .one-card .card-content-wrap .card-title {
|
|
50
|
+
margin-bottom: 0.12rem;
|
|
51
|
+
text-align: left !important;
|
|
52
|
+
}
|
|
53
|
+
.normal1 .group-wrap .one-card .card-content-wrap .card-text {
|
|
54
|
+
margin-bottom: 0.24rem;
|
|
55
|
+
text-align: left !important;
|
|
56
|
+
}
|
|
57
|
+
.normal1 .group-wrap .one-card .card-content-wrap .card-btn-wrap {
|
|
58
|
+
display: flex;
|
|
59
|
+
}
|
|
60
|
+
.normal1 .group-wrap .one-card .card-content-wrap .card-btn-wrap .card-second-btn {
|
|
61
|
+
margin-left: 0.24rem;
|
|
62
|
+
}
|
|
63
|
+
.normal2 .group-wrap {
|
|
64
|
+
width: 100%;
|
|
65
|
+
padding: 0 0.3rem;
|
|
66
|
+
}
|
|
67
|
+
.normal2 .group-wrap .one-card {
|
|
68
|
+
width: 100%;
|
|
69
|
+
padding: 0.4rem 0.32rem;
|
|
70
|
+
margin-bottom: 0.72rem;
|
|
71
|
+
}
|
|
72
|
+
.normal2 .group-wrap .one-card:last-of-type {
|
|
73
|
+
margin-bottom: 0;
|
|
74
|
+
}
|
|
75
|
+
.normal2 .group-wrap .one-card .card-image-wrap .card-image {
|
|
76
|
+
width: fit-content;
|
|
77
|
+
margin: 0 auto;
|
|
78
|
+
}
|
|
79
|
+
.normal2 .group-wrap .one-card .card-content-wrap .card-title {
|
|
80
|
+
margin-bottom: 0.16rem;
|
|
81
|
+
}
|
|
82
|
+
.normal2 .group-wrap .one-card .card-content-wrap .card-text {
|
|
83
|
+
margin-bottom: 0.32rem;
|
|
84
|
+
}
|
|
85
|
+
.normal2 .group-wrap .one-card .card-content-wrap .card-btn-wrap {
|
|
86
|
+
display: flex;
|
|
87
|
+
}
|
|
88
|
+
.normal2 .group-wrap .one-card .card-content-wrap .card-btn-wrap .card-second-btn {
|
|
89
|
+
margin-left: 0.24rem;
|
|
90
|
+
}
|
|
91
|
+
.normal3 .group-wrap {
|
|
92
|
+
display: flex;
|
|
93
|
+
flex-wrap: wrap;
|
|
94
|
+
width: 100%;
|
|
95
|
+
padding: 0 0.3rem;
|
|
96
|
+
}
|
|
97
|
+
.normal3 .group-wrap .one-card {
|
|
98
|
+
display: flex;
|
|
99
|
+
flex-direction: column;
|
|
100
|
+
}
|
|
101
|
+
.normal3 .group-wrap .one-card .card-image-wrap {
|
|
102
|
+
width: 100%;
|
|
103
|
+
padding: 0.16rem;
|
|
104
|
+
}
|
|
105
|
+
.normal3 .group-wrap .one-card .card-image-wrap .card-image {
|
|
106
|
+
width: fit-content;
|
|
107
|
+
margin: 0 auto;
|
|
108
|
+
}
|
|
109
|
+
.normal3 .group-wrap .one-card .card-title {
|
|
110
|
+
margin-bottom: 0.08rem;
|
|
111
|
+
}
|
|
112
|
+
.normal3 .group-wrap .one-card .card-text {
|
|
113
|
+
margin-bottom: 0.14rem;
|
|
114
|
+
}
|
|
115
|
+
.normal3 .group-wrap .one-card .card-btn-wrap {
|
|
116
|
+
display: flex;
|
|
117
|
+
flex-direction: column;
|
|
118
|
+
}
|
|
119
|
+
.normal3 .group-wrap .one-card .card-first-btn,
|
|
120
|
+
.normal3 .group-wrap .one-card .card-second-btn {
|
|
121
|
+
margin-bottom: 0.16rem;
|
|
122
|
+
}
|
|
123
|
+
.normal3 .group-wrap .card-margin-bottom {
|
|
124
|
+
margin-bottom: 0.2rem;
|
|
125
|
+
}
|
|
126
|
+
.outsideM .group-wrap {
|
|
127
|
+
padding: 0 0.3rem;
|
|
128
|
+
width: 100%;
|
|
129
|
+
}
|
|
130
|
+
.outsideM .group-wrap .one-card {
|
|
131
|
+
margin-top: 0.7rem;
|
|
132
|
+
position: relative;
|
|
133
|
+
padding: 0.6rem 0.2rem 0.4rem 0.72rem;
|
|
134
|
+
}
|
|
135
|
+
.outsideM .group-wrap .one-card .card-image-wrap {
|
|
136
|
+
position: absolute;
|
|
137
|
+
left: 0.36rem;
|
|
138
|
+
top: 0;
|
|
139
|
+
transform: translateY(-50%);
|
|
140
|
+
}
|
|
141
|
+
.outsideM .group-wrap .one-card .card-content-wrap .card-title {
|
|
142
|
+
margin-bottom: 0.08rem;
|
|
143
|
+
text-align: left !important;
|
|
144
|
+
}
|
|
145
|
+
.outsideM .group-wrap .one-card .card-content-wrap .card-text {
|
|
146
|
+
margin-bottom: 0.24rem;
|
|
147
|
+
text-align: left !important;
|
|
148
|
+
}
|
|
149
|
+
.outsideM .group-wrap .one-card .card-content-wrap .card-btn-wrap {
|
|
150
|
+
display: flex;
|
|
151
|
+
}
|
|
152
|
+
.outsideM .group-wrap .one-card .card-content-wrap .card-btn-wrap .card-second-btn {
|
|
153
|
+
margin-left: 0.24rem;
|
|
154
|
+
}
|
|
155
|
+
.centerM .group-wrap {
|
|
156
|
+
position: relative;
|
|
157
|
+
width: 100%;
|
|
158
|
+
}
|
|
159
|
+
.centerM .group-wrap::before {
|
|
160
|
+
content: '';
|
|
161
|
+
position: absolute;
|
|
162
|
+
width: 0.02rem;
|
|
163
|
+
height: 100%;
|
|
164
|
+
border-right: 0.02rem dashed #D2D9E5;
|
|
165
|
+
left: 50%;
|
|
166
|
+
transform: translateX(-50%);
|
|
167
|
+
}
|
|
168
|
+
.centerM .group-wrap .one-card {
|
|
169
|
+
width: calc((100% - 0.02rem)/2);
|
|
170
|
+
position: relative;
|
|
171
|
+
padding: 0 0.28rem 0.32rem;
|
|
172
|
+
}
|
|
173
|
+
.centerM .group-wrap .one-card::before {
|
|
174
|
+
content: '';
|
|
175
|
+
position: absolute;
|
|
176
|
+
border-radius: 50%;
|
|
177
|
+
background: #2F54EB;
|
|
178
|
+
width: 0.2rem;
|
|
179
|
+
height: 0.2rem;
|
|
180
|
+
z-index: 10;
|
|
181
|
+
border: 0.04rem solid #CCE3FF;
|
|
182
|
+
}
|
|
183
|
+
.centerM .group-wrap .one-card:nth-of-type(2n-1) {
|
|
184
|
+
left: 0;
|
|
185
|
+
}
|
|
186
|
+
.centerM .group-wrap .one-card:nth-of-type(2n-1)::before {
|
|
187
|
+
right: -0.1rem;
|
|
188
|
+
top: 0.1rem;
|
|
189
|
+
}
|
|
190
|
+
.centerM .group-wrap .one-card:nth-of-type(2n-1) .card-content-wrap {
|
|
191
|
+
display: flex;
|
|
192
|
+
flex-direction: column;
|
|
193
|
+
align-items: flex-end;
|
|
194
|
+
}
|
|
195
|
+
.centerM .group-wrap .one-card:nth-of-type(2n-1) .card-content-wrap .card-title,
|
|
196
|
+
.centerM .group-wrap .one-card:nth-of-type(2n-1) .card-content-wrap .card-text {
|
|
197
|
+
text-align: right !important;
|
|
198
|
+
}
|
|
199
|
+
.centerM .group-wrap .one-card:nth-of-type(2n-1) .card-content-wrap .image-subtext-wrap {
|
|
200
|
+
flex-direction: row-reverse;
|
|
201
|
+
}
|
|
202
|
+
.centerM .group-wrap .one-card:nth-of-type(2n-1) .card-content-wrap .image-subtext-wrap .card-image-wrap {
|
|
203
|
+
margin-left: 0.16rem;
|
|
204
|
+
}
|
|
205
|
+
.centerM .group-wrap .one-card:nth-of-type(2n-1) .card-content-wrap .card-btn-wrap {
|
|
206
|
+
display: flex;
|
|
207
|
+
flex-direction: column;
|
|
208
|
+
align-items: flex-end;
|
|
209
|
+
}
|
|
210
|
+
.centerM .group-wrap .one-card:nth-of-type(2n) {
|
|
211
|
+
left: 50%;
|
|
212
|
+
}
|
|
213
|
+
.centerM .group-wrap .one-card:nth-of-type(2n)::before {
|
|
214
|
+
left: -0.1rem;
|
|
215
|
+
top: 0.1rem;
|
|
216
|
+
}
|
|
217
|
+
.centerM .group-wrap .one-card:nth-of-type(2n) .card-content-wrap .card-title,
|
|
218
|
+
.centerM .group-wrap .one-card:nth-of-type(2n) .card-content-wrap .card-text {
|
|
219
|
+
text-align: left !important;
|
|
220
|
+
}
|
|
221
|
+
.centerM .group-wrap .one-card:nth-of-type(2n) .card-content-wrap .image-subtext-wrap .card-image-wrap {
|
|
222
|
+
margin-right: 0.16rem;
|
|
223
|
+
}
|
|
224
|
+
.centerM .group-wrap .one-card .card-content-wrap .card-title {
|
|
225
|
+
margin-bottom: 0.2rem;
|
|
226
|
+
}
|
|
227
|
+
.centerM .group-wrap .one-card .card-content-wrap .image-subtext-wrap {
|
|
228
|
+
display: flex;
|
|
229
|
+
margin-bottom: 0.4rem;
|
|
230
|
+
align-items: center;
|
|
231
|
+
}
|
|
232
|
+
.centerM .group-wrap .one-card .card-content-wrap .card-btn-wrap .card-second-btn {
|
|
233
|
+
margin-top: 0.24rem;
|
|
234
|
+
}
|
|
@@ -21,6 +21,8 @@ var _businessUtil = require("../../../../../utils/businessUtil");
|
|
|
21
21
|
|
|
22
22
|
var _ConfigPanel = require("../../../../../core/Designer/ConfigPanel");
|
|
23
23
|
|
|
24
|
+
var _commonUtil = require("../../../../../utils/commonUtil");
|
|
25
|
+
|
|
24
26
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
25
27
|
|
|
26
28
|
var __extends = void 0 && (void 0).__extends || function () {
|
|
@@ -109,12 +111,24 @@ function (_super) {
|
|
|
109
111
|
_this.getCardStyle = function (source, i) {
|
|
110
112
|
var data = _this.props.data;
|
|
111
113
|
var cardStyle = {
|
|
112
|
-
width: _this.calcWidth(data.customize.pcRowNum),
|
|
113
|
-
marginRight: (1 + i) % data.customize.pcRowNum !== 0 ? '2%' : 0,
|
|
114
114
|
alignItems: _AlignSelector.alignItemMap[data.customize.align],
|
|
115
115
|
textAlign: data.customize.align
|
|
116
116
|
};
|
|
117
|
+
|
|
118
|
+
if (data.customize.layout.pcLayout === 'leftImage' || data.customize.layout.pcLayout === 'rightImage') {
|
|
119
|
+
if ((data === null || data === void 0 ? void 0 : data.groupSource.length) > 1 && i != (data === null || data === void 0 ? void 0 : data.groupSource.length) - 1) {
|
|
120
|
+
cardStyle.marginBottom = 48;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
cardStyle.alignItems = 'center';
|
|
124
|
+
} else {
|
|
125
|
+
cardStyle.marginRight = (1 + i) % data.customize.pcRowNum !== 0 ? '2%' : 0;
|
|
126
|
+
cardStyle.width = _this.calcWidth(data.customize.pcRowNum);
|
|
127
|
+
cardStyle.alignItems = _AlignSelector.alignItemMap[data.customize.align];
|
|
128
|
+
}
|
|
129
|
+
|
|
117
130
|
var wrapStyle = (0, _businessUtil.computeStyle)(source, window.magicDesign.device);
|
|
131
|
+
console.log('cc wrapStyle', source, wrapStyle);
|
|
118
132
|
var hoverIndex = _this.state.hoverIndex;
|
|
119
133
|
var hoverStyle = {};
|
|
120
134
|
|
|
@@ -125,6 +139,86 @@ function (_super) {
|
|
|
125
139
|
return __assign(__assign(__assign({}, cardStyle), wrapStyle), hoverStyle);
|
|
126
140
|
};
|
|
127
141
|
|
|
142
|
+
_this.getContentStyle = function () {
|
|
143
|
+
var data = _this.props.data;
|
|
144
|
+
return {
|
|
145
|
+
alignItems: _AlignSelector.alignItemMap[data.customize.align]
|
|
146
|
+
};
|
|
147
|
+
};
|
|
148
|
+
|
|
149
|
+
_this.getAnotherLayout = function () {
|
|
150
|
+
var data = _this.props.data;
|
|
151
|
+
var hoverIndex = _this.state.hoverIndex;
|
|
152
|
+
var GAData = (0, _commonUtil.getGAData)(data);
|
|
153
|
+
console.log('ff--image text', data);
|
|
154
|
+
return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, (data === null || data === void 0 ? void 0 : data.groupSource.length) > 0 && /*#__PURE__*/_react["default"].createElement("div", {
|
|
155
|
+
className: "group-wrap"
|
|
156
|
+
}, data.groupSource.map(function (source, i) {
|
|
157
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
158
|
+
key: source.id,
|
|
159
|
+
className: "one-card",
|
|
160
|
+
onMouseEnter: function onMouseEnter() {
|
|
161
|
+
if (source.hover.open) {
|
|
162
|
+
_this.setState({
|
|
163
|
+
hoverIndex: i
|
|
164
|
+
});
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
onMouseLeave: function onMouseLeave() {
|
|
168
|
+
_this.setState({
|
|
169
|
+
hoverIndex: -1
|
|
170
|
+
});
|
|
171
|
+
},
|
|
172
|
+
style: _this.getCardStyle(source, i)
|
|
173
|
+
}, (source.image.open && hoverIndex != i || hoverIndex == i && source.hover.image.open) && /*#__PURE__*/_react["default"].createElement("div", {
|
|
174
|
+
className: "card-image-wrap"
|
|
175
|
+
}, /*#__PURE__*/_react["default"].createElement(_components.MetaImage, {
|
|
176
|
+
className: "card-image",
|
|
177
|
+
data: hoverIndex == i ? source.hover.image : source.image,
|
|
178
|
+
GAData: __assign(__assign({}, GAData), {
|
|
179
|
+
groupId: source.id,
|
|
180
|
+
groupName: (0, _ConfigPanel.getSecondConfigName)(data, source.id)
|
|
181
|
+
}),
|
|
182
|
+
maxWidth: 654,
|
|
183
|
+
minWidth: 300,
|
|
184
|
+
scale: 0.5
|
|
185
|
+
})), /*#__PURE__*/_react["default"].createElement("div", {
|
|
186
|
+
className: "content-wrap",
|
|
187
|
+
style: _this.getContentStyle()
|
|
188
|
+
}, (source.title.open && hoverIndex != i || hoverIndex == i && source.hover.title.open) && /*#__PURE__*/_react["default"].createElement(_components.MetaText, {
|
|
189
|
+
className: "card-title",
|
|
190
|
+
data: hoverIndex == i ? source.hover.title : source.title,
|
|
191
|
+
GAData: __assign(__assign({}, GAData), {
|
|
192
|
+
groupId: source.id,
|
|
193
|
+
groupName: (0, _ConfigPanel.getSecondConfigName)(data, source.id)
|
|
194
|
+
})
|
|
195
|
+
}), (source.text.open && hoverIndex != i || hoverIndex == i && source.hover.text.open) && /*#__PURE__*/_react["default"].createElement(_components.MetaText, {
|
|
196
|
+
className: "card-text",
|
|
197
|
+
data: hoverIndex == i ? source.hover.text : source.text,
|
|
198
|
+
GAData: __assign(__assign({}, GAData), {
|
|
199
|
+
groupId: source.id,
|
|
200
|
+
groupName: (0, _ConfigPanel.getSecondConfigName)(data, source.id)
|
|
201
|
+
})
|
|
202
|
+
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
203
|
+
className: "card-btn-wrap"
|
|
204
|
+
}, (source.button.open && hoverIndex != i || source.hover.button.open && hoverIndex == i) && /*#__PURE__*/_react["default"].createElement(_components.MetaButton, {
|
|
205
|
+
className: "card-first-btn",
|
|
206
|
+
data: hoverIndex == i ? source.hover.button : source.button,
|
|
207
|
+
GAData: __assign(__assign({}, GAData), {
|
|
208
|
+
groupId: source.id,
|
|
209
|
+
groupName: (0, _ConfigPanel.getSecondConfigName)(data, source.id)
|
|
210
|
+
})
|
|
211
|
+
}), (source.secondButton.open && hoverIndex != i || source.hover.secondButton.open && hoverIndex == i) && /*#__PURE__*/_react["default"].createElement(_components.MetaButton, {
|
|
212
|
+
className: "card-second-btn",
|
|
213
|
+
data: hoverIndex == i ? source.hover.secondButton : source.secondButton,
|
|
214
|
+
GAData: __assign(__assign({}, GAData), {
|
|
215
|
+
groupId: source.id,
|
|
216
|
+
groupName: (0, _ConfigPanel.getSecondConfigName)(data, source.id)
|
|
217
|
+
})
|
|
218
|
+
}))));
|
|
219
|
+
})));
|
|
220
|
+
};
|
|
221
|
+
|
|
128
222
|
return _this;
|
|
129
223
|
}
|
|
130
224
|
|
|
@@ -157,14 +251,11 @@ function (_super) {
|
|
|
157
251
|
currentMaxWidth = _a.currentMaxWidth;
|
|
158
252
|
var wrapStyle = {};
|
|
159
253
|
wrapStyle.alignItems = _AlignSelector.alignItemMap[data.customize.align];
|
|
160
|
-
var GAData =
|
|
161
|
-
moduleId: data.id,
|
|
162
|
-
moduleName: data.moduleIndex + '.' + data.type
|
|
163
|
-
};
|
|
254
|
+
var GAData = (0, _commonUtil.getGAData)(data);
|
|
164
255
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
165
256
|
className: (0, _classnames["default"])('image-text-pc', data.customize.layout.pcLayout),
|
|
166
257
|
style: wrapStyle
|
|
167
|
-
}, (data === null || data === void 0 ? void 0 : data.groupSource.length) > 0 && /*#__PURE__*/_react["default"].createElement("div", {
|
|
258
|
+
}, data.customize.layout.pcLayout === 'leftImage' || data.customize.layout.pcLayout === 'rightImage' ? this.getAnotherLayout() : (data === null || data === void 0 ? void 0 : data.groupSource.length) > 0 && /*#__PURE__*/_react["default"].createElement("div", {
|
|
168
259
|
className: "group-wrap"
|
|
169
260
|
}, data.groupSource.map(function (source, i) {
|
|
170
261
|
return /*#__PURE__*/_react["default"].createElement("div", {
|