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 @@