<template>
	<view class="pages">
		<view class="phoneNum">
			接收手机号 <span style="color: #245BED;margin-left: 20rpx; font-weight: 700;">18160883036</span>
		</view>
		<view class="cotent">
			<view class="card">
				<view class="card1">
					<span>短信模板</span>
					<span style="color:#777777;" @click="()=>{
						selectShow=true
					}">请选择(非必选) ></span>
				</view>
			</view>
			<view class="card">
				<span style="margin: 20rpx 0;">
					短信内容
				</span>
				<span style="margin-top: 20rpx;">
					<u--textarea :maxlength='300' count v-model="value" placeholder="请输入短信内容"
						height='250'></u--textarea>
				</span>

			</view>
		</view>
		<view class="bottom">
			<u-radio-group size='34'>
				<u-radio value='readed' size='34' shape="circle" label="已阅读并同意<短信内容规则>和<短信协议>"></u-radio>
			</u-radio-group>
			<view class="btn">
				发送
			</view>
		</view>
		<u-popup :show="selectShow" @close="close" @open="open">
			<view class="selectShow">
				<view class="selectShow1">
					<text>下单提醒</text>
				</view>
				<view class="selectShow1">
					<text>支付提醒</text>
				</view>
				<view class="selectShow1">
					<text>退房提醒</text>
				</view>
				<view class="cancel selectShow1" @click="()=>{this.selectShow = false}">
					<text>取消</text>
				</view>
			</view>

		</u-popup>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				value: '',
				readed: '',
				selectShow: ''
			}
		},
		methods: {
			close() {
				this.selectShow = false
			},
			open() {

			}
		}
	}
</script>

<style lang="scss" scoped>
	.pages {
		height: 100vh;
		background: #F9FAFC;

		.selectShow1 {
			text-align: center;
			height: 100rpx;
			line-height: 100rpx;
			font-weight: 700;
			font-size: 28rpx;
			background: #fff;
		}

		.selectShow {
			background: #fbfbfb;
		}

		.cancel {
			margin-top: 20rpx;

		}

		.phoneNum {
			padding: 20rpx;
		}

		.cotent {
			padding: 20rpx;

			.card {
				background: #fff;
				border-radius: 16rpx;
				padding: 30rpx 20rpx;

				margin-bottom: 20rpx;

				.card1 {
					display: flex;
					flex-direction: row;
					justify-content: space-between;
				}
			}
		}

		.bottom {
			position: absolute;
			bottom: 0;
			height: 9%;
			background: #fff;
			width: 100%;
			display: flex;
			justify-content: center;
			align-items: center;
			padding: 0 30rpx;
			box-sizing: border-box;
			flex-direction: column;

			.btn {
				background: #33AFFC;
				color: white;
				text-align: center;
				height: 73rpx;
				line-height: 73rpx;
				align-self: center;
				border-radius: 35rpx;
				width: 80%;

			}
		}
	}
</style>