<template>
	<view style="padding-bottom: 205px;">
		<!-- 头部 -->
		
		<view class="top-box">
			<view class="top">
				<view class="">
					荆州市 <text class="iconfont" style="color: #bdbdbd;">&#xe62a;</text>
				</view>
				<u-search :show-action="false" placeholder="搜索站点名称"></u-search>
				<view class="">
					<text class="iconfont">&#xe622;</text> <text class="list">地图</text>
				</view>
			</view>
			<!-- 条件选项 -->
			<view class="condition">
				<view class="condition-distance">
					10公里<text class="iconfont"
						style="color: #bdbdbd;font-size: 24px;position: absolute;">&#xe62a;</text>
				</view>
				<view class="condition-type">
					直流快充<text class="iconfont"
						style="color: #bdbdbd;font-size: 24px;position: absolute;">&#xe62a;</text>
				</view>
				<view class="condition-screen">
					筛选<text class="iconfont" style="color: #bdbdbd;font-size: 24px;position: absolute;">&#xe62a;</text>
				</view>
		
			</view>
		</view>
		
	
		<view style="height: 88px;"></view>
		<view class="charing-slow">
			<text class="trickle-charge">慢充</text> <text class="station-items">荆沙大道救助站充电站</text>
			<view class="address">
				湖北省荆州市沙市区江津东路附155号
			</view>
			<view class="price">
				<view class="num">1.20</view>
				<view class="unit">
					 元/度 起
				</view>
			</view>
			<view class="park">
				<text class="park-p">p</text>
				<text class="park-text">以实际费用为准</text>
			</view>
			<view class="free">
				<view class="free-num">
					<text style="color:#009143;">空闲1</text>/总数5
				</view>
				<view class="distance">
					<text class="iconfont distance-font">&#xe615;</text>0.1公里 1分钟
				</view>
			</view>
		</view>
		<view class="charing-slow">
			<text class="fast-charge">快充</text> <text class="station-items">荆沙大道救助站充电站</text>
			<view class="address">
				湖北省荆州市沙市区江津东路附155号
			</view>
			<view class="price">
				<view class="num">1.25</view>
				<view class="unit">
					 元/度 起
				</view>
			</view>
			<view class="park">
				<text class="park-p">p</text>
				<text class="park-text">2小时免费停车</text>
			</view>
			<view class="free">
				<view class="free-num">
					<text style="color:#009143;">空闲10</text>/总数10
				</view>
				<view class="distance">
					<text class="iconfont distance-font">&#xe615;</text>1.2公里 3分钟
				</view>
			</view>
		</view>
		<view class="charing-slow">
			<text class="fast-slow">快/慢</text> <text class="station-items">荆鹏软件园充电站</text>
			<view class="address">
				湖北省荆州市沙市区江津东路附155号
			</view>
			<view class="price">
				<view class="num">1.25</view>
				<view class="unit">
					元/度 起
				</view>
			</view>
			<view class="park">
				<text class="park-p">p</text>
				<text class="park-text">2小时免费停车</text>
			</view>
			<view class="free">
				<view class="free-num">
					<text style="color:#009143;">空闲1</text>/总数5
				</view>
				<view class="distance">
					<text class="iconfont distance-font">&#xe615;</text>0.1公里 1分钟
				</view>
			</view>
		</view>
		<view class="charing-slow">
			<text class="fast-charge">快充</text> <text class="station-items">荆沙大道救助站充电站</text>
			<view class="address">
				湖北省荆州市沙市区荆沙大道15号
			</view>
			<view class="price">
				<view class="num">1.20</view>
				<view class="unit">
					元/度 起
				</view>
			</view>
			<view class="park">
				<text class="park-p">p</text>
				<text class="park-text">2小时免费停车</text>
			</view>
			<view class="free">
				<view class="free-num">
					<text style="color:#009143;">空闲10</text>/总数10
				</view>
				<view class="distance">
					<text class="iconfont distance-font">&#xe615;</text>1.2公里 3分钟
				</view>
			</view>
		</view>
		<u-divider margin-top="20" bg-color="#F2F4F4">已经到底了</u-divider>
		<u-tabbar v-model="current" :list="tabbarList" active-color="#009143"></u-tabbar>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				tabbarList: [{
						iconPath: "home-3-line",
						selectedIconPath: "home-3-fill",
						text: '主页 ',
						count: 0,
						isDot: true,
						customIcon: true,
					},
					{
						iconPath: "road-map-line",
						selectedIconPath: "road-map-fill",
						text: '找桩',
						midButton: true,
						customIcon: true,
					},
					{
						iconPath: "user-5-line",
						selectedIconPath: "user-5-fill",
						text: '我的',
						count: 0,
						isDot: false,
						customIcon: true,

					}
				],
				current: 0
			}
		}
	}
</script>

<style lang="scss" scoped>
	

	.top-box {
		width: 100%;
		height: 88px;
		position: fixed;
		top: 0;
		left: 0;
		z-index: 999;
	}
	
	.top {
		display: flex;
		justify-content: space-between;
		width: 100%;
		height: 44px;
		color: #666666;
		background-color: rgba(255, 255, 255, 100);
		padding: 12px 16px;
	
	
		.u-search[data-v-1a326067] {
			flex: 0.9;
		}
	
		.list {
			margin-left: 2px;
	
		}
	}
	
	.condition {
		width: 100%;
		height: 44px;
		line-height: 20px;
		padding: 12px 16px;
		display: flex;
	
		background-color: #fff;
	
		.condition-type {
			margin-left: 36px;
		}
	
		.condition-screen {
			margin-left: 159px;
		}
	}
	

	
	.charing-slow {
		background-color: #fff;
		margin: 0 12px;
		border-radius: 8px;
		padding: 10px 12px 0px;
		margin-top: 12px;
		.trickle-charge {
			display: inline-block;
			width: 44px;
			height: 20px;
			line-height: 20px;
			border-radius: 50px;
			background-color: rgba(0, 185, 98, 100);
			color: rgba(255, 255, 255, 100);
			font-size: 12px;
			text-align: center;
		}

		.fast-charge {
			display: inline-block;
			width: 44px;
			height: 20px;
			line-height: 20px;
			border-radius: 50px;
			background-color: #9d9fff;
			color: rgba(255, 255, 255, 100);
			font-size: 12px;
			text-align: center;
		}
		.fast-slow{
			display: inline-block;
			width: 44px;
			height: 20px;
			line-height: 20px;
			border-radius: 50px;
			background-color: #00bac8;
			color: rgba(255, 255, 255, 100);
			font-size: 12px;
			text-align: center;
		}

		.station-items {
			display: inline-block;
			height: 16px;
			line-height: 16px;
			font-size: 16px;
			margin-left: 4px;
			color: #101010;


		}

		.address {
			margin-top: 8px;
			line-height: 16px;
			font-size: 11px;
			color: rgba(119, 119, 119, 100);
		}

		.price {
			display: flex;
			height: 20px;
			margin-top: 8px;

			.num {
				height: 20px;
				color: rgba(255, 98, 0, 100);
				font-size: 20px;
				text-align: left;
				font-family: Roboto-medium;
			}

			.unit {
				height: 14px;
				line-height: 14px;
				color: rgba(102, 102, 102, 100);
				font-size: 14px;
				text-align: left;
				font-family: AlibabaPuHui-regular;
				margin-top: 6px;
				margin-left: 4px;
			}
		}

		.park {
			margin-top: 10px;
			display: flex;

			.park-p {
				display: inline-block;
				width: 20px;
				height: 18px;
				line-height: 12px;
				text-align: center;
				background-color: rgba(125, 177, 255, 100);
				color: #fff;
			}

			.park-text {
				display: inline-block;
				width: 300px;
				height: 17px;
				color: rgba(102, 102, 102, 100);
				font-size: 12px;
				text-align: left;
				margin-left: 4px;
				margin-top: 2px;
			}
		}

		.free {
			display: flex;
			justify-content: space-between;
			height: 52px;
			border-top: 1px solid rgba(238, 242, 240, 100);
			margin-top: 10px;

			.free-num {
				line-height: 52px;
				font-size: 14px
			}

			.distance {
				width: 130px;
				height: 28px;
				line-height: 28px;
				color: rgba(255, 255, 255, 100);
				font-size: 14px;
				background-color: #00b962;
				border-radius: 50px;
				margin: 12px;
				text-align: center;

				.distance-font {
					font-size: 16px
				}

			}
		}
	}
</style>
