[Improvement] Cell: optimize flex layout (#919)

This commit is contained in:
neverland
2018-04-24 08:38:26 +08:00
committed by GitHub
parent 5d5e192d59
commit 9d623a6196
8 changed files with 36 additions and 42 deletions

View File

@@ -1,5 +1,5 @@
<template>
<div class="van-cell-group" :class="{ 'van-hairline--top-bottom': border }">
<div :class="[b(), { 'van-hairline--top-bottom': border }]">
<slot />
</div>
</template>