@fonixtree/magic-design 2.0.185 → 2.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.
@@ -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', {
@@ -6,6 +6,7 @@
6
6
  cursor: pointer;
7
7
  position: relative;
8
8
  margin-right: 16px;
9
+ border-radius: 8px;
9
10
 
10
11
  .img-wrap {
11
12
  position: relative;
@@ -237,6 +238,7 @@
237
238
  color: #848484;
238
239
  margin-top: 6px;
239
240
  text-align: left;
241
+ padding: 0 0 6px 4px;
240
242
  }
241
243
 
242
244
  .progress-container {
@@ -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', {
@@ -6,6 +6,7 @@
6
6
  cursor: pointer;
7
7
  position: relative;
8
8
  margin-right: 16px;
9
+ border-radius: 8px;
9
10
 
10
11
  .img-wrap {
11
12
  position: relative;
@@ -237,6 +238,7 @@
237
238
  color: #848484;
238
239
  margin-top: 6px;
239
240
  text-align: left;
241
+ padding: 0 0 6px 4px;
240
242
  }
241
243
 
242
244
  .progress-container {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fonixtree/magic-design",
3
3
  "author": "Cylon Team",
4
- "version": "2.0.185",
4
+ "version": "2.0.187",
5
5
  "description": "Magic Design",
6
6
  "license": "MIT",
7
7
  "module": "es/index.js",