| | |
| | | let detail = { |
| | | id: e.id |
| | | }; |
| | | //去跳转 |
| | | uni.navigateTo({ |
| | | url: './article_detail?detailData=' + JSON.stringify(detail) |
| | | }); |
| | | if(e.articleType.indexOf("ksp") != -1){ |
| | | //去跳转 |
| | | uni.navigateTo({ |
| | | url: './article_video?detailData=' + (JSON.stringify(e)) |
| | | }); |
| | | }else{ |
| | | //去跳转 |
| | | uni.navigateTo({ |
| | | url: './article_detail?detailData=' + JSON.stringify(detail) |
| | | }); |
| | | } |
| | | |
| | | }, |
| | | //on input 通过 keyword 关键字查询 |
| | | getKeyword() { |
| | |
| | | data: paramData, |
| | | success: (res) => { |
| | | if (res.data.code == 200) { |
| | | |
| | | if (res.data.data.records) { |
| | | //如果总数小于pageSize,不做其他操作 |
| | | if (res.data.data.total < this.pagesize) { |