pages/digitalCourses/digitalCoursesDetails/index.js
@@ -278,6 +278,7 @@ } } app.MG.store.getProductDetail(query).then(async res => { console.log('信息', res); if (res.datas.purchasedSaleMethodIdList.includes(res.datas.defaultSaleMethodId)) { this.setData({ isBuy: true @@ -300,7 +301,7 @@ } 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({ title: res.datas.name, })