<template>
	<view>
		<view class="main-left cross-center search">
			<image src="https://t17.9026.com/web/statics/image/index/search.png" mode=""></image>
			<input style="width: 560rpx;" type="text" value="" placeholder="搜索楼盘" placeholder-style="font-size:28rpx;color:#999;" />
		</view>
		<view class="properties_list">
			<view class="item main-left" v-for="(item,index) in 14" @click="show=true">
				<view class="left">
					<image src="https://t17.9026.com/web/statics/image/sale/1.png" mode=""></image>
				</view>
				<view class="main-between-y right ">
					<view class="title">建业·凯旋广场</view>
					<view class="addr">成都市武侯区天府一街5号</view>
					<view class="content">洛阳建业·凯旋广场由建业（住宅）集团投资，洛阳建业凯旋置地有限公司开发...</view>
				</view>
				<image class="bg" src="https://t17.9026.com/web/statics/image/sale/properties_gradual.png" mode=""></image>
			</view>
			<!-- <view style="100rpx"></view>
			<navigator url="/pages/sale/properties/addProperties" hover-class="navigator-hover">
				<button class="addPro" type="default">添加楼盘</button>
			</navigator> -->
		
		</view>
		<u-popup v-model="show" mode="center" border-radius="14" @close="show = false">
			<view class="model">
				<viwe class="main-right"><image src="https://t17.9026.com/web/statics/image/index/close.png" mode="" style="width: 25rpx;height: 24rpx;" @click="show=false"></image></viwe>
				<viwe class="title">建业·凯旋广场</viwe>
				<viwe class="main-left cross-center addr"><image src="https://t17.9026.com/web/statics/image/index/location.png" mode="" style="width: 18rpx;height: 20rpx;margin-right: 8rpx;"></image>
				成都市武侯区天府一街5号
				</viwe>
				<viwe class="img"><image class="img" src="https://t17.9026.com/web/statics/image/index/11.png" mode=""></image></viwe>
				<viwe class="desc t-omit-three">建业南湖壹号，建业集团第19年首部旅游度假社区，也将是河南省第一个真正意义上的度假地产项目。</viwe>
				<button type="default" class="btn">确认选择</button>
			</view>
		</u-popup>
	</view>
</template>

<script>
	import uPopup from '../../../components/basic-component/u-popup/u-popup.vue';
	export default {
		components:{
			uPopup
		},
		data() {
			return {
				show:false
			};
		}
	}
</script>

<style lang="scss" scoped>
	.model{
		width: 626rpx;
		height: 839rpx;
		background: #FFFFFF;
		border-radius: 14rpx;
		padding: 37rpx 49rpx;
		.title{
			font-size: 36rpx;
			font-weight: bold;
			color: #222222;
		}
		.addr{
			font-size: 22rpx;
			font-weight: 500;
			color: #999999;
			margin-top: 20rpx;
		}
		.img{
			width: 528rpx;
			height: 311rpx;
			border-radius: 14rpx;
			margin-top: 28rpx;
		}
		.desc{
			font-size: 26rpx;
			font-weight: 500;
			color: #222222;
			line-height: 36rpx;
			margin-top: 36rpx;
			max-height: 100rpx;
		}
		.btn{
			width: 525rpx;
			height: 85rpx;
			background: #A18353;
			border-radius: 6rpx;
			margin: 49rpx auto;
			font-size: 32rpx;
			font-weight: bold;
			color: #FFFFFF;
		}
	}
	.page{
		padding: 22rpx 0 0 0;
		min-height: 100vh;
	}
	.search{
		width: 680rpx;
		height: 82rpx;
		background: #FFFFFF;
		border: 1rpx solid #EEEEEE;
		border-radius: 4rpx;
		margin: 0 auto;
		padding-left: 22rpx;
		image{
			width: 22rpx;
			height: 22rpx;
			margin-right: 18rpx;
		}
	}
	.properties_list {
		background-color: #F8F8F8;

		.item {
			font-family: PingFang SC;
			margin: 25rpx auto;
			width: 678rpx;
			height: 206rpx;
			background: #FFFFFF;
			border-radius: 10rpx;
			// background-image: url(https://t17.9026.com/web/statics/image/sale/properties_gradual.png);
			padding: 25rpx;
			position: relative;

			.bg {
				position: absolute;
				top: 0;
				left: 0;
				width: 80%;
				height: 100%;
			}

			.left {
				image {
					width: 153rpx;
					height: 153rpx;
					border-radius: 10rpx;
				}
			}

			.right {
				margin-left: 25rpx;

				.title {
					font-size: 30rpx;

					font-weight: bold;
					color: #222222;
				}

				.addr {
					font-size: 22rpx;

					font-weight: 500;
					color: #222222;
				}

				.content {
					font-size: 24rpx;

					font-weight: 500;
					color: #666666;
					line-height: 34rpx;
				}
			}
		}

		.addPro {
			position: fixed;
			bottom: 0;
			width: 100%;
			height: 100rpx;
			background: #A18353;
			font-size: 32rpx;
			font-family: PingFang SC;
			font-weight: bold;
			color: #FFFFFF;
		}
	}
</style>
