修复:修改书籍购买跳转和章节锁定问题

This commit is contained in:
2025-12-01 17:58:25 +08:00
parent b4585c93a6
commit 0ab55b538b
6 changed files with 49 additions and 17 deletions

View File

@@ -264,7 +264,7 @@ function handlePurchase(goods: IGoods) {
// 页面跳转
function goToReader() {
const isBuy = bookInfo.value.isBuy ? 0 : 1
const isBuy = bookInfo.value.isBuy ? 1 : 0
const count = bookInfo.value.freeChapterCount || 0
uni.navigateTo({
url: `/pages/book/reader?isBuy=${isBuy}&bookId=${bookId.value}&count=${count}`