From 5dc1f5ad92a7661c32c0fb63107db7ab50f2b47b Mon Sep 17 00:00:00 2001 From: modendeveloper Date: Mon, 17 Feb 2025 23:36:27 +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?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 12 ++++ pages/shop/GoodsCon/index.vue | 25 +++++++- pkg_user/views/gift/gift.vue | 102 ++++++++++++++++++++++++++++++++ pkg_user/views/gift/receive.vue | 22 +++++++ 4 files changed, 159 insertions(+), 2 deletions(-) create mode 100644 pkg_user/views/gift/gift.vue create mode 100644 pkg_user/views/gift/receive.vue diff --git a/pages.json b/pages.json index 3d6c0c8..bb7a5f1 100644 --- a/pages.json +++ b/pages.json @@ -771,6 +771,18 @@ "navigationBarTitleText": "我的礼品卡" } }, + { + "path": "views/gift/gift", + "style": { + "navigationBarTitleText": "送礼包" + } + }, + { + "path": "views/giftList/receive", + "style": { + "navigationBarTitleText": "好友赠送的礼包" + } + }, { "path": "views/myFavorite", "style": { diff --git a/pages/shop/GoodsCon/index.vue b/pages/shop/GoodsCon/index.vue index 1c76e22..2168e80 100644 --- a/pages/shop/GoodsCon/index.vue +++ b/pages/shop/GoodsCon/index.vue @@ -63,6 +63,15 @@ {{ storeInfo.storeName }} + + + + 支持礼包赠送 + + + 送给朋友 + + @@ -482,9 +491,9 @@ - + @@ -763,6 +772,11 @@ export default { } }, methods: { + toGift() { + uni.navigateTo({ + url: '/pkg_user/views/gift/gift' + }) + }, showService() { this.$refs.serviceWin.show = true }, @@ -2086,4 +2100,11 @@ export default { margin-bottom: 10rpx; box-sizing: border-box; } +.gift-btn{ + padding: 10rpx; +} +.gift-img{ + width: 34rpx; + margin-right: 10rpx; +} diff --git a/pkg_user/views/gift/gift.vue b/pkg_user/views/gift/gift.vue new file mode 100644 index 0000000..480421f --- /dev/null +++ b/pkg_user/views/gift/gift.vue @@ -0,0 +1,102 @@ + + + + + \ No newline at end of file diff --git a/pkg_user/views/gift/receive.vue b/pkg_user/views/gift/receive.vue new file mode 100644 index 0000000..f1d6a38 --- /dev/null +++ b/pkg_user/views/gift/receive.vue @@ -0,0 +1,22 @@ + + + + + \ No newline at end of file