action sheet component

This commit is contained in:
cookfront
2017-03-09 16:01:40 +08:00
parent ecb3f0fd58
commit c96fa4c35b
7 changed files with 295 additions and 14 deletions

View File

@@ -1,5 +1,5 @@
<template>
<i class="zanui-icon" :class="'zan-icon-' + name"></i>
<i class="zan-icon" :class="'zan-icon-' + name" @click="handleIconClick"></i>
</template>
<script>
@@ -8,6 +8,12 @@
props: {
name: String
},
methods: {
handleIconClick(event) {
this.$emit('click', event);
}
}
};
</script>