[Improvement] use bem mixin (#934)

This commit is contained in:
neverland
2018-04-25 11:50:10 +08:00
committed by GitHub
parent c012a65ba3
commit 8e911c75f9
25 changed files with 107 additions and 116 deletions

View File

@@ -1,5 +1,5 @@
<template>
<cell center :title="title" :border="border" class="van-switch-cell">
<cell center :title="title" :border="border" :class="b()">
<van-switch v-bind="$props" @input="$emit('input', $event)" />
</cell>
</template>