| | |
| | | protocolShow: false, |
| | | protocolTxt: '', |
| | | learnMenu: null, |
| | | md5List: [] |
| | | md5List: [], |
| | | editDialog: false |
| | | }, |
| | | |
| | | resetTree: function (e) { |
| | |
| | | protectedEpub: [], |
| | | probationPage: [], //pdf试读页数 |
| | | freeEpubPage: [], //epub试读百分比 |
| | | bookEditor: [], //图书编辑 |
| | | contactInformation: [], //联系方式 |
| | | }, |
| | | }; |
| | | app.MG.store.getProductDetail(query).then(async (res) => { |
| | | this.getResourceCode(id, res.datas.rootCmsItemId) |
| | | console.log(res.datas, "res.datas") |
| | | res.datas.bookEditor = res.datas.bookEditor ? res.datas.bookEditor : '-' |
| | | res.datas.contactInformation = res.datas.contactInformation ? res.datas.contactInformation : '-' |
| | | this.setData({ |
| | | bookDetail: res.datas, |
| | | buyIdList: res.datas.purchasedSaleMethodIdList, |
| | |
| | | } |
| | | } |
| | | }, |
| | | |
| | | // 联系 |
| | | editPhone() { |
| | | this.setData({ |
| | | editDialog: true |
| | | }) |
| | | }, |
| | | |
| | | // 我要建议 |
| | | suggestBtn() { |
| | | // 检查登录状态 |