Commit ea71e327 authored by Regis's avatar Regis

page gap works

parent 4d8314ae
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
], ],
methods: { methods: {
pagenumberstatus(n) { pagenumberstatus(n) {
if (n - 1 === +this.pagenum) return 'page active'; if (n - 1 === +this.pagenum) return 'active';
return ''; return '';
}, },
}, },
...@@ -43,8 +43,8 @@ ...@@ -43,8 +43,8 @@
<li :class='pagenumberstatus(n)' v-else> <li :class='pagenumberstatus(n)' v-else>
<a @click='changepage($event)'>{{(n - 1)}}</a> <a @click='changepage($event)'>{{(n - 1)}}</a>
</li> </li>
<li class="page" v-if='n === upcount'> <li v-if='n === upcount'>
<span class="page gap">…</span> <span class="gap">…</span>
</li> </li>
<li class="next" v-if='n === upcount'> <li class="next" v-if='n === upcount'>
<a rel="next" :href='next'>Next</a> <a rel="next" :href='next'>Next</a>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment