diff --git a/pages.json b/pages.json index 1570546..9cfa060 100644 --- a/pages.json +++ b/pages.json @@ -119,6 +119,12 @@ "style": { "navigationStyle": "custom" } + }, + { + "path": "home/book", + "style": { + "navigationStyle": "custom" + } } ] } diff --git a/pages/index/desk.vue b/pages/index/desk.vue index d9919b4..0cd6a6d 100644 --- a/pages/index/desk.vue +++ b/pages/index/desk.vue @@ -95,7 +95,7 @@ export default { title: '确认删除', content: `确定要从书桌中移除《${book.book.booksName}》吗?`, confirmText: '删除', - confirmColor: '#06DADC', + confirmColor: '#ff4757', success: (res) => { if (res.confirm) { this.deleteBook(book, index) @@ -115,6 +115,7 @@ export default { id: book.id }) + uni.hideLoading() if (res.code === 200) { // 从列表中移除该项 @@ -143,7 +144,6 @@ export default { onShow() { // 只有登录才会获取书籍 if (uni.getStorageSync('token')) { - this.list = [] this.initPage() this.getList(true) } diff --git a/pages/index/home.vue b/pages/index/home.vue index 798b46a..2560c00 100644 --- a/pages/index/home.vue +++ b/pages/index/home.vue @@ -79,6 +79,7 @@ v-for="(item, index) in labelData.books" :key="index" class="content-item" + @click="goBook(item)" > @@ -129,6 +130,7 @@ v-for="(book, index) in labelData.books" :key="index" class="book-grid-item" + @click="goBook(book)" > diff --git a/static/划重点图标.png b/static/划重点图标.png new file mode 100644 index 0000000..5068414 Binary files /dev/null and b/static/划重点图标.png differ diff --git a/static/划重点图片.png b/static/划重点图片.png new file mode 100644 index 0000000..e3c1be5 Binary files /dev/null and b/static/划重点图片.png differ diff --git a/static/音色切换图标.png b/static/音色切换图标.png new file mode 100644 index 0000000..864d6b8 Binary files /dev/null and b/static/音色切换图标.png differ diff --git a/subPages/home/book.vue b/subPages/home/book.vue new file mode 100644 index 0000000..f2ae515 --- /dev/null +++ b/subPages/home/book.vue @@ -0,0 +1,404 @@ + + + + + \ No newline at end of file diff --git a/subPages/home/directory.vue b/subPages/home/directory.vue index 5917f00..aa0a404 100644 --- a/subPages/home/directory.vue +++ b/subPages/home/directory.vue @@ -41,6 +41,7 @@ 内容朗读 -