<template>
	<view class="message">
		<view class="header">
			<view class="title">
				消息
			</view>
			<view class="tabs">
				<view class="tab-item active">收益消息</view>
				<view class="tab-item">其他消息</view>
			</view>
		</view>
		<view class="msg-list">
			<view>
				<view class="time">
					2021-07-02 11:25
				</view>
				<view class="msg">
					<view class="title">收益通知</view>
					<view class="content">您好，您的粉丝给您贡献了一笔0.00元的收益。请注意查收</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {

		}
	}
</script>

<style lang="scss">
	.message{
		overflow: hidden;
	}
	.header {
		margin: 20upx;
		background: white;
		text-align: center;
		border-radius: 20upx;
		.title {
			height: 100upx;
			font-size: 32upx;
			line-height: 100upx;
			font-weight: bold;
		}

		.tabs {
			display: flex;
			justify-content: space-between;

			.tab-item {
				flex: 1;
				padding: 10upx 0;
				font-size: 28upx;
				color: #999999;
				&.active {
					background: $primary-color;
					color: white;
					border-radius: 20upx;
				}
			}
		}
	}
	
	
	.msg-list{
		.time{
			text-align: center;
			font-size: 24upx;
			color: #999999;
		}
		.msg{
			margin: 20upx;
			background: white;
			padding: 20upx;
			.title{
				text-align: center;
				font-size: 28upx;
				padding-bottom: 20upx;
				border-bottom: 2upx solid #EEEEEE;
			}
			.content{
				margin-top: 20upx;
				font-size: 26upx;
			}
		}
	}
</style>
