<template>
	<view class="find-pass">
		<view class="login-from">
			<view class="title">填写资料</view>
			<view class="input-item">
				<label for="">
					<text>中国(+86)</text>
				</label>
				<input type="number" placeholder="请输入注册的手机号">
			</view>
			<view class="input-item">
				<label for="">
					<text>验证码</text>
				</label>
				<input type="number" placeholder="" maxlength="6">
				<button class="send-vcode">获取验证码</button>
			</view>
			<view class="input-item">
				<label for="">
					<text>新密码</text>
				</label>
				<input type="password" placeholder="请再新密码">
			</view>
			<view class="input-item">
				<label for="">
					<text>确认密码</text>
				</label>
				<input type="password" placeholder="请再次输入新密码">
			</view>
			<view class="button-item" style="margin-top: 80upx;">
				<button class="confirm">确认修改</button>
			</view>
		</view>

	</view>
</template>

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

			}
		},
		methods: {

		}
	}
</script>

<style lang="scss" scoped>
	.find-pass {
		background: $primary-color;
		height: 100vh;
		width: 750rpx;
		overflow: hidden;
	}

	.login-from {
		margin: auto;
		width: 600upx;
		height: 700upx;
		background-color: white;
		border-radius: 20rpx;
		padding: 72upx;
		padding-top: 40upx;
		box-sizing: border-box;
		position: relative;
		z-index: 2;
		margin-top: 200upx;

		&::after {
			content: "";
			background: url(../../static/images/login/box-bottom.png) no-repeat;
			background-size: contain;
			width: 564upx;
			height: 30upx;
			display: block;
			position: absolute;
			bottom: -30upx;
			left: 18upx;
			z-index: -1;
		}
		.title{
			font-size: 30upx;
			color: #999999;
			font-weight: bold;
			text-align: center;
			margin-bottom: 80upx;
		}
	}

	.input-item {
		display: flex;
		position: relative;
		margin-bottom: 30upx;
		border-bottom: 2upx solid $primary-color;

		label {
			width: 158upx;
			font-size: 30upx;
			color: #999999;
		}

		input {
			flex-grow: 1;
			padding: 5upx;
			font-size: 30upx;
		}
	}

	.confirm {
		height: 80upx;
		border: 2upx solid $primary-color;
		line-height: 80upx;
		margin: 30upx 0;
		font-size: 32upx;
		background: $primary-color;
		color: white;

		&::after {
			border: none;
		}
	}

	.send-vcode {
		background: $primary-color;
		color: white;
		font-size: 24upx;
		position: absolute;
		padding: 5upx 0;
		width: 160upx;
		line-height: normal;
		right: 0upx;
		top:-5upx;
	}
</style>
