mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 10:44:59 +00:00
[Doc] add demo pages (#237)
* [bugfix] Checkbox border render error in weixin browser * [bugfix] TreeSelect dependency path error * [bugfix] Swipe should clear autoplay timer when destroyed * [bugfix] Optimize component dependency analyze when build style entry * merge * update yarn.lock * update README.md * update README.md * update README.md * update README.md * update README.md * [Doc] add more badges in README.md * update README.md * [bugfix] Address & Contact list style * fix: contact test cases * [bugfix] popup style missing when build style entry * [bugfix] Search: onSearch event arguments missing * [Doc] add demo pages * update zan-doc@0.3.7 * fix: build entry error
This commit is contained in:
@@ -41,7 +41,7 @@ Vue.component(Search.name, Search);
|
||||
|
||||
:::demo 基础用法
|
||||
```html
|
||||
<van-search placeholder="搜索框基础用法" v-model="basicSearch" />
|
||||
<van-search placeholder="搜索框基础用法" v-model="value" />
|
||||
```
|
||||
:::
|
||||
|
||||
@@ -73,7 +73,7 @@ Tips: 在 `van-search` 外层增加 form 标签,并且 action 不为空,即
|
||||
v-model="value"
|
||||
:show-action="true"
|
||||
@search="onSearch">
|
||||
<div slot="action" @click="goSlotSearch">搜索</div>
|
||||
<div slot="action" @click="onSearch">搜索</div>
|
||||
</van-search>
|
||||
```
|
||||
:::
|
||||
|
Reference in New Issue
Block a user