init
This commit is contained in:
梁灏 2016-09-09 14:29:19 +08:00
parent 5762337416
commit 7fa943eb39
128 changed files with 51042 additions and 1 deletions

36
local/routers/page.vue Normal file
View file

@ -0,0 +1,36 @@
<style>
body{
padding: 100px;
}
.ivu-page-item-active{
color: #f60;
}
</style>
<template>
<Page :current="1" :total="total" show-sizer show-total show-elevator :page-size="10" simple @on-change="setPage"></Page>
</template>
<script>
import { Page } from 'iview';
export default {
components: {
Page
},
props: {
},
data () {
return {
total: 512
}
},
computed: {
},
methods: {
setPage (page) {
console.log(page)
}
}
}
</script>