From 27f1ccdb1a8767ad959e2b12cd748451426ed90e Mon Sep 17 00:00:00 2001 From: lcq Date: Sat, 25 Dec 2021 00:05:39 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E5=8A=A0=E6=A8=AA=E7=BA=BF?= =?UTF-8?q?=E5=8C=BA=E5=88=86=E5=88=86=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- view/scripts/controllers/tags-controller.js | 5 +++++ view/views/tags.html | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/view/scripts/controllers/tags-controller.js b/view/scripts/controllers/tags-controller.js index d8c48f5..c1bc558 100644 --- a/view/scripts/controllers/tags-controller.js +++ b/view/scripts/controllers/tags-controller.js @@ -88,6 +88,11 @@ app.controller('tagsCtr', ['$scope', '$filter', '$state', '$window', '$statePara clearInterval(id); } }, 10); + } else if ($scope.showMode == 'item' && bookmarks.length == $scope.pageSize) { + $timeout(() => { + $("#" + bookmarks[bookmarks.length * 2 / 5 - 1].id).after(`
`); + $("#" + bookmarks[bookmarks.length * 4 / 5 - 1].id).after(`
`); + }, 100); } $timeout(function () { diff --git a/view/views/tags.html b/view/views/tags.html index ca6ddab..cbb01ca 100644 --- a/view/views/tags.html +++ b/view/views/tags.html @@ -49,7 +49,7 @@ -
正在加载中...
+
正在加载中...
@@ -104,7 +104,7 @@ {{bookmark.title}} -
+