<template>
	<button type="default" class="button" @click="emit('submit')">{{title}}</button>
</template>

<script setup lang="ts">
	const emit = defineEmits(["submit"])
	defineProps({
		//按钮标题
		title:{
			type:String,
			default:"提交"
		}
	})

</script>

<style lang="scss" scoped>
	.button::after{
		border: none;
	}
	.button{
		background: linear-gradient(-90deg, #3F85FE 0%, #c9caff 100%);
		opacity: 1;
		border-radius: 100rpx;
		color: #fff;
		font-size: 30rpx;
		height: 80rpx;
		line-height: 80rpx;
		box-shadow: 0rpx 4rpx 11rpx 1rpx rgba(223,223,223,0.5);
	}
</style>