field component

This commit is contained in:
cookfront
2017-02-14 17:05:43 +08:00
parent 975c39029b
commit fb7089fd35
6 changed files with 164 additions and 5 deletions

View File

@@ -6,7 +6,7 @@
</slot>
<slot name="title">
<span class="o2-cell-text" v-text="title"></span>
<span class="o2-cell-label" v-text="label"></span>
<span class="o2-cell-label" v-if="label" v-text="label"></span>
</slot>
</div>
<div class="o2-cell-value" :class="{ 'is-link' : isLink }">