diff --git a/pages/shop/shopEvaluate.vue b/pages/shop/shopEvaluate.vue index c195ad7..71a3d2b 100644 --- a/pages/shop/shopEvaluate.vue +++ b/pages/shop/shopEvaluate.vue @@ -63,16 +63,16 @@ - + - + {{item1.createByName}} : {{ item1.remark }} - + - - 展开 + + 展开 收起 @@ -273,8 +273,9 @@ uni.hideLoading() }).catch((res) => {}) }, - toggleReply() { - this.isExpanded = !this.isExpanded; + toggleReply(i,m) { + this.shopComments[i].comments[m].isOpen = !this.shopComments[i].comments[m].isOpen; + this.$forceUpdate() }, changeStatus(v){ this.shopComments[v].isReply = !this.shopComments[v].isReply