评价添加数目

This commit is contained in:
@fawn-nine
2024-09-30 14:46:13 +08:00
parent 806c08174f
commit ce2e56bff0

View File

@@ -69,6 +69,7 @@
fontSize: '28rpx'
}"></u-tabs>
</view>
{{getCommentsNum}}
<!-- 详情 + 评价1 -->
<view v-if="contentShow == 0">
<view class="pingjia quanyi_box" v-if="listenList.length > 0 && listenList[0] && iosHide"
@@ -359,6 +360,11 @@ export default {
},
computed: {
...mapState(['userInfo']),
getCommentsNum(){
if(this.commentsList.length > 0){
this.contentButtonList[1].name = '商品评价('+ this.commentsList.length+')'
}
},
},
components: {
musicPlay