<template>
	<view class="tongcheng">
		<view class="tongcheng-navbar">
			<u-navbar title="语音速配" back-icon-color="#ffffff" title-color="#ffffff" :background="background"></u-navbar>
		</view>
		<view class="tongcheng-content">
			<view class="title">正在寻找新朋友...</view>
			<view class="desc">当前用户过多，请耐心等待</view>
			<view class="dian">
				<view class="user">
					<view class="item">
						<image class="avatar" src="@/static/nv.png"></image>
						<view class="txt">空白空白1</view>
					</view>
					<view class="items">
						<image src="@/static/yuyin-xin2.png"></image>
					</view>
					<view class="item">
						<view class="pic">
							<image class="avatar1" src="@/static/nan.png"></image>
							<image class="avatar2" src="@/static/nan.png"></image>
						</view>
					</view>
				</view>
			</view>
		</view>
		<view class="tongcheng-end">
			<view class="send">茫茫人海，今天和你相遇</view>
			<view class="todo">
				<image src="@/static/yuyin-cha.png"></image>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				isSucess: true,
				background: {
					// 导航栏背景图
					background: 'url(@/static/yuyin-bg.png) center top no-repeat',
					// 还可以设置背景图size属性
					backgroundSize: '100 auto',
				},
			};
		}
	}
</script>

<style scoped lang="scss">
.tongcheng{
	background: #0d0b15 url(@/static/yuyin-bg.png) center top no-repeat;
	background-size: 100% auto;
	overflow: hidden;
	min-height: 100vh;
	&-content{
		text-align: center;
		.title{
			font-weight: 500;
			font-size: 48rpx;
			color: #FFFFFF;
			margin-top: 120rpx;
		}
		.desc{
			font-weight: 500;
			font-size: 30rpx;
			color: #FFFFFF;
			margin-top: 30rpx;
		}
		.dian{
			width: 648rpx;
			height: 648rpx;
			background: url(@/static/yuyin-bg2.png) center top no-repeat;
			background-size: 100% auto;
			margin: 0 auto;
			margin-top: 50rpx;
			display: flex;
			align-items: center;
			justify-content: center;
			.user{
				display: flex;
				align-items: center;
				justify-content: space-between;
				margin-top: -10rpx;
				margin-left: 20rpx;
				.items{
					width: 290rpx;
					image{
						width: 290rpx;
						height: 86rpx;
					}
				}
				.item{
					width: 180rpx;
					position: relative;
					.avatar{
						width: 180rpx;
						height: 180rpx;
						border-radius: 50%;
					}
					.txt{
						font-weight: 500;
						font-size: 28rpx;
						color: #FFFFFF;
						margin-top: 10rpx;
						white-space: nowrap;
						overflow: hidden;
						text-overflow: ellipsis;
						overflow: hidden;
						width: 180rpx;
					}
					.pic{
						width: 180rpx;
						position: relative;
						.avatar1{
							width: 180rpx;
							height: 180rpx;
							border-radius: 50%;
							opacity: 0.5;
							position: absolute;
							left: 0;
							top: 0;
							z-index: 3;
						}
						.avatar2{
							width: 180rpx;
							height: 180rpx;
							border-radius: 50%;
							opacity: 0.3;
							position: absolute;
							left: 0;
							top: 0;
							z-index: 2;
						}
					}
					
				}
			}
			.info{
				text-align: center;
				margin-left: 60rpx;
				image{
					width: 180rpx;
					height: 180rpx;
					border-radius: 50%;
				}
				.txt{
					font-weight: 500;
					font-size: 30rpx;
					color: #FFFFFF;
					margin-top: 10rpx;
				}
			}
		}
	}
	&-start{
		position: absolute;
		left: 50%;
		margin-left: -150rpx;
		bottom: 150rpx;
		z-index: 21;
		width: 300rpx;
		height: 90rpx;
		background: #232030;
		border-radius: 90rpx;
		line-height: 90rpx;
		text-align: center;
		font-weight: 500;
		font-size: 30rpx;
		color: #FFFFFF;
	}
	&-end{
		width: 100%;
		position: absolute;
		left: 0;
		bottom: 70rpx;
		z-index: 21;
		.send{
			width: 300rpx;
			height: 90rpx;
			background: #232030;
			border-radius: 90rpx;
			line-height: 90rpx;
			text-align: center;
			font-weight: 500;
			font-size: 30rpx;
			color: #FFFFFF;
			margin: 0 auto;
		}
		.todo{
			width: 300rpx;
			height: 90rpx;
			line-height: 90rpx;
			text-align: center;
			font-weight: 500;
			font-size: 30rpx;
			color: #FFFFFF;
			margin: 0 auto;
			margin-top: 10rpx;
		}
	}
}
</style>
