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 {