97eba399 by simon

默认提交

1 parent b53c8fb1
......@@ -40,8 +40,8 @@
}
.disabled {
color: #888888;
.pagination-disabled {
// color: #888888;
}
.active {
......
......@@ -3,13 +3,13 @@
<div class="comp">
<div class="pagination gird-g">
<div class="pagination-item">
<span class="pointer" :class="{'disabled' : cur == 1}">
<span class="pointer" :class="{'pagination-disabled' : cur == 1}">
<a @click="prevPage()">{{$t('pagination.firstPage')}}</a>
</span>
<span @click="selPage(index)" class="page-num pointer" v-for="(index,idx) in indexs" :key="idx" v-bind:class="{ 'active': cur == index}">
<a>{{index}}</a>
</span>
<span class="pointer" :class="{'disabled' : cur == total}">
<span class="pointer" :class="{'pagination-disabled' : cur == total}">
<a @click="nextPage()">{{$t('pagination.nextPage')}}</a>
</span>
</div>
......