|
@@ -30,7 +30,7 @@
|
|
|
<view class="hot-title clamp">
|
|
|
{{item.title}}
|
|
|
</view>
|
|
|
- <view class="hot-money clamp">
|
|
|
+ <view class="hot-money flex clamp">
|
|
|
<text class="money">
|
|
|
¥{{item.price}}
|
|
|
</text>
|
|
@@ -212,7 +212,11 @@
|
|
|
pageSize: 3
|
|
|
}).then(
|
|
|
(res) => {
|
|
|
- that.rmList = res.data.list
|
|
|
+ that.rmList = res.data.list.map((res)=>{
|
|
|
+ res.price = +res.price
|
|
|
+ res.old_price = +res.old_price
|
|
|
+ return res
|
|
|
+ })
|
|
|
console.log(res);
|
|
|
}
|
|
|
).catch(
|