From 2103d00b3d590ab28e5a781939c8ffef8b6a123a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E6=B3=BD=E7=BE=A4?= <1986070059@qq.com> Date: Thu, 2 Jul 2026 17:58:26 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E6=83=A0=E5=88=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 2 +- pages/mine/mine.vue | 12 + pages/other_package/coupon/coupon.vue | 355 ++++++++++++++++++++++++++ 3 files changed, 368 insertions(+), 1 deletion(-) create mode 100644 pages/other_package/coupon/coupon.vue diff --git a/pages.json b/pages.json index 954d491..63dbb7d 100644 --- a/pages.json +++ b/pages.json @@ -558,7 +558,7 @@ "root": "pages/other_package", "pages": [ { - "path": "productInfo/evaluateDetail", + "path": "coupon/coupon", "style": { "navigationStyle": "custom" } diff --git a/pages/mine/mine.vue b/pages/mine/mine.vue index 103c9cb..afac13f 100644 --- a/pages/mine/mine.vue +++ b/pages/mine/mine.vue @@ -295,6 +295,12 @@ export default { title: "钱包", url: "https://static.tbmall.xin/static/mine/apply_purse.png", path: "/pages/mine_package/mine_purse/mine_purse", + }, + { + id: 6, + title: "优惠券", + url: "https://static.tbmall.xin/static/mine/apply_prize.png", + path: "/pages/other_package/coupon/coupon", }, { id: 2, @@ -455,6 +461,12 @@ export default { * @param {Object} item */ jumpTool(item) { + // 优惠券 + if (item.id === 6) { + uni.navigateTo({ + url: item.path, + }); + } // 客服 if (item.id === 7) { uni.navigateTo({ diff --git a/pages/other_package/coupon/coupon.vue b/pages/other_package/coupon/coupon.vue new file mode 100644 index 0000000..9484cef --- /dev/null +++ b/pages/other_package/coupon/coupon.vue @@ -0,0 +1,355 @@ + + + + + \ No newline at end of file