вынесена пагинация

This commit is contained in:
Alex committed 2023-10-17 15:18:44 +03:00
1 parent 572f983fe9
commit 002634b05d
1 file changed
+26 -4
+26 -4
View File
@@ -219,9 +219,9 @@
</v-card>
<div class="pagination" v-show="route.path=='/news'">
<!-- <div class="d-flex" v-show="route.path=='/news'">
<v-pagination
class="flex-grow-1 order-2"
class="flex-grow-1"
v-model="page"
:length="newss.allnews"
prev-icon="mdi-menu-left"
@@ -230,13 +230,13 @@
></v-pagination>
<v-select
class="flex-grow-0 order-1 pt-2"
class="flex-grow-0 pt-2"
density="compact"
v-model="selecnews"
variant="outlined"
:items="['1', '2', '3', '4', '5', '6']"
></v-select>
</div>
</div> -->
</div>
<v-row justify="center">
@@ -279,6 +279,28 @@
</v-dialog>
</v-row>
</v-container>
<v-container>
<div class="d-flex" v-show="route.path=='/news'">
<v-pagination
class="flex-grow-1"
v-model="page"
:length="newss.allnews"
prev-icon="mdi-menu-left"
next-icon="mdi-menu-right"
@click="pagelistNews"
></v-pagination>
<v-select
class="flex-grow-0 pt-2"
density="compact"
v-model="selecnews"
variant="outlined"
:items="['1', '2', '3', '4', '5', '6']"
>
</v-select>
</div>
</v-container>
</template>
<script>