Skip to content
Binary file added src/main/.DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions web/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
<meta name="x5-page-mode" content="app">
<meta name="msapplication-tap-highlight" content="no">
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
<link rel="manifest" href="<%= BASE_URL %>manifest.json" />
<title>阅读</title>
<script>
// 通用加载脚本方法
Expand Down
16 changes: 16 additions & 0 deletions web/public/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "阅读",
"short_name": "阅读",
"icons": [
{
"src": "./favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
}
],
"start_url": ".",
"display": "standalone",
"background_color": "#ffffff",
"theme_color": "#ffffff",
"orientation": "portrait"
}
2 changes: 1 addition & 1 deletion web/src/components/BookInfo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
inactive-color="#ff4949"
:active-value="true"
:inactive-value="false"
@change="toggleBookCanUpdate(book)"
@change="toggleBookCanUpdate(showBookInfo)"
>
</el-switch>
</span>
Expand Down
3 changes: 2 additions & 1 deletion web/src/components/Content.vue
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ export default {
{this.showChapterList.map(chapter => {
if (chapter.isVolume) {
return (
<div class="content-body chapter-content reading-chapter volume-chapter">
<div key={chapter.index} class="content-body chapter-content reading-chapter volume-chapter">
<div class="volume-content">
<h3 data-pos={0}>{chapter.title}</h3>
<p class="volume-tag">{chapter.content}</p>
Expand All @@ -219,6 +219,7 @@ export default {
let wordCount = chapter.title.length + 2; // 2为两个换行符
return (
<div
key={chapter.index}
class={[
"chapter-content",
this.readingBook.index === chapter.index
Expand Down
Loading