diff --git a/litemall-vue/src/views/items/list/index.vue b/litemall-vue/src/views/items/list/index.vue index a472ee61c18b2a366021a47392d357526640437e..74066d965e289af96995a9e1e38211d2ee742c7d 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 ce4055835c88fb4ae656e289fc31885783f4e75d..69c8852dcc4216bdd7b3fdf5ffdb9448bcf5d7ee 100755 --- a/litemall-vue/src/views/items/search/index.vue +++ b/litemall-vue/src/views/items/search/index.vue @@ -21,7 +21,7 @@ - +