评价添加数目
This commit is contained in:
@@ -69,6 +69,7 @@
|
|||||||
fontSize: '28rpx'
|
fontSize: '28rpx'
|
||||||
}"></u-tabs>
|
}"></u-tabs>
|
||||||
</view>
|
</view>
|
||||||
|
{{getCommentsNum}}
|
||||||
<!-- 详情 + 评价1 -->
|
<!-- 详情 + 评价1 -->
|
||||||
<view v-if="contentShow == 0">
|
<view v-if="contentShow == 0">
|
||||||
<view class="pingjia quanyi_box" v-if="listenList.length > 0 && listenList[0] && iosHide"
|
<view class="pingjia quanyi_box" v-if="listenList.length > 0 && listenList[0] && iosHide"
|
||||||
@@ -359,6 +360,11 @@ export default {
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
...mapState(['userInfo']),
|
...mapState(['userInfo']),
|
||||||
|
getCommentsNum(){
|
||||||
|
if(this.commentsList.length > 0){
|
||||||
|
this.contentButtonList[1].name = '商品评价('+ this.commentsList.length+')'
|
||||||
|
}
|
||||||
|
},
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
musicPlay
|
musicPlay
|
||||||
|
|||||||
Reference in New Issue
Block a user