Blame view
src/pages/ui/Pagination.vue
1.28 KB
8ab31dc8b
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 |
<template> <div id="page-pagination"> <v-container grid-list-xl fluid> <v-layout row wrap> <v-flex lg12> <v-widget title="Default"> <div slot="widget-content" class="text-xs-center"> <v-pagination v-model="page"></v-pagination> </div> </v-widget> <v-widget title="Visiable Limit" class="mt-3"> <div slot="widget-content" class="text-xs-center"> <v-pagination :length="15" v-model="page" :total-visible="7"></v-pagination> </div> </v-widget> <v-widget title="Short" class="mt-3"> <div slot="widget-content" class="text-xs-center"> <v-pagination :length="5" v-model="page"></v-pagination> </div> </v-widget> <v-widget title="Round" class="mt-3"> <div slot="widget-content" class="text-xs-center"> <v-pagination :length="5" v-model="page" circle></v-pagination> </div> </v-widget> </v-flex> </v-layout> </v-container> </div> </template> <script> import VWidget from '@/components/VWidget'; export default { components: { VWidget }, data () { return { page: 1 }; }, computed: { }, methods: { } }; </script> |