@fonixtree/magic-design 1.0.183 → 1.0.185
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/composite-comp/bol/config-panels/ImageGalleryConfig/index.js +1 -0
- package/es/composite-comp/common/components/ProductItem/index.js +21 -8
- package/es/composite-comp/common/components/ProductItem/index.less +7 -1
- package/es/composite-comp/dito/components/Recommend/mobile/index.js +1 -0
- package/lib/composite-comp/bol/config-panels/ImageGalleryConfig/index.js +1 -0
- package/lib/composite-comp/common/components/ProductItem/index.js +21 -8
- package/lib/composite-comp/common/components/ProductItem/index.less +7 -1
- package/lib/composite-comp/dito/components/Recommend/mobile/index.js +1 -0
- package/package.json +1 -1
|
@@ -43,6 +43,7 @@ function ImageGalleryConfig(props) {
|
|
|
43
43
|
key: '1',
|
|
44
44
|
name: (0, _locale.i18n)('IMAGES'),
|
|
45
45
|
value: /*#__PURE__*/_react["default"].createElement(_ImageGalleryConfigImageGroup["default"], {
|
|
46
|
+
key: JSON.stringify(data.customize),
|
|
46
47
|
customize: data.customize,
|
|
47
48
|
source: data.groupSource
|
|
48
49
|
})
|
|
@@ -164,14 +164,27 @@ function (_super) {
|
|
|
164
164
|
}, data.url && !data.url.includes('.mp4') && /*#__PURE__*/_react["default"].createElement("img", {
|
|
165
165
|
alt: "welcome advertise",
|
|
166
166
|
src: data.url
|
|
167
|
-
}), data.url && data.url.includes('.mp4') &&
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
167
|
+
}), data.url && data.url.includes('.mp4') &&
|
|
168
|
+
/*#__PURE__*/
|
|
169
|
+
// <video
|
|
170
|
+
// autoPlay
|
|
171
|
+
// loop
|
|
172
|
+
// muted
|
|
173
|
+
// playsinline
|
|
174
|
+
// webkit-playsinline
|
|
175
|
+
// >
|
|
176
|
+
// <source src={data.url} type="video/mp4" />
|
|
177
|
+
// </video>
|
|
178
|
+
_react["default"].createElement("div", {
|
|
179
|
+
className: "video-wrap"
|
|
180
|
+
}, /*#__PURE__*/_react["default"].createElement(_common.Video, {
|
|
181
|
+
opts: {
|
|
182
|
+
source: data.url,
|
|
183
|
+
controlBarHide: true,
|
|
184
|
+
autoplay: true,
|
|
185
|
+
loop: true
|
|
186
|
+
},
|
|
187
|
+
videoId: data.id
|
|
175
188
|
})));
|
|
176
189
|
}
|
|
177
190
|
|
|
@@ -43,6 +43,7 @@ function ImageGalleryConfig(props) {
|
|
|
43
43
|
key: '1',
|
|
44
44
|
name: (0, _locale.i18n)('IMAGES'),
|
|
45
45
|
value: /*#__PURE__*/_react["default"].createElement(_ImageGalleryConfigImageGroup["default"], {
|
|
46
|
+
key: JSON.stringify(data.customize),
|
|
46
47
|
customize: data.customize,
|
|
47
48
|
source: data.groupSource
|
|
48
49
|
})
|
|
@@ -164,14 +164,27 @@ function (_super) {
|
|
|
164
164
|
}, data.url && !data.url.includes('.mp4') && /*#__PURE__*/_react["default"].createElement("img", {
|
|
165
165
|
alt: "welcome advertise",
|
|
166
166
|
src: data.url
|
|
167
|
-
}), data.url && data.url.includes('.mp4') &&
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
167
|
+
}), data.url && data.url.includes('.mp4') &&
|
|
168
|
+
/*#__PURE__*/
|
|
169
|
+
// <video
|
|
170
|
+
// autoPlay
|
|
171
|
+
// loop
|
|
172
|
+
// muted
|
|
173
|
+
// playsinline
|
|
174
|
+
// webkit-playsinline
|
|
175
|
+
// >
|
|
176
|
+
// <source src={data.url} type="video/mp4" />
|
|
177
|
+
// </video>
|
|
178
|
+
_react["default"].createElement("div", {
|
|
179
|
+
className: "video-wrap"
|
|
180
|
+
}, /*#__PURE__*/_react["default"].createElement(_common.Video, {
|
|
181
|
+
opts: {
|
|
182
|
+
source: data.url,
|
|
183
|
+
controlBarHide: true,
|
|
184
|
+
autoplay: true,
|
|
185
|
+
loop: true
|
|
186
|
+
},
|
|
187
|
+
videoId: data.id
|
|
175
188
|
})));
|
|
176
189
|
}
|
|
177
190
|
|