| | |
| | | data: { |
| | | active: 0, |
| | | activeName: "bookOpinion", |
| | | tabList: [ |
| | | { |
| | | tabList: [{ |
| | | label: '图书建议', |
| | | key: 0, |
| | | value: 'bookOpinion' |
| | |
| | | |
| | | getDataList(isReachBottom) { |
| | | app.MG.ugc.getTopicMessageList({ |
| | | appRefCode: app.config.appRefCode, |
| | | topicIdOrRefCode: this.data.topicIdOrRefCode, |
| | | start: this.data.page * this.data.limit - this.data.limit, |
| | | size: this.data.limit, |
| | | sort: { |
| | | type: "Desc", |
| | | field: "CreateDate" |
| | | } |
| | | }) |
| | | appRefCode: app.config.appRefCode, |
| | | topicIdOrRefCode: this.data.topicIdOrRefCode, |
| | | start: this.data.page * this.data.limit - this.data.limit, |
| | | size: this.data.limit, |
| | | sort: { |
| | | type: "Desc", |
| | | field: "CreateDate" |
| | | } |
| | | }) |
| | | .then(res => { |
| | | try { |
| | | if (res.datas.length > 0) { |
| | |
| | | }) |
| | | } else { |
| | | this.setData({ |
| | | list: [], |
| | | pageTotalCount: 0, |
| | | skeletonLoding: false, |
| | | }) |
| | | } |