<template>
	<view class="reverse-back-box" @click.stop="reverseBackBtn">
		<text class="iconfont" :style="{'color': iconColor}">&#xeca0;</text>
	</view>
</template>

<script>
	import { reverseBack } from "@/utils/common.js"
	export default { 
		props:{
			iconColor:{
				type:String,
				default:'#000'
			}
		},
		data() {
			return {
				
			};
		},
		methods:{
			reverseBackBtn(){
				reverseBack()
			}
		}
	}
</script>

<style lang="scss" scoped>
	.reverse-back-box {
		width: 50rpx;
		height: 50rpx;
		display: flex;
		align-items: center;
		height: 100%;
		.iconfont{
		font-size: 40rpx; 
		}
	}
</style>
