提交 ea71e327 编写于 作者: R Regis

page gap works

上级 4d8314ae
......@@ -11,7 +11,7 @@
],
methods: {
pagenumberstatus(n) {
if (n - 1 === +this.pagenum) return 'page active';
if (n - 1 === +this.pagenum) return 'active';
return '';
},
},
......@@ -43,8 +43,8 @@
<li :class='pagenumberstatus(n)' v-else>
<a @click='changepage($event)'>{{(n - 1)}}</a>
</li>
<li class="page" v-if='n === upcount'>
<span class="page gap">…</span>
<li v-if='n === upcount'>
<span class="gap">…</span>
</li>
<li class="next" v-if='n === upcount'>
<a rel="next" :href='next'>Next</a>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册