зафиксирована пагинация/вынесена из контейнера новостей
This commit is contained in:
1 parent
8491195a5e
commit
561bb2d9d4
1 file changed
+17
-24
@@ -218,31 +218,9 @@
|
|||||||
|
|
||||||
|
|
||||||
</v-card>
|
</v-card>
|
||||||
<div v-show="route.path=='/news'">
|
|
||||||
|
|
||||||
|
|
||||||
<v-pagination
|
|
||||||
v-model="page"
|
|
||||||
:length="newss.allnews"
|
|
||||||
prev-icon="mdi-menu-left"
|
|
||||||
next-icon="mdi-menu-right"
|
|
||||||
@click="pagelistNews"
|
|
||||||
></v-pagination>
|
|
||||||
|
|
||||||
<v-select
|
|
||||||
v-model="selecnews"
|
|
||||||
variant="outlined"
|
|
||||||
:items="['1', '2', '3', '4', '5', '6']"
|
|
||||||
></v-select>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<v-row justify="center">
|
<v-row justify="center">
|
||||||
<v-dialog
|
<v-dialog
|
||||||
v-model="dialogCommentShow"
|
v-model="dialogCommentShow"
|
||||||
@@ -282,9 +260,24 @@
|
|||||||
</v-card>
|
</v-card>
|
||||||
</v-dialog>
|
</v-dialog>
|
||||||
</v-row>
|
</v-row>
|
||||||
|
</v-container>
|
||||||
|
<v-container class="d-flex mt-6" v-show="route.path=='/news'">
|
||||||
|
<v-pagination
|
||||||
|
class="order-2 flex-grow-1"
|
||||||
|
v-model="page"
|
||||||
|
:length="newss.allnews"
|
||||||
|
prev-icon="mdi-menu-left"
|
||||||
|
next-icon="mdi-menu-right"
|
||||||
|
@click="pagelistNews"
|
||||||
|
></v-pagination>
|
||||||
|
|
||||||
</v-container>
|
<v-select
|
||||||
|
class="order-1 flex-grow-0"
|
||||||
|
v-model="selecnews"
|
||||||
|
variant="outlined"
|
||||||
|
:items="['1', '2', '3', '4', '5', '6']"
|
||||||
|
></v-select>
|
||||||
|
</v-container>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
Reference in new issue
Block a user