<template>
	<view class="icon_wrap">
		<image src="../../../static/circumstances/success.png" mode="" class="icon_img" v-if="value">
		</image>
		<image src="../../../static/circumstances/error.png" mode="" class="icon_img" v-else></image>
	</view>
</template>

<script>
	export default{
		props : {
			value : {
				type : Boolean,
				required : true
			},
		},
	}
</script>

<style scoped lang="scss">
	.icon_img {
		width: 40rpx;
		height: 40rpx;
	}
</style>
