<template>
	<view class="ranking_body">
		<view class="title">
			收益排行 TOP10
		</view>
		<view class="rank_tab">
			<view class="tab_item">
				总量
			</view>
			<view class="tab_line"></view>
			<view class="tab_item">
				本月
			</view>
			<view class="tab_line"></view>
			<view class="tab_item">
				本日
			</view>
		</view>
		<view class="rank_list">
			<view class="rank_title">
				<view class="rank_title_name" style="width: 20%;">
					排名
				</view>
				<view class="rank_title_name" style="width: 30%;">
					用户名
				</view>
				<view class="rank_title_name" style="width: 20%;">
					用户等级
				</view>
				<view class="rank_title_name" style="width: 30%;">
					累计收益(元)
				</view>
			</view>
			<view class="rank_item">
				<view class="rank_item_name" style="width: 20%;">
					1
				</view>
				<view class="rank_item_name" style="width: 30%;">
					淘房**神
				</view>
				<view class="rank_item_name" style="width: 20%;">
					LV10
				</view>
				<view class="rank_item_name" style="width: 30%;">
					8273.00
				</view>
			</view>
			
			<view class="rank_item">
				<view class="rank_item_name" style="width: 20%;">
					1
				</view>
				<view class="rank_item_name" style="width: 30%;">
					淘房**神
				</view>
				<view class="rank_item_name" style="width: 20%;">
					LV10
				</view>
				<view class="rank_item_name" style="width: 30%;">
					8273.00
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss">
.ranking_body{
	margin-left: 20rpx;
	margin-right: 20rpx;
	background: #ffffff;
	border-radius: 16rpx;
	padding-top: 20rpx;
	.title{
		text-align: center;
		font-size: 32rpx;
		font-family: Verdana, Verdana-Bold;
		font-weight: 700;
		text-align: center;
		color: #262626;
	}
	
	.rank_tab{
		display: flex;
		margin: 0 auto;
		margin-top: 40rpx;
		width: 450rpx;
		height: 60rpx;
		background: #ffffff;
		border: 2rpx solid #ededed;
		border-radius: 8rpx;
		.tab_item{
			height: 100%;
			text-align: center;
			flex: auto;
			line-height: 60rpx;
		}
		.tab_line{
			width: 2rpx;
			height: 60rpx;
			background: #ededed;
		}
	}
	.rank_list{
		width: 100%;
		.rank_title{
			display: flex;
			width: 100%;
			margin: 0 auto;
			margin-top: 40rpx;
			.rank_title_name{
				font-size: 28rpx;
				flex: auto;
				font-family: Verdana, Verdana-Bold;
				font-weight: 700;
				text-align: center;
				color: #b1b1b1;
			}
		}
		.rank_item{
			display: flex;
			align-items: center;
			width: 100%;
			height: 104rpx;
			margin: 0 auto;
			border-bottom: 2rpx solid rgba(0,0,0,0.05);
			.rank_item_name{
				font-size: 28rpx;
				flex: auto;
				font-family: Verdana, Verdana-Bold;
				font-weight: 700;
				text-align: center;
				color: #b1b1b1;
			}
		}
	}
}
</style>
