<template>
	<view class="topHang" @click="goTop">
		<u-icon name="arrow-upward" color="#909399" size="40"></u-icon>
	</view>
</template>

<script>
	export default {
		name:"tophang",
		data() {
			return {
			};
		},
		methods:{
			goTop(){
				this.$emit('goTop')
			}
		}
	}
</script>

<style scoped lang="scss">
.topHang{
	position: fixed;
	right: 60rpx;
	bottom: 200rpx;
	width: 80rpx;
	height: 80rpx;
	background-color: #e1e1e1;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}
</style>
