| | |
| | | digitalsData: {}, |
| | | isFavourite: true, |
| | | richStyle: 'font-size: 28rpx;color: #333; line-height: 48rpx;text-align: justify;margin: 20rpx; ', |
| | | briefIconClick: { |
| | | name: "/static/images/bookService/detail/tushujianjie-click.png", |
| | | }, |
| | | tabValue: "brief", |
| | | relatedBookData: [], |
| | | publicationDate: '', |
| | | isBuy: false, |
| | | loading: true, |
| | | briefIcon: { |
| | | name: "/static/images/digitalTextbooks/jibenxinxi-t@2x.png", |
| | | }, |
| | | briefIconClick: { |
| | | name: "/static/images/digitalTextbooks/jibenxinxi @2x.png", |
| | | }, |
| | | eBookIcon: { |
| | | name: "/static/images/digitalTextbooks/zuozhejianjie-t@2x.png", |
| | | }, |
| | | eBookClickIcon: { |
| | | name: "/static/images/digitalTextbooks/zuozhejianjie@2x.png", |
| | | }, |
| | | teachResourcesIcon: { |
| | | name: "/static/images/digitalTextbooks/zuozhejianjie-t@2x.png", |
| | | }, |
| | | teachResourcesClickIcon: { |
| | | name: "/static/images/digitalTextbooks/zuozhejianjie@2x.png", |
| | | }, |
| | | learnResourceIcon: { |
| | | name: "/static/images/digitalTextbooks/shengshu-t@2x.png", |
| | | }, |
| | | learnResourceClickIcon: { |
| | | name: "/static/images/digitalTextbooks/zhengshu@2x.png", |
| | | }, |
| | | testResourceIocn: { |
| | | name: "/static/images/digitalTextbooks/link-t@2x.png", |
| | | }, |
| | | testResourceClickIocn: { |
| | | name: "/static/images/digitalTextbooks/Link@2x.png", |
| | | } |
| | | |
| | | }, |
| | | |
| | | /** |
| | |
| | | } |
| | | }, |
| | | onTabsChange(event) { |
| | | console.log(`Change tab, tab-panel value is ${event.detail.value}.`); |
| | | |
| | | this.setData({ |
| | | tabValue: event.detail.value, |
| | | }) |
| | | |
| | | |
| | | console.log(this.data.tabValue); |
| | | }, |
| | | |
| | | onTabsClick(event) { |
| | | console.log(`Click tab, tab-panel value is ${event.detail.value}.`); |
| | | // console.log(`Click tab, tab-panel value is ${event.detail.value}.`); |
| | | }, |
| | | |
| | | // 获取相关教材 |
| | |
| | | duration: 1000, |
| | | }); |
| | | } |
| | | }, |
| | | |
| | | // console.log(item, app.config.textReaderUrl); |
| | | // console.log(token); |
| | | goRead() { |
| | | |
| | | const item = this.data.digitalsData |
| | | |
| | | let token = wx.getStorageSync(app.config.tokenKey) |
| | | console.log(); |
| | | const URL = app.config.textReaderUrl + '?bookId=' + item.refCode + "&tryPageCount=" + item.probationPage + "&token=" + token |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | wx.navigateTo({ |
| | | url: '/pages/digitalTextbooks/digitalTextbooksDetails/components/webView/index?refCode=' + item.refCode + "&tryPageCount=" + item.probationPage |
| | | }); |
| | | |
| | | } |
| | | }) |