вынесена пагинация
This commit is contained in:
1 parent
572f983fe9
commit
002634b05d
1 file changed
+26
-4
@@ -219,9 +219,9 @@
|
|||||||
|
|
||||||
</v-card>
|
</v-card>
|
||||||
|
|
||||||
<div class="pagination" v-show="route.path=='/news'">
|
<!-- <div class="d-flex" v-show="route.path=='/news'">
|
||||||
<v-pagination
|
<v-pagination
|
||||||
class="flex-grow-1 order-2"
|
class="flex-grow-1"
|
||||||
v-model="page"
|
v-model="page"
|
||||||
:length="newss.allnews"
|
:length="newss.allnews"
|
||||||
prev-icon="mdi-menu-left"
|
prev-icon="mdi-menu-left"
|
||||||
@@ -230,13 +230,13 @@
|
|||||||
></v-pagination>
|
></v-pagination>
|
||||||
|
|
||||||
<v-select
|
<v-select
|
||||||
class="flex-grow-0 order-1 pt-2"
|
class="flex-grow-0 pt-2"
|
||||||
density="compact"
|
density="compact"
|
||||||
v-model="selecnews"
|
v-model="selecnews"
|
||||||
variant="outlined"
|
variant="outlined"
|
||||||
:items="['1', '2', '3', '4', '5', '6']"
|
:items="['1', '2', '3', '4', '5', '6']"
|
||||||
></v-select>
|
></v-select>
|
||||||
</div>
|
</div> -->
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<v-row justify="center">
|
<v-row justify="center">
|
||||||
@@ -279,6 +279,28 @@
|
|||||||
</v-dialog>
|
</v-dialog>
|
||||||
</v-row>
|
</v-row>
|
||||||
</v-container>
|
</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>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
Reference in new issue
Block a user