更新:增加买书确认订单页面
This commit is contained in:
@@ -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 ''
|
||||
|
||||
Reference in New Issue
Block a user