diff --git a/pages.json b/pages.json index 6d139a1..aebcea3 100644 --- a/pages.json +++ b/pages.json @@ -579,6 +579,13 @@ "navigationBarBackgroundColor": "#FFFFFF" } }, + { + "path": "views/healthSearch", + "style": { + "navigationBarTitleText": "搜索", + "navigationBarBackgroundColor": "#FFFFFF" + } + }, { "path": "views/heritage", "style": { diff --git a/pkg_product/views/healthSanctum.vue b/pkg_product/views/healthSanctum.vue index 3be244c..4e73889 100644 --- a/pkg_product/views/healthSanctum.vue +++ b/pkg_product/views/healthSanctum.vue @@ -11,8 +11,8 @@ class="icon" /> {{ cityName }} - - + + @@ -126,7 +126,9 @@ export default { }) }, search() { - this.getList() + uni.navigateTo({ + url: '/pkg_product/views/healthSearch?city=' + this.cityId + '&cityName=' + this.cityName + }) }, getTop() { const params = { diff --git a/pkg_product/views/healthSearch.vue b/pkg_product/views/healthSearch.vue new file mode 100644 index 0000000..3f3f8d6 --- /dev/null +++ b/pkg_product/views/healthSearch.vue @@ -0,0 +1,115 @@ + + + + + \ No newline at end of file