pages/cart/index.js
@@ -11,6 +11,7 @@ Page({ data: { price: '', loading: true, hidden: true, swipeOpened: false, @@ -88,9 +89,11 @@ totalSize: res.totalSize }) res.datas.forEach(item => { this.setData({ bookId: res.id, bookName: res.name bookName: res.name, price: item.saleMethod.price.toFixed(2), }) item.imgUrl = getPublicImage(item.productMonWithLinkDto.product.icon, '', '160'); // this.setData({