init
init
This commit is contained in:
parent
5762337416
commit
7fa943eb39
128 changed files with 51042 additions and 1 deletions
36
local/routers/page.vue
Normal file
36
local/routers/page.vue
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue