@fonixtree/magic-design 2.0.184 → 2.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.
- package/es/composite-comp/common/components/MonpayProductItem/index.js +1 -1
- package/es/composite-comp/monpay/components/MonpayRecommend/mobile/index.js +1 -0
- package/lib/composite-comp/common/components/MonpayProductItem/index.js +1 -1
- package/lib/composite-comp/monpay/components/MonpayRecommend/mobile/index.js +1 -0
- package/package.json +1 -1
|
@@ -164,7 +164,7 @@ function (_super) {
|
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
-
var _discountPercent = isRecommend ? data.sppDiscountPercent : data.discountPercent;
|
|
167
|
+
var _discountPercent = isRecommend ? data.sppDiscountPercent || data.discountPercent : data.discountPercent;
|
|
168
168
|
|
|
169
169
|
return /*#__PURE__*/_react["default"].createElement("div", _extends({
|
|
170
170
|
className: (0, _classnames["default"])('monpay-product-item-wrap', {
|
|
@@ -822,6 +822,7 @@ function (_super) {
|
|
|
822
822
|
imgHeight: imgHeight,
|
|
823
823
|
imgWidth: imgWidth,
|
|
824
824
|
intelligentType: (_a = groupSource[tabIndex]) === null || _a === void 0 ? void 0 : _a.intelligentType,
|
|
825
|
+
isRecommend: true,
|
|
825
826
|
layout: layout === 'layout2' ? 'horizontal' : 'vertical',
|
|
826
827
|
onItemClick: function onItemClick() {
|
|
827
828
|
/** PTO 定制GA */
|
|
@@ -164,7 +164,7 @@ function (_super) {
|
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
-
var _discountPercent = isRecommend ? data.sppDiscountPercent : data.discountPercent;
|
|
167
|
+
var _discountPercent = isRecommend ? data.sppDiscountPercent || data.discountPercent : data.discountPercent;
|
|
168
168
|
|
|
169
169
|
return /*#__PURE__*/_react["default"].createElement("div", _extends({
|
|
170
170
|
className: (0, _classnames["default"])('monpay-product-item-wrap', {
|
|
@@ -822,6 +822,7 @@ function (_super) {
|
|
|
822
822
|
imgHeight: imgHeight,
|
|
823
823
|
imgWidth: imgWidth,
|
|
824
824
|
intelligentType: (_a = groupSource[tabIndex]) === null || _a === void 0 ? void 0 : _a.intelligentType,
|
|
825
|
+
isRecommend: true,
|
|
825
826
|
layout: layout === 'layout2' ? 'horizontal' : 'vertical',
|
|
826
827
|
onItemClick: function onItemClick() {
|
|
827
828
|
/** PTO 定制GA */
|