<template>
	<view class="page">
		<view class="stylebookbox">
			<view class="apply">样书申请</view>
			<view class="stylebook">
				欢迎您申请我们的国优、国规样书
			</view>
			<view class="dotted">
				<image src="/static/images/dotted.png" style="width: 654rpx;height: 4rpx;" mode=""></image>
			</view>
			<!-- 姓名 -->
			<view class="item">
				<view class="name">
					<text>*</text>
					<text style="color: rgba(34, 34, 34, 1);">您的姓名</text>
				</view>
				<view class="box u-flex">
					<input type="text" style="width: 100%;" />
				</view>
			</view>
			<!-- 电话 -->
			<view class="item">
				<view class="name">
					<text>*</text>
					<text style="color: rgba(34, 34, 34, 1);">您的电话</text>
				</view>
				<view class="box u-flex">
					<input type="text" style="width: 100%;" />
				</view>
			</view>
			<!-- 邮箱 -->
			<view class="item">
				<view class="name">
					<text>*</text>
					<text style="color: rgba(34, 34, 34, 1);">您的邮箱</text>
				</view>
				<view class="box u-flex">
					<input type="text" style="width: 100%;" />
				</view>
			</view>
			<!-- 学校 -->
			<view class="item">
				<view class="name">
					<text>*</text>
					<text style="color: rgba(34, 34, 34, 1);">您所在的学校名称</text>
				</view>
				<view class="box u-flex">
					<input type="text" style="width: 100%;" />
				</view>
			</view>
			<!-- 样书 -->
			<view class="item">
				<view class="name">
					<text>*</text>
					<text style="color: rgba(34, 34, 34, 1);">样书用途</text>
				</view>
				<!-- 				<view class="box u-flex"> -->
				<view class="" style="margin-top: 38rpx;">
					<u-radio-group :wrap='true'>
						<u-radio shape="square" active-color="rgba(6, 169, 113, 1)" v-for="(item, index) in list"
							:key="index" :name="item.name" v-model="item.disabled">
							{{item.name}}
						</u-radio>
					</u-radio-group>
				</view>
				<!-- </view> -->
			</view>
			<!-- 地址 -->
			<view class="item">
				<view class="name">
					<text>*</text>
					<text style="color: rgba(34, 34, 34, 1);">您所在的学校名称</text>
				</view>
				<view class="u-flex u-row-between" style="margin-top: 40rpx;">
					<view class="address">姓名：</view>
					<view class="box u-flex " style="margin-top: 0rpx;width: 500rpx;">
						<input type="text" style="width: 100%;" />
					</view>
				</view>
				<view class="u-flex u-row-between" style="margin-top: 40rpx;">
					<view class="address">所在地区：</view>
					<view class="box u-flex " style="margin-top: 0rpx;width: 500rpx;">
						<input type="text" style="width: 100%;" />
					</view>
				</view>
				<view class="u-flex u-row-between" style="margin-top: 40rpx;">
					<view class="address">详细地址：</view>
					<view class="box u-flex " style="margin-top: 0rpx;width: 500rpx;">
						<input type="text" style="width: 100%;" />
					</view>
				</view>
				<view class="u-flex u-row-between" style="margin-top: 40rpx;">
					<view class="address">手机号码：</view>
					<view class="box u-flex " style="margin-top: 0rpx;width: 500rpx;">
						<input type="text" style="width: 100%;" />
					</view>
				</view>
			</view>
			<view class="btn">
				提交
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list: [{
						name: '教材用书',
						disabled: false
					},
					{
						name: '学习参考',
						disabled: false
					},
					{
						name: '其他',
						disabled: false
					}
				],
			};
		}
	}
</script>
 
<style lang="scss">
	.btn{
		// width: 614rpx;
		height: 82rpx;
		background: #06A971;
		border-radius: 8rpx;
		font-size: 32rpx;
		font-family: PingFangSC, PingFang SC;
		font-weight: 500;
		color: #FFFFFF;
		margin-top: 48rpx;
		line-height: 82rpx;
		text-align: center;
	}
	.address {
		font-size: 26rpx;
		font-family: PingFangSC, PingFang SC;
		font-weight: 400;
		color: #222222;
	}

	.item {
		margin-top: 44rpx;

		.name {
			font-size: 26rpx;
			font-family: PingFangSC, PingFang SC;
			font-weight: 500;
			color: #CF1534;
		}

		.box {
			margin-top: 24rpx;
			height: 72rpx;
			border: 2rpx solid rgba(151, 151, 151, 0.3);
		}
	}

	.page{
		background-color: rgba(246, 246, 246, 1);
		width: 750rpx;
		min-height: 100vh;
		padding: 20rpx 28rpx 68rpx;
	}

	.stylebookbox {
		background: #FFFFFF;
		border-radius: 12rpx;
		padding: 38rpx 20rpx 44rpx;

		.apply {
			font-size: 32rpx;
			font-family: PingFangSC, PingFang SC;
			font-weight: 500;
			color: #222222;
			text-align: center;
		}

		.stylebook {
			font-size: 26rpx;
			font-family: PingFangSC, PingFang SC;
			font-weight: 400;
			color: #222222;
			margin-top: 50rpx;
		}

		.dotted {
			// margin-top: 30rpx;
		}
	}
</style>