diff --git a/components/SearchShopListItem/SearchShopListItem.vue b/components/SearchShopListItem/SearchShopListItem.vue index e8aee94..a0b0275 100644 --- a/components/SearchShopListItem/SearchShopListItem.vue +++ b/components/SearchShopListItem/SearchShopListItem.vue @@ -3,7 +3,7 @@ - + {{shopInfo.tt}} @@ -141,6 +141,18 @@ }, methods: { + enterDetail() { + // console.log("进入详情页面"); + const query = this.$u.queryParams({ + id: this.shopInfo.id, + type: this.shopInfo.type, + search: 1 + }) + console.log("query", query); + uni.navigateTo({ + url: '/pages/detail/detail' + `${query}` + }) + }, handleEdit(searchid) { // TODO 完成页面跳转 console.log("点击了编辑ID为", searchid); @@ -221,6 +233,7 @@ flex-direction: column; justify-content: space-between; width: 100%; + >text { font-size: 14px; } diff --git a/pages.json b/pages.json index 8e4147a..894046c 100644 --- a/pages.json +++ b/pages.json @@ -60,7 +60,7 @@ { "path": "pages/detail/detail", "style": { - "navigationBarTitleText": "商品详情", + "navigationBarTitleText": "商铺详情", "navigationBarTextStyle": "white", "navigationBarBackgroundColor": "#339967", "enablePullDownRefresh": false diff --git a/pages/detail/detail.vue b/pages/detail/detail.vue index d7703ad..a1a7258 100644 --- a/pages/detail/detail.vue +++ b/pages/detail/detail.vue @@ -1,6 +1,6 @@ + \ No newline at end of file diff --git a/pages/index/NavBarPages/xmzs/xmzs.vue b/pages/index/NavBarPages/xmzs/xmzs.vue index 68395fc..be4718d 100644 --- a/pages/index/NavBarPages/xmzs/xmzs.vue +++ b/pages/index/NavBarPages/xmzs/xmzs.vue @@ -10,65 +10,108 @@ - + - + - + + \ No newline at end of file diff --git a/pages/index/NavBarPages/zdxx/zdxx.vue b/pages/index/NavBarPages/zdxx/zdxx.vue index ef1e820..8f23f6c 100644 --- a/pages/index/NavBarPages/zdxx/zdxx.vue +++ b/pages/index/NavBarPages/zdxx/zdxx.vue @@ -10,65 +10,107 @@ - + - + - + + \ No newline at end of file diff --git a/pages/index/NavBarPages/zrxx/zrxx.vue b/pages/index/NavBarPages/zrxx/zrxx.vue index fafc32c..c5c6a39 100644 --- a/pages/index/NavBarPages/zrxx/zrxx.vue +++ b/pages/index/NavBarPages/zrxx/zrxx.vue @@ -10,65 +10,108 @@ - + - + - + + \ No newline at end of file