diff --git a/app.json b/app.json index fb82306..9248edf 100644 --- a/app.json +++ b/app.json @@ -66,7 +66,8 @@ "pages/gMembersList/gMembersList", "pages/gOfficialsList/gOfficialsList", "pages/talklist/talklist", - "pages/eventlist/eventlist" + "pages/eventlist/eventlist", + "pages/addTopic/addTopic" ] }, { diff --git a/subpages/associationNew/pages/addTopic/addTopic.js b/subpages/associationNew/pages/addTopic/addTopic.js index 285820d..9f5ae9e 100644 --- a/subpages/associationNew/pages/addTopic/addTopic.js +++ b/subpages/associationNew/pages/addTopic/addTopic.js @@ -30,6 +30,15 @@ Page({ partyGroupId: options.partyGroupId, topicType: options.topicType, }) + if(options.topicType == 0){ + wx.setNavigationBarTitle({ + title: '事好儿鼓个掌' + }) + }else{ + wx.setNavigationBarTitle({ + title: '话对捧个场' + }) + } this.getLocation() }, // 话题内容框 值双向绑定 diff --git a/subpages/associationNew/pages/addTopic/addTopic.json b/subpages/associationNew/pages/addTopic/addTopic.json index 6f590d9..bab6638 100644 --- a/subpages/associationNew/pages/addTopic/addTopic.json +++ b/subpages/associationNew/pages/addTopic/addTopic.json @@ -2,5 +2,5 @@ "usingComponents": { "wux-actionsheet": "../../../../dist/actionsheet/index" }, - "navigationBarTitleText": "我有话说" + "navigationBarTitleText": "" } \ No newline at end of file diff --git a/subpages/associationNew/pages/addTopic/addTopic.wxml b/subpages/associationNew/pages/addTopic/addTopic.wxml index b9084fa..fe98c38 100644 --- a/subpages/associationNew/pages/addTopic/addTopic.wxml +++ b/subpages/associationNew/pages/addTopic/addTopic.wxml @@ -2,9 +2,7 @@ diff --git a/subpages/associationNew/pages/eventlist/eventlist.js b/subpages/associationNew/pages/eventlist/eventlist.js index 91c9773..bdbf605 100644 --- a/subpages/associationNew/pages/eventlist/eventlist.js +++ b/subpages/associationNew/pages/eventlist/eventlist.js @@ -103,6 +103,16 @@ Page({ partyGroupId: options.partyGroupId, topicType: options.topicType,//0:事好儿鼓个掌 1:话对捧个场 }) + if(options.topicType == 0){ + wx.setNavigationBarTitle({ + title: '事好儿鼓个掌' + }) + }else{ + wx.setNavigationBarTitle({ + title: '话对捧个场' + }) + } + }, // 查列表 topiclist() { diff --git a/subpages/associationNew/pages/eventlist/eventlist.json b/subpages/associationNew/pages/eventlist/eventlist.json index 1b1aec4..6f1be8c 100644 --- a/subpages/associationNew/pages/eventlist/eventlist.json +++ b/subpages/associationNew/pages/eventlist/eventlist.json @@ -3,5 +3,5 @@ "load-more": "../../../../components/loadMore/loadMore", "no-data":"../../../../components/nodata/nodata" }, - "navigationBarTitleText": "事好鼓个掌" + "navigationBarTitleText": "" } \ No newline at end of file