radio component

This commit is contained in:
cookfront
2017-02-28 16:50:09 +08:00
parent f2260deaa3
commit 5235ba42be
4 changed files with 31 additions and 3 deletions

View File

@@ -9,7 +9,10 @@
<span class="z-cell__label" v-if="label" v-text="label"></span>
</slot>
</div>
<div class="z-cell__value" :class="{ 'is-link' : isLink }">
<div class="z-cell__value" :class="{
'is-link': isLink,
'is-alone': !title && !label
}">
<slot>
<span v-text="value"></span>
</slot>