From 04a326c0e416dd571941328f39c0c98f9fe4e1ae Mon Sep 17 00:00:00 2001 From: Book Pauk Date: Tue, 12 Jul 2022 15:51:43 +0700 Subject: [PATCH] =?UTF-8?q?=D0=A0=D0=B0=D0=B1=D0=BE=D1=82=D0=B0=20=D0=BD?= =?UTF-8?q?=D0=B0=D0=B4=20=D0=B3=D1=80=D1=83=D0=BF=D0=BF=D0=B8=D1=80=D0=BE?= =?UTF-8?q?=D0=B2=D0=BA=D0=BE=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../RecentBooksPage/RecentBooksPage.vue | 39 ++++++++++++++----- 1 file changed, 29 insertions(+), 10 deletions(-) diff --git a/client/components/Reader/RecentBooksPage/RecentBooksPage.vue b/client/components/Reader/RecentBooksPage/RecentBooksPage.vue index be7d5129..d45453b8 100644 --- a/client/components/Reader/RecentBooksPage/RecentBooksPage.vue +++ b/client/components/Reader/RecentBooksPage/RecentBooksPage.vue @@ -50,28 +50,39 @@ -
+
-
+
{{ item.num }}
-
+
Читался: {{ item.touchTime }}
-
+
Загружен: {{ item.loadTime }}
-
+
-
+
{{ item.desc.author }}
{{ item.desc.title }}
+
+
+ {{ item.desc.perc }} +
+
+ {{ item.desc.textLen }} +
+
+
+
+
@@ -273,8 +284,8 @@ class RecentBooksPage { const p = (book.bookPosSeen ? book.bookPosSeen : (book.bookPos ? book.bookPos : 0)); if (book.textLength) { readPart = p/book.textLength; - perc = ` [${(readPart*100).toFixed(2)}%]`; - textLen = ` ${Math.round(book.textLength/1000)}k`; + perc = `${(readPart*100).toFixed(2)}%`; + textLen = `${Math.round(book.textLength/1000)}k`; } const bt = utils.getBookTitle(book.fb2); @@ -288,7 +299,9 @@ class RecentBooksPage { loadTime, desc: { author, - title: `${title}${perc}${textLen}`, + title, + perc, + textLen, }, readPart, url: book.url, @@ -630,9 +643,15 @@ export default vueComponent(RecentBooksPage); transform: rotate(90deg); } -.row-info-panel { +.row-info-top { line-height: 110%; border-left: 1px solid #cccccc; border-bottom: 1px solid #cccccc; } + +.row-info-bottom { + line-height: 110%; + border: 1px solid #cccccc; + border-right: 0; +}