diff --git a/pages/billboards/firm/index.js b/pages/billboards/firm/index.js index 61f1778..284dce9 100644 --- a/pages/billboards/firm/index.js +++ b/pages/billboards/firm/index.js @@ -22,21 +22,21 @@ Page({ }, tapSegemnt (e) { console.log(e.detail) - const {index} = e.detail + const { index } = e.detail this.setData({ curCode: this.data.tags[index].code, currPage: 1, }) this.fetchList() }, - clickCardItem(e) { + clickCardItem (e) { console.log(e.detail) const { id } = e.detail wx.navigateTo({ url: `/pages/article/index?id=${id}`, }) }, - fetchList() { + fetchList () { const { curCode } = this.data const page = this.data.currPage billboard.fetchBailList(curCode, page, res => { diff --git a/pages/user/myActivity/index.js b/pages/user/myActivity/index.js index 46b363d..b2995a7 100644 --- a/pages/user/myActivity/index.js +++ b/pages/user/myActivity/index.js @@ -29,7 +29,7 @@ Page({ let tempDatas = [] datas.forEach(item => { tempDatas.push({ - articleId: item.collectionId, + articleId: item.contentId, title: item.title, articleImg: item.image, userName: item.author, diff --git a/pages/user/myFavorite/index.js b/pages/user/myFavorite/index.js index 47ffd16..e6cede1 100644 --- a/pages/user/myFavorite/index.js +++ b/pages/user/myFavorite/index.js @@ -32,7 +32,7 @@ Page({ let tempDatas = [] datas.forEach(item => { tempDatas.push({ - topicId: item.collectionId, + topicId: item.contentId, title: item.title, topicImg: item.image, userIcon: item.groupAvator,