fix: component style should not depend on reset.css

This commit is contained in:
陈嘉涵
2017-09-13 13:35:37 +08:00
parent fd36e37dc0
commit d85025ebf7
11 changed files with 50 additions and 39 deletions

View File

@@ -2,7 +2,7 @@
<div class="van-panel van-hairline--top-bottom">
<div class="van-panel__header van-hairline--bottom">
<slot name="header">
<h4 class="van-panel__title" v-text="title"></h4>
<div class="van-panel__title" v-text="title"></div>
<span class="van-panel__desc" v-if="desc" v-text="desc"></span>
<span class="van-panel__status" v-if="status" v-text="status"></span>
</slot>