diff --git a/pages/billboards/park/park-detail/index.js b/pages/billboards/park/park-detail/index.js index 9fe5530..fbe39ff 100644 --- a/pages/billboards/park/park-detail/index.js +++ b/pages/billboards/park/park-detail/index.js @@ -10,8 +10,15 @@ Page({ */ data: { content: '', + code: '', + name: '' + }, + onShareAppMessage(res) { + return { + title: this.data.title, + path: `/pages/billboards/park/park-detail/index?code=${this.data.code}&name=${this.data.name}` + } }, - /** * 生命周期函数--监听页面加载 */ @@ -21,6 +28,10 @@ Page({ wx.setNavigationBarTitle({ title: name, }) + this.setData({ + code: code, + name: name + }) this.fetchCategoryIntro(code) }, fetchCategoryIntro (code) { diff --git a/pages/billboards/policy/policy-list/index.js b/pages/billboards/policy/policy-list/index.js index 28e3d5a..738e545 100644 --- a/pages/billboards/policy/policy-list/index.js +++ b/pages/billboards/policy/policy-list/index.js @@ -14,7 +14,12 @@ Page({ curCode: '', show: false, }, - + onShareAppMessage(res) { + return { + title: this.data.title, + path: `/pages/billboards/policy/policy-list/index?index=${this.data.navSelectIndex}` + } + }, /** * 生命周期函数--监听页面加载 */ diff --git a/pages/billboards/policy/policy-list/index.wxss b/pages/billboards/policy/policy-list/index.wxss index bd75624..82d5fa3 100644 --- a/pages/billboards/policy/policy-list/index.wxss +++ b/pages/billboards/policy/policy-list/index.wxss @@ -17,6 +17,7 @@ .page_segment { width: 90vw; + z-index: 100; } .page_btn_all { @@ -51,6 +52,7 @@ } .pop_hidden { transform: scaleY(0); + height: 0; } .pop_view_layout { z-index: 10;