<template>
	<view class="scan_float" @click="goScan('bottom')">
		<image src="@/static/icons_ui/icon_scan_white.svg"></image>
		<view>{{title}}</view>
	</view>
</template>

<script>
	export default {
		props: {
			title: {
				type: String,
				default: "扫描"
			}
		},
		data() {
			return {
			}
		},
		created() {

		},
		methods: {
			goScan(content) {
				this.$emit("goScan", '');
			}
		}
	}
</script>

<style>
	.scan_float{
		opacity: 0.4;
	}
</style>
