<template>
	<view class="submit">
		<!-- <view class=""
		@click="$emit('draft')">
			<uv-icon 
			size="40rpx"
			name="file-text"></uv-icon>
			<view class="">
				存草稿
			</view>
		</view>
		<view class=""
		@click="$emit('preview')">
			<uv-icon 
			size="40rpx"
			name="eye-fill"></uv-icon>
			<view class="">
				预览
			</view>
		</view> -->
		<view class="btn"
		@click="$emit('submit')">
			{{ submiitTitle }}
		</view>
	</view>
</template>

<script>
	export default {
		name:"submit",
		props : {
			submiitTitle : {
				default : '发布',
				type : String,
			}
		},
		data() {
			return {
				
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="scss" scoped>
.submit{
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100vw;
	background-color: #fff;
	height: 100rpx;
	display: flex;
	justify-content: center;
	align-items: center;
	.btn{
		background: $uni-linear-gradient-btn-color;
		color: #fff;
		width: 600rpx;
		height: 80rpx;
		border-radius: 15rpx;
	}
	view{
		width: 100rpx;
		margin: 0 10rpx;
		display: flex;
		justify-content: center;
		align-items: center;
		flex-direction: column;
	}
}
</style>
