From 4b5c8d9efeaa44aa9201778643ad9dd78ed67026 Mon Sep 17 00:00:00 2001 From: Book Pauk Date: Thu, 14 Apr 2022 19:53:47 +0700 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20?= =?UTF-8?q?=D0=BF=D0=BE=D0=B4=D1=81=D0=BA=D0=B0=D0=B7=D0=BA=D1=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Reader/LoaderPage/LoaderPage.vue | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/client/components/Reader/LoaderPage/LoaderPage.vue b/client/components/Reader/LoaderPage/LoaderPage.vue index ac86d823..e3dcf816 100644 --- a/client/components/Reader/LoaderPage/LoaderPage.vue +++ b/client/components/Reader/LoaderPage/LoaderPage.vue @@ -47,6 +47,7 @@
+ Найти книгу Справка @@ -55,6 +56,18 @@
+ + + + +
+ Если вы хотите найти определенную книгу, добро пожаловать в + раздел "Сетевая библиотека" (кнопка ) на сайте читалки + liberama.top +
+
@@ -64,6 +77,7 @@ import vueComponent from '../../vueComponent.js'; import GithubCorner from './GithubCorner/GithubCorner.vue'; +import Dialog from '../../share/Dialog.vue'; import PasteTextPage from './PasteTextPage/PasteTextPage.vue'; import {versionHistory} from '../versionHistory'; import * as utils from '../../../share/utils'; @@ -71,6 +85,7 @@ import * as utils from '../../../share/utils'; const componentOptions = { components: { GithubCorner, + Dialog, PasteTextPage, }, }; @@ -80,6 +95,7 @@ class LoaderPage { bookUrl = null; loadPercent = 0; pasteTextActive = false; + findBookVisible = false; created() { this.commit = this.$store.commit; @@ -165,6 +181,10 @@ class LoaderPage { this.$emit('do-action', {action: 'donate'}); } + findBook() { + this.findBookVisible = true; + } + openComments() { window.open('http://samlib.ru/comment/b/bookpauk/bookpauk_reader', '_blank'); } @@ -181,6 +201,9 @@ class LoaderPage { } keyHook(event) { + if (this.$refs.dialog1.active) + return true; + if (this.pasteTextActive) { return this.$refs.pasteTextPage.keyHook(event); }