Kaynağa Gözat

添加翻页页码

pull/12/head
Zisbusy 4 yıl önce
işlemeyi yapan: GitHub
ebeveyn
işleme
2980eaa1e4
Veri tabanında bu imza için bilinen anahtar bulunamadı GPG Anahtar Kimliği: 4AEE18F83AFDEB23
1 değiştirilmiş dosya ile 3 ekleme ve 2 silme
  1. +3
    -2
      Akina/index.php

+ 3
- 2
Akina/index.php Dosyayı Görüntüle

@ -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>

Yükleniyor…
İptal
Kaydet