diff --git a/pages/topics/index.json b/pages/topics/index.json index 64d42ad..eb096de 100644 --- a/pages/topics/index.json +++ b/pages/topics/index.json @@ -1,5 +1,6 @@ { "enablePullDownRefresh": true, + "backgroundTextStyle": "dark", "usingComponents": { "e-segment":"/components/segment/index", "message": "./message/index", diff --git a/pages/topics/interactive/topicArticle/index.js b/pages/topics/interactive/topicArticle/index.js index d25c4fa..2086a7e 100644 --- a/pages/topics/interactive/topicArticle/index.js +++ b/pages/topics/interactive/topicArticle/index.js @@ -67,42 +67,6 @@ Page({ this.fetchDetail() this.fetchDetailComment() }, - - /** - * 生命周期函数--监听页面初次渲染完成 - */ - onReady: function () { - - }, - - /** - * 生命周期函数--监听页面显示 - */ - onShow: function () { - - }, - - /** - * 生命周期函数--监听页面隐藏 - */ - onHide: function () { - - }, - - /** - * 生命周期函数--监听页面卸载 - */ - onUnload: function () { - - }, - - /** - * 页面相关事件处理函数--监听用户下拉动作 - */ - onPullDownRefresh: function () { - - }, - /** * 页面上拉触底事件的处理函数 */ diff --git a/project.config.json b/project.config.json index 4eea4f9..4d0f72c 100644 --- a/project.config.json +++ b/project.config.json @@ -50,7 +50,7 @@ "list": [] }, "miniprogram": { - "current": 6, + "current": 7, "list": [ { "id": -1, @@ -98,6 +98,13 @@ "id": -1, "name": "User", "pathName": "pages/user/index", + "query": "", + "scene": null + }, + { + "id": -1, + "name": "Topics", + "pathName": "pages/topics/index", "scene": null } ]