mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
cell
This commit is contained in:
parent
2d8a21922e
commit
548ee9c7ea
@ -4,7 +4,9 @@
|
||||
class="zan-cell__title"
|
||||
v-if="this.$slots.title || title"
|
||||
>
|
||||
<i v-if="icon" class="zan-icon" :class="'zan-icon-' + icon"></i>
|
||||
<slot name="icon">
|
||||
<i v-if="icon" class="zan-icon" :class="'zan-icon-' + icon"></i>
|
||||
<slot>
|
||||
<slot name="title">
|
||||
<span class="zan-cell__text" v-text="title"></span>
|
||||
<span class="zan-cell__label" v-if="label" v-text="label"></span>
|
||||
|
Loading…
x
Reference in New Issue
Block a user