| | |
| | | name: "/static/images/digitalTextbooks/jibenxinxi-t@2x.png", |
| | | }, |
| | | briefIconClick: { |
| | | name: "/static/images/digitalTextbooks/jibenxinxi @2x.png", |
| | | name: "/static/images/digitalTextbooks/jibenxinxi-t-click@3x.png", |
| | | }, |
| | | eBookIcon: { |
| | | name: "/static/images/digitalTextbooks/zuozhejianjie-t@2x.png", |
| | |
| | | name: "/static/images/digitalTextbooks/zuozhejianjie-t@2x.png", |
| | | }, |
| | | teachResourcesClickIcon: { |
| | | name: "/static/images/digitalTextbooks/zuozhejianjie@2x.png", |
| | | name: "/static/images/digitalTextbooks/zuozhejianjie-t-click@3x.png", |
| | | }, |
| | | learnResourceIcon: { |
| | | name: "/static/images/digitalTextbooks/shengshu-t@2x.png", |
| | | }, |
| | | learnResourceClickIcon: { |
| | | name: "/static/images/digitalTextbooks/zhengshu@2x.png", |
| | | name: "/static/images/digitalTextbooks/zhengshu-t-click@3x.png", |
| | | }, |
| | | testResourceIocn: { |
| | | name: "/static/images/digitalTextbooks/link-t@2x.png", |
| | | name: "/static/images/digitalTextbooks/link-t@3x.png", |
| | | }, |
| | | testResourceClickIocn: { |
| | | name: "/static/images/digitalTextbooks/Link@2x.png", |
| | | name: "/static/images/digitalTextbooks/link-t-click@3x.png", |
| | | }, |
| | | |
| | | catalogue: { |
| | | name: "/static/images/digitalTextbooks/mulu@2x.png", |
| | | name: "/static/images/digitalTextbooks/mulu-t@3x.png", |
| | | }, |
| | | catalogueClickIcon: { |
| | | name: "/static/images/digitalTextbooks/mulu@2x.png", |
| | | name: "/static/images/digitalTextbooks/mulu-t-click@3x.png", |
| | | }, |
| | | |
| | | }, |
| | |
| | | * 生命周期函数--监听页面加载 |
| | | */ |
| | | onLoad(options) { |
| | | console.log(options.id); |
| | | console.log(options); |
| | | this.setData({ |
| | | digitalTextId: options.id |
| | | }) |
| | | this.digitalTextbooksDetailsGet(this.data.digitalTextId) |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | }, |
| | | // 格式化日期 |
| | | // 格式化日期 |
| | |
| | | }); |
| | | |
| | | // this.onCe() |
| | | |
| | | }) |
| | | }, |
| | | |
| | |
| | | }, |
| | | onCorrelationBook(e) { |
| | | |
| | | |
| | | |
| | | const item = e.currentTarget.dataset.item |
| | | |
| | | console.log(item); |
| | | this.digitalTextbooksDetailsGet(item.id) |
| | | // const event = { |
| | | // detail: { |
| | | // value: "brief" |
| | | // } |
| | | // } |
| | | // this.onTabsChange(event) |
| | | // this.digitalTextbooksDetailsGet(item.id) |
| | | this.onLoad({ |
| | | id: item.id |
| | | }) |
| | | |
| | | |
| | | |
| | | }, |
| | | // 图书添加购物车 |
| | | async addBookShopcCar() { |