support Grid
support Grid
This commit is contained in:
parent
1843ff3b8c
commit
c755733a9c
9 changed files with 49 additions and 34 deletions
|
@ -1,3 +1,14 @@
|
|||
<style>
|
||||
body{
|
||||
/*height: 2000px;*/
|
||||
}
|
||||
.demo-affix{
|
||||
width: 100px;
|
||||
height: 30px;
|
||||
background: #f60;
|
||||
color: #fff
|
||||
}
|
||||
</style>
|
||||
<template>
|
||||
<Affix>
|
||||
<span class="demo-affix">固定在最顶部</span>
|
||||
|
|
26
test/routers/grid.vue
Normal file
26
test/routers/grid.vue
Normal file
|
@ -0,0 +1,26 @@
|
|||
<template>
|
||||
<div>
|
||||
<Row>
|
||||
<i-col span="12">col-12</i-col>
|
||||
<i-col span="12">col-12</i-col>
|
||||
</Row>
|
||||
<br>
|
||||
<Row>
|
||||
<i-col span="8">col-8</i-col>
|
||||
<i-col span="8">col-8</i-col>
|
||||
<i-col span="8">col-8</i-col>
|
||||
</Row>
|
||||
<br>
|
||||
<Row>
|
||||
<i-col span="6">col-6</i-col>
|
||||
<i-col span="6">col-6</i-col>
|
||||
<i-col span="6">col-6</i-col>
|
||||
<i-col span="6">col-6</i-col>
|
||||
</Row>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
|
||||
}
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue