<template>
	<view class="content">
		<!-- <image src="http://139.9.103.171:1888/img/image/bg_share.png" mode="" class="banner" @tap="handleClick"></image> -->
		<view class="earn bg-linear-gradient">
			<view class="title">我的收益</view>
			<view class="earn_bottom">
				<view class="price">509<view class="unit">元</view></view>
				<view class="btn">提现</view>
			</view>
		</view>
		<view class="rule">我的分享团队规则</view>
		<view class="rule_text">店主的分享团队进行消费，店主可获得新邻社区心选商城商品利润金的20~40%收益，分润金额由系统自动生产</view>
		<view class="rule_text">店主自购商品可享受20~40%的润金折扣，折扣金额直接在支付结算时自动结算。</view>
		<view class="rule_text">店主可以查看团队成员是否进行过第一次消费，店主可以多多鼓励团队购物噢</view>
		<view class="list">
			<view class="list-head">
				<view class="head_left">昵称</view>
				<view class="head_right">用户首次完成消费</view>
			</view>
			<view class="item">
				<view class="item_left">
					<image src="" mode="" class="photo"></image>
					<view class="text">MADS</view>
				</view>
				<view class="item_right">达成</view>
			</view>
			<view class="item">
				<view class="item_left">
					<image src="" mode="" class="photo"></image>
					<view class="text">MADS</view>
				</view>
				<view class="item_right">达成</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		methods:{
			handleClick(){
				uni.navigateTo({
					url:'/pagesM/pages/share_team_goods'
				})
			}
		}
	}
</script>

<style lang="scss">
	.content{
		background:rgba(255,255,255,1);
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		.banner{
			width:705upx;
			height:275upx;
			box-shadow:0upx -2upx 47upx 4upx rgba(1,0,32,0.1);
			border-radius:30upx;
			margin-top:36upx;
		}
		.earn{
			width:705upx;
			height:275upx;
			box-shadow:0upx -2upx 47upx 4upx rgba(1,0,32,0.1);
			border-radius:30upx;
			display:flex;
			flex-direction: column;
			justify-content: center;
			margin:36upx 0;
			.title{
				font-size:30upx;
				font-family:PingFang SC;
				font-weight:400;
				color:rgba(255,255,255,1);
				margin-left:68upx;
				margin-bottom:63upx;
			}
			.earn_bottom{
				height:88upx;
				display:flex;
				justify-content: space-between;
				align-items:center;
				margin-left:68upx;
				margin-right:68upx;
				.price{
					font-size:72upx;
					font-family:PingFang SC;
					font-weight:bold;
					color:rgba(255,255,255,1);
					.unit{
						font-size:30upx;
						color:rgba(255,255,255,1);
						display:inline-block;
					}
				}
				.btn{
					width:163upx;
					height:88upx;
					line-height:88upx;
					background:rgba(255,255,255,1);
					border-radius:44upx;
					font-size:30upx;
					font-family:PingFang SC;
					font-weight:400;
					color:$dt-color-primary;
					text-align:center
				}
			}
		}
		.rule{
			font-size:30upx;
			font-family:PingFang SC;
			font-weight:bold;
			color:$dt-color-primary;
			margin-bottom:36upx
		}
		.rule_text{
			width:598upx;
			font-size:24upx;
			font-family:PingFang SC;
			font-weight:400;
			color:rgba(51,51,51,1);
			text-align:center;
			line-height:40upx;
			margin-top:36upx
		}
		.list{
			width:705upx;
			background:rgba(255,255,255,1);
			box-shadow:0upx -2upx 47upx 4upx rgba(1,0,32,0.1);
			border-radius:30upx;
			margin-top:88upx;
			margin-bottom: 88upx;
			display:flex;
			flex-direction: column;
			align-items:center;
			.list-head{
				width:637upx;
				height: 100upx;
				margin: 0 auto;
				display:flex;
				justify-content:space-between;
				align-items:center;
				width:637upx;
				.head_left{
					width: 83upx;
					text-align: center;
					font-size:24upx;
					font-family:PingFang SC;
					font-weight:400;
					color:$dt-color-primary;
					margin-left: 30upx;
				}
				.head_right{
					width:210upx;
					font-size:24upx;
					font-family:PingFang SC;
					font-weight:400;
					color:$dt-color-primary;
					text-align: center;
					margin-right: 30upx;
				}
			}
			.item{
				width:637upx;
				height:130upx;
				margin: 0 auto;
				display:flex;
				justify-content:space-between;
				align-items:center;
				border-bottom: 1upx solid rgba(242,242,242,1);
				.item_left{
					display:flex;
					height:130upx;
					align-items:center;
					margin-left: 30upx;
					.photo{
						width:83upx;
						height:83upx;
						border-radius:50%;
						background-color: gray;
					}
					.text{
						margin-left:32upx;
						font-size:24upx;
						font-family:PingFang SC;
						font-weight:400;
						color:rgba(102,102,102,1);
					}
				}
				.item_right{
					width:210upx;
					text-align:center;
					font-size:24upx;
					font-family:PingFang SC;
					font-weight:400;
					color:rgba(102,102,102,1);
					margin-right: 30upx;
				}
			}
		}
	}
</style>
