работа с пагинацией
This commit is contained in:
1 parent
836a083084
commit
615784ab0d
1 file changed
+24
-2
@@ -180,7 +180,7 @@
|
||||
</v-row>
|
||||
</v-col>
|
||||
</v-row>
|
||||
<v-row class="flex-grow-0" v-show="route.path=='/news' && !('id' in route.query)">
|
||||
<!-- <v-row class="flex-grow-0" v-show="route.path=='/news' && !('id' in route.query)">
|
||||
<v-col class="py-0 text-center ">
|
||||
<v-pagination
|
||||
class="flex-grow-1"
|
||||
@@ -201,7 +201,29 @@
|
||||
:items="['1', '2', '3', '4', '5', '6']"
|
||||
/>
|
||||
</v-col>
|
||||
</v-row>
|
||||
</v-row> -->
|
||||
<v-container>
|
||||
<v-row class="d-flex justify-center">
|
||||
<v-col cols="10" >
|
||||
<v-pagination
|
||||
v-model="page"
|
||||
:length="newss.allnews"
|
||||
prev-icon="mdi-menu-left"
|
||||
next-icon="mdi-menu-right"
|
||||
@click="pagelistNews"
|
||||
/>
|
||||
</v-col>
|
||||
<v-col cols="2">
|
||||
<v-select
|
||||
|
||||
class="pt-2"
|
||||
density="compact"
|
||||
v-model="selecnews"
|
||||
variant="outlined"
|
||||
:items="['1', '2', '3', '4', '5', '6']"/>
|
||||
</v-col>
|
||||
</v-row>
|
||||
</v-container>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user