mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +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,6 +11,8 @@
|
||||
|
||||
</example-block></section></template>
|
||||
<style>
|
||||
@component-namespace demo {
|
||||
@b waterfall {
|
||||
.waterfall {
|
||||
max-height: 360px;
|
||||
overflow: scroll;
|
||||
@ -31,6 +33,8 @@
|
||||
.van-loading {
|
||||
margin: 10px auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
import Vue from "vue";import ExampleBlock from "components/example-block";Vue.component("example-block", ExampleBlock);
|
||||
|
@ -1,7 +1,7 @@
|
||||
## Vant
|
||||
|
||||
一套`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,6 +66,8 @@ export default {
|
||||
</script>
|
||||
|
||||
<style>
|
||||
@component-namespace demo {
|
||||
@b waterfall {
|
||||
.waterfall {
|
||||
max-height: 360px;
|
||||
overflow: scroll;
|
||||
@ -86,6 +88,8 @@ export default {
|
||||
.van-loading {
|
||||
margin: 10px auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
#### 基础用法
|
||||
|
Loading…
x
Reference in New Issue
Block a user