From 19e598bce73f8a633e7094640e5da5cdd08433f7 Mon Sep 17 00:00:00 2001 From: linxi <957440651@qq.com> Date: Sat, 22 Nov 2025 14:23:46 +0800 Subject: [PATCH] =?UTF-8?q?Feat=EF=BC=9A=E7=94=84=E9=80=89=E5=A5=BD?= =?UTF-8?q?=E7=A4=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 2 +- pages/home/index.vue | 56 +++++++++++++++++++++++++++-- pages/home/newZone.vue | 81 +++++++++++++++++++++++++++++++++++++++--- 3 files changed, 131 insertions(+), 8 deletions(-) diff --git a/pages.json b/pages.json index c5abb3a..7bac17c 100644 --- a/pages.json +++ b/pages.json @@ -51,7 +51,7 @@ { "path": "pages/home/newZone", "style": { - "navigationBarTitleText": "新品专区", + "navigationBarTitleText": "甄选好礼", "navigationBarBackgroundColor": "#FFFFFF" } }, diff --git a/pages/home/index.vue b/pages/home/index.vue index 126d49c..198c1e5 100644 --- a/pages/home/index.vue +++ b/pages/home/index.vue @@ -183,7 +183,24 @@ --> - + + + + + + + + {{ item.productName }} + + + {{ item.productPrice }} + + + + + + + @@ -433,7 +450,8 @@ export default { messageIcon: {}, recommendKeyword: [], keywordIndex: 0, - shareData: {} + shareData: {}, + currentIndex: 0 } }, onLoad() { @@ -479,6 +497,9 @@ export default { } }, methods: { + changeIndex(e) { + this.currentIndex = e.detail.current + }, changeRecommendKeyword(e) { this.keywordIndex = e }, @@ -1550,6 +1571,27 @@ export default {