исправления в пагинации
This commit is contained in:
1 parent
a3045195de
commit
eaf0aed9bf
1 file changed
+23
-7
@@ -179,8 +179,8 @@
|
|||||||
</v-row>
|
</v-row>
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
<v-row class="flex-grow-0" v-show="route.path=='/news' && !('id' in route.query)">
|
<!-- <v-row class="d-flex flex-grow-0 mt-6" v-show="route.path=='/news' && !('id' in route.query)">
|
||||||
<v-col class="py-0 text-center ">
|
<v-col class="py-0">
|
||||||
<v-pagination
|
<v-pagination
|
||||||
class="flex-grow-1"
|
class="flex-grow-1"
|
||||||
v-model="page"
|
v-model="page"
|
||||||
@@ -190,17 +190,36 @@
|
|||||||
@click="pagelistNews"
|
@click="pagelistNews"
|
||||||
/>
|
/>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col class="flex-grow-0 pr-0 py-0" lg=1>
|
<v-col class="pr-0 py-0">
|
||||||
<v-select
|
<v-select
|
||||||
|
|
||||||
class=" pt-2"
|
class="flex-grow-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-col>
|
</v-col>
|
||||||
|
</v-row> -->
|
||||||
|
<v-container>
|
||||||
|
<v-row class="d-flex mt-6" v-show="route.path=='/news' && !('id' in route.query)">
|
||||||
|
<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>
|
||||||
</v-row>
|
</v-row>
|
||||||
|
</v-container>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
@@ -550,9 +569,6 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.pagination {
|
|
||||||
display: flex;
|
|
||||||
}
|
|
||||||
.newsVH {
|
.newsVH {
|
||||||
height: 92vh;
|
height: 92vh;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user