<template>
	<view class="van-icon">
		<img :src="starUrl+iconName" class="van-icon__image">
	</view>
</template>

<script>
	export default {
		props: {
			iconName: {
				type: String,
				default: ''
			}
		},
		data() {
			return {
				starUrl: this.global.starUrl
			}
		},
		methods: {

		}
	}
</script>

<style >
	.van-icon {
		position: relative;
		display: inline-block;
		font-size: 1rem;
		line-height: 1;
		font-size: inherit;
		text-rendering: auto;
		-webkit-font-smoothing: antialiased;
	}

	.van-icon__image {
		width: 1rem;
		height: 1em;
		background-size: cover;
	}


</style>