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

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

@@ -3,7 +3,7 @@
<view v-if="data.isBuy" class="book-flag">已购买</view>
<view v-else-if="data.isVip == '0'" class="book-flag">免费</view>
<view v-else-if="userHasVip && data.isVip == '1'" class="book-price">VIP免费</view>
<view v-else class="book-price">{{ item.minPrice }} {{ $t('global.coin') }}</view>
<view v-else class="book-price">{{ data.minPrice }} {{ $t('global.coin') }}</view>
<view>
<text v-if="data.readCount" class="book-flag">{{ `${data.readCount}${$t('bookHome.readingCount')}` }}</text>
<text v-else-if="data.buyCount" class="book-flag">{{ `${data.buyCount}${$t('bookHome.purchased')}` }}</text>