[Improvement] more component use bem mixin (#924)

This commit is contained in:
neverland
2018-04-24 16:31:16 +08:00
committed by GitHub
parent b0f4096e88
commit b48ee8eece
15 changed files with 69 additions and 62 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
<template>
<a :href="url" class="van-goods-action__mini-btn van-hairline" @click="onClick">
<icon class="van-goods-action__mini-btn-icon" :class="iconClass" :info="info" :name="icon" />
<a :href="url" :class="b()" class="van-hairline" @click="onClick">
<icon :class="[b('icon'), iconClass]" :info="info" :name="icon" />
<slot>{{ text }}</slot>
</a>
</template>