[Improvement] Dialog: optimize style without content (#1233)

This commit is contained in:
neverland
2018-06-06 20:18:32 +08:00
committed by GitHub
parent 74aa001bb6
commit 14522d52bd
5 changed files with 75 additions and 14 deletions
@@ -17,7 +17,7 @@ exports[`renders demo correctly 1`] = `
<!----><span class="van-button__text">高级用法</span></button>
<div class="van-dialog" style="display:none;">
<!---->
<div class="van-hairline van-dialog__content">
<div class="van-dialog__content">
<div placeholder="请输入用户名" class="van-cell van-hairline van-field">
<!---->
<div class="van-cell__title"><span>用户名</span>
@@ -45,7 +45,7 @@ exports[`renders demo correctly 1`] = `
<!---->
</div>
</div>
<div class="van-dialog__footer van-dialog__footer--buttons">
<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">
取消