最佳食物详情页修改
This commit is contained in:
parent
2dca80e16c
commit
9b4c7d1aa2
|
@ -11,9 +11,10 @@
|
|||
<view class="nameTitle flex-sub">{{fomeData.dishName}}</view>
|
||||
</view>
|
||||
<view>
|
||||
<span class="themColor" style="font-size: 36px;">{{fomeData.heatAmount}}</span><span
|
||||
<span style="font-size: 20px;color:#666;" >{{JSON.parse(fomeData.foodsInfo.elementContent)[103][0] }} | {{ JSON.parse(fomeData.foodsInfo.elementContent)[103][1] }}</span>
|
||||
<!-- <span class="themColor" style="font-size: 36px;">{{fomeData.heatAmount}}</span><span
|
||||
class="themColor" style="font-size: 28px;">千卡</span
|
||||
style="font-size: 28px;color:#666;"><span>/100克</span>
|
||||
style="font-size: 28px;color:#666;"><span>/100克</span> -->
|
||||
</view>
|
||||
<view class="flex">
|
||||
<image src="../../static/images/lowHeat.png" class="lowHeat" style="margin-right: 8px;"></image>
|
||||
|
@ -137,6 +138,7 @@
|
|||
});
|
||||
}
|
||||
this.fomeData = ret.data || {}
|
||||
console.log("this.fomeData",JSON.parse(this.fomeData.foodsInfo.elementContent)[103])
|
||||
this.$nextTick(() => {
|
||||
this.pageShow = true
|
||||
hideLoading()
|
||||
|
|
Loading…
Reference in New Issue