Commit 6167bf70 authored by 吴春's avatar 吴春

1

parent 8e16d898
......@@ -371,7 +371,7 @@
</view>
<view class="comment" v-if="comments.length > 0">
<view class="chead">
<u-section :bold="false" :sub-color="secondary" :show-split="false" :title="`商品评价(${comments.length})`" sub-title="查看更多"
<u-section :bold="false" :sub-color="secondary" :show-split="false" :title="`商品评价(${commentsCount})`" sub-title="查看更多"
@click="clickCommentHandler" font-size="24"></u-section>
</view>
<view class="content">
......@@ -499,6 +499,7 @@
sku: "",
skuimage: [],
comments: [],
commentsCount:0,
secondary: "",
detailContent: "",
recommend: [],
......@@ -878,6 +879,7 @@
},
(res) => {
this.comments = res.data.pageData;
this.commentsCount=res.data.count;
console.log("1111", this.comments)
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment