From 6cc879f06631c53ed59c2c3ead3539271d779da6 Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Fri, 12 Sep 2025 17:09:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=90=A5=E9=94=80=E4=B8=AD=E5=BF=83?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=B7=B3=E8=BD=AC=E8=B6=85=E7=BA=A7=E4=BC=9A?= =?UTF-8?q?=E5=91=98=EF=BC=8C=E8=B6=85=E7=BA=A7=E4=BC=9A=E5=91=98=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E9=80=89=E6=8B=A9=E4=BC=98=E6=83=A0=E5=88=B8=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/market/coupon.ts | 14 ++ src/views/marketing_center/list.vue | 139 ++++++++++++------ .../super_vip/components/coup-lists.vue | 54 +++++-- .../super_vip/components/dialog-plans.vue | 20 +-- .../marketing_center/super_vip/index.vue | 31 ++-- 5 files changed, 179 insertions(+), 79 deletions(-) create mode 100644 src/api/market/coupon.ts diff --git a/src/api/market/coupon.ts b/src/api/market/coupon.ts new file mode 100644 index 0000000..b8b3ba1 --- /dev/null +++ b/src/api/market/coupon.ts @@ -0,0 +1,14 @@ +import request from "@/utils/request"; +import { Market_BaseUrl } from "@/api/config"; +const baseURL = Market_BaseUrl + "/admin/coupon"; +const API = { + getList(params: any) { + return request({ + url: `${baseURL}/page`, + method: "get", + params + }); + }, +} +export default API; + diff --git a/src/views/marketing_center/list.vue b/src/views/marketing_center/list.vue index 1ffac30..9dca1cd 100644 --- a/src/views/marketing_center/list.vue +++ b/src/views/marketing_center/list.vue @@ -22,74 +22,121 @@ \ No newline at end of file diff --git a/src/views/marketing_center/super_vip/components/dialog-plans.vue b/src/views/marketing_center/super_vip/components/dialog-plans.vue index 4e54948..3a1cd0f 100644 --- a/src/views/marketing_center/super_vip/components/dialog-plans.vue +++ b/src/views/marketing_center/super_vip/components/dialog-plans.vue @@ -12,15 +12,7 @@ -
-
-
- - - - 新增券 -
-
+
@@ -48,7 +40,9 @@