<template>
	<view class="container">
		<view class="user-info-box">
			<view class="detail flex" @click="navTo('/pages/set/userinfo')">
				<view class="portrait-box"><image class="portrait" src=" /static/error/missing-face.png"></image></view>
				<view class="info-box">
					<view class="username">游客</view>
					<view class="font-size-sm">13800000000</view>
				</view>
			</view>
			<view class="config iconfont"><text class="setting iconsetting" @click="navTo('/pages/set/set')"></text></view>
		</view>
		<view class="vip-box"><image src="../../static/img/vip.png" mode=""></image></view>

		<view class="tt">
			<view class="tt-box" @click="nav('/pages/assets/myPing')">
				<image src="../../static/img/tuiguang.png" class="tt-icon1" mode=""></image>
				<view class="tt-txt">我的推广</view>
				<image src="../../static/img/jiantou.png" class="next-icon" mode=""></image>
			</view>
		</view>
	</view>
</template>

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

<style lang="scss">
page,
.container {
	background: #000;
	height: 100%;
}
.user-info-box {
	padding: 40rpx 46rpx 0;
	height: 180rpx;
	color: white;
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
	z-index: 1;
	.detail {
		height: 130rpx;
		.portrait-box {
			height: 100%;
			.portrait {
				width: 130rpx;
				height: 100%;
				border: 5rpx solid #fff;
				border-radius: 50%;
			}
		}
		.info-box {
			margin-left: 20rpx;
			line-height: 1.5;
			.username {
				font-size: $font-lg + 6rpx;
				height: 100%;
			}
		}
	}
	.config {
		font-size: 48rpx;
	}
}
.vip-box {
	width: 690rpx;
	height: 200rpx;
	margin: 60rpx auto 0;
	image {
		width: 100%;
		height: 100%;
	}
}

.tt {
	margin: 0 auto;
	width: 750rpx;
	padding: 40rpx 70rpx;
	background-color: #000;

	.tt-box {
		height: 100rpx;
		display: flex;
		align-items: center;
		border-bottom: 1px solid #f0f0f0;
		.tt-icon1 {
			width: 42rpx;
			height: 42rpx;
		}
		.tt-icon2 {
			width: 49rpx;
			height: 38rpx;
		}
		.tt-icon3 {
			width: 46rpx;
			height: 40rpx;
		}
		.tt-icon4 {
			width: 40rpx;
			height: 42rpx;
		}
		.tt-icon5 {
			width: 44rpx;
			height: 40rpx;
		}

		.tt-txt {
			margin-left: 36rpx;
			font-size: 32rpx;
			font-family: PingFang SC;
			font-weight: 500;
			color: #333333;
			flex: 1;
		}

		.next-icon {
			width: 16rpx;
			height: 25rpx;
		}
	}

	.border-b {
		border-bottom: 1px solid #f1f1f1;
	}
}
</style>
