You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

58 lines
875 B

<template>
<view class="scan_float_top" @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,
value: "扫描"
}
},
data() {
return {
}
},
created() {
},
methods: {
goScan(content) {
this.$emit("goScan", '');
}
}
}
</script>
<style>
.scan_float_top{
opacity: 0.4;
position: fixed;
z-index: 11;
left: 20rpx;
bottom: 35%;
width: 110rpx;
height: 110rpx;
color: #000;
background-color: #5A7CF3;
border-radius: 50%;
text-align: center;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}
.scan_float_top image {
width: 40rpx;
height: 40rpx;
margin-top: 10rpx;
}
.scan_float_top view {
color: #fff;
font-size: .725rem;
margin-top: -8rpx;
}
</style>