<template>
	<!-- 填写收件人信息 -->
	<view class="back">
		<view class="info">
			<view class="item u-flex u-row-between">
				<text class="title">填写收件人信息</text>
			</view>
			<view class="item u-flex ">
				<text class="left">国家</text>
				<view class="right u-flex u-row-between" style="flex: 1;">
					<input type="text" placeholder="请选择" />
					<image src="../static/express/next1.png" style="width: 36rpx;height: 36rpx;" mode=""></image>
				</view>
			</view>
			<view class="item u-flex ">
				<text class="left">姓名</text>
				<view class="right">
					<input type="text" placeholder="请输入收件人姓名" />
				</view>
			</view>
			<view class="item u-flex ">
				<text class="left">手机号</text>
				<view class="right">
					<input type="text" placeholder="请输入手机号" />
				</view>
			</view>
			<view class="item u-flex ">
				<text class="left">邮编</text>
				<view class="right">
					<input type="text" placeholder="请输入邮编" />
				</view>
			</view>
			<view class="item u-flex ">
				<text class="left">省市区</text>
				<view class="right u-flex u-row-between " style="flex: 1;">
					<input type="text" placeholder="请选择" disabled="" />
					<image src="../static/express/next1.png" style="width: 36rpx;height: 36rpx;" mode=""></image>
				</view>
			</view>
			<view class="item u-flex ">
				<text class="left">详细地址</text>
				<view class="right">
					<input type="area" placeholder="详细地址精确到门牌号" />
				</view>
			</view>
			<view class="item u-flex ">
				<text class="left">公司名称</text>
				<view class="right">
					<input type="area" placeholder="请输入公司名称（选填）" />
				</view>
			</view>
			<view class="item u-flex ">
				<text class="left">电子邮箱</text>
				<view class="right">
					<input type="area" placeholder="请输入电子邮箱（选填）" />
				</view>
			</view>
			<!-- 默认地址 -->
			<view class="u-flex u-row-between" style="margin-top: 22rpx;">
				<view class="u-flex">
					<view class="">
						<u-checkbox-group v-model="checkboxValue1" placement="row" @change="checkboxChange">
							<u-checkbox shape='circle' :customStyle="{marginRight: '4px'}" :name="name">
							</u-checkbox>
						</u-checkbox-group>
					</view>
					<text class="clear">保存到地址薄</text>
				</view>
				<text class="clear">
					清空
				</text>
			</view>
		</view>
		<view class="" style="height: 166rpx;"></view>
		<view class="bottom">
			<view class="btn">
				确定
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				checkboxValue1: [],
				name: 1
			};
		},
		methods: {
			checkboxChange(n) {
				console.log('change', n);
			}
		}
	}
</script>

<style lang="scss">
	.back {
		padding: 20rpx 24rpx;
		box-sizing: border-box;

		.bottom {
			width: 750rpx;
			height: 166rpx;
			background: #FFFFFF;
			position: fixed;
			bottom: 0;
			left: 0;
			padding: 18rpx 24rpx;
			box-sizing: border-box;

			.btn {
				width: 702rpx;
				height: 88rpx;
				background: #F83224;
				border-radius: 44rpx;
				font-family: PingFangSC, PingFang SC;
				font-weight: 500;
				font-size: 32rpx;
				color: #FFFFFF;
				line-height: 88rpx;
				text-align: center;
				font-style: normal;
			}
		}

		.add {
			width: 702rpx;
			// height: 160rpx;
			background: #FFFFFF;
			border-radius: 16rpx;
			padding: 24rpx;
			box-sizing: border-box;

			.addinfo {
				font-family: PingFangSC, PingFang SC;
				font-weight: 400;
				font-size: 24rpx;
				color: #222222;
				line-height: 34rpx;
				text-align: left;
				font-style: normal;
			}

			.name {
				font-family: PingFangSC, PingFang SC;
				font-weight: 500;
				font-size: 28rpx;
				color: #333333;
				line-height: 40rpx;
				text-align: left;
				font-style: normal;
			}

			.phone {
				font-family: SFPro, SFPro;
				font-weight: 400;
				font-size: 24rpx;
				color: #333333;
				line-height: 28rpx;
				text-align: left;
				font-style: normal;
				margin-left: 16rpx;
			}
		}

		.history {
			font-family: PingFangSC, PingFang SC;
			font-weight: 500;
			font-size: 30rpx;
			color: #333333;
			line-height: 42rpx;
			text-align: left;
			font-style: normal;
			margin: 28rpx 0 24rpx;
		}

		.info {
			padding:  0 24rpx 28rpx;
			box-sizing: border-box;
			width: 702rpx;
			// height: 742rpx;
			background: #FFFFFF;
			border-radius: 16rpx;

			.clear {
				font-family: PingFangSC, PingFang SC;
				font-weight: 400;
				font-size: 24rpx;
				color: #333333;
				line-height: 34rpx;
				text-align: left;
				font-style: normal;
			}

			.item {
				border-bottom: 2rpx solid rgba(151, 151, 151, 0.1);
				height: 100rpx;
				line-height: 100rpx;

				.title {
					font-family: PingFangSC, PingFang SC;
					font-weight: 600;
					font-size: 32rpx;
					color: #333333;
					line-height: 44rpx;
					text-align: left;
					font-style: normal;
				}

				.wx {
					font-family: PingFangSC, PingFang SC;
					font-weight: 400;
					font-size: 24rpx;
					color: #333333;
					line-height: 34rpx;
					text-align: left;
					font-style: normal;
				}

				.left {
					font-family: PingFangSC, PingFang SC;
					font-weight: 400;
					font-size: 28rpx;
					color: #222222;
					line-height: 40rpx;
					text-align: left;
					font-style: normal;
					width: 115rpx;
				}

				.right {
					font-family: PingFangSC, PingFang SC;
					font-weight: 400;
					font-size: 28rpx;
					color: #222222;
					line-height: 40rpx;
					text-align: left;
					font-style: normal;
					margin-left: 60rpx;
				}


			}
		}
	}
</style>