From 4ea9b388f0c40588cf1bc3a3d44ff7a5e61dd375 Mon Sep 17 00:00:00 2001 From: Book Pauk Date: Mon, 31 Oct 2022 15:00:32 +0700 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=BB=D1=83=D1=87=D1=88=D0=B5=D0=BD?= =?UTF-8?q?=D0=B8=D0=B5=20=D0=B2=D0=B8=D0=B4=D0=B0=20=D1=81=D0=BF=D0=B8?= =?UTF-8?q?=D1=81=D0=BA=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Search/AuthorList/AuthorList.vue | 10 +-- .../components/Search/BookView/BookView.vue | 70 ++++++++++++------- .../Search/SeriesList/SeriesList.vue | 11 ++- .../components/Search/TitleList/TitleList.vue | 9 ++- 4 files changed, 58 insertions(+), 42 deletions(-) diff --git a/client/components/Search/AuthorList/AuthorList.vue b/client/components/Search/AuthorList/AuthorList.vue index d125ee1..7401388 100644 --- a/client/components/Search/AuthorList/AuthorList.vue +++ b/client/components/Search/AuthorList/AuthorList.vue @@ -60,9 +60,9 @@
@@ -70,7 +70,7 @@
@@ -101,7 +101,7 @@
- + + + +
+
+ {{ bookAuthor }}
-
-
- {{ bookSize }}, {{ book.ext }} -
+
+
+ {{ book.serno }}. +
+
+ {{ book.title }} +
+
+ {{ bookSeries }} +
-
- (скачать) -
-
- -
+
+ {{ bookSize }}, {{ book.ext }} +
-
- (читать) -
+
+ (скачать) +
-
- {{ bookGenre }} -
+
+ +
-
- {{ bookDate }} +
+ (читать) +
+ +
+ {{ bookGenre }} +
+ +
+ {{ bookDate }} +
+
@@ -105,10 +124,9 @@ class BookView { _options = componentOptions; _props = { book: Object, + mode: String, genreMap: Object, - showAuthor: Boolean, showReadLink: Boolean, - titleList: Boolean, titleColor: { type: String, default: 'text-blue-10'}, }; @@ -135,9 +153,9 @@ class BookView { } get bookAuthor() { - if ((this.showAuthor || this.titleList) && this.book.author) { + if (this.book.author) { let a = this.book.author.split(','); - return a.slice(0, 2).join(', ') + (a.length > 2 ? ' и др.' : ''); + return a.slice(0, 3).join(', ') + (a.length > 3 ? ' и др.' : ''); } return ''; @@ -145,7 +163,7 @@ class BookView { get bookSeries() { if (this.book.series) { - return `(${this.book.series})`; + return `(Серия: ${this.book.series})`; } return ''; diff --git a/client/components/Search/SeriesList/SeriesList.vue b/client/components/Search/SeriesList/SeriesList.vue index d823d01..e0ae485 100644 --- a/client/components/Search/SeriesList/SeriesList.vue +++ b/client/components/Search/SeriesList/SeriesList.vue @@ -39,18 +39,17 @@
diff --git a/client/components/Search/TitleList/TitleList.vue b/client/components/Search/TitleList/TitleList.vue index f0bf34d..73bf7f2 100644 --- a/client/components/Search/TitleList/TitleList.vue +++ b/client/components/Search/TitleList/TitleList.vue @@ -9,15 +9,14 @@