@fonixtree/magic-design 1.0.48 → 1.0.50
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/assets/fonts/.DS_Store +0 -0
- package/es/composite-comp/common/components/ProductItem/index.js +1 -1
- package/es/composite-comp/dito/components/SignBoard/mobile/index.js +1 -1
- package/lib/assets/fonts/.DS_Store +0 -0
- package/lib/composite-comp/common/components/ProductItem/index.js +1 -1
- package/lib/composite-comp/dito/components/SignBoard/mobile/index.js +1 -1
- package/package.json +1 -1
|
Binary file
|
|
@@ -136,7 +136,7 @@ function (_super) {
|
|
|
136
136
|
|
|
137
137
|
var _price = pricePrefix + " " + integerPart + " " + (decimalPart ? '.' + decimalPart : '');
|
|
138
138
|
|
|
139
|
-
var oldPrice = data.marketPrice
|
|
139
|
+
var oldPrice = data.marketPrice ? (0, _currencyUtil.formatCurrencyWithSymbol)(data.marketPrice) : null;
|
|
140
140
|
var discount = Number(data.discountPercent) || 0;
|
|
141
141
|
var salePercent = Number(data.salePercent) / 100 || 0;
|
|
142
142
|
var imgStyle = {};
|
|
@@ -240,7 +240,7 @@ function (_super) {
|
|
|
240
240
|
_this.searchProduct = function () {
|
|
241
241
|
var storeId = window.magicDesign.storeId; // 只读模式,设计模式,url为空,邮箱模版
|
|
242
242
|
|
|
243
|
-
if (window.magicDesign.readOnly || window.magicDesign.mode !== 'renderer' ||
|
|
243
|
+
if (window.magicDesign.readOnly || window.magicDesign.mode !== 'renderer' || window.magicDesign.outputType == 'html') {
|
|
244
244
|
return;
|
|
245
245
|
}
|
|
246
246
|
|
|
Binary file
|
|
@@ -136,7 +136,7 @@ function (_super) {
|
|
|
136
136
|
|
|
137
137
|
var _price = pricePrefix + " " + integerPart + " " + (decimalPart ? '.' + decimalPart : '');
|
|
138
138
|
|
|
139
|
-
var oldPrice = data.marketPrice
|
|
139
|
+
var oldPrice = data.marketPrice ? (0, _currencyUtil.formatCurrencyWithSymbol)(data.marketPrice) : null;
|
|
140
140
|
var discount = Number(data.discountPercent) || 0;
|
|
141
141
|
var salePercent = Number(data.salePercent) / 100 || 0;
|
|
142
142
|
var imgStyle = {};
|
|
@@ -240,7 +240,7 @@ function (_super) {
|
|
|
240
240
|
_this.searchProduct = function () {
|
|
241
241
|
var storeId = window.magicDesign.storeId; // 只读模式,设计模式,url为空,邮箱模版
|
|
242
242
|
|
|
243
|
-
if (window.magicDesign.readOnly || window.magicDesign.mode !== 'renderer' ||
|
|
243
|
+
if (window.magicDesign.readOnly || window.magicDesign.mode !== 'renderer' || window.magicDesign.outputType == 'html') {
|
|
244
244
|
return;
|
|
245
245
|
}
|
|
246
246
|
|