@fonixtree/magic-design 1.0.185 → 1.0.187

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.
@@ -156,6 +156,7 @@ function (_super) {
156
156
  })) || []; // ad 卡片
157
157
 
158
158
  if (data.type === 'ad') {
159
+ console.log('data', data);
159
160
  return /*#__PURE__*/_react["default"].createElement("div", {
160
161
  className: "m-product-item-advertise",
161
162
  onClick: function onClick() {
@@ -178,11 +179,13 @@ function (_super) {
178
179
  _react["default"].createElement("div", {
179
180
  className: "video-wrap"
180
181
  }, /*#__PURE__*/_react["default"].createElement(_common.Video, {
182
+ key: data.id + "-" + data.url + "}",
181
183
  opts: {
182
184
  source: data.url,
183
185
  controlBarHide: true,
184
186
  autoplay: true,
185
- loop: true
187
+ loop: true,
188
+ speed: 1
186
189
  },
187
190
  videoId: data.id
188
191
  })));
@@ -8,8 +8,12 @@
8
8
  overflow: hidden;
9
9
  }
10
10
 
11
- .prism-player {
12
- background-color: transparent;
11
+ .video-container {
12
+ background: unset;
13
+
14
+ .prism-player {
15
+ background-color: unset;
16
+ }
13
17
  }
14
18
  }
15
19
 
@@ -156,6 +156,7 @@ function (_super) {
156
156
  })) || []; // ad 卡片
157
157
 
158
158
  if (data.type === 'ad') {
159
+ console.log('data', data);
159
160
  return /*#__PURE__*/_react["default"].createElement("div", {
160
161
  className: "m-product-item-advertise",
161
162
  onClick: function onClick() {
@@ -178,11 +179,13 @@ function (_super) {
178
179
  _react["default"].createElement("div", {
179
180
  className: "video-wrap"
180
181
  }, /*#__PURE__*/_react["default"].createElement(_common.Video, {
182
+ key: data.id + "-" + data.url + "}",
181
183
  opts: {
182
184
  source: data.url,
183
185
  controlBarHide: true,
184
186
  autoplay: true,
185
- loop: true
187
+ loop: true,
188
+ speed: 1
186
189
  },
187
190
  videoId: data.id
188
191
  })));
@@ -8,8 +8,12 @@
8
8
  overflow: hidden;
9
9
  }
10
10
 
11
- .prism-player {
12
- background-color: transparent;
11
+ .video-container {
12
+ background: unset;
13
+
14
+ .prism-player {
15
+ background-color: unset;
16
+ }
13
17
  }
14
18
  }
15
19
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fonixtree/magic-design",
3
3
  "author": "Cylon Team",
4
- "version": "1.0.185",
4
+ "version": "1.0.187",
5
5
  "description": "Magic Design",
6
6
  "license": "MIT",
7
7
  "module": "es/index.js",