|
@ -696,7 +696,7 @@ export default { |
|
|
|
|
|
|
|
|
getStylePriceInfo(item) { |
|
|
getStylePriceInfo(item) { |
|
|
// 优先显示款式价格信息 |
|
|
// 优先显示款式价格信息 |
|
|
if (item.styleMinPrice && item.styleMaxPrice) { |
|
|
|
|
|
|
|
|
if (item.styleMinPrice || item.styleMaxPrice) { |
|
|
const minPrice = parseFloat(item.styleMinPrice) |
|
|
const minPrice = parseFloat(item.styleMinPrice) |
|
|
const maxPrice = parseFloat(item.styleMaxPrice) |
|
|
const maxPrice = parseFloat(item.styleMaxPrice) |
|
|
|
|
|
|
|
@ -708,7 +708,7 @@ export default { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// 如果没有款式价格,显示商品本身的价格 |
|
|
// 如果没有款式价格,显示商品本身的价格 |
|
|
if (item.productMinPrice && item.productMaxPrice) { |
|
|
|
|
|
|
|
|
if (item.productMinPrice || item.productMaxPrice) { |
|
|
const minPrice = parseFloat(item.productMinPrice) |
|
|
const minPrice = parseFloat(item.productMinPrice) |
|
|
const maxPrice = parseFloat(item.productMaxPrice) |
|
|
const maxPrice = parseFloat(item.productMaxPrice) |
|
|
|
|
|
|
|
|