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 @@