Blame view

examples/routers/grid.vue 819 Bytes
c2db4f92   梁灏   fixed #540
1
  <style>
976354a2   梁灏   update
2
3
4
      /*.ivu-col div{*/
          /*background: rgba(0,153,229,.7);*/
      /*}*/
c2db4f92   梁灏   fixed #540
5
  </style>
c755733a   梁灏   support Grid
6
7
  <template>
      <div>
9eec7f16   梁灏   fixed #1661
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
          <Row :gutter="64">
              <Card>
                  <i-col span="6">
                      <div>col-6</div>
                  </i-col>
                  <i-col span="6">
                      <div>col-6</div>
                  </i-col>
                  <i-col span="6">
                      <div>col-6</div>
                  </i-col>
                  <i-col span="6">
                      <div>col-6</div>
                  </i-col>
              </Card>
c755733a   梁灏   support Grid
23
          </Row>
c755733a   梁灏   support Grid
24
25
26
27
      </div>
  </template>
  <script>
      export default {
c2db4f92   梁灏   fixed #540
28
29
30
31
32
33
34
35
36
37
          data () {
              return {
                  n: 2
              }
          },
          methods: {
              add () {
                  this.n++;
              }
          }
c755733a   梁灏   support Grid
38
39
      }
  </script>