<template>
	<view>
		<!-- 搜索框 -->
		<view class="search">
		<u-icon name="arrow-left"size="36"></u-icon><u-search search-icon="none"></u-search>
		</view>
		<!-- 搜索历史 -->
		<view class="main">
			<view class="search-history">
				<view class="title">
					搜索历史
				</view>
				<view class="clear">
					清空历史
				</view>
			</view>
			<view class="history">
				<view class="item">
					荆州
				</view>
				<view class="item">
					铁路
				</view>
			</view>
			
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			
		}
	}
</script>

<style lang="scss" scoped>
	page{
		background-color: #fff;
	}
	// 搜索框
	.search{
		padding:12rpx 24rpx;
		display: flex;
		align-items: center;
		.u-icon--right{
			margin-right: 24rpx;
		}
		/deep/.u-content{
			border-radius: 8px !important;
		}
		/deep/.u-action{
			color: rgba(31, 74, 153, 1);
			font-size: 16px;
		}
	}
   // 搜索历史
   .main{
	   margin: 36rpx;
	   .search-history{
		   display: flex;
		   justify-content: space-between;
		   align-items: center;
		   .title{
			   color: #111111;
		   }
		   .clear{
			   color: rgba(31, 74, 153, 1);
			   font-size: 12px;
		   }
	   }
	   .history{
		   display: flex;
		   margin-top: 24rpx;
		   .item{
			   border-radius: 10px;
			   background-color: rgba(239, 240, 245, 1);
			   color: rgba(88, 88, 88, 1);
			   height: 33px;
			   line-height: 33px;
			   margin-right: 26rpx;
			   padding: 0 48rpx;
		   }
	   }
   }
</style>
