packageBookService/pages/bookServices/detail/index.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
packageBookService/pages/psychologyAnswer/psychologyAnswer.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
pages/digitalCourses/digitalCoursesDetails/index.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
pages/digitalTextbooks/digitalTextbooksDetails/index.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
packageBookService/pages/bookServices/detail/index.js
@@ -436,6 +436,7 @@ }; app.MG.store.getProductDetail(query).then(async (res) => { this.getResourceCode(id, res.datas.rootCmsItemId) console.log(res.datas, "res.datas") this.setData({ bookDetail: res.datas, buyIdList: res.datas.purchasedSaleMethodIdList, @@ -507,7 +508,7 @@ } } this.setData({ "bookDetail.publicationDate": moment(this.data.bookDetail.publicationDate).format("YYYY年MM月"), "bookDetail.publicationDate": this.data.bookDetail.publicationDate ? moment(this.data.bookDetail.publicationDate).format("YYYY年MM月") : '', "bookDetail.price": this.numFormat(this.data.bookDetail.price), "bookDetail.oldPrice": this.numFormat(this.data.bookDetail.oldPrice), "bookDetail.paperPrice": this.numFormat( packageBookService/pages/psychologyAnswer/psychologyAnswer.js
@@ -552,7 +552,6 @@ const questionList = this.data.questionDataList; const optionList = this.data.questionDataOptions; const scoreData = this.data.scoreDataList; debugger for (let index = 0; index < questionList.length; index++) { const item = questionList[index]; if (item.questionType == 'judge' && item.userAnswer) { pages/digitalCourses/digitalCoursesDetails/index.js
@@ -312,7 +312,7 @@ expire: res.false }) } res.datas.publicationDate = moment(res.datas.publicationDate).format('YYYY年MM月') res.datas.publicationDate = res.datas.publicationDate ? moment(res.datas.publicationDate).format('YYYY年MM月') : '' res.datas.price = res.datas.price.toFixed(2) res.datas.oldPrice = res.datas.oldPrice.toFixed(2) wx.setNavigationBarTitle({ pages/digitalTextbooks/digitalTextbooksDetails/index.js
@@ -248,7 +248,7 @@ isBuy: false }) } res.datas.publicationDate = moment(res.datas.publicationDate).format('YYYY年MM月') res.datas.publicationDate = res.datas.publicationDate ? moment(res.datas.publicationDate).format('YYYY年MM月') : '' if (res.datas.icon == '') { res.datas.icon = '/static/images/default-book-img.png' }