...
|
...
|
@@ -1223,7 +1223,7 @@ const _detailDataPkg = (origin, uid, vipLevel, cookies) => { |
|
|
result.promotion = ((salePriceNum / marketPriceNum) * 10).toFixed(1);
|
|
|
|
|
|
// 只显示大于1折小于9折的折扣
|
|
|
if (1.0 >= result.promotion || 9.0 >= result.promotion) {
|
|
|
if (result.promotion >= 1.0 || result.promotion >= 9.0) {
|
|
|
result.promotion = false;
|
|
|
}
|
|
|
}
|
...
|
...
|
|