mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
Cell: add extra slot
This commit is contained in:
parent
62b48ee99f
commit
309744286e
@ -27,6 +27,7 @@
|
||||
<slot name="right-icon">
|
||||
<i class="van-cell__right-icon van-icon van-icon-arrow" v-if="isLink"></i>
|
||||
</slot>
|
||||
<slot name="extra"></slot>
|
||||
</a>
|
||||
</template>
|
||||
|
||||
|
@ -25,9 +25,14 @@
|
||||
|
||||
.van-icon {
|
||||
margin-right: 5px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
|
||||
&__text {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
&__label {
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
|
Loading…
x
Reference in New Issue
Block a user