Commit 0bee0493d982c3faa0180933e2db93ba4eb4d69e

Authored by 梁灏
1 parent 94394576

update Alert Icons

examples/routers/alert.vue
... ... @@ -46,9 +46,11 @@
46 46 </Alert>
47 47 <Alert show-icon closable>
48 48 自定义图标
49   - <Icon type="ios-lightbulb-outline" slot="icon"></Icon>
  49 + <Icon type="ios-bulb-outline" slot="icon"></Icon>
50 50 <template slot="desc">自定义图标文案自定义图标文案自定义图标文案自定义图标文案自定义图标文案</template>
51 51 </Alert>
  52 + <Alert banner type="warning">Notice: notification contents...</Alert>
  53 + <Alert banner closable type="warning">Notice: notification contents...</Alert>
52 54 </div>
53 55 </template>
54 56 <script>
... ...
src/components/alert/alert.vue
... ... @@ -10,7 +10,7 @@
10 10 <span :class="descClasses"><slot name="desc"></slot></span>
11 11 <a :class="closeClasses" v-if="closable" @click="close">
12 12 <slot name="close">
13   - <Icon type="ios-close-empty"></Icon>
  13 + <Icon type="ios-close"></Icon>
14 14 </slot>
15 15 </a>
16 16 </div>
... ...