@fonixtree/magic-design 0.1.71 → 0.1.73
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/common/ImagePicker/index.js +27 -16
- package/es/composite-comp/bol/components/Banner/defaultJSON.js +1 -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/mobile/Layout1/index.js +1 -4
- package/es/composite-comp/bol/components/Video/mobile/Layout1/index.less +21 -27
- package/es/composite-comp/bol/components/Video/mobile/Layout2/index.js +1 -4
- package/es/composite-comp/bol/components/Video/mobile/Layout2/index.less +36 -45
- package/es/composite-comp/bol/components/Video/mobile/Layout3/index.js +1 -4
- package/es/composite-comp/bol/components/Video/mobile/Layout3/index.less +43 -54
- package/es/composite-comp/bol/components/Video/mobile/index.less +2 -3
- package/es/composite-comp/bol/components/Video/pc/Layout1/index.js +1 -4
- package/es/composite-comp/bol/components/Video/pc/Layout2/index.js +1 -4
- package/es/composite-comp/bol/components/Video/pc/Layout3/index.js +1 -4
- package/es/composite-comp/bol/components/Video/pc/Layout4/index.js +1 -4
- package/es/composite-comp/bol/components/Video/pc/Layout5/index.js +1 -4
- 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/common/config-panels/BackgroundConfig/index.js +12 -2
- 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/core/Designer/AiImageGenerator/index.js +233 -3
- package/es/core/Designer/AiImageGenerator/index.less +33 -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 +110 -8
- package/es/core/Designer/ChatRobot/index.less +54 -1
- package/es/core/Designer/ChatRobot/markdown.less +1 -0
- package/es/core/Designer/FonixtreeGpt/index.js +299 -0
- package/es/decorator/metaDecorator.js +1 -1
- package/es/locale/en/en.json +1 -0
- package/es/locale/es/es.json +1 -0
- package/es/locale/id/id.json +1 -0
- package/es/meta-comp/config-panels/ImageConfig/index.js +32 -11
- package/es/utils/commonUtil.js +15 -2
- package/lib/common/ImagePicker/index.js +27 -16
- package/lib/composite-comp/bol/components/Banner/defaultJSON.js +1 -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/mobile/Layout1/index.js +1 -4
- package/lib/composite-comp/bol/components/Video/mobile/Layout1/index.less +21 -27
- package/lib/composite-comp/bol/components/Video/mobile/Layout2/index.js +1 -4
- package/lib/composite-comp/bol/components/Video/mobile/Layout2/index.less +36 -45
- package/lib/composite-comp/bol/components/Video/mobile/Layout3/index.js +1 -4
- package/lib/composite-comp/bol/components/Video/mobile/Layout3/index.less +43 -54
- package/lib/composite-comp/bol/components/Video/mobile/index.less +2 -3
- package/lib/composite-comp/bol/components/Video/pc/Layout1/index.js +1 -4
- package/lib/composite-comp/bol/components/Video/pc/Layout2/index.js +1 -4
- package/lib/composite-comp/bol/components/Video/pc/Layout3/index.js +1 -4
- package/lib/composite-comp/bol/components/Video/pc/Layout4/index.js +1 -4
- package/lib/composite-comp/bol/components/Video/pc/Layout5/index.js +1 -4
- 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/common/config-panels/BackgroundConfig/index.js +12 -2
- 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/core/Designer/AiImageGenerator/index.js +233 -3
- package/lib/core/Designer/AiImageGenerator/index.less +33 -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 +110 -8
- package/lib/core/Designer/ChatRobot/index.less +54 -1
- package/lib/core/Designer/ChatRobot/markdown.less +1 -0
- package/lib/core/Designer/FonixtreeGpt/index.js +299 -0
- package/lib/decorator/metaDecorator.js +1 -1
- package/lib/locale/en/en.json +1 -0
- package/lib/locale/es/es.json +1 -0
- package/lib/locale/id/id.json +1 -0
- package/lib/meta-comp/config-panels/ImageConfig/index.js +32 -11
- package/lib/utils/commonUtil.js +15 -2
- package/package.json +2 -1
|
@@ -1,30 +1,24 @@
|
|
|
1
1
|
.video-layout1-wrap {
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
width: 100%;
|
|
26
|
-
height: 100%;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
4
|
+
}
|
|
5
|
+
.video-layout1-wrap .video-item-wrap {
|
|
6
|
+
height: 4.24rem;
|
|
7
|
+
position: relative;
|
|
8
|
+
margin-bottom: 0.2rem;
|
|
9
|
+
}
|
|
10
|
+
.video-layout1-wrap .video-item-wrap:last-child {
|
|
11
|
+
margin-bottom: 0;
|
|
12
|
+
}
|
|
13
|
+
.video-layout1-wrap .video-item-wrap .play-btn {
|
|
14
|
+
position: absolute;
|
|
15
|
+
top: 50%;
|
|
16
|
+
left: 50%;
|
|
17
|
+
transform: translate(-50%, -50%);
|
|
18
|
+
z-index: 1;
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
}
|
|
21
|
+
.video-layout1-wrap .video-item-wrap .play-btn img {
|
|
22
|
+
width: 100%;
|
|
23
|
+
height: 100%;
|
|
24
|
+
}
|
|
@@ -136,10 +136,7 @@ function (_super) {
|
|
|
136
136
|
|
|
137
137
|
var sliderIndex = this.state.sliderIndex;
|
|
138
138
|
var data = this.props.data;
|
|
139
|
-
var GAData =
|
|
140
|
-
moduleId: data.id,
|
|
141
|
-
moduleName: data.moduleIndex + '.' + data.type
|
|
142
|
-
};
|
|
139
|
+
var GAData = (0, _commonUtil.getGAData)(data);
|
|
143
140
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
144
141
|
className: "video-layout2-wrap"
|
|
145
142
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
@@ -2,48 +2,39 @@
|
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
position: relative;
|
|
5
|
-
padding-bottom:
|
|
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
|
-
img {
|
|
43
|
-
width: 100%;
|
|
44
|
-
height: 100%;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
5
|
+
padding-bottom: 0.72rem;
|
|
6
|
+
}
|
|
7
|
+
.video-layout2-wrap .slider-wrap {
|
|
8
|
+
width: 100%;
|
|
9
|
+
overflow: hidden;
|
|
10
|
+
}
|
|
11
|
+
.video-layout2-wrap .slider-wrap .slider-list-wrap {
|
|
12
|
+
display: flex;
|
|
13
|
+
transform: translateX(-100%);
|
|
14
|
+
transition: all 0.3s linear;
|
|
15
|
+
position: relative;
|
|
16
|
+
}
|
|
17
|
+
.video-layout2-wrap .slider-wrap .slider-list-wrap.noAnimation {
|
|
18
|
+
animation: none;
|
|
19
|
+
}
|
|
20
|
+
.video-layout2-wrap .slider-wrap .video-item-wrap {
|
|
21
|
+
height: 4.24rem;
|
|
22
|
+
position: relative;
|
|
23
|
+
width: 100%;
|
|
24
|
+
flex-shrink: 0;
|
|
25
|
+
}
|
|
26
|
+
.video-layout2-wrap .slider-wrap .video-item-wrap:last-child {
|
|
27
|
+
margin-bottom: 0;
|
|
28
|
+
}
|
|
29
|
+
.video-layout2-wrap .slider-wrap .video-item-wrap .play-btn {
|
|
30
|
+
position: absolute;
|
|
31
|
+
top: 50%;
|
|
32
|
+
left: 50%;
|
|
33
|
+
transform: translate(-50%, -50%);
|
|
34
|
+
z-index: 1;
|
|
35
|
+
cursor: pointer;
|
|
36
|
+
}
|
|
37
|
+
.video-layout2-wrap .slider-wrap .video-item-wrap .play-btn img {
|
|
38
|
+
width: 100%;
|
|
39
|
+
height: 100%;
|
|
40
|
+
}
|
|
@@ -111,10 +111,7 @@ function (_super) {
|
|
|
111
111
|
var _this = this;
|
|
112
112
|
|
|
113
113
|
var data = this.props.data;
|
|
114
|
-
var GAData =
|
|
115
|
-
moduleId: data.id,
|
|
116
|
-
moduleName: data.moduleIndex + '.' + data.type
|
|
117
|
-
};
|
|
114
|
+
var GAData = (0, _commonUtil.getGAData)(data);
|
|
118
115
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
119
116
|
className: "video-layout3-wrap"
|
|
120
117
|
}, data.groupSource.map(function (group) {
|
|
@@ -1,57 +1,46 @@
|
|
|
1
1
|
.video-layout3-wrap {
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
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
|
-
top: unset;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.video-share-btn {
|
|
52
|
-
position: absolute;
|
|
53
|
-
right: 12px;
|
|
54
|
-
bottom: 12px;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
}
|
|
4
|
+
}
|
|
5
|
+
.video-layout3-wrap .video-tag-container {
|
|
6
|
+
padding-top: 0.4rem;
|
|
7
|
+
padding-bottom: 0.76rem;
|
|
8
|
+
}
|
|
9
|
+
.video-layout3-wrap .video-layout3-item-con {
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
margin-bottom: 0.2rem;
|
|
13
|
+
}
|
|
14
|
+
.video-layout3-wrap .video-layout3-item-con:last-child {
|
|
15
|
+
margin-bottom: 0;
|
|
16
|
+
}
|
|
17
|
+
.video-layout3-wrap .video-item-wrap {
|
|
18
|
+
height: 4.24rem;
|
|
19
|
+
position: relative;
|
|
20
|
+
}
|
|
21
|
+
.video-layout3-wrap .video-item-wrap:last-child {
|
|
22
|
+
margin-bottom: 0;
|
|
23
|
+
}
|
|
24
|
+
.video-layout3-wrap .video-item-wrap .play-btn {
|
|
25
|
+
position: absolute;
|
|
26
|
+
top: 50%;
|
|
27
|
+
left: 50%;
|
|
28
|
+
transform: translate(-50%, -50%);
|
|
29
|
+
z-index: 1;
|
|
30
|
+
cursor: pointer;
|
|
31
|
+
}
|
|
32
|
+
.video-layout3-wrap .video-item-wrap .play-btn img {
|
|
33
|
+
width: 100%;
|
|
34
|
+
height: 100%;
|
|
35
|
+
}
|
|
36
|
+
.video-layout3-wrap .video-item-wrap .play-btn.bottomLeft {
|
|
37
|
+
left: 0.24rem;
|
|
38
|
+
bottom: 0.2rem;
|
|
39
|
+
transform: unset;
|
|
40
|
+
top: unset;
|
|
41
|
+
}
|
|
42
|
+
.video-layout3-wrap .video-item-wrap .video-share-btn {
|
|
43
|
+
position: absolute;
|
|
44
|
+
right: 0.24rem;
|
|
45
|
+
bottom: 0.24rem;
|
|
46
|
+
}
|
|
@@ -107,10 +107,7 @@ function (_super) {
|
|
|
107
107
|
var _this = this;
|
|
108
108
|
|
|
109
109
|
var data = this.props.data;
|
|
110
|
-
var GAData =
|
|
111
|
-
moduleId: data.id,
|
|
112
|
-
moduleName: data.moduleIndex + '.' + data.type
|
|
113
|
-
};
|
|
110
|
+
var GAData = (0, _commonUtil.getGAData)(data);
|
|
114
111
|
var hasPlaying = Object.keys(this.videoRefMap).find(function (key) {
|
|
115
112
|
return _this.videoRefMap[key].playing;
|
|
116
113
|
});
|
|
@@ -111,10 +111,7 @@ function (_super) {
|
|
|
111
111
|
var _a;
|
|
112
112
|
|
|
113
113
|
var data = this.props.data;
|
|
114
|
-
var GAData =
|
|
115
|
-
moduleId: data.id,
|
|
116
|
-
moduleName: data.moduleIndex + '.' + data.type
|
|
117
|
-
};
|
|
114
|
+
var GAData = (0, _commonUtil.getGAData)(data);
|
|
118
115
|
var hasPlaying = Object.keys(this.videoRefMap).find(function (key) {
|
|
119
116
|
return _this.videoRefMap[key].playing;
|
|
120
117
|
});
|
|
@@ -109,10 +109,7 @@ function (_super) {
|
|
|
109
109
|
var _this = this;
|
|
110
110
|
|
|
111
111
|
var data = this.props.data;
|
|
112
|
-
var GAData =
|
|
113
|
-
moduleId: data.id,
|
|
114
|
-
moduleName: data.moduleIndex + '.' + data.type
|
|
115
|
-
};
|
|
112
|
+
var GAData = (0, _commonUtil.getGAData)(data);
|
|
116
113
|
var hasPlaying = Object.keys(this.videoRefMap).find(function (key) {
|
|
117
114
|
return _this.videoRefMap[key].playing;
|
|
118
115
|
});
|
|
@@ -111,10 +111,7 @@ function (_super) {
|
|
|
111
111
|
var _this = this;
|
|
112
112
|
|
|
113
113
|
var data = this.props.data;
|
|
114
|
-
var GAData =
|
|
115
|
-
moduleId: data.id,
|
|
116
|
-
moduleName: data.moduleIndex + '.' + data.type
|
|
117
|
-
};
|
|
114
|
+
var GAData = (0, _commonUtil.getGAData)(data);
|
|
118
115
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
119
116
|
className: "video-layout4-wrap"
|
|
120
117
|
}, data.groupSource.map(function (group) {
|
|
@@ -111,10 +111,7 @@ function (_super) {
|
|
|
111
111
|
var _this = this;
|
|
112
112
|
|
|
113
113
|
var data = this.props.data;
|
|
114
|
-
var GAData =
|
|
115
|
-
moduleId: data.id,
|
|
116
|
-
moduleName: data.moduleIndex + '.' + data.type
|
|
117
|
-
};
|
|
114
|
+
var GAData = (0, _commonUtil.getGAData)(data);
|
|
118
115
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
119
116
|
className: "video-layout5-wrap"
|
|
120
117
|
}, data.groupSource.map(function (group) {
|
|
@@ -286,10 +286,7 @@ function (_super) {
|
|
|
286
286
|
var _this = this;
|
|
287
287
|
|
|
288
288
|
var data = this.props.data;
|
|
289
|
-
var GAData =
|
|
290
|
-
moduleId: data.id,
|
|
291
|
-
moduleName: data.moduleIndex + '.' + data.type
|
|
292
|
-
};
|
|
289
|
+
var GAData = (0, _commonUtil.getGAData)(data);
|
|
293
290
|
var colNum = data.customize.rowNum;
|
|
294
291
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
295
292
|
className: "m-Wallet-mobile"
|
|
@@ -1,40 +1,27 @@
|
|
|
1
|
-
.m-Wallet-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
|
-
border-radius: 10px;
|
|
29
|
-
|
|
30
|
-
.image {
|
|
31
|
-
border-radius: 10px;
|
|
32
|
-
overflow: hidden;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.text-content {
|
|
36
|
-
position: absolute;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
1
|
+
.m-Wallet-mobile .headline {
|
|
2
|
+
margin-bottom: 0.14rem;
|
|
3
|
+
}
|
|
4
|
+
.m-Wallet-mobile .content {
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-wrap: wrap;
|
|
7
|
+
}
|
|
8
|
+
.m-Wallet-mobile .content.column_3 .item-wrap .title {
|
|
9
|
+
top: 13%;
|
|
10
|
+
}
|
|
11
|
+
.m-Wallet-mobile .content.column_3 .item-wrap .amount {
|
|
12
|
+
bottom: 13%;
|
|
13
|
+
}
|
|
14
|
+
.m-Wallet-mobile .content .item-wrap {
|
|
15
|
+
display: flex;
|
|
16
|
+
align-items: center;
|
|
17
|
+
justify-content: center;
|
|
18
|
+
position: relative;
|
|
19
|
+
border-radius: 0.2rem;
|
|
20
|
+
}
|
|
21
|
+
.m-Wallet-mobile .content .item-wrap .image {
|
|
22
|
+
border-radius: 0.2rem;
|
|
23
|
+
overflow: hidden;
|
|
24
|
+
}
|
|
25
|
+
.m-Wallet-mobile .content .item-wrap .text-content {
|
|
26
|
+
position: absolute;
|
|
27
|
+
}
|
|
@@ -286,10 +286,7 @@ function (_super) {
|
|
|
286
286
|
var _this = this;
|
|
287
287
|
|
|
288
288
|
var data = this.props.data;
|
|
289
|
-
var GAData =
|
|
290
|
-
moduleId: data.id,
|
|
291
|
-
moduleName: data.moduleIndex + '.' + data.type
|
|
292
|
-
};
|
|
289
|
+
var GAData = (0, _commonUtil.getGAData)(data);
|
|
293
290
|
var colNum = data.customize.pcRowNum;
|
|
294
291
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
295
292
|
className: "m-Wallet-pc"
|
|
@@ -106,6 +106,10 @@ function (_super) {
|
|
|
106
106
|
name = src.image.content.h5ImgSrc ? src.image.content.h5Name : (0, _locale.i18n)('BANNER_GROUP_NAME');
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
+
if (!name) {
|
|
110
|
+
name = (0, _locale.i18n)('URL_IMAGE');
|
|
111
|
+
}
|
|
112
|
+
|
|
109
113
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
110
114
|
className: "card_wrap"
|
|
111
115
|
}, /*#__PURE__*/_react["default"].createElement("img", {
|
package/es/composite-comp/bol/config-panels/CarouselConfig/CarouselConfigImageGroup/index.js
CHANGED
|
@@ -112,7 +112,7 @@ function (_super) {
|
|
|
112
112
|
src: ((0, _coreUtil.isPc)() ? src.image.content.pcImgSrc : src.image.content.h5ImgSrc) || _defaultImg["default"]
|
|
113
113
|
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
114
114
|
className: "name"
|
|
115
|
-
}, (0, _coreUtil.isPc)() ? src.image.content.pcName : src.image.content.h5Name));
|
|
115
|
+
}, ((0, _coreUtil.isPc)() ? src.image.content.pcName : src.image.content.h5Name) || (0, _locale.i18n)('URL_IMAGE')));
|
|
116
116
|
};
|
|
117
117
|
|
|
118
118
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
package/es/composite-comp/bol/config-panels/ImageGalleryConfig/ImageGalleryConfigImageGroup/index.js
CHANGED
|
@@ -112,7 +112,7 @@ function (_super) {
|
|
|
112
112
|
src: ((0, _coreUtil.isPc)() ? src.image.content.pcImgSrc : src.image.content.h5ImgSrc) || _defaultImg["default"]
|
|
113
113
|
}), /*#__PURE__*/_react["default"].createElement("div", {
|
|
114
114
|
className: "name"
|
|
115
|
-
}, (0, _coreUtil.isPc)() ? src.image.content.pcName : src.image.content.h5Name));
|
|
115
|
+
}, ((0, _coreUtil.isPc)() ? src.image.content.pcName : src.image.content.h5Name) || (0, _locale.i18n)('URL_IMAGE')));
|
|
116
116
|
};
|
|
117
117
|
|
|
118
118
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
@@ -70,8 +70,18 @@ function (_super) {
|
|
|
70
70
|
var ShareSetting = /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_common.Field, {
|
|
71
71
|
title: (0, _locale.i18n)('SOCIAL_IMAGE')
|
|
72
72
|
}, /*#__PURE__*/_react["default"].createElement(_common.ImagePicker, {
|
|
73
|
-
|
|
74
|
-
|
|
73
|
+
imageSelectedWay: data.imageSelectedWay || {
|
|
74
|
+
pc: '',
|
|
75
|
+
mobile: ''
|
|
76
|
+
},
|
|
77
|
+
onChange: function onChange(v, way) {
|
|
78
|
+
if (v) {
|
|
79
|
+
data.image = v.url;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
if (way) {
|
|
83
|
+
data.imageSelectedWay = way;
|
|
84
|
+
}
|
|
75
85
|
|
|
76
86
|
_this.reRender();
|
|
77
87
|
},
|
|
@@ -85,8 +85,18 @@ function (_super) {
|
|
|
85
85
|
},
|
|
86
86
|
value: data.color
|
|
87
87
|
}) : /*#__PURE__*/_react["default"].createElement(_common.ImagePicker, {
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
imageSelectedWay: data.imageSelectedWay || {
|
|
89
|
+
pc: '',
|
|
90
|
+
mobile: ''
|
|
91
|
+
},
|
|
92
|
+
onChange: function onChange(v, way) {
|
|
93
|
+
if (v) {
|
|
94
|
+
data.image = v.url;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
if (way) {
|
|
98
|
+
data.imageSelectedWay = way;
|
|
99
|
+
}
|
|
90
100
|
|
|
91
101
|
_this.selfRender();
|
|
92
102
|
},
|