fix bugs and add new features (#25)

* fix bugs and add new features

* add unit test

* fix tab/tag/datetime-picker bugs
This commit is contained in:
TimeTraveler
2017-05-03 10:11:31 +08:00
committed by 张敏
parent 58bd17f142
commit 239d2e1e53
31 changed files with 134 additions and 27 deletions
+3 -1
View File
@@ -56,6 +56,8 @@ Vue.component(Col.name, Col);
```js
import { Row, Col } from 'vant';
import 'vant/lib/vant-css/col.css';
import 'vant/lib/vant-css/row.css';
export default {
components: {
@@ -106,7 +108,7 @@ Layout组件提供了`24列栅格`,通过在`van-col`上添加`span`属性设
:::demo 在列元素之间增加间距
```html
<van-row gutter="10">
<van-row gutter="20">
<van-col span="8">
<div class="gray">span: 8</div>
</van-col>