97eba399 by simon

默认提交

1 parent b53c8fb1
...@@ -40,8 +40,8 @@ ...@@ -40,8 +40,8 @@
40 40
41 } 41 }
42 42
43 .disabled { 43 .pagination-disabled {
44 color: #888888; 44 // color: #888888;
45 } 45 }
46 46
47 .active { 47 .active {
......
...@@ -3,13 +3,13 @@ ...@@ -3,13 +3,13 @@
3 <div class="comp"> 3 <div class="comp">
4 <div class="pagination gird-g"> 4 <div class="pagination gird-g">
5 <div class="pagination-item"> 5 <div class="pagination-item">
6 <span class="pointer" :class="{'disabled' : cur == 1}"> 6 <span class="pointer" :class="{'pagination-disabled' : cur == 1}">
7 <a @click="prevPage()">{{$t('pagination.firstPage')}}</a> 7 <a @click="prevPage()">{{$t('pagination.firstPage')}}</a>
8 </span> 8 </span>
9 <span @click="selPage(index)" class="page-num pointer" v-for="(index,idx) in indexs" :key="idx" v-bind:class="{ 'active': cur == index}"> 9 <span @click="selPage(index)" class="page-num pointer" v-for="(index,idx) in indexs" :key="idx" v-bind:class="{ 'active': cur == index}">
10 <a>{{index}}</a> 10 <a>{{index}}</a>
11 </span> 11 </span>
12 <span class="pointer" :class="{'disabled' : cur == total}"> 12 <span class="pointer" :class="{'pagination-disabled' : cur == total}">
13 <a @click="nextPage()">{{$t('pagination.nextPage')}}</a> 13 <a @click="nextPage()">{{$t('pagination.nextPage')}}</a>
14 </span> 14 </span>
15 </div> 15 </div>
......