| | |
| | | import { |
| | | getPublicImage |
| | | } from "../../assets/js/middleGround/tool"; |
| | | import { |
| | | setSessionGuid, |
| | | setNewView, |
| | | storage |
| | | } from "../../assets/js/userAction"; |
| | | Page({ |
| | | |
| | | /** |
| | |
| | | selectedIndex: 0, |
| | | digitalTextbooksData: [], |
| | | path: "jsek_dTHigherEducation", |
| | | loading: true |
| | | |
| | | }, |
| | | |
| | |
| | | viewCount: [], |
| | | ...searchObj |
| | | } |
| | | }) |
| | | .then((res) => { |
| | | }).then((res) => { |
| | | this.setData({ |
| | | digitalTextbooksData: res.datas |
| | | digitalTextbooksData: res.datas, |
| | | loading: false |
| | | }) |
| | | |
| | | |
| | | console.log(this.data.digitalTextbooksData); |
| | | }) |
| | | }, |
| | |
| | | const item = e.currentTarget.dataset.item |
| | | console.log(item); |
| | | // 在某个事件处理函数中,比如按钮的点击事件 |
| | | setNewView('productId', item.id) |
| | | this.bookExhibitionGet() |
| | | wx.navigateTo({ |
| | | url: '/pages/digitalTextbooks/digitalTextbooksDetails/index?id=' + item.id |
| | | }); |