build:调整翻页逻辑。

This commit is contained in:
徐涛 2021-04-11 21:30:50 +08:00
parent 8b483fffa4
commit 11d6525190
2 changed files with 6 additions and 6 deletions

View File

@ -4,10 +4,10 @@
<% if (page.total > 1) { %>
<div class="uk-flex uk-flex-between p-1">
<a class="<% if (page.prev == 0) { %>uk-disabled<% } %>"
href="<%- page.prev_link %>"
href="/<%- page.prev_link %>"
uk-slidenav-previous></a>
<a class="<% if (page.next == 0) { %>uk-disabled<% } %>"
href="<%- page.next_link %>"
href="/<%- page.next_link %>"
uk-slidenav-next
></a>
</div>

View File

@ -4,10 +4,10 @@
<% if (page.total > 1) { %>
<div class="uk-flex uk-flex-between p-1">
<a class="<% if (page.prev == 0) { %>uk-disabled<% } %>"
href="<%- page.prev_link %>"
href="/<%- page.prev_link %>"
uk-slidenav-previous></a>
<a class="<% if (page.next == 0) { %>uk-disabled<% } %>"
href="<%- page.next_link %>"
href="/<%- page.next_link %>"
uk-slidenav-next
></a>
</div>