修复表单组件样式和单元测试用例 (#7)

* fix: loading small style, search style and dialog style

* fix: scroll to top

* fix mobile scroll

* fix scroll to top

* 文档细节优化

* unit test

* dialog and image-preview unit test

* fix form component style

* fix radio and checkbox style

* fix search component style
This commit is contained in:
张敏
2017-04-24 17:33:40 +08:00
committed by GitHub
parent bdbaa75b38
commit 034c66a77f
13 changed files with 146 additions and 64 deletions
+15 -4
View File
@@ -1,13 +1,20 @@
@import './mixins/border_retina.css';
@component-namespace van {
@b panel {
background: #fff;
border-top: 1px solid #E5E5E5;
border-bottom: 1px solid #E5E5E5;
position: relative;
&::after {
@mixin border-retina (top, bottom);
}
@e header {
padding: 10px 15px;
position: relative;
border-bottom: 1px solid #E5E5E5;
&::after {
@mixin border-retina (bottom);
}
}
@e title {
@@ -29,8 +36,12 @@
}
@e footer {
border-top: 1px solid #E5E5E5;
padding: 10px 15px;
position: relative;
&::after {
@mixin border-retina (top);
}
}
}
}