| | |
| | | import { getZhongTaiProductNewsPage, getCatalogList, getCataLogTagList } from '../../api/index' |
| | | import { getZhongTaiProductNewsPage, getCatalogList,actionDo } from '../../api/index' |
| | | Page({ |
| | | |
| | | /** |
| | |
| | | }, |
| | | itemClick(e) { |
| | | const item = e.currentTarget.dataset.item |
| | | actionDo({actionType: 'view',id: item.id}) |
| | | if(item.contentType == 'link'){ |
| | | wx.navigateTo({ |
| | | url: '/pages/webView/index?link=' + item.content, |
| | |
| | | }) |
| | | } |
| | | }, |
| | | searchList() { |
| | | this.setData({ dataList: [], total: 0, pageNum: 1 }) |
| | | this.getList() |
| | | }, |
| | | getList() { |
| | | const { pageNum, pageSize, catalogCode, tagCode, query } = this.data |
| | | getZhongTaiProductNewsPage({ |