<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(to right,#01243A,#004576);
		opacity: 1;
		border-radius: 100rpx;
		color: #fff;
		font-size: 30rpx;
		height: 80rpx;
		line-height: 80rpx;
	}
</style>