<template>
	<view class="form">
		<u-form :model="form" ref="uForm">
			<view class="upload">
				<u-upload max-count="5" upload-icon="photo"></u-upload>
				<text>发布房源图片({{ShopInfomation.count}}/5)</text>
			</view>
				
				<u-form-item label="标题" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
					<u-input v-model="form.name" placeholder="请输入标题以便吸引人的注意哦" placeholder-class="input-class" border="none"></u-input>
				</u-form-item>
				<u-form-item label="区域" label-position="top" border-bottom="true" labelStyle="margin-left: 20px" right-icon="arrow-right">
					<text @click="show1 = true" class="checktext">123</text>
					<u-picker mode="region" :show="show1" :closeOnClickOverlay="true" @close="show1 = false"></u-picker>
				</u-form-item>
				<u-form-item label="地址" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
					<u-input v-model="form.name" placeholder="请输入店铺地址" placeholder-class="input-class" border="none"></u-input>
				</u-form-item>
				<u-form-item label="区域" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
					<text @click="show2 = true" class="checktext">123</text>
					<u-picker mode="region" :show="show2" :closeOnClickOverlay="true" @close="show2 = false"></u-picker>
				</u-form-item>
				<u-form-item label="区域" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
					<text @click="show3 = true" class="checktext">123</text>
					<u-picker mode="region" :show="show3" :closeOnClickOverlay="true" @close="show3 = false"></u-picker>
				</u-form-item>
				<u-form-item label="标题" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
					<u-input v-model="form.name" placeholder="请输入标题以便吸引人的注意哦" placeholder-class="input-class" border="none"></u-input>
				</u-form-item>
				<u-form-item label="标题" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
					<u-input v-model="form.name" placeholder="请输入标题以便吸引人的注意哦" placeholder-class="input-class" border="none"></u-input>
				</u-form-item>
				<u-form-item label="标题" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
					<u-input v-model="form.name" placeholder="请输入标题以便吸引人的注意哦" placeholder-class="input-class" border="none"></u-input>
				</u-form-item>
				<u-form-item label="标题" label-position="top" border-bottom="true" labelStyle="margin-left: 20px">
					<u-input v-model="form.name" placeholder="请输入标题以便吸引人的注意哦" placeholder-class="input-class" border="none"></u-input>
				</u-form-item>
				
			</u-form>
			<u-button @click="submit" color="linear-gradient(to right, #E86262, #CC3333)" :size="normal" shape="circle" class="submit-btn">发布</u-button>
			<view class="bug-figure"></view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				show1:false,
				show2:false,
				show3:false,
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="scss">
	.form{
		margin-left: 20px;
		margin-right: 20px;
	}
	.input-class{
		font-size: 40rpx;
		font-weight:1px;
		border-style: none
		
	}
	.upload{
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		background-color: #F8F8F8;
		// margin-right: 20px;
	}
	.submit-btn{
		width: 80%;
	}
	.bug-figure{
		height: 100rpx;
	}
	.checkbox1{
		display: flex;
		justify-content: space-between;
	}
	.checktext{
		margin-top: 5rpx;
		font-size: 40rpx;
		font-weight:1px;
		color: #A0A0A0;
	}
</style>