<template>
	<view>
		<view class="search main-left cross-center">
			<image style="margin-right: 15rpx;" src="https://t17.9026.com/web/statics/image/sale/search_icon.png" mode=""></image><input type="text" placeholder-class="search_plh_class" placeholder="客户名、楼盘名">
		</view>
		<view class="list">
			<view class="main-between cross-center item" v-for="(item,index) in 5" @click="navCusmterInfo">
				<view class="main-left">
					<view>
						<image style="width: 94rpx;height: 94rpx;border-radius: 50%;margin-right: 26rpx;" src="https://t17.9026.com/web/statics/image/sale/1.png" mode=""></image>
					</view>
					<view class="main-between-y">
						<view class="name">周先生<image style="width: 96rpx; height: 32rpx;" src="https://t17.9026.com/web/statics/image/index/ysm.png" mode=""></image></view>
						<view class="addr">世龙广场 2号楼-2202</view>
					</view>
				</view>
				<image style="width: 13rpx;height: 21rpx;" src="https://t17.9026.com/web/statics/image/sale/arrow_right.png" mode=""></image>
			</view>
		</view>
		<navigator url="/pages/sale/cusmter/addCustomer" hover-class="navigator-hover">
			<button class="addPro" type="default">添加客户</button>
		</navigator>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		},
		methods:{
			navCusmterInfo(){
				uni.navigateTo({
					url:'/pages/sale/cusmter/info'
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.search{
		width: 678rpx;
		height: 77rpx;
		background: #F8F8F8;
		border-radius: 39rpx;
		margin: auto;
		padding: 0 43rpx;
		input{
			width: 100%;
		}
		image{
			width: 24rpx;
			height: 27rpx;
		}
	}
	/deep/.search_plh_class{
		font-size: 28rpx;
		font-family: PingFang SC;
		font-weight: 500;
		color: #999999;
	}
	.list{
		.item{
			background-color: #fff;
			height: 145rpx;
			width: 678rpx;
			margin: 0 auto;
			border-bottom: 1rpx solid #EEEEEE;
			.name{
				font-size: 32rpx;
				font-family: PingFang SC;
				font-weight: bold;
				color: #222222;
			}
			.addr{
				font-size: 24rpx;
				font-family: PingFang SC;
				font-weight: 500;
				color: #999999;
			}
		}
	}
	.addPro {
		position: fixed;
		bottom: 0;
		width: 100%;
		height: 100rpx;
		background: #A18353;
		font-size: 32rpx;
		font-family: PingFang SC;
		font-weight: bold;
		color: #FFFFFF;
	}
</style>
