update Page style
This commit is contained in:
parent
eb7f31db00
commit
1a4a76e903
4 changed files with 18 additions and 10 deletions
|
@ -6,8 +6,8 @@ import Vue from 'vue';
|
|||
import VueRouter from 'vue-router';
|
||||
import App from './app.vue';
|
||||
import iView from '../src/index';
|
||||
import locale from '../src/locale/lang/en-US';
|
||||
// import locale from '../src/locale/lang/zh-CN';
|
||||
// import locale from '../src/locale/lang/en-US';
|
||||
import locale from '../src/locale/lang/zh-CN';
|
||||
|
||||
Vue.use(VueRouter);
|
||||
Vue.use(iView, { locale });
|
||||
|
|
|
@ -24,6 +24,14 @@
|
|||
<div style="margin:10px 0px">
|
||||
<Page :total="500" show-sizer transfer ></Page>
|
||||
</div>
|
||||
<div style="margin: 10px 0px">
|
||||
<Page :total="40" size="small"></Page>
|
||||
<br><br>
|
||||
<Page :total="40" size="small" show-elevator show-sizer></Page>
|
||||
<br><br>
|
||||
<Page :total="40" size="small" show-total></Page>
|
||||
<br><br>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue