update Alert Icons

This commit is contained in:
梁灏 2018-06-25 13:41:52 +08:00
parent 943945766f
commit 0bee0493d9
2 changed files with 4 additions and 2 deletions

View file

@ -46,9 +46,11 @@
</Alert>
<Alert show-icon closable>
自定义图标
<Icon type="ios-lightbulb-outline" slot="icon"></Icon>
<Icon type="ios-bulb-outline" slot="icon"></Icon>
<template slot="desc">自定义图标文案自定义图标文案自定义图标文案自定义图标文案自定义图标文案</template>
</Alert>
<Alert banner type="warning">Notice: notification contents...</Alert>
<Alert banner closable type="warning">Notice: notification contents...</Alert>
</div>
</template>
<script>

View file

@ -10,7 +10,7 @@
<span :class="descClasses"><slot name="desc"></slot></span>
<a :class="closeClasses" v-if="closable" @click="close">
<slot name="close">
<Icon type="ios-close-empty"></Icon>
<Icon type="ios-close"></Icon>
</slot>
</a>
</div>