goback.vue 649 Bytes
<template>
	<view class="back" @click="goback" v-if="!$isMobile">
		<u-image src="/static/images/icon/back.png" mode="witFix" width="100px" height="100px"></u-image>
	</view>
</template>

<script>
	export default {
		components: {},
		props: {

		},
		data() {
			return {

			}
		},
		computed: {

		},
		onLoad() {

		},
		methods: {
			goback() {
				window.history.back();
			}
		}
	}
</script>

<style lang="scss" scoped>
	.back {
		width: 50px;
		height: 50px;
		border-radius: 50px;
		position: fixed;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		left:1%;
		top: 10%;
		bottom: 0;
	}
</style>