Blame view

test/routers/page.vue 542 Bytes
7fa943eb   梁灏   init
1
  <template>
07f400e5   梁灏   fixed #136
2
      <Page :total="1000" show-sizer show-elevator show-total class="classr" :style="{float: 'right'}" @on-page-size-change="pc"></Page>
928033f0   梁灏   optimize Page style
3
      <br><br>
e0cd7f90   梁灏   fixed #134
4
      <Page :total="1000" show-sizer show-elevator show-total size="small" class="classr2"></Page>
928033f0   梁灏   optimize Page style
5
6
      <br><br>
      <Page :current="2" :total="50" simple></Page>
7fa943eb   梁灏   init
7
8
  </template>
  <script>
928033f0   梁灏   optimize Page style
9
      import { Page } from 'iview';
7fa943eb   梁灏   init
10
      export default {
07f400e5   梁灏   fixed #136
11
12
13
14
15
16
          components: { Page },
          methods: {
              pc (page) {
                  console.log(page)
              }
          }
7fa943eb   梁灏   init
17
      }
d6342fe1   jingsam   fixed ie bug
18
  </script>