From a00e2bb66ca2c0ed68f5a9c5d2f59eeae5864c48 Mon Sep 17 00:00:00 2001 From: wangtao Date: Sat, 29 Jun 2019 16:29:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=90=9C=E7=B4=A2=E5=88=97=E8=A1=A8=E9=A1=B5?= =?UTF-8?q?=E5=92=8C=E5=88=86=E7=B1=BB=E5=88=97=E8=A1=A8=E9=A1=B5=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- litemall-vue/src/views/items/list/index.vue | 6 +++++- litemall-vue/src/views/items/search/index.vue | 10 +++++++--- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/litemall-vue/src/views/items/list/index.vue b/litemall-vue/src/views/items/list/index.vue index a472ee61..74066d96 100755 --- a/litemall-vue/src/views/items/list/index.vue +++ b/litemall-vue/src/views/items/list/index.vue @@ -60,6 +60,10 @@ export default { }, methods: { + // 详情页跳转 + itemClick(itemId){ + this.$router.push(`/items/detail/`+itemId); + }, handleTabClick(index) { this.categoryId= this.navList[index].id; this.$router.replace({ @@ -91,7 +95,7 @@ export default { goodsList({categoryId: this.categoryId}).then(res => { this.goodsList= res.data.data.list }); - }, + }, }, components: { diff --git a/litemall-vue/src/views/items/search/index.vue b/litemall-vue/src/views/items/search/index.vue index ce405583..69c8852d 100755 --- a/litemall-vue/src/views/items/search/index.vue +++ b/litemall-vue/src/views/items/search/index.vue @@ -21,7 +21,7 @@ - + -- Gitee