bug修改

This commit is contained in:
18390123501 2024-05-17 10:14:07 +08:00
commit bcff170e40
2 changed files with 17 additions and 4 deletions

View File

@ -104,7 +104,7 @@ page {
justify-content: space-between;
align-items: center;
padding: 0 80px;
margin-bottom: 48px;
// margin-bottom: 48px;
.cutt{
width: 2px;
height: 42px;
@ -116,6 +116,17 @@ page {
color: rgba(255,255,255,0.8);
}
}
.symbol{
width:100%;
height:52px;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
font-size: 30px;
color: #51CED5;
font-weight: 500;
}
.bottomTitle{
font-family: Source Han Sans CN, Source Han Sans CN;
font-weight: 500;

View File

@ -26,8 +26,9 @@
<view class="colorWhite">100g</view>
<view class="colorWhite">{{item.foodKcal}}{{item.foodUnit}}</view>
</view>
<view v-if="index < fomeData.foodInfos.length - 1" class="symbol">+</view>
</block>
<view class="bottomTitle">热量合计{{fomeData.foodKcalSum}}千卡</view>
<!-- <view class="bottomTitle">热量合计{{fomeData.foodKcalSum}}千卡</view> -->
</scroll-view>
</view>
<view class="bottomBack" @tap="back">返回上一页</view>
@ -81,7 +82,8 @@
this.isHome = true
} else {
uni.reLaunch({
url: '/pages/hairtailScreen/bestFood/index/index'
// url: '/pages/hairtailScreen/bestFood/index/index'
url:'/pages/hairtailScreen/exchangePortion/index/index'
})
}
},
@ -90,5 +92,5 @@
</script>
<style scoped lang="scss">
@import './detail.scss'
@import './detail.scss';
</style>