diff --git a/package1/group/shopEvaluate.vue b/package1/group/shopEvaluate.vue index 8050405..c46679c 100644 --- a/package1/group/shopEvaluate.vue +++ b/package1/group/shopEvaluate.vue @@ -34,83 +34,86 @@ - - - - - - - - {{item.createByName}} + + + + + - - {{item.createTime | formatTime}} - - - - - - 商品 - - - - - - {{item.remark}} - - - - - - - - - - {{item1.createByName}} : {{ item1.remark }} - + + + {{item.createByName}} - - 展开 - 收起 + + {{item.createTime | formatTime}} - - - 回复 + + + 商品 + + + - - - - + + {{item.remark}} + + + + + + + + + + {{item1.createByName}} : {{ item1.remark }} + + + + 展开 + 收起 - - - + + + + + 回复 + + + + + - - - + + + + + + + + - - - - - 确认 - - - 取消 + + + + 确认 + + + 取消 + - + + @@ -133,7 +136,6 @@ isPintuan: true, bigImg: '', shopItem:{}, - pageNum:1, searchAll:true, total:0, shopComments:[], @@ -209,7 +211,7 @@ this.searchForm.shopId = id that.tui.request("/app/comment/getCommentList", "POST", this.searchForm, false, false).then((res) => { if (res.code == 200) { - if (that.pageNum == 1) { + if (that.searchForm.pageNum == 1) { that.shopComments = res.result.records } else { that.shopComments = [...that.shopComments, ...res.result.records] @@ -222,6 +224,7 @@ } } } + that.total = res.result.pages; // pages = 总页数 that.$forceUpdate() if(this.searchAll){ that.menuList[0].num = res.result.total @@ -233,6 +236,12 @@ uni.hideLoading() }).catch((res) => {}) }, + onReachPage(){ + console.log("11111") + if (this.searchForm.pageNum >= this.total) return; + this.searchForm.pageNum++; + this.getshopComments(this.shopItem.id); + }, submit(v){ let that = this; let data = [{ //店铺 @@ -290,6 +299,8 @@ this.searchForm.picture = 0 this.searchForm.score = 1 } + this.searchForm.pageNum = 1 + this.shopComments = [] this.getshopComments(this.shopItem.id) }, pictureAdd() { @@ -443,7 +454,7 @@ } .menu-list { - height: 100rpx; + height: 120rpx; width: 100%; display: flex; overflow-y: hidden; @@ -468,10 +479,6 @@ flex: 1; } - .evaluate-list { - margin-top: 40rpx; - } - .eval-title { width: 100%; height: 80rpx; diff --git a/package1/myCenter/goodsList.vue b/package1/myCenter/goodsList.vue index 46ba42e..d218aa6 100644 --- a/package1/myCenter/goodsList.vue +++ b/package1/myCenter/goodsList.vue @@ -6,7 +6,7 @@ - + diff --git a/package2/shop/merchantCenter.vue b/package2/shop/merchantCenter.vue index 9b868c9..1ed3004 100644 --- a/package2/shop/merchantCenter.vue +++ b/package2/shop/merchantCenter.vue @@ -126,14 +126,14 @@ 商品管理 - + diff --git a/pages/index/index.vue b/pages/index/index.vue index 4d091ed..7a6fc7c 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -827,10 +827,13 @@ url = '/package1/group/groupBuyList' break; case '3': - url = '/package1/order/orderList' + url = '' break; case '4': - url = '/package1/order/orderDetail' + url = '' + break; + case '5': + url = '' break; } uni.navigateTo({