| | |
| | | activeItem: null, |
| | | loading: false, |
| | | contentLoading: false, |
| | | noData: false, |
| | | shoppingCartGetId: [], |
| | | sorter: { |
| | | value: "*", |
| | |
| | | }, |
| | | getCourseTypeListList() { |
| | | this.setData({ |
| | | loading: true |
| | | loading: true, |
| | | }) |
| | | const data = { |
| | | path: '*', |
| | |
| | | }, |
| | | |
| | | getCourseList(item) { |
| | | this.setData({ |
| | | noData: false, |
| | | }) |
| | | let searchObj = {} |
| | | let sort = {} |
| | | // // 搜索框 |
| | |
| | | } |
| | | } |
| | | app.MG.store.getProductList(obj).then((res) => { |
| | | if (!res.datas.length) { |
| | | return this.setData({ |
| | | courseList: [], |
| | | noData: true, |
| | | contentLoading: false |
| | | }) |
| | | } |
| | | res.datas.forEach(item => { |
| | | item.price = item.price.toFixed(2) |
| | | item.productLinkInfo = JSON.parse(item.productLinkInfo) |