From c6874acb1b3c2aa340b2e0447f1b1758f2f9c560 Mon Sep 17 00:00:00 2001 From: mabo Date: Thu, 5 Aug 2021 18:07:11 +0800 Subject: [PATCH] =?UTF-8?q?pc=E7=AB=AF=E4=BF=AE=E6=94=B9=E6=88=91=E7=9A=84?= =?UTF-8?q?=E4=BC=98=E6=83=A0=E5=88=B8bug=EF=BC=8C=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=EF=BC=8C=E7=AE=A1=E7=90=86=E7=AB=AF=E5=88=A0=E9=99=A4=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E7=A7=92=E6=9D=80=E6=B4=BB=E5=8A=A8=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- buyer/src/assets/styles/coupon.scss | 3 - buyer/src/pages/home/userCenter/Coupons.vue | 10 +- manager/src/router/router.js | 6 - .../views/promotion/seckill/addSeckill.vue | 219 ------------------ .../src/views/promotion/seckill/seckill.vue | 8 +- 5 files changed, 13 insertions(+), 233 deletions(-) delete mode 100644 manager/src/views/promotion/seckill/addSeckill.vue diff --git a/buyer/src/assets/styles/coupon.scss b/buyer/src/assets/styles/coupon.scss index 52399f82..9afd57a7 100644 --- a/buyer/src/assets/styles/coupon.scss +++ b/buyer/src/assets/styles/coupon.scss @@ -55,9 +55,6 @@ color: #fff; font-size: 16px; padding: 20px; - &:hover{ - font-weight: bold; - } } i{ position: absolute; diff --git a/buyer/src/pages/home/userCenter/Coupons.vue b/buyer/src/pages/home/userCenter/Coupons.vue index 7a1284ee..0914d866 100644 --- a/buyer/src/pages/home/userCenter/Coupons.vue +++ b/buyer/src/pages/home/userCenter/Coupons.vue @@ -14,7 +14,7 @@

有效期:{{item.endTime}}

- 立即使用 + 立即使用 @@ -66,9 +66,12 @@ export default { // 切换优惠券状态 change (index) { this.params.memberCouponStatus = this.statusList[index] + this.params.pageNumber = 1; this.getList() }, go (item) { // 根据使用条件跳转商品列表页面 + if (this.params.memberCouponStatus !== 'NEW') return; + if (item.storeId !== 'platform') { this.$router.push({path: '/merchant', query: {id: item.storeId}}) } else { @@ -127,10 +130,15 @@ export default { width: 43px; font-size: 14px; } + .canot-use{ + color: #999; + background-color: #eee; + } i { right: 34px; } } + .pageration { text-align: right; } diff --git a/manager/src/router/router.js b/manager/src/router/router.js index 3284d3b7..e1b76c4d 100644 --- a/manager/src/router/router.js +++ b/manager/src/router/router.js @@ -240,12 +240,6 @@ export const otherRouter = { name: "seckill-goods", component: () => import("@/views/promotion/seckill/seckillGoods.vue") }, - { - path: "promotion/seckill/manager-seckill-add", - title: "添加限时抢购", - name: "manager-seckill-add", - component: () => import("@/views/promotion/seckill/addSeckill.vue") - }, { path: "/floorList/renovation", title: "编辑模板", diff --git a/manager/src/views/promotion/seckill/addSeckill.vue b/manager/src/views/promotion/seckill/addSeckill.vue deleted file mode 100644 index 129a505c..00000000 --- a/manager/src/views/promotion/seckill/addSeckill.vue +++ /dev/null @@ -1,219 +0,0 @@ - - - - - diff --git a/manager/src/views/promotion/seckill/seckill.vue b/manager/src/views/promotion/seckill/seckill.vue index 248f44f5..662a5dc4 100644 --- a/manager/src/views/promotion/seckill/seckill.vue +++ b/manager/src/views/promotion/seckill/seckill.vue @@ -21,10 +21,10 @@ - + +