소스 검색

添加翻页页码

pull/12/head
Zisbusy 4 년 전
committed by GitHub
부모
커밋
2980eaa1e4
No known key found for this signature in database GPG 키 ID: 4AEE18F83AFDEB23
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. +3
    -2
      Akina/index.php

+ 3
- 2
Akina/index.php 파일 보기

@ -214,8 +214,9 @@ if($sticky && $this->is('index') || $this->is('front')){
<!-- 结束文章循环输出 -->
<!-- 翻页按钮 -->
<nav class="navigator">
<?php $this->pageLink('<i class="iconfont">&#xe611;</i>'); ?>
<?php $this->pageLink('<i class="iconfont">&#xe60f;</i>','next'); ?>
<?php $this->pageLink('<i class="iconfont">&#xe611;</i>'); ?>
<i class="navnumber"><?php if($this->_currentPage>1) echo $this->_currentPage; else echo 1;?> / <?php echo ceil($this->getTotal() / $this->parameter->pageSize); ?></i>
<?php $this->pageLink('<i class="iconfont">&#xe60f;</i>','next'); ?>
</nav>
</main>
<div id="pagination"><?php $this->pageLink('加载更多','next'); ?></div>

불러오는 중...
취소
저장