大屏展示修改

This commit is contained in:
xg-29 2024-06-21 14:22:20 +08:00
parent 3aeaf3bad2
commit 674b1722d6
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@
<view class="nameTitle flex-sub">{{fomeData.dishName}}</view>
</view>
<view>
<span style="font-size: 20px;color:#666;" >{{JSON.parse(fomeData.foodsInfo.elementContent)[Number(illnessId)][0] }} | {{ JSON.parse(fomeData.foodsInfo.elementContent)[Number(illnessId)][1] }}</span>
<span style="font-size: 20px;color:#666;" >{{JSON.parse(fomeData.foodsInfo.elementContent)[Number(illnessId)][0] }} <span v-if="JSON.parse(fomeData.foodsInfo.elementContent)[Number(illnessId)].length > 1" style="margin:0 6px;">|</span> {{ JSON.parse(fomeData.foodsInfo.elementContent)[Number(illnessId)][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> -->

View File

@ -22,7 +22,7 @@
<span class="themColor" style="font-size: 28px;">千卡</span>
<span style="font-size: 28px;color:#666;">/100</span> -->
<span style="font-size: 28px;color:#666;" >{{ dataList[index][query.diseaseIds] ? dataList[index][query.diseaseIds][0] : " "}} <span v-if="dataList[index][query.diseaseIds]">|</span> {{ dataList[index][query.diseaseIds] ? dataList[index][query.diseaseIds][1] : " "}}</span>
<span style="font-size: 28px;color:#666;" >{{ dataList[index][query.diseaseIds] ? dataList[index][query.diseaseIds][0] : " "}} <span v-if="dataList[index][query.diseaseIds]"></span><span v-if="dataList[index][query.diseaseIds].length > 1" style="margin:0 6px;"> | </span> {{ dataList[index][query.diseaseIds] ? dataList[index][query.diseaseIds][1] : " "}}</span>
</view>
</view>
</view>