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>
<Alert show-icon closable> <Alert show-icon closable>
自定义图标 自定义图标
<Icon type="ios-lightbulb-outline" slot="icon"></Icon> <Icon type="ios-bulb-outline" slot="icon"></Icon>
<template slot="desc">自定义图标文案自定义图标文案自定义图标文案自定义图标文案自定义图标文案</template> <template slot="desc">自定义图标文案自定义图标文案自定义图标文案自定义图标文案自定义图标文案</template>
</Alert> </Alert>
<Alert banner type="warning">Notice: notification contents...</Alert>
<Alert banner closable type="warning">Notice: notification contents...</Alert>
</div> </div>
</template> </template>
<script> <script>

View file

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