mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-25 19:06:36 +08:00
fix cell
This commit is contained in:
parent
548ee9c7ea
commit
7f37332f58
@ -47,7 +47,8 @@ export default {
|
|||||||
:::demo 基础用法
|
:::demo 基础用法
|
||||||
```html
|
```html
|
||||||
<zan-cell-group>
|
<zan-cell-group>
|
||||||
<zan-cell title="单元格1" value="单元格1内容"></zan-cell>
|
<zan-cell title="单元格1" value="单元格1内容">
|
||||||
|
</zan-cell>
|
||||||
<zan-cell title="单元格2" value="单元格2内容"></zan-cell>
|
<zan-cell title="单元格2" value="单元格2内容"></zan-cell>
|
||||||
</zan-cell-group>
|
</zan-cell-group>
|
||||||
```
|
```
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
>
|
>
|
||||||
<slot name="icon">
|
<slot name="icon">
|
||||||
<i v-if="icon" class="zan-icon" :class="'zan-icon-' + icon"></i>
|
<i v-if="icon" class="zan-icon" :class="'zan-icon-' + icon"></i>
|
||||||
<slot>
|
</slot>
|
||||||
<slot name="title">
|
<slot name="title">
|
||||||
<span class="zan-cell__text" v-text="title"></span>
|
<span class="zan-cell__text" v-text="title"></span>
|
||||||
<span class="zan-cell__label" v-if="label" v-text="label"></span>
|
<span class="zan-cell__label" v-if="label" v-text="label"></span>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user