@fonixtree/magic-design 1.0.145 → 1.0.147
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/ProductCardModal/index.js +1 -1
- package/es/common/ProductCardModal/index.less +1 -1
- package/es/common/VideoPC/index.js +4 -2
- package/es/composite-comp/dito/components/SearchDITO/pc/index.less +2 -0
- package/es/composite-comp/dito/components/SlideImage/pc/components/ParallaxScroll/index.js +1 -1
- package/es/utils/coreUtil.js +1 -1
- package/lib/common/ProductCardModal/index.js +1 -1
- package/lib/common/ProductCardModal/index.less +1 -1
- package/lib/common/VideoPC/index.js +4 -2
- package/lib/composite-comp/dito/components/SearchDITO/pc/index.less +2 -0
- package/lib/composite-comp/dito/components/SlideImage/pc/components/ParallaxScroll/index.js +1 -1
- package/lib/utils/coreUtil.js +1 -1
- package/package.json +1 -1
|
@@ -139,7 +139,7 @@ function ProductCardModal(_a) {
|
|
|
139
139
|
}
|
|
140
140
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
141
141
|
dangerouslySetInnerHTML: {
|
|
142
|
-
__html: (0, _commonUtil.xssDecode)(item.goodsIntroduce)
|
|
142
|
+
__html: (0, _commonUtil.xssDecode)(item.goodsIntroduce || '')
|
|
143
143
|
}
|
|
144
144
|
})), index === active && /*#__PURE__*/_react["default"].createElement(_Iconfont["default"], {
|
|
145
145
|
className: "closIcon",
|
|
@@ -728,9 +728,11 @@ function (_super) {
|
|
|
728
728
|
var _a = this.props,
|
|
729
729
|
videoId = _a.videoId,
|
|
730
730
|
opts = _a.opts,
|
|
731
|
-
play = _a.play
|
|
731
|
+
play = _a.play,
|
|
732
|
+
onClick = _a.onClick;
|
|
732
733
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
733
|
-
className: "video-container"
|
|
734
|
+
className: "video-container",
|
|
735
|
+
onClick: onClick
|
|
734
736
|
}, opts.source ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
735
737
|
className: "video-wrap",
|
|
736
738
|
id: 'video' + videoId
|
package/es/utils/coreUtil.js
CHANGED
|
@@ -372,7 +372,7 @@ var clickUrl = function clickUrl(url, state) {
|
|
|
372
372
|
params = _c === void 0 ? {} : _c;
|
|
373
373
|
console.log('params...', params); // PC商品卡片弹窗
|
|
374
374
|
|
|
375
|
-
if (params.type ===
|
|
375
|
+
if (params.type === 'CARD_PRODUCT_LIST') {
|
|
376
376
|
createProdCardModal(params.offerIds);
|
|
377
377
|
return;
|
|
378
378
|
}
|
|
@@ -139,7 +139,7 @@ function ProductCardModal(_a) {
|
|
|
139
139
|
}
|
|
140
140
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
141
141
|
dangerouslySetInnerHTML: {
|
|
142
|
-
__html: (0, _commonUtil.xssDecode)(item.goodsIntroduce)
|
|
142
|
+
__html: (0, _commonUtil.xssDecode)(item.goodsIntroduce || '')
|
|
143
143
|
}
|
|
144
144
|
})), index === active && /*#__PURE__*/_react["default"].createElement(_Iconfont["default"], {
|
|
145
145
|
className: "closIcon",
|
|
@@ -728,9 +728,11 @@ function (_super) {
|
|
|
728
728
|
var _a = this.props,
|
|
729
729
|
videoId = _a.videoId,
|
|
730
730
|
opts = _a.opts,
|
|
731
|
-
play = _a.play
|
|
731
|
+
play = _a.play,
|
|
732
|
+
onClick = _a.onClick;
|
|
732
733
|
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
733
|
-
className: "video-container"
|
|
734
|
+
className: "video-container",
|
|
735
|
+
onClick: onClick
|
|
734
736
|
}, opts.source ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
735
737
|
className: "video-wrap",
|
|
736
738
|
id: 'video' + videoId
|
package/lib/utils/coreUtil.js
CHANGED
|
@@ -372,7 +372,7 @@ var clickUrl = function clickUrl(url, state) {
|
|
|
372
372
|
params = _c === void 0 ? {} : _c;
|
|
373
373
|
console.log('params...', params); // PC商品卡片弹窗
|
|
374
374
|
|
|
375
|
-
if (params.type ===
|
|
375
|
+
if (params.type === 'CARD_PRODUCT_LIST') {
|
|
376
376
|
createProdCardModal(params.offerIds);
|
|
377
377
|
return;
|
|
378
378
|
}
|