mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 18:14:13 +00:00
[Doc] add goods demo (#242)
* [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 * [Doc] add goods demo * [bugfix] button primary background color
This commit is contained in:
@@ -67,7 +67,7 @@ Vue.component(CellGroup.name, CellGroup);
|
||||
:::demo Advanced Usage
|
||||
```html
|
||||
<van-cell-group>
|
||||
<van-cell value="Text" icon="home" is-link>
|
||||
<van-cell value="Text" icon="shop" is-link>
|
||||
<template slot="title">
|
||||
<span class="van-cell-text">Title</span>
|
||||
<van-tag type="danger">Tag</van-tag>
|
||||
|
@@ -139,7 +139,6 @@ export default {
|
||||
| itemclick | triggered when item is selected | data: selected item |
|
||||
|
||||
### Data Structure
|
||||
|
||||
`items` should be an array contains specified tree objects.
|
||||
|
||||
In every tree object, `text` property defines the name, `id` stands for the unique key while the `children` contains sub-tree objects.
|
||||
|
@@ -87,7 +87,7 @@ Vue.component(CellGroup.name, CellGroup);
|
||||
:::demo 高级用法
|
||||
```html
|
||||
<van-cell-group>
|
||||
<van-cell value="进入店铺" icon="home" is-link>
|
||||
<van-cell value="进入店铺" icon="shop" is-link>
|
||||
<template slot="title">
|
||||
<span class="van-cell-text">起码运动馆</span>
|
||||
<van-tag type="danger">官方</van-tag>
|
||||
|
Reference in New Issue
Block a user