@ -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) {
@ -14,7 +14,12 @@ Page({
curCode: '',
show: false,
path: `/pages/billboards/policy/policy-list/index?index=${this.data.navSelectIndex}`
@ -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;