Skip to content

Commit

Permalink
页面小调整
Browse files Browse the repository at this point in the history
  • Loading branch information
B05BEE13.卢郴群 committed May 26, 2021
1 parent 3087800 commit f2f041b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion view/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ body {
background-repeat: repeat;
background-position: top left;
background-attachment: scroll;
padding-top: 50px;
padding-top: 3px;
font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
}

Expand Down
2 changes: 1 addition & 1 deletion view/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
<div class="ui container">
<div ui-view></div>
</div>
<div class="ui container" style="width: 100%; height: 10px"></div>
<div class="ui container" style="width: 100%; height: 2px"></div>
<div class="foot" style="margin-bottom: 10px">
<div class="ui segment container" style="text-align: center">我爱佳佳与这个世界&nbsp;&nbsp;|&nbsp;&nbsp;<a href="http://mb.lucq.fun/">移动设备访问</a>&nbsp;&nbsp;|&nbsp;&nbsp;联系我(QQ群:1026967226)&nbsp;&nbsp;|&nbsp;&nbsp;<a href="http://beian.miit.gov.cn/" target="_blank">粤ICP备18032994号</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="https://github.com/luchenqun/my-bookmark" target="_blank">网站源码</a>&nbsp;&nbsp;|&nbsp;&nbsp;V2.0.0&nbsp;&nbsp;|&nbsp;&nbsp;<span>加载失败,请按 Ctrl + Shift + R 强制刷新!(●'◡'●)</span><br /></div>
<!-- 主要用来配合clipboard.min.js复制文本的 -->
Expand Down
2 changes: 1 addition & 1 deletion view/scripts/controllers/tags-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ app.controller('tagsCtr', ['$scope', '$filter', '$state', '$window', '$statePara
showType && ($scope.showType = showType);
$scope.loading = true;

let pageSize = ($scope.showMode == 'item') ? 50 : 20;
let pageSize = ($scope.showMode == 'item') ? 65 : 20;

for (let tag of $scope.tags) {
tag.bookmarkClicked = (tag.id == $scope.currentTagId);
Expand Down
6 changes: 3 additions & 3 deletions view/views/pagination.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="ui right floated pagination menu" ng-if="totalPages>0">
<div class="ui right floated pagination menu" ng-if="totalPages>0" style="height: 20px">
<a class="icon item" ng-click="changeCurrentPage(1)" ng-show="currentPage>1">
<i class="angle double left icon"></i>
</a>
Expand All @@ -7,13 +7,13 @@
</a>
<a class="item" ng-if="currentPage > 1" ng-click="changeCurrentPage(1)">1</a>
<a class="item" style="cursor: not-allowed" ng-if="currentPage-3>2">.....</a>
<a class="item" ng-if="currentPage-3>1" ng-click="changeCurrentPage(currentPage-3)">{{currentPage-3}}</a>
<!-- <a class="item" ng-if="currentPage-3>1" ng-click="changeCurrentPage(currentPage-3)">{{currentPage-3}}</a> -->
<a class="item" ng-if="currentPage-2>1" ng-click="changeCurrentPage(currentPage-2)">{{currentPage-2}}</a>
<a class="item" ng-if="currentPage-1>1" ng-click="changeCurrentPage(currentPage-1)">{{currentPage-1}}</a>
<a class="item active" ng-show="currentPage>0">{{ currentPage }}</a>
<a class="item" ng-if="currentPage+1<totalPages" ng-click="changeCurrentPage(currentPage+1)">{{currentPage+1}}</a>
<a class="item" ng-if="currentPage+2<totalPages" ng-click="changeCurrentPage(currentPage+2)">{{currentPage+2}}</a>
<a class="item" ng-if="currentPage+3<totalPages" ng-click="changeCurrentPage(currentPage+3)">{{currentPage+3}}</a>
<!-- <a class="item" ng-if="currentPage+3<totalPages" ng-click="changeCurrentPage(currentPage+3)">{{currentPage+3}}</a> -->
<a class="item" style="cursor: not-allowed" ng-if="currentPage+3<totalPages-1">.....</a>
<a class="item" ng-if="currentPage < totalPages" ng-click="changeCurrentPage(totalPages)">{{totalPages}}</a>
<a class="icon item" ng-click="changeCurrentPage(currentPage+1)" ng-show="currentPage<totalPages">
Expand Down

0 comments on commit f2f041b

Please sign in to comment.