diff --git a/components/comment/index.vue b/components/comment/index.vue index f93bb87..41ff22f 100644 --- a/components/comment/index.vue +++ b/components/comment/index.vue @@ -9,7 +9,7 @@ {{ content.geval_content }} - + 掌柜回复: @@ -39,6 +39,14 @@ export default { }, created() { if(this.content.hasOwnProperty('scores_two')) this.rate = this.content.scores_two; + }, + methods: { + previewImage(urls) { + console.log(urls); + // uni.previewImage({ + // urls: urls, + // }); + }, } }; diff --git a/components/shop/group/index.vue b/components/shop/group/index.vue index db5cc1c..f97a940 100644 --- a/components/shop/group/index.vue +++ b/components/shop/group/index.vue @@ -8,7 +8,6 @@ - diff --git a/components/shop/recommend/pintuan.vue b/components/shop/recommend/pintuan.vue index 3124e0e..6071227 100644 --- a/components/shop/recommend/pintuan.vue +++ b/components/shop/recommend/pintuan.vue @@ -11,7 +11,7 @@ - + {{ info.pintuan_limit_number }}人团 diff --git a/components/shop/youhq/index.vue b/components/shop/youhq/index.vue index 9328198..d296425 100644 --- a/components/shop/youhq/index.vue +++ b/components/shop/youhq/index.vue @@ -2,11 +2,12 @@ 全部优惠券 - 查看更多> + + 查看更多 + + - - @@ -114,6 +115,8 @@ export default { .view-more { font-size: 20rpx; color: rgba(153,153,153,1); + display: flex; + align-items: center; } } .box { diff --git a/pageA/bindinges/bindinges.vue b/pageA/bindinges/bindinges.vue index 7a95643..ef3f584 100644 --- a/pageA/bindinges/bindinges.vue +++ b/pageA/bindinges/bindinges.vue @@ -133,8 +133,8 @@ title: res.message, type: 'success', }) - uni.switchTab({ - url: '/pages/index/index' + uni.navigateTo({ + url: '/pageA/topick/topick' }); } else { this.$refs.uToast.show({ diff --git a/pageB/comment/index.vue b/pageB/comment/index.vue index fef17bc..7cb3c9b 100644 --- a/pageB/comment/index.vue +++ b/pageB/comment/index.vue @@ -86,7 +86,7 @@ export default { this.evalueList = []; } return res.data.length; - } + }, } }; diff --git a/pageB/components/userinfo/index.vue b/pageB/components/userinfo/index.vue index a28d2ae..b9ed88b 100644 --- a/pageB/components/userinfo/index.vue +++ b/pageB/components/userinfo/index.vue @@ -24,7 +24,7 @@ {{ comment_num }} - + @@ -100,18 +100,20 @@ is_collect: this.list.is_collect || false, is_content: false, is_cart: false, + cart_num: 0, comment_num: this.list.comment_num || 0, - item: this.list || {} + item: this.list || {}, } }, watch: { list(newValue, old) { - // console.log(newValue); + // console.log(newValue.goods.length); this.item = newValue || {}; this.is_follow = this.list.is_attention || false; this.is_like = this.list.is_like || false; this.is_collect = this.list.is_collect || false; this.comment_num = this.list.comment_num || 0; + this.cart_num = newValue.goods.length; }, cart(newValue, old) { // console.log(newValue); diff --git a/pageE/mine/ArticleDetails.vue b/pageE/mine/ArticleDetails.vue index fb69165..b93c53b 100644 --- a/pageE/mine/ArticleDetails.vue +++ b/pageE/mine/ArticleDetails.vue @@ -1,6 +1,24 @@ \ No newline at end of file diff --git a/pageE/mine/storeConcerns.vue b/pageE/mine/storeConcerns.vue index 843b9c3..5096930 100644 --- a/pageE/mine/storeConcerns.vue +++ b/pageE/mine/storeConcerns.vue @@ -133,8 +133,10 @@ export default {