<template>
    <h-drop-area>
        <div class="ftop" @click="handleClick">返回顶部</div>
    </h-drop-area>
</template>

<script>
import hDropArea from './index'
export default {
    name: "drop-demo",
    data() {
        return {}
    },
    components: {
        hDropArea
    },
    methods: {
        handleClick() {
            console.log('111');
        }
    }
}
</script>
<style>
.ftop {
    background: rgba(0,0,0,0.3);
    height: 100%;
    padding: 6px 11px;
    box-sizing: border-box;
    line-height: 20px;
    font-size: 16px;
    border-radius: 50%;
    color: #fff;
}
</style>