support Grid

support Grid
This commit is contained in:
梁灏 2017-03-01 14:28:44 +08:00
parent 1843ff3b8c
commit c755733a9c
9 changed files with 49 additions and 34 deletions

View file

@ -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
View 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>