From e1328a7825aa7dcf959f9ae217ea08ae3dbcb1c9 Mon Sep 17 00:00:00 2001 From: modendeveloper Date: Fri, 21 Feb 2025 01:21:22 +0800 Subject: [PATCH] =?UTF-8?q?Task=EF=BC=9A=E7=A4=BC=E5=93=81=E8=B5=A0?= =?UTF-8?q?=E9=80=81/=E9=80=81=E7=A4=BC=E3=80=81=E5=88=86=E4=BA=AB?= =?UTF-8?q?=E3=80=82=E6=94=B6=E7=A4=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/gift.js | 4 +- pkg_user/views/gift/components/GiftCard.vue | 68 +++++ pkg_user/views/gift/components/PayPicker.vue | 106 +++++++ pkg_user/views/gift/gift.vue | 301 +++++++++++++++---- pkg_user/views/gift/receive.vue | 7 +- 5 files changed, 419 insertions(+), 67 deletions(-) create mode 100644 pkg_user/views/gift/components/GiftCard.vue create mode 100644 pkg_user/views/gift/components/PayPicker.vue diff --git a/api/gift.js b/api/gift.js index 592f821..ea1e798 100644 --- a/api/gift.js +++ b/api/gift.js @@ -12,7 +12,7 @@ export function getGiftCardSendOrderConfirm(data) { * 礼品卡送礼订单创建 * @param {*} data */ -export function getGiftCardSendOrder(key) { - return request.post("/giftCard/create/" + key); +export function getGiftCardSendOrder(key, data) { + return request.post("/giftCard/create/" + key, data); } diff --git a/pkg_user/views/gift/components/GiftCard.vue b/pkg_user/views/gift/components/GiftCard.vue new file mode 100644 index 0000000..8b4558e --- /dev/null +++ b/pkg_user/views/gift/components/GiftCard.vue @@ -0,0 +1,68 @@ + + + + + diff --git a/pkg_user/views/gift/components/PayPicker.vue b/pkg_user/views/gift/components/PayPicker.vue new file mode 100644 index 0000000..0d46d27 --- /dev/null +++ b/pkg_user/views/gift/components/PayPicker.vue @@ -0,0 +1,106 @@ + + + + + diff --git a/pkg_user/views/gift/gift.vue b/pkg_user/views/gift/gift.vue index 579d623..e13c4af 100644 --- a/pkg_user/views/gift/gift.vue +++ b/pkg_user/views/gift/gift.vue @@ -1,13 +1,13 @@