[new feature] add grid component (#3669)

This commit is contained in:
neverland
2019-06-28 11:16:42 +08:00
committed by GitHub
parent 1850230102
commit 9737a8b9d0
36 changed files with 907 additions and 51 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ If you need to render vue components within a dialog, you can use dialog compone
title="Title"
show-cancel-button
>
<img src="https://img.yzcdn.cn/1.jpg">
<img src="https://img.yzcdn.cn/vant/apple-3.jpg">
</van-dialog>
```
+1 -1
View File
@@ -112,7 +112,7 @@ export default {
title="标题"
show-cancel-button
>
<img src="https://img.yzcdn.cn/1.jpg">
<img src="https://img.yzcdn.cn/vant/apple-3.jpg">
</van-dialog>
```
+1 -1
View File
@@ -79,7 +79,7 @@ export default {
return {
show: false,
currentRate: 0,
image: 'https://img.yzcdn.cn/public_files/2017/09/05/4e3ea0898b1c2c416eec8c11c5360833.jpg'
image: 'https://img.yzcdn.cn/vant/apple-3.jpg'
};
},
@@ -18,7 +18,7 @@ exports[`renders demo correctly 1`] = `
</span></button>
<div role="dialog" aria-labelledby="标题" class="van-dialog" style="display: none;" name="van-dialog-bounce">
<div class="van-dialog__header">标题</div>
<div class="van-dialog__content"><img src="https://img.yzcdn.cn/public_files/2017/09/05/4e3ea0898b1c2c416eec8c11c5360833.jpg"></div>
<div class="van-dialog__content"><img src="https://img.yzcdn.cn/vant/apple-3.jpg"></div>
<div class="van-hairline--top van-dialog__footer van-dialog__footer--buttons"><button class="van-button van-button--default van-button--large van-dialog__cancel"><span class="van-button__text">取消</span></button><button class="van-button van-button--default van-button--large van-dialog__confirm van-hairline--left"><span class="van-button__text">确认弹窗</span></button></div>
</div>
</div>