@fonixtree/magic-design 1.0.4 → 2.0.2
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 +47 -3
- package/es/assets/fonts/magic-box-iconfont.css.bak +47 -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/less/slider.less +49 -1
- package/es/common/ImageModal/index.js +35 -2
- package/es/common/ImagePicker/index.js +69 -9
- package/es/common/ImagePicker/index.less +1 -0
- package/es/common/LinkModal/AffiliateProductTable/index.js +348 -0
- package/es/common/LinkModal/index.js +6 -0
- 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/mobile/index.js +1 -4
- package/es/composite-comp/bol/components/Carousel/mobile/index.less +81 -100
- package/es/composite-comp/bol/components/Carousel/pc/index.js +1 -4
- 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 +3 -4
- 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/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.js +1 -1
- 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/VideoSecondConfig/index.js +10 -1
- 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.less +73 -86
- package/es/composite-comp/dito/components/SearchBar/mobile/index.less +45 -52
- package/es/composite-comp/dito/components/SignBoard/mobile/index.less +76 -80
- package/es/constants/index.js +4 -2
- 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 +141 -0
- package/es/core/Designer/AiImageGenerator/History/index.less +69 -0
- package/es/core/Designer/AiImageGenerator/UploadReference/index.js +45 -0
- package/es/core/Designer/AiImageGenerator/UploadReference/index.less +39 -0
- package/es/core/Designer/AiImageGenerator/images/nodata.png +0 -0
- package/es/core/Designer/AiImageGenerator/index.js +711 -0
- package/es/core/Designer/AiImageGenerator/index.less +140 -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 +321 -0
- package/es/core/Designer/ChatRobot/index.less +130 -0
- package/es/core/Designer/ChatRobot/markdown.less +1 -0
- package/es/core/Designer/FonixtreeGpt/index.js +160 -0
- package/es/core/Designer/index.js +27 -8
- package/es/decorator/metaDecorator.js +1 -1
- package/es/locale/en/en.json +5 -0
- package/es/locale/es/es.json +5 -0
- package/es/locale/id/id.json +5 -0
- package/es/meta-comp/config-panels/ImageConfig/index.js +32 -11
- 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/index.js +5 -1
- package/es/mobx/Store.js +3 -0
- package/es/utils/androidUtil.js +2 -1
- package/es/utils/businessUtil.js +13 -0
- package/es/utils/commonUtil.js +142 -34
- package/es/utils/coreUtil.js +3 -4
- package/lib/assets/fonts/magic-box-iconfont.css +47 -3
- package/lib/assets/fonts/magic-box-iconfont.css.bak +47 -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/less/slider.less +49 -1
- package/lib/common/ImageModal/index.js +35 -2
- package/lib/common/ImagePicker/index.js +69 -9
- package/lib/common/ImagePicker/index.less +1 -0
- package/lib/common/LinkModal/AffiliateProductTable/index.js +348 -0
- package/lib/common/LinkModal/index.js +6 -0
- 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/mobile/index.js +1 -4
- package/lib/composite-comp/bol/components/Carousel/mobile/index.less +81 -100
- package/lib/composite-comp/bol/components/Carousel/pc/index.js +1 -4
- 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 +3 -4
- 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/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.js +1 -1
- 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/VideoSecondConfig/index.js +10 -1
- 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.less +73 -86
- package/lib/composite-comp/dito/components/SearchBar/mobile/index.less +45 -52
- package/lib/composite-comp/dito/components/SignBoard/mobile/index.less +76 -80
- package/lib/constants/index.js +4 -2
- 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 +141 -0
- package/lib/core/Designer/AiImageGenerator/History/index.less +69 -0
- package/lib/core/Designer/AiImageGenerator/UploadReference/index.js +45 -0
- package/lib/core/Designer/AiImageGenerator/UploadReference/index.less +39 -0
- package/lib/core/Designer/AiImageGenerator/images/nodata.png +0 -0
- package/lib/core/Designer/AiImageGenerator/index.js +711 -0
- package/lib/core/Designer/AiImageGenerator/index.less +140 -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 +321 -0
- package/lib/core/Designer/ChatRobot/index.less +130 -0
- package/lib/core/Designer/ChatRobot/markdown.less +1 -0
- package/lib/core/Designer/FonixtreeGpt/index.js +160 -0
- package/lib/core/Designer/index.js +27 -8
- package/lib/decorator/metaDecorator.js +1 -1
- package/lib/locale/en/en.json +5 -0
- package/lib/locale/es/es.json +5 -0
- package/lib/locale/id/id.json +5 -0
- package/lib/meta-comp/config-panels/ImageConfig/index.js +32 -11
- 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/index.js +5 -1
- package/lib/mobx/Store.js +3 -0
- package/lib/utils/androidUtil.js +2 -1
- package/lib/utils/businessUtil.js +13 -0
- package/lib/utils/commonUtil.js +142 -34
- package/lib/utils/coreUtil.js +3 -4
- package/package.json +2 -1
- package/es/assets/fonts/.DS_Store +0 -0
- package/lib/assets/fonts/.DS_Store +0 -0
|
@@ -1,80 +1,54 @@
|
|
|
1
1
|
.m-banner-mobile {
|
|
2
2
|
position: relative;
|
|
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
|
-
.swiper-ban {
|
|
58
|
-
position: absolute;
|
|
59
|
-
width: 100%;
|
|
60
|
-
bottom: 10px;
|
|
61
|
-
display: flex;
|
|
62
|
-
align-items: center;
|
|
63
|
-
justify-content: center;
|
|
64
|
-
|
|
65
|
-
.ban {
|
|
66
|
-
font-size: 16px;
|
|
67
|
-
width: 1.5em;
|
|
68
|
-
height: 0.3em;
|
|
69
|
-
background: #FFF;
|
|
70
|
-
cursor: inherit;
|
|
71
|
-
margin-right: 0.3em;
|
|
72
|
-
transition: all .5s;
|
|
73
|
-
|
|
74
|
-
&.active {
|
|
75
|
-
width: 1.5em;
|
|
76
|
-
opacity: 1;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
}
|
|
3
|
+
}
|
|
4
|
+
.m-banner-mobile .cylon-carousel .slick-track {
|
|
5
|
+
display: flex;
|
|
6
|
+
align-items: center;
|
|
7
|
+
}
|
|
8
|
+
.m-banner-mobile .carouselItem {
|
|
9
|
+
position: relative;
|
|
10
|
+
display: flex;
|
|
11
|
+
}
|
|
12
|
+
.m-banner-mobile .carouselItem .carouseContent {
|
|
13
|
+
padding: 0 0.56rem;
|
|
14
|
+
position: absolute;
|
|
15
|
+
z-index: 2;
|
|
16
|
+
display: flex;
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
margin-bottom: auto;
|
|
19
|
+
}
|
|
20
|
+
.m-banner-mobile .carouselItem .title {
|
|
21
|
+
margin-bottom: 0.16rem;
|
|
22
|
+
}
|
|
23
|
+
.m-banner-mobile .carouselItem .sub-title {
|
|
24
|
+
margin-bottom: 0.4rem;
|
|
25
|
+
}
|
|
26
|
+
.m-banner-mobile .carouselItem .btn-wrap {
|
|
27
|
+
display: flex;
|
|
28
|
+
align-items: center;
|
|
29
|
+
justify-content: flex-start;
|
|
30
|
+
}
|
|
31
|
+
.m-banner-mobile .carouselItem .btn-wrap .btn {
|
|
32
|
+
margin-right: 0.24rem;
|
|
33
|
+
}
|
|
34
|
+
.m-banner-mobile .swiper-ban {
|
|
35
|
+
position: absolute;
|
|
36
|
+
width: 100%;
|
|
37
|
+
bottom: 0.2rem;
|
|
38
|
+
display: flex;
|
|
39
|
+
align-items: center;
|
|
40
|
+
justify-content: center;
|
|
41
|
+
}
|
|
42
|
+
.m-banner-mobile .swiper-ban .ban {
|
|
43
|
+
font-size: 0.32rem;
|
|
44
|
+
width: 1.5em;
|
|
45
|
+
height: 0.3em;
|
|
46
|
+
background: #FFF;
|
|
47
|
+
cursor: inherit;
|
|
48
|
+
margin-right: 0.3em;
|
|
49
|
+
transition: all 0.5s;
|
|
50
|
+
}
|
|
51
|
+
.m-banner-mobile .swiper-ban .ban.active {
|
|
52
|
+
width: 1.5em;
|
|
53
|
+
opacity: 1;
|
|
54
|
+
}
|
|
@@ -227,10 +227,7 @@ function (_super) {
|
|
|
227
227
|
autoplay = false;
|
|
228
228
|
}
|
|
229
229
|
|
|
230
|
-
var GAData =
|
|
231
|
-
moduleId: data.id,
|
|
232
|
-
moduleName: data.moduleIndex + '.' + data.type
|
|
233
|
-
};
|
|
230
|
+
var GAData = (0, _commonUtil.getGAData)(data);
|
|
234
231
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
235
232
|
className: "m-banner-pc"
|
|
236
233
|
}, data.setting.navigation.open && /*#__PURE__*/_react["default"].createElement(_common.Iconfont, {
|
|
@@ -17,6 +17,8 @@ var _compositeDecorator = _interopRequireDefault(require("../../../../decorator/
|
|
|
17
17
|
|
|
18
18
|
var _ConfigPanel = require("../../../../core/Designer/ConfigPanel");
|
|
19
19
|
|
|
20
|
+
var _commonUtil = require("../../../../utils/commonUtil");
|
|
21
|
+
|
|
20
22
|
require("./index.less");
|
|
21
23
|
|
|
22
24
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -92,10 +94,7 @@ function (_super) {
|
|
|
92
94
|
var _a;
|
|
93
95
|
|
|
94
96
|
var nodeData = this.props.nodeData;
|
|
95
|
-
var GAData =
|
|
96
|
-
moduleId: nodeData.id,
|
|
97
|
-
moduleName: nodeData.moduleIndex + '.' + nodeData.type
|
|
98
|
-
};
|
|
97
|
+
var GAData = (0, _commonUtil.getGAData)(nodeData);
|
|
99
98
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
100
99
|
className: (0, _classnames["default"])('button-comp-wrap', (_a = {}, _a[nodeData.customize.layout] = true, _a[nodeData.customize.align] = true, _a)),
|
|
101
100
|
onClick: this.onComponentClick
|
|
@@ -199,10 +199,7 @@ function (_super) {
|
|
|
199
199
|
}
|
|
200
200
|
|
|
201
201
|
var floorColNum = Math.floor(colNum);
|
|
202
|
-
var GAData =
|
|
203
|
-
moduleId: data.id,
|
|
204
|
-
moduleName: data.moduleIndex + '.' + data.type
|
|
205
|
-
};
|
|
202
|
+
var GAData = (0, _commonUtil.getGAData)(data);
|
|
206
203
|
var autoplay = data.setting.autoplay.open;
|
|
207
204
|
/** 设计器模式下 如果选中特定group 自动播放关闭 */
|
|
208
205
|
|
|
@@ -1,103 +1,84 @@
|
|
|
1
1
|
.m-carousel-mobile {
|
|
2
2
|
position: relative;
|
|
3
3
|
width: 100%;
|
|
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
|
-
border-radius: 50%;
|
|
86
|
-
background: #FFF;
|
|
87
|
-
cursor: inherit;
|
|
88
|
-
margin-right: 10px;
|
|
89
|
-
transition: all .5s;
|
|
90
|
-
|
|
91
|
-
&:last-child {
|
|
92
|
-
margin-right: 0;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
&.active {
|
|
96
|
-
width: 2em;
|
|
97
|
-
height: 1em;
|
|
98
|
-
border-radius: 100px;
|
|
99
|
-
opacity: 1;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
|
4
|
+
}
|
|
5
|
+
.m-carousel-mobile .content {
|
|
6
|
+
display: flex;
|
|
7
|
+
margin: 0 auto;
|
|
8
|
+
}
|
|
9
|
+
.m-carousel-mobile .slider-wrap {
|
|
10
|
+
width: 100%;
|
|
11
|
+
margin: 0 auto;
|
|
12
|
+
line-height: 1;
|
|
13
|
+
}
|
|
14
|
+
.m-carousel-mobile .slider-wrap .slick-list {
|
|
15
|
+
padding: 0;
|
|
16
|
+
}
|
|
17
|
+
.m-carousel-mobile .slider-wrap .slick-list:hover {
|
|
18
|
+
padding-top: 2rem;
|
|
19
|
+
margin-top: -2rem;
|
|
20
|
+
padding-bottom: 2rem;
|
|
21
|
+
margin-bottom: -2rem;
|
|
22
|
+
}
|
|
23
|
+
.m-carousel-mobile .slider-wrap .slick-list .slick-track {
|
|
24
|
+
display: flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
gap: 0.24rem;
|
|
27
|
+
}
|
|
28
|
+
.m-carousel-mobile .slider-wrap .img-wrap .img {
|
|
29
|
+
width: fit-content;
|
|
30
|
+
height: fit-content;
|
|
31
|
+
display: block;
|
|
32
|
+
margin: 0 auto;
|
|
33
|
+
}
|
|
34
|
+
.m-carousel-mobile .slider-wrap .img-wrap .title {
|
|
35
|
+
display: flex;
|
|
36
|
+
justify-content: center;
|
|
37
|
+
margin-top: 0.24rem;
|
|
38
|
+
}
|
|
39
|
+
.m-carousel-mobile .slider-wrap .img-wrap .text {
|
|
40
|
+
display: flex;
|
|
41
|
+
justify-content: center;
|
|
42
|
+
margin-top: 0.12rem;
|
|
43
|
+
}
|
|
44
|
+
.m-carousel-mobile .slider-wrap .img-wrap .tags {
|
|
45
|
+
margin-top: 0.16rem;
|
|
46
|
+
margin-bottom: 0.24rem;
|
|
47
|
+
display: flex;
|
|
48
|
+
flex-direction: row;
|
|
49
|
+
align-items: center;
|
|
50
|
+
justify-content: center;
|
|
51
|
+
}
|
|
52
|
+
.m-carousel-mobile .slider-wrap .img-wrap .tags > div {
|
|
53
|
+
margin-right: 0.16rem;
|
|
54
|
+
}
|
|
55
|
+
.m-carousel-mobile .slider-wrap .img-wrap .tags > div:last-child {
|
|
56
|
+
margin-right: 0;
|
|
57
|
+
}
|
|
58
|
+
.m-carousel-mobile .swiper-ban {
|
|
59
|
+
position: absolute;
|
|
60
|
+
width: 100%;
|
|
61
|
+
bottom: 0.12rem;
|
|
62
|
+
display: flex;
|
|
63
|
+
align-items: center;
|
|
64
|
+
justify-content: center;
|
|
65
|
+
}
|
|
66
|
+
.m-carousel-mobile .swiper-ban .ban {
|
|
67
|
+
font-size: 0.16rem;
|
|
68
|
+
width: 1em;
|
|
69
|
+
height: 1em;
|
|
70
|
+
border-radius: 50%;
|
|
71
|
+
background: #FFF;
|
|
72
|
+
cursor: inherit;
|
|
73
|
+
margin-right: 0.2rem;
|
|
74
|
+
transition: all 0.5s;
|
|
75
|
+
}
|
|
76
|
+
.m-carousel-mobile .swiper-ban .ban:last-child {
|
|
77
|
+
margin-right: 0;
|
|
78
|
+
}
|
|
79
|
+
.m-carousel-mobile .swiper-ban .ban.active {
|
|
80
|
+
width: 2em;
|
|
81
|
+
height: 1em;
|
|
82
|
+
border-radius: 2rem;
|
|
83
|
+
opacity: 1;
|
|
84
|
+
}
|
|
@@ -209,10 +209,7 @@ function (_super) {
|
|
|
209
209
|
}
|
|
210
210
|
|
|
211
211
|
var floorColNum = Math.floor(colNum);
|
|
212
|
-
var GAData =
|
|
213
|
-
moduleId: data.id,
|
|
214
|
-
moduleName: data.moduleIndex + '.' + data.type
|
|
215
|
-
};
|
|
212
|
+
var GAData = (0, _commonUtil.getGAData)(data);
|
|
216
213
|
var autoplay = data.setting.autoplay.open;
|
|
217
214
|
/** 设计器模式下 如果选中特定group 自动播放关闭 */
|
|
218
215
|
|
|
@@ -112,10 +112,7 @@ function (_super) {
|
|
|
112
112
|
|
|
113
113
|
ImageGalleryMobile.prototype.render = function () {
|
|
114
114
|
var data = this.props.data;
|
|
115
|
-
var GAData =
|
|
116
|
-
moduleId: data.id,
|
|
117
|
-
moduleName: data.moduleIndex + '.' + data.type
|
|
118
|
-
};
|
|
115
|
+
var GAData = (0, _commonUtil.getGAData)(data);
|
|
119
116
|
var isHorizontal = data.customize.layout.h5Layout === 'layout2';
|
|
120
117
|
var colNum = isHorizontal ? data.customize.rowNum : 1;
|
|
121
118
|
var newData = data.groupSource.reduce(function (prev, curr, index) {
|
|
@@ -1,22 +1,15 @@
|
|
|
1
|
-
.m-image-gallery-mobile {
|
|
2
|
-
.
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
display: flex;
|
|
17
|
-
align-items: center;
|
|
18
|
-
justify-content: center;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
1
|
+
.m-image-gallery-mobile .content .line {
|
|
2
|
+
margin-bottom: 0.24rem;
|
|
3
|
+
}
|
|
4
|
+
.m-image-gallery-mobile .content .line.isHorizontal {
|
|
5
|
+
display: flex;
|
|
6
|
+
justify-content: flex-start;
|
|
7
|
+
}
|
|
8
|
+
.m-image-gallery-mobile .content .line:last-child {
|
|
9
|
+
margin-bottom: 0;
|
|
10
|
+
}
|
|
11
|
+
.m-image-gallery-mobile .content .line .img-wrap {
|
|
12
|
+
display: flex;
|
|
13
|
+
align-items: center;
|
|
14
|
+
justify-content: center;
|
|
15
|
+
}
|
|
@@ -13,6 +13,8 @@ var _components = require("../../../../../meta-comp/components");
|
|
|
13
13
|
|
|
14
14
|
var _ConfigPanel = require("../../../../../core/Designer/ConfigPanel");
|
|
15
15
|
|
|
16
|
+
var _commonUtil = require("../../../../../utils/commonUtil");
|
|
17
|
+
|
|
16
18
|
require("./index.less");
|
|
17
19
|
|
|
18
20
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -128,10 +130,7 @@ function (_super) {
|
|
|
128
130
|
|
|
129
131
|
ImageGalleryPc.prototype.render = function () {
|
|
130
132
|
var data = this.props.data;
|
|
131
|
-
var GAData =
|
|
132
|
-
moduleId: data.id,
|
|
133
|
-
moduleName: data.moduleIndex + '.' + data.type
|
|
134
|
-
};
|
|
133
|
+
var GAData = (0, _commonUtil.getGAData)(data);
|
|
135
134
|
var isHorizontal = data.customize.layout.pcLayout === 'layout2';
|
|
136
135
|
var colNum = isHorizontal ? data.customize.pcRowNum : 1;
|
|
137
136
|
var newData = data.groupSource.reduce(function (prev, curr, index) {
|
|
@@ -26,14 +26,23 @@ var ImageTextGroupSourceJSON = function ImageTextGroupSourceJSON() {
|
|
|
26
26
|
pcName: 'name2',
|
|
27
27
|
h5ImgSrc: '',
|
|
28
28
|
pcImgSrc: '',
|
|
29
|
-
clickUrl: ''
|
|
29
|
+
clickUrl: '',
|
|
30
|
+
// scale: 0.5,
|
|
31
|
+
imageSelectedWay: {
|
|
32
|
+
pc: '',
|
|
33
|
+
mobile: ''
|
|
34
|
+
}
|
|
30
35
|
},
|
|
31
36
|
hover: {
|
|
32
37
|
open: false,
|
|
33
38
|
backgroundType: 'enlarge',
|
|
34
39
|
magnification: 1.5,
|
|
35
40
|
pcImgHoverUrl: '',
|
|
36
|
-
h5ImgHoverUrl: ''
|
|
41
|
+
h5ImgHoverUrl: '',
|
|
42
|
+
imageSelectedWay: {
|
|
43
|
+
pc: '',
|
|
44
|
+
mobile: ''
|
|
45
|
+
}
|
|
37
46
|
}
|
|
38
47
|
},
|
|
39
48
|
title: {
|
|
@@ -124,10 +124,7 @@ function (_super) {
|
|
|
124
124
|
|
|
125
125
|
var data = this.props.data; // console.log('----imagetext mobile', data);
|
|
126
126
|
|
|
127
|
-
var GAData =
|
|
128
|
-
moduleId: data.id,
|
|
129
|
-
moduleName: data.moduleIndex + '.' + data.type
|
|
130
|
-
};
|
|
127
|
+
var GAData = (0, _commonUtil.getGAData)(data);
|
|
131
128
|
var wrapStyle = {};
|
|
132
129
|
wrapStyle.textAlign = data.customize.align; // if (data.background.bgType === 'color') {
|
|
133
130
|
// wrapStyle.backgroundColor = data.background.color;
|