最佳食物详情页修改

This commit is contained in:
xg-29 2024-06-18 14:18:45 +08:00
parent 2dca80e16c
commit 9b4c7d1aa2
1 changed files with 4 additions and 2 deletions

View File

@ -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()