评价添加数目
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user