From 40207f11a1862464255141e1c783173d77534301 Mon Sep 17 00:00:00 2001
From: lifizer <913626195@qq.com>
Date: Thu, 20 Feb 2025 13:40:17 +0800
Subject: [PATCH] =?UTF-8?q?Feat(=E6=88=91=E7=9A=84=E7=A4=BC=E5=93=81?=
=?UTF-8?q?=E5=8D=A1):=E6=8E=A5=E5=8F=A3=E5=AF=B9=E6=8E=A5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
api/giftList.js | 22 ++
pkg_user/views/gift/components/giftTips.vue | 2 +-
pkg_user/views/giftList.vue | 358 ++++++++++++++------
3 files changed, 268 insertions(+), 114 deletions(-)
create mode 100644 api/giftList.js
diff --git a/api/giftList.js b/api/giftList.js
new file mode 100644
index 0000000..ade0a4f
--- /dev/null
+++ b/api/giftList.js
@@ -0,0 +1,22 @@
+import request from '@/utils/request'
+
+/**
+ * 收到的礼品卡列表
+ * */
+export function giftCardReceiveList(param) {
+ return request.get('/giftCard/receiveList', param)
+}
+
+/**
+ * 送出的礼品卡列表
+ * */
+export function giftCardSendList(param) {
+ return request.get('/giftCard/sendList', param)
+}
+
+/**
+ * 赠礼须知
+ * */
+export function giftNotice(param) {
+ return request.get('/giftCard/giftNotice', param)
+}
diff --git a/pkg_user/views/gift/components/giftTips.vue b/pkg_user/views/gift/components/giftTips.vue
index 1793bcd..df90409 100644
--- a/pkg_user/views/gift/components/giftTips.vue
+++ b/pkg_user/views/gift/components/giftTips.vue
@@ -10,7 +10,7 @@
>
diff --git a/pkg_user/views/giftList.vue b/pkg_user/views/giftList.vue
index ded0179..f3c11c9 100644
--- a/pkg_user/views/giftList.vue
+++ b/pkg_user/views/giftList.vue
@@ -14,82 +14,186 @@
-
-
-
-
-
-
-
-
- {{ item.goodName }}
+
+
+
+
+
+
+
+
+
+
+ {{ cart.productInfo.storeName }}
+
+
+ {{ cart.productInfo.attrInfo.sku }}
+
+
+
+ ¥{{ item.payPrice }}
+
+ 数量 X {{ cart.cartNum }}
+
+
-
- {{ item.attrName }}
-
-
-
- ¥{{ item.price }}
+
+
+ 赠言:{{ item.message }}
+
+
+
+ 送给朋友
+
+
+
+ 已全部领取
+
+
+ 已过期
- 数量 X {{ item.num }}
-
-
-
- 赠言:{{ item.txt }}
-
-
- 送给朋友
-
-
-
- 已全部领取
-
-
- 灰色按钮
+
+
+
+
-
+
+
+
+
+
+
+
+
+
+ {{ cart.productInfo.storeName }}
+
+
+ {{ cart.productInfo.attrInfo.sku }}
+
+
+
+ ¥{{ item.payPrice }}
+
+
+
+
+
+
+ 赠言:{{ item.message }}
+
+
+ 送给朋友
+
+
+
+ 已全部领取
+
+
+ 灰色按钮
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+