From eb3d0ff6b0421d8a8e0e0693882057d98b583e66 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sun, 15 Sep 2024 17:59:42 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E3=80=91=E5=95=86=E5=9F=8E=EF=BC=9A=E4=BC=98=E5=8C=96=20/promo?= =?UTF-8?q?tion/activity/list-by-spu-id=20=E7=9A=84=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/goods/index.vue | 669 ++++++++++-------- sheep/api/promotion/activity.js | 2 +- .../s-seckill-block/s-seckill-block.vue | 8 +- 3 files changed, 362 insertions(+), 317 deletions(-) diff --git a/pages/goods/index.vue b/pages/goods/index.vue index 5d4d7a1f..978448ac 100644 --- a/pages/goods/index.vue +++ b/pages/goods/index.vue @@ -1,175 +1,225 @@ diff --git a/sheep/api/promotion/activity.js b/sheep/api/promotion/activity.js index eb47ce1d..2449ebb0 100644 --- a/sheep/api/promotion/activity.js +++ b/sheep/api/promotion/activity.js @@ -1,7 +1,7 @@ import request from '@/sheep/request'; const ActivityApi = { - // 获得单个商品,近期参与的每个活动 + // 获得单个商品,进行中的拼团、秒杀、砍价活动信息 getActivityListBySpuId: (spuId) => { return request({ url: '/promotion/activity/list-by-spu-id', diff --git a/sheep/components/s-seckill-block/s-seckill-block.vue b/sheep/components/s-seckill-block/s-seckill-block.vue index d4bbcafe..4eced427 100644 --- a/sheep/components/s-seckill-block/s-seckill-block.vue +++ b/sheep/components/s-seckill-block/s-seckill-block.vue @@ -23,7 +23,7 @@ :subTitleColor="data.fields.introduction.color" :topRadius="data.borderRadiusTop" :bottomRadius="data.borderRadiusBottom" - @click="sheep.$router.go('/pages/goods/groupon', { id: item.activityId })" + @click="sheep.$router.go('/pages/goods/seckill', { id: item.activityId })" >