文档细节优化,search、咯阿丁和dialog组件样式修复 (#5)

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

* fix: scroll to top

* fix mobile scroll

* fix scroll to top
This commit is contained in:
张敏
2017-04-23 22:38:50 +08:00
committed by GitHub
parent 1725eb6303
commit ce27957133
23 changed files with 95 additions and 60 deletions

View File

@@ -10,10 +10,10 @@
}
.demo-loading__example--with-bg {
background-color: rgba(0, 0, 0, 0.5);
background-color: rgba(17, 17, 17, 0.7);
margin: 0 auto;
width: 80px;
padding: 25px 0;
width: 120px;
padding: 45px 0;
border-radius: 10px;
}
}
@@ -69,6 +69,15 @@ export default {
<div class="demo-loading__example demo-loading__example--with-bg">
<van-loading class="some-customized-class" :color="'white'"></van-loading>
</div>
<style>
.demo-loading__example--with-bg {
background-color: rgba(17, 17, 17, 0.7);
width: 120px;
padding: 45px 0;
border-radius: 10px;
}
</style>
```
:::