mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-24 10:20:19 +08:00
文档小细节优化 (#6)
* 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:
parent
2b25d2b75a
commit
bdbaa75b38
@ -11,26 +11,30 @@
|
|||||||
|
|
||||||
</example-block></section></template>
|
</example-block></section></template>
|
||||||
<style>
|
<style>
|
||||||
.waterfall {
|
@component-namespace demo {
|
||||||
max-height: 360px;
|
@b waterfall {
|
||||||
overflow: scroll;
|
.waterfall {
|
||||||
border-top: 1px solid #e5e5e5;
|
max-height: 360px;
|
||||||
}
|
overflow: scroll;
|
||||||
.waterfall-item {
|
border-top: 1px solid #e5e5e5;
|
||||||
line-height: 50px;
|
}
|
||||||
border-bottom: 1px solid #e5e5e5;
|
.waterfall-item {
|
||||||
background: #fff;
|
line-height: 50px;
|
||||||
}
|
border-bottom: 1px solid #e5e5e5;
|
||||||
.page-desc {
|
background: #fff;
|
||||||
padding: 5px 0;
|
}
|
||||||
line-height: 1.4;
|
.page-desc {
|
||||||
font-size: 14px;
|
padding: 5px 0;
|
||||||
text-align: center;
|
line-height: 1.4;
|
||||||
color: #666;
|
font-size: 14px;
|
||||||
}
|
text-align: center;
|
||||||
.van-loading {
|
color: #666;
|
||||||
margin: 10px auto;
|
}
|
||||||
|
.van-loading {
|
||||||
|
margin: 10px auto;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
<script>
|
<script>
|
||||||
import Vue from "vue";import ExampleBlock from "components/example-block";Vue.component("example-block", ExampleBlock);
|
import Vue from "vue";import ExampleBlock from "components/example-block";Vue.component("example-block", ExampleBlock);
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
## Vant
|
## Vant
|
||||||
|
|
||||||
一套`Vue 2.0`的基础组件。
|
一套`Vue 2.0`的基础组件。
|
||||||
A collection of essential UI components written with Vue 2.0.
|
<br>A collection of essential UI components written with Vue 2.0.
|
||||||
|
|
||||||
### 安装
|
### 安装
|
||||||
|
|
||||||
|
@ -66,26 +66,30 @@ export default {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.waterfall {
|
@component-namespace demo {
|
||||||
max-height: 360px;
|
@b waterfall {
|
||||||
overflow: scroll;
|
.waterfall {
|
||||||
border-top: 1px solid #e5e5e5;
|
max-height: 360px;
|
||||||
}
|
overflow: scroll;
|
||||||
.waterfall-item {
|
border-top: 1px solid #e5e5e5;
|
||||||
line-height: 50px;
|
}
|
||||||
border-bottom: 1px solid #e5e5e5;
|
.waterfall-item {
|
||||||
background: #fff;
|
line-height: 50px;
|
||||||
}
|
border-bottom: 1px solid #e5e5e5;
|
||||||
.page-desc {
|
background: #fff;
|
||||||
padding: 5px 0;
|
}
|
||||||
line-height: 1.4;
|
.page-desc {
|
||||||
font-size: 14px;
|
padding: 5px 0;
|
||||||
text-align: center;
|
line-height: 1.4;
|
||||||
color: #666;
|
font-size: 14px;
|
||||||
}
|
text-align: center;
|
||||||
.van-loading {
|
color: #666;
|
||||||
margin: 10px auto;
|
}
|
||||||
|
.van-loading {
|
||||||
|
margin: 10px auto;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
#### 基础用法
|
#### 基础用法
|
||||||
|
Loading…
x
Reference in New Issue
Block a user