<template>
	<view class="dialog mask">
		<view class="d_b">
			<view class="header">
				
			</view>
			<view class="content">
				<slot></slot>
			</view>
			<view class="footer">
				
			</view>
		</view>
	</view>
</template>
<script>
	
	export default {
		name: 'Dialog',
		
	}
</script>
<style lang="scss" scoped>
	.dialog {
		position: absolute;
		
		.d_b {
			background-color: rgba(255, 255, 255, 1);
			border-radius: 16rpx;
			display: flex;
			flex-direction: column;
			
			.header {
				
			}
			
			.content {
				flex: 1;
			}
			
			.footer {
				
			}
		}
	}
	.mask {
		width: 100vw;
		height: 100vh;
		top: 0;
		left: 0;
		background-color: rgba(0, 0, 0, 0.5);
		display: flex;
		align-items: center;
		justify-content: center;
	}
</style>
