<template>
    <view class="line-button" hover-class="lb-hover" @click="$emit('click')">
        <slot>confirm</slot>
    </view>
</template>

<script>
export default {
    data() {
        return {
            
        }
    },
}
</script>

<style lang="scss">
    .line-button{
		border-radius: 44rpx;
		text-align: center;
		background: linear-gradient(90deg, #44D7B6 0%, #009874 100%);
        @include flcw(32upx, 88upx, #fff, 500);
        &.lb-hover{
            position: relative;
    	    overflow: hidden;
            &::after{
                content: '';
                position: absolute;
                left: 0;
                right: 0;
                top: 0;
                bottom: 0;
                z-index: 2;
                background-color: rgba(0,0,0,.1);
            }
        }
    }
</style>