diff --git a/subpages/understandJs/pages/index/index.js b/subpages/understandJs/pages/index/index.js index 2eb502b..6bccb8a 100644 --- a/subpages/understandJs/pages/index/index.js +++ b/subpages/understandJs/pages/index/index.js @@ -85,6 +85,10 @@ Page({ wx.navigateTo({ url: `../sclerotia/sclerotia?modulecode=${e.currentTarget.dataset.modulecode}` }) + } else if (e.currentTarget.dataset.modulecode == 'notice_jsdh') { + wx.navigateTo({ + url: `../noticeDetail/noticeDetail?modulecode=${e.currentTarget.dataset.modulecode}` + }) } } }) \ No newline at end of file diff --git a/subpages/understandJs/pages/noticeDetail/noticeDetail.js b/subpages/understandJs/pages/noticeDetail/noticeDetail.js index 684cd29..5741b70 100644 --- a/subpages/understandJs/pages/noticeDetail/noticeDetail.js +++ b/subpages/understandJs/pages/noticeDetail/noticeDetail.js @@ -51,6 +51,14 @@ Page({ title: '锦水硬核' }) this.noticeDetail(options.id) + } else if(options.modulecode == 'notice_jsdh'){ + wx.setNavigationBarTitle({ + title: '锦水导航' + }) + this.setData({ + isNeedBanner: false + }) + this.noticelist() } else if(options.modulecode == 'notice_warning'){ wx.setNavigationBarTitle({ title: "锦水警事"