packageBookService/pages/bookServices/detail/index.js
@@ -908,7 +908,7 @@ }) const dataList = res.datas.cmsDatas[0].datas if (dataList.length) { const tag = dataList.findIndex(item => this.isShowNeedBuy(item)) const tag = dataList.findIndex(item => item.saleMethod.length && item.saleMethod[0].Price > 0) this.setData({ isGoBuyResource: tag > -1 ? true : false }) @@ -1580,7 +1580,7 @@ if (isSHow) { return false; } else { return data.saleMethod[0].price > 0 ? true : false; return data.saleMethod[0].Price > 0 ? true : false; } return !isSHow; } else {