From fb3120d818688cf76be2b4c51d0ed66ac3f22475 Mon Sep 17 00:00:00 2001 From: puhui999 Date: Wed, 2 Oct 2024 11:46:50 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=8A=9F=E8=83=BD=E5=AE=8C=E5=96=84?= =?UTF-8?q?=E3=80=91=E7=A7=AF=E5=88=86=E5=95=86=E5=9F=8E=EF=BC=9A=E5=AE=8C?= =?UTF-8?q?=E5=96=84=E6=B4=BB=E5=8A=A8=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 13 +- pages/activity/point/list.vue | 115 +-- .../s-point-block/s-point-block.vue | 4 +- .../components/s-point-card/s-point-card.vue | 746 ++++++++---------- 4 files changed, 404 insertions(+), 474 deletions(-) diff --git a/pages.json b/pages.json index 88ac0f4a..1d433ed6 100644 --- a/pages.json +++ b/pages.json @@ -652,7 +652,18 @@ "title": "秒杀活动", "group": "营销活动" } - } + }, + { + "path": "point/list", + "style": { + "navigationBarTitleText": "积分商城" + }, + "meta": { + "sync": true, + "title": "积分商城", + "group": "营销活动" + } + } ] } ], diff --git a/pages/activity/point/list.vue b/pages/activity/point/list.vue index 8b1e1bf9..243c5dd3 100644 --- a/pages/activity/point/list.vue +++ b/pages/activity/point/list.vue @@ -1,77 +1,80 @@ diff --git a/sheep/components/s-point-block/s-point-block.vue b/sheep/components/s-point-block/s-point-block.vue index dd1ab3b9..9de154cf 100644 --- a/sheep/components/s-point-block/s-point-block.vue +++ b/sheep/components/s-point-block/s-point-block.vue @@ -91,7 +91,7 @@ :topRadius="data.borderRadiusTop" :bottomRadius="data.borderRadiusBottom" :titleWidth="330 - marginLeft - marginRight" - @click="sheep.$router.go('/pages/goods/seckill', { id: item.activityId })" + @click="sheep.$router.go('/pages/goods/point', { id: item.activityId })" @getHeight="calculateGoodsColumn($event, 'left')" > @@ -121,7 +121,7 @@ :topRadius="data.borderRadiusTop" :bottomRadius="data.borderRadiusBottom" :titleWidth="330 - marginLeft - marginRight" - @click="sheep.$router.go('/pages/goods/seckill', { id: item.activityId })" + @click="sheep.$router.go('/pages/goods/point', { id: item.activityId })" @getHeight="calculateGoodsColumn($event, 'right')" > diff --git a/sheep/components/s-point-card/s-point-card.vue b/sheep/components/s-point-card/s-point-card.vue index c7380de5..d3111343 100644 --- a/sheep/components/s-point-card/s-point-card.vue +++ b/sheep/components/s-point-card/s-point-card.vue @@ -1,458 +1,374 @@ + +