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 @@
<transition name="van-actionsheet-float">
<div :class="['van-actionsheet', { 'van-actionsheet--withtitle': title }]" v-show="value">
<div class="van-actionsheet__header van-hairline--top-bottom" v-if="title">
<h3 v-text="title" />
<div v-text="title" />
<van-icon name="close" @click.stop="$emit('input', false)" />
</div>
<ul v-if="!title" class="van-actionsheet__list">