From f142e5812d29576d4fc31abf000cb1f0887cda16 Mon Sep 17 00:00:00 2001 From: Book Pauk Date: Wed, 10 Feb 2021 03:18:47 +0700 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B0=20=D0=BE=D0=BF=D1=86=D0=B8=D1=8F=20"=D0=9D=D0=B5?= =?UTF-8?q?=20=D0=B2=D0=BA=D0=BB=D1=8E=D1=87=D0=B0=D1=82=D1=8C=20=D1=81?= =?UTF-8?q?=D1=82=D1=80=D0=BE=D0=BA=D1=83=20=D1=81=D1=82=D0=B0=D1=82=D1=83?= =?UTF-8?q?=D1=81=D0=B0=20=D0=B2=20=D0=BE=D0=B1=D0=BE=D0=B8"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Reader/SettingsPage/include/ViewTab/Color.inc | 8 ++++++++ client/components/Reader/TextPage/TextPage.vue | 14 ++++++++++++-- client/store/modules/reader.js | 1 + 3 files changed, 21 insertions(+), 2 deletions(-) diff --git a/client/components/Reader/SettingsPage/include/ViewTab/Color.inc b/client/components/Reader/SettingsPage/include/ViewTab/Color.inc index 2e25d634..92a2cb02 100644 --- a/client/components/Reader/SettingsPage/include/ViewTab/Color.inc +++ b/client/components/Reader/SettingsPage/include/ViewTab/Color.inc @@ -84,4 +84,12 @@ +
+
+
+
+ +
+
+ diff --git a/client/components/Reader/TextPage/TextPage.vue b/client/components/Reader/TextPage/TextPage.vue index a3b0877c..0d7e6156 100644 --- a/client/components/Reader/TextPage/TextPage.vue +++ b/client/components/Reader/TextPage/TextPage.vue @@ -495,8 +495,18 @@ class TextPage extends Vue { } setBackground() { - this.background = `
`; + if (this.wallpaperIgnoreStatusBar) { + this.background = `
` + + `
` + + `
` + + `
`; + } else { + this.background = `
`; + } + } async onResize() { diff --git a/client/store/modules/reader.js b/client/store/modules/reader.js index f28b3403..f143f410 100644 --- a/client/store/modules/reader.js +++ b/client/store/modules/reader.js @@ -107,6 +107,7 @@ const settingDefaults = { textColor: '#000000', backgroundColor: '#ebe2c9', wallpaper: '', + wallpaperIgnoreStatusBar: false, fontStyle: '',// 'italic' fontWeight: '',// 'bold' fontSize: 20,// px