diff --git a/mixins/myMixins.js b/mixins/myMixins.js index 094ffc2..8b84fd6 100644 --- a/mixins/myMixins.js +++ b/mixins/myMixins.js @@ -31,10 +31,10 @@ export const myMixins ={ } return { - title: '吴优游', //分享的名称 + title: '盐都文旅', //分享的名称 path: `${view.route}`, imageUrl: "https://static.ticket.sz-trip.com/dongtai/images/index/share.jpg", - mpId: 'wx9e7d5346a3b09f56' //此处配置微信小程序的AppId + mpId: 'wxb8f15afe2765976d' //此处配置微信小程序的AppId } } } \ No newline at end of file diff --git a/pages.json b/pages.json index f37acca..e29fdb8 100644 --- a/pages.json +++ b/pages.json @@ -275,6 +275,20 @@ "navigationBarTitleText" : "公告详情", "navigationStyle": "custom" } + }, + { + "path" : "search/search", + "style" : { + "navigationBarTitleText" : "搜索", + "enablePullDownRefresh" : false + } + }, + { + "path" : "search/searchList", + "style" : { + "navigationBarTitleText" : "搜索结果", + "enablePullDownRefresh" : false + } } ] }], diff --git a/pages/index/index.vue b/pages/index/index.vue index bbd4926..e5e04b0 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -2,7 +2,7 @@ - + 搜一搜您想要的产品 diff --git a/subPackages/search/search.vue b/subPackages/search/search.vue new file mode 100644 index 0000000..7c71e44 --- /dev/null +++ b/subPackages/search/search.vue @@ -0,0 +1,221 @@ + + + + diff --git a/subPackages/search/searchList.vue b/subPackages/search/searchList.vue new file mode 100644 index 0000000..8eadab3 --- /dev/null +++ b/subPackages/search/searchList.vue @@ -0,0 +1,175 @@ + + + +