diff --git a/pkg_product/views/healthSearch.vue b/pkg_product/views/healthSearch.vue index 8ce5df0..ab92897 100644 --- a/pkg_product/views/healthSearch.vue +++ b/pkg_product/views/healthSearch.vue @@ -5,7 +5,7 @@ - + - {{ item.content }} + {{ item.intro }} - + - {{ item.hotelName }} + {{ item.name }} @@ -74,13 +74,17 @@ export default { this.isSearch = true }) }, - toStore(id) { - this.$yrouter.push({ - path: '/pagesInn/inn/innHome', - query: { - id: id - } - }) + toStore(item) { + if(item.dataType === 'wellnessPlace'){ + this.$yrouter.push({ + path: '/pagesInn/inn/innHome', + query: { + id: item.hotelId + } + }) + }else{ + uni.navigateTo({ url: '/pkg_product/views/sojoumStore?id=' + item.id }) + } }, } }