[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

@@ -5,7 +5,7 @@
<path :class="b('layer')" :style="layerStyle" :d="path" />
</svg>
<slot>
<div :class="b('text')" class="van-circle__text">{{ text }}</div>
<div :class="b('text')">{{ text }}</div>
</slot>
</div>
</template>