更新:图书搜索功能;听书实时显示对应文字;书籍评论功能完善;

This commit is contained in:
2025-11-12 09:02:30 +08:00
parent 9fcc1b8549
commit 1da75a59f2
21 changed files with 484 additions and 828 deletions

View File

@@ -46,7 +46,7 @@
import { ref, onMounted } from 'vue'
import { onLoad } from '@dcloudio/uni-app'
import { useI18n } from 'vue-i18n'
import { homeApi } from '@/api/modules/home'
import { homeApi } from '@/api/modules/book_home'
import type { IBookWithStats, IVipInfo } from '@/types/home'
const { t } = useI18n()
@@ -93,7 +93,7 @@ const handleSearch = async () => {
try {
const res = await homeApi.searchBooks({
key: keyword.value.trim(),
title: keyword.value.trim(),
page: 1,
limit: 10,
})
@@ -196,6 +196,7 @@ onMounted(async () => {
:deep() {
.wd-search {
background: transparent;
width: 100%;
}
}
}