Browse Source

调整议题

master
lqq 6 years ago
parent
commit
5d5ebb1f6d
  1. 1
      pages/topics/index.json
  2. 36
      pages/topics/interactive/topicArticle/index.js
  3. 9
      project.config.json

1
pages/topics/index.json

@ -1,5 +1,6 @@
{
"enablePullDownRefresh": true,
"backgroundTextStyle": "dark",
"usingComponents": {
"e-segment":"/components/segment/index",
"message": "./message/index",

36
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 () {
},
/**
* 页面上拉触底事件的处理函数
*/

9
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
}
]

Loading…
Cancel
Save