From db42d19f44756cdf5bd68a3b3b1ae3f8925bbaa1 Mon Sep 17 00:00:00 2001 From: mabo Date: Tue, 3 Aug 2021 18:08:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B9=B0=E5=AE=B6=E7=AB=AF=E8=AE=A2=E5=8D=95?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E6=B7=BB=E5=8A=A0=E6=93=8D=E4=BD=9C=EF=BC=8C?= =?UTF-8?q?=E5=95=86=E5=93=81=E9=80=89=E6=8B=A9=E5=99=A8=EF=BC=8CcategoryI?= =?UTF-8?q?d=E4=BC=A0=E5=8F=82=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- buyer/src/pages/PointMall.vue | 30 +++-- .../home/memberCenter/evaluation/AddEval.vue | 1 + .../home/orderCenter/AfterSaleDetail.vue | 104 +++++++++++++++++- buyer/src/pages/home/orderCenter/Complain.vue | 1 + .../pages/home/orderCenter/OrderDetail.vue | 76 ++++++++++++- .../src/views/lili-dialog/goods-dialog.vue | 2 +- .../views/lili-floor-renovation/floorList.vue | 4 +- .../modelList/seckill.vue | 8 ++ .../lili-floor-renovation/wap/wapList.vue | 4 +- 9 files changed, 209 insertions(+), 21 deletions(-) diff --git a/buyer/src/pages/PointMall.vue b/buyer/src/pages/PointMall.vue index 6be99afc..d5afcccf 100644 --- a/buyer/src/pages/PointMall.vue +++ b/buyer/src/pages/PointMall.vue @@ -3,10 +3,10 @@ -

积分商品

+
@@ -58,18 +58,20 @@ export default { goodsList: [], // 积分商品列表 cateList: [{ // 商品分类 name: '全部分类', - id: '' + id: 0 }], // 积分分类列表 params: { // 商品列表请求参数 pageNumber: 1, pageSize: 20, pointsGoodsCategoryId: '' }, - total: 0 // 商品总数 + total: 0, // 商品总数 + cateId: '' // 店铺分类id } }, mounted () { this.params.pointsGoodsCategoryId = this.$route.query.categoryId || '' + this.cateId = this.$route.query.categoryId || 0 this.getList() this.getCate() }, @@ -89,10 +91,11 @@ export default { } }) }, - selectCate (id) { // 选择商品分类 - this.params.pointsGoodsCategoryId = id + selectCate (item) { // 选择商品分类 + let cateId = item.value === 0 ? '' : item.value + this.params.pointsGoodsCategoryId = cateId this.getList() - this.$router.push({query: {categoryId: id}}) + this.$router.push({query: {categoryId: cateId}}) }, goGoodsDetail (skuId, goodsId) { // 跳转商品详情 let routerUrl = this.$router.resolve({ @@ -118,6 +121,9 @@ export default { .seckill-price { font-size: 18px; } +.point-mall{ + position: relative; +} .category { width: 1200px; margin: 0 auto; @@ -147,4 +153,12 @@ export default { .promotion-decorate::before,.promotion-decorate::after{ background-image: url('../../static/sprite@2x.png'); } +.cate-select-con{ + display: block; + margin: 0 auto; + position: relative; + top: -60px; + left: 200px; + width: 100px; +} diff --git a/buyer/src/pages/home/memberCenter/evaluation/AddEval.vue b/buyer/src/pages/home/memberCenter/evaluation/AddEval.vue index 063a9cc0..34c41ee3 100644 --- a/buyer/src/pages/home/memberCenter/evaluation/AddEval.vue +++ b/buyer/src/pages/home/memberCenter/evaluation/AddEval.vue @@ -159,6 +159,7 @@ export default { } }, mounted () { + window.scrollTo(0, 0) this.accessToken.accessToken = storage.getItem('accessToken'); this.getOrderDetail() } diff --git a/buyer/src/pages/home/orderCenter/AfterSaleDetail.vue b/buyer/src/pages/home/orderCenter/AfterSaleDetail.vue index 951349ad..a98c3304 100644 --- a/buyer/src/pages/home/orderCenter/AfterSaleDetail.vue +++ b/buyer/src/pages/home/orderCenter/AfterSaleDetail.vue @@ -1,6 +1,13 @@ diff --git a/buyer/src/pages/home/orderCenter/OrderDetail.vue b/buyer/src/pages/home/orderCenter/OrderDetail.vue index 9bf1407f..12732225 100644 --- a/buyer/src/pages/home/orderCenter/OrderDetail.vue +++ b/buyer/src/pages/home/orderCenter/OrderDetail.vue @@ -1,6 +1,11 @@ diff --git a/manager/src/views/lili-floor-renovation/modelList/seckill.vue b/manager/src/views/lili-floor-renovation/modelList/seckill.vue index ec5a6849..2a75a10d 100644 --- a/manager/src/views/lili-floor-renovation/modelList/seckill.vue +++ b/manager/src/views/lili-floor-renovation/modelList/seckill.vue @@ -1,5 +1,6 @@