Skip to content

Commit

Permalink
完善pjax
Browse files Browse the repository at this point in the history
  • Loading branch information
perfree committed Mar 22, 2019
1 parent 33366f2 commit 1b32cda
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions artlist.html
Expand Up @@ -14,7 +14,7 @@
#end
<div class="article-box-content">
<h2 class="article-title">
<a href="#(article.url ??)">#(article.title ??)</a>
<a href="#(article.url ??)" class="pjax">#(article.title ??)</a>
</h2>
<p class="article-content">#maxLength(article.text,100)</p>
<hr class="layui-bg-gray">
Expand All @@ -41,7 +41,7 @@ <h2 class="article-title">
<div class="layui-card-body">
<div class="perfree-page-box">
#for(page : pages)
<a class="page-item #(page.style)" href="#(page.url ??)">#(page.text ??)</a>
<a class="page-item #(page.style) pjax" href="#(page.url ??)">#(page.text ??)</a>
#end
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions index.html
Expand Up @@ -14,7 +14,7 @@
#end
<div class="article-box-content">
<h2 class="article-title">
<a href="#(article.url ??)">#(article.title ??)</a>
<a href="#(article.url ??)" class="pjax">#(article.title ??)</a>
</h2>
<p class="article-content">#maxLength(article.text,100)</p>
<hr class="layui-bg-gray">
Expand All @@ -41,7 +41,7 @@ <h2 class="article-title">
#articlePaginate(firstGotoIndex=true)
<div class="perfree-page-box">
#for(page : pages)
<a class="page-item #(page.style)" href="#(page.url ??)">#(page.text ??)</a>
<a class="page-item #(page.style) pjax" href="#(page.url ??)">#(page.text ??)</a>
#end
</div>
#end
Expand Down

0 comments on commit 1b32cda

Please sign in to comment.