<template>
	<view>
		<view class="address_serch">
			<input type="text" placeholder="ADDRESS FINDER:Search by postcode">
		</view>
		<view class="address_info">
			<view class="address_info_item address_info_item1">
				<view class="info_item_title">
					<view>
						<text>*Country/Region</text>
						<view class="info_item_title_span">United States</view>
					</view>
					<image src="../../static/img/right1.png" mode=""></image>
				</view>
			</view>
			
			<view class="address_info_item">
				<view class="info_item_title">
					<view>
						<text>*Fall name</text>
					</view>
				</view>
				<view class="info_item_input">
					<input type="text">
				</view>
			</view>
			<view class="address_info_item">
				<view class="info_item_title">
					<view>
						<text>*Phone Number</text>
					</view>
				</view>
				<view class="info_item_input">
					<input type="text">
				</view>
			</view>
			<view class="address_info_item">
				<view class="info_item_title">
					<view>
						<text>＊Stree adderss or P.O.Box</text>
					</view>
				</view>
				<view class="info_item_input">
					<input type="text">
				</view>
			</view>
			<view class="address_info_item">
				<view class="info_item_title">
					<view>
						<text>*Appartment,suite,unit,etc.</text>
					</view>
				</view>
				<view class="info_item_input">
					<input type="text">
				</view>
			</view>
			<view class="address_info_item">
				<view class="info_item_title">
					<view>
						<text>*City/Town</text>
					</view>
				</view>
				<view class="info_item_input">
					<input type="text">
				</view>
			</view>
			
			
		</view>
		
		<view class="address_info">
			<view class="address_info_item">
				<view class="info_item_title">
					<view>
						<text class="info_item_title_span">State/Province</text>
					</view>
					<image src="../../static/img/bottom.png" mode=""></image>
				</view>
				<view class="info_item_input">
					<input type="text">
				</view>
			</view>
			
			<view class="address_info_item">
				<view class="info_item_title">
					<view>
						<text>Zip code/Postcode/PLZ/Eircode</text>
					</view>
				</view>
				<view class="info_item_input">
					<input type="text">
				</view>
			</view>
		</view>
		<view class="address_switch">
			<text>Make this my default address</text>
			<switch checked="true"   color="#B22234"/>
		</view>
		<view class="address_submit">
			<button>FINISH</button>
		</view>
	</view>
</template>

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

<style lang="scss" scoped>
	page{
		background-color: #F6F5FA;
	}
	.address_serch{
		background-color: white;
		padding: 26.67rpx 24rpx;
		margin-top: 14.67rpx;
		input{
			font-size: 22.67rpx;
			font-weight: 400;
			border: 1px solid #E2E2E2;
			padding: 23.33rpx 0;
			padding-left: 64.67rpx;
			position: relative;
			&:before{
				content: "";
				background-image: url("@/static/img/address1.png");
				background-size: 100% 100%;
				width: 29.33rpx;
				height: 29.33rpx;
				position: absolute;
				left: 20.67rpx;
			}
		}
	}
	.address_info{
		background-color: white;
		padding: 0 26.67rpx;
		margin-top: 14.67rpx;
		.address_info_item{
			padding-top: 42.67rpx;
			border-bottom: 1px solid #E2E2E2;
			&:last-child{
				border-bottom: none;
			}
			.info_item_title{
				font-size: 24rpx;
				color: #888888;
				display: flex;
				justify-content: space-between;
				align-items: center;
				font-weight: bold;
				margin-bottom: 10rpx;
				.info_item_title_span{
					color: black;
					margin-top: 15.33rpx;
				}
				image{
					width: 25.33rpx;
					height: 25.33rpx;
				}
			}
			.info_item_input{
				input{
					font-size: 24rpx;
					padding-left: 10rpx;
				}
			}
		}
		.address_info_item1{
			padding-top: 32.67rpx;
			padding-bottom: 27.33rpx;
		}
	}
	.address_switch{
		margin-top: 14.67rpx;
		background-color: white;
		padding: 17.33rpx 0;
		padding-left: 32rpx;
		padding-right: 52.67rpx;
		font-size: 24rpx;
		font-weight: bold;
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
	.address_submit{
		padding:  0 32rpx;
		margin-top: 112rpx;
		
		button{
			background-color: black;
			color: white;
			font-size: 26.67rpx;
			margin: 0;
			font-weight: bold;
			height: 88rpx;
			line-height: 88rpx;
		}
	}
</style>