更新:增加买书确认订单页面

This commit is contained in:
2025-11-12 16:35:39 +08:00
parent 1daa6367c9
commit d2389b2ed1
11 changed files with 930 additions and 31 deletions

View File

@@ -158,11 +158,11 @@ const formatPrice = (book: IBookWithStats): string => {
*/
const formatStats = (book: IBookWithStats): string => {
if (book.readCount && book.readCount > 0) {
return `${book.readCount}${t('home.readingCount')}`
return `${book.readCount}${t('bookHome.readingCount')}`
}
if (book.buyCount && book.buyCount > 0) {
return `${book.buyCount}${t('home.purchased')}`
return `${book.buyCount}${t('bookHome.purchased')}`
}
return ''