[Improvement] Cell: update to flex-box (#770)

This commit is contained in:
neverland
2018-03-23 21:23:57 +08:00
committed by GitHub
parent 0030024282
commit eda842ce07
2 changed files with 3 additions and 6 deletions

View File

@@ -14,7 +14,7 @@
</slot>
<slot name="title">
<span class="van-cell__text" v-text="title" />
<span class="van-cell__label" v-if="label" v-text="label" />
<div class="van-cell__label" v-if="label" v-text="label" />
</slot>
</div>
<div