From a6fd59b76bf310b0d5a51914574d38cf786a0ccc Mon Sep 17 00:00:00 2001 From: Zyronon Date: Wed, 19 Nov 2025 01:28:37 +0800 Subject: [PATCH] wip --- components.d.ts | 1 + package.json | 1 + pnpm-lock.yaml | 10 ++++ src/apis/member.ts | 4 ++ src/pages/user/VipIntro.vue | 99 ++++++++++++++++++++++++------------- 5 files changed, 80 insertions(+), 35 deletions(-) diff --git a/components.d.ts b/components.d.ts index 6dd7be23..ecc78d1b 100644 --- a/components.d.ts +++ b/components.d.ts @@ -107,6 +107,7 @@ declare module 'vue' { IconIxWechatLogo: typeof import('~icons/ix/wechat-logo')['default'] IconPhExportLight: typeof import('~icons/ph/export-light')['default'] IconSimpleIconsWechat: typeof import('~icons/simple-icons/wechat')['default'] + IconStreamlineDiscountPercentCoupon: typeof import('~icons/streamline/discount-percent-coupon')['default'] IconSystemUiconsImport: typeof import('~icons/system-uicons/import')['default'] InputNumber: typeof import('./src/components/base/InputNumber.vue')['default'] List: typeof import('./src/components/list/List.vue')['default'] diff --git a/package.json b/package.json index 13438bf0..fceb3d2d 100644 --- a/package.json +++ b/package.json @@ -49,6 +49,7 @@ "@iconify-json/qlementine-icons": "^1.2.11", "@iconify-json/ri": "^1.2.5", "@iconify-json/simple-icons": "^1.2.48", + "@iconify-json/streamline": "^1.2.5", "@iconify-json/system-uicons": "^1.2.4", "@types/file-saver": "^2.0.7", "@types/lodash-es": "^4.17.12", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1b46c643..057e3871 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -96,6 +96,9 @@ importers: '@iconify-json/simple-icons': specifier: ^1.2.48 version: 1.2.48 + '@iconify-json/streamline': + specifier: ^1.2.5 + version: 1.2.5 '@iconify-json/system-uicons': specifier: ^1.2.4 version: 1.2.4 @@ -538,6 +541,9 @@ packages: '@iconify-json/simple-icons@1.2.48': resolution: {integrity: sha512-EACOtZMoPJtERiAbX1De0asrrCtlwI27+03c9OJlYWsly9w1O5vcD8rTzh+kDPjo+K8FOVnq2Qy+h/CzljSKDA==} + '@iconify-json/streamline@1.2.5': + resolution: {integrity: sha512-u6l9BOJoIIPjjDXWl6D/hPDzeBk5WiaEHZ+U9SbkQ14N9hgotaYyIZVMfgF175CG1TTS06j8k15D3FM2OYaFIw==} + '@iconify-json/system-uicons@1.2.4': resolution: {integrity: sha512-9WB9dmEm+TRCXI5Ml2IY8zQAPZES8euKxY0VOaf8D6E6ZaEr7ztO6DChMlGg7qWECs3m3FjFUqNgBx8ZpB+djw==} @@ -4179,6 +4185,10 @@ snapshots: dependencies: '@iconify/types': 2.0.0 + '@iconify-json/streamline@1.2.5': + dependencies: + '@iconify/types': 2.0.0 + '@iconify-json/system-uicons@1.2.4': dependencies: '@iconify/types': 2.0.0 diff --git a/src/apis/member.ts b/src/apis/member.ts index 3f21a660..f5cca959 100644 --- a/src/apis/member.ts +++ b/src/apis/member.ts @@ -36,3 +36,7 @@ export function orderCreate(params) { export function orderStatus(params) { return http('/member/orderStatus', null, params, 'get') } + +export function couponInfo(params) { + return http('/member/couponInfo', null, params, 'get') +} diff --git a/src/pages/user/VipIntro.vue b/src/pages/user/VipIntro.vue index 502e8b52..9e182ac8 100644 --- a/src/pages/user/VipIntro.vue +++ b/src/pages/user/VipIntro.vue @@ -1,19 +1,20 @@