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