<template>
  <span :class="['iconfont', 'icon-'+name]" :style="{color:color || ''}"></span>
</template>

<script>
export default {
  name: 'icon',
  props: {
    name: String,
    color: ''
  },
  computed: {
  }
}
</script>

<style lang="less">
@import '../../styles/weui/icon/iconfont';
</style>
