|
|
|
@ -682,7 +682,16 @@ |
|
|
|
|
const that = this |
|
|
|
|
Api.recommended() |
|
|
|
|
.then(res => { |
|
|
|
|
that.suggestGoodsList = res.data.goodsList |
|
|
|
|
let arr = res.data.goodsList |
|
|
|
|
if (arr && arr.length > 0) { |
|
|
|
|
arr.map(a => { |
|
|
|
|
a.goods_price_min = Number(a.goods_price_min) |
|
|
|
|
a.goods_price_max = Number(a.goods_price_max) |
|
|
|
|
a.line_price_min = Number(a.line_price_min) |
|
|
|
|
a.line_price_max = Number(a.line_price_max) |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
that.suggestGoodsList = arr |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
// 刷新页面 |
|
|
|
|