@fonixtree/magic-design 1.0.185 → 1.0.186

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() {
@@ -182,7 +183,8 @@ function (_super) {
182
183
  source: data.url,
183
184
  controlBarHide: true,
184
185
  autoplay: true,
185
- loop: true
186
+ loop: true,
187
+ speed: 1
186
188
  },
187
189
  videoId: data.id
188
190
  })));
@@ -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() {
@@ -182,7 +183,8 @@ function (_super) {
182
183
  source: data.url,
183
184
  controlBarHide: true,
184
185
  autoplay: true,
185
- loop: true
186
+ loop: true,
187
+ speed: 1
186
188
  },
187
189
  videoId: data.id
188
190
  })));
@@ -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.186",
5
5
  "description": "Magic Design",
6
6
  "license": "MIT",
7
7
  "module": "es/index.js",