| | |
| | | bookExhibitionList: [], |
| | | navBarHeight: '', |
| | | barHeight: '', |
| | | subtitleName: '', |
| | | totalSize: '', |
| | | passId: '', |
| | | isMore: null, |
| | |
| | | barHeight: systInfo.statusBarHeight, |
| | | }) |
| | | this.setData({ |
| | | bookName: options.bookName, |
| | | subtitleName: options.subtitleName, |
| | | passId: options.id |
| | | }) |
| | | const token = wx.getStorageSync(app.config.tokenKey) |
| | |
| | | this.bookExhibitionGet(this.data.passId) |
| | | this.getBookExhibitionDetails() |
| | | } |
| | | wx.setNavigationBarTitle({ |
| | | title: this.data.subtitleName |
| | | }); |
| | | |
| | | }, |
| | | |
| | | /** |
| | |
| | | Creator: [] |
| | | } |
| | | }).then(res => { |
| | | console.log(res.datas.datas.Creator.Name, 'res'); |
| | | console.log(res.datas, 'res'); |
| | | this.setData({ |
| | | bookName: res.datas.name, |
| | | bookBeginDate: res.datas.beginDate, |
| | |
| | | loading: false, |
| | | hidden: false, |
| | | }); |
| | | console.log(this.data.loading, 123) |
| | | if (res.datas.subtitle == undefined) { |
| | | res.datas.subtitle = ""; |
| | | } |
| | | let title = res.datas.subtitle + this.data.bookName |
| | | wx.setNavigationBarTitle({ |
| | | title: title |
| | | }); |
| | | }) |
| | | }, |
| | | //书展详情接口 |