From 4b8f1e30a4856c38dc18ae81ea3c927b38c921f7 Mon Sep 17 00:00:00 2001 From: duan <1004387497@qq.com> Date: Wed, 12 Mar 2025 17:21:36 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E4=BC=9A=E5=91=98?= =?UTF-8?q?=E4=BA=8C=E7=BB=B4=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/user/active/indexconfig/api.ts | 10 ++- .../indexconfig/component/AddButton.vue | 17 +++-- .../indexconfig/component/downloadQR.vue | 63 +++++++++++++++++++ 3 files changed, 83 insertions(+), 7 deletions(-) create mode 100644 src/views/user/active/indexconfig/component/downloadQR.vue diff --git a/src/views/user/active/indexconfig/api.ts b/src/views/user/active/indexconfig/api.ts index 3af6c5b..2981ba8 100644 --- a/src/views/user/active/indexconfig/api.ts +++ b/src/views/user/active/indexconfig/api.ts @@ -18,6 +18,14 @@ const AuthAPI = { params, }); }, + // 获取会员码 +getVipCode(data: any) { + return request({ + url: `${baseURL}/getVipCode`, + method: "post", + data: { ...data }, + }); +}, // 新增 add(data: any) { return request({ @@ -57,4 +65,4 @@ export interface Responseres { [property: string]: any; } -export default AuthAPI; \ No newline at end of file +export default AuthAPI; diff --git a/src/views/user/active/indexconfig/component/AddButton.vue b/src/views/user/active/indexconfig/component/AddButton.vue index 90eb9aa..d3869d2 100644 --- a/src/views/user/active/indexconfig/component/AddButton.vue +++ b/src/views/user/active/indexconfig/component/AddButton.vue @@ -1,19 +1,24 @@ \ No newline at end of file + diff --git a/src/views/user/active/indexconfig/component/downloadQR.vue b/src/views/user/active/indexconfig/component/downloadQR.vue new file mode 100644 index 0000000..11fb63a --- /dev/null +++ b/src/views/user/active/indexconfig/component/downloadQR.vue @@ -0,0 +1,63 @@ + + +