diff --git a/pages/index/index.vue b/pages/index/index.vue index 9f9370d..04eb581 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -125,14 +125,14 @@ 商品管理 - + @@ -187,7 +187,7 @@ - 请选择所属区域 + 请选择店铺 {{item.shop.shopName}} diff --git a/pages/shop/goodsList.vue b/pages/shop/goodsList.vue index 7d2c420..dca77b7 100644 --- a/pages/shop/goodsList.vue +++ b/pages/shop/goodsList.vue @@ -6,7 +6,7 @@ - + @@ -135,9 +135,23 @@ 新增商品 - 新增分类 + 更多 + + + + + 请选择 + + + 分类管理 + + + 属性管理 + + + @@ -313,8 +327,12 @@ let url="" if(type == 'goods'){ url = '/pages/shop/addGoods?dataList='+ JSON.stringify(item) - }else{ + }else if(type == 'type'){ url = '/pages/shop/addType' + }else if(type == 'attribute'){ + url = '/pages/shop/attributeList' + }else{ + } uni.navigateTo({ url:url @@ -578,4 +596,30 @@ flex: 1; padding-top: 14rpx; } + .popup-pay-content { + align-items: center; + justify-content: center; + padding: 15px; + width: 500rpx; + height: auto; + background-color: #fff; + } + .popup-pay-title { + font-size: 36rpx; + font-weight: bold; + text-align: center; + position: relative; + } + + .popup-pay-container { + margin-top: 20rpx; + height: 100rpx; + border-radius: 10px; + background: #088FEB; + line-height: 100rpx; + text-align: center; + border-bottom: 1px solid #eee; + border-top: 1px solid #eee; + color: #fff; + } \ No newline at end of file diff --git a/pages/shop/shopEvaluate.vue b/pages/shop/shopEvaluate.vue index c1723ba..c195ad7 100644 --- a/pages/shop/shopEvaluate.vue +++ b/pages/shop/shopEvaluate.vue @@ -34,83 +34,87 @@ - - - - - - - - {{item.createByName}} - - - {{item.createTime | formatTime}} - - - - - - 商品 - - + + + + + - - - {{item.remark}} - - - - - - - - - - {{item1.createByName}} : {{ item1.remark }} - + + + {{item.createByName}} - - 展开 - 收起 + + {{item.createTime | formatTime}} - - - 回复 + + + 商品 + + + + + + {{item.remark}} + + + - - - - + + + + + + {{item1.createByName}} : {{ item1.remark }} + - - - + + 展开 + 收起 + + + + + + 回复 + + + + + - - - + + + + + + + + - - - - - 确认 - - - 取消 + + + + 确认 + + + 取消 + - + + + @@ -132,7 +136,6 @@ isPintuan: true, bigImg: '', shopItem:{}, - pageNum:1, searchAll:true, total:0, shopComments:[], @@ -207,27 +210,37 @@ this.searchForm.shopId = id that.NB.sendRequest("/app/comment/getCommentList", this.searchForm, false, 'post', 'application/json').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] } for(let i=0;i 0){ + for(let m=0;m {}) }, + 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 = [{ //店铺 @@ -287,6 +300,8 @@ this.searchForm.picture = 0 this.searchForm.score = 1 } + this.searchForm.pageNum = 1 + this.shopComments = [] this.getshopComments(this.shopItem.id) }, pictureAdd() { @@ -463,10 +478,6 @@ flex: 1; } - .evaluate-list { - margin-top: 40rpx; - } - .eval-title { width: 100%; height: 80rpx;