<template>
	<view class="content">
		<view class="top">
			<view class="inputBox">
				<img src="../../static/img/icon_search.png" alt="" class="searchImg">
				<input type="text" placeholder="请输入17位车架号查询" class="topInput">
				<image src="../../static/img/icon_camera.png" mode="" class="cameraImg"></image>
			</view>
		</view>
		<view class="history">
			<view class="historyTop">
				<view class="historyTopTxt">历史搜索</view>
				<image src="../../static/img/icon_delete.png" mode="" class="historyDelImg"></image>
			</view>
			<view v-for="(item,index) in 3" class="historyLIneBox">
				<view class="historyLIne" @click="gogroup">LF0HGCT23F0026063</view>
			</view>
				
			
			
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title: 'Hello'
			}
		},
		onLoad() {
           
		},
		methods: {
            gogroup(){
				uni.navigateTo({
					url:'group'
				})
			}
		}
	}
</script>

<style scoped>
	.top{
		height: 96rpx;
		border-bottom: 1px solid #EEEEEE;
		padding-top: 24rpx;
	}
	.searchImg{
		width: 40rpx;
		height: 40rpx;
		margin-top: 16rpx;
		margin-left: 20rpx;
	}
	.inputBox{
		width: 702rpx;
		height: 72rpx;
		background: #F4F5F7;
		border-radius: 36rpx;
		margin-left: 24rpx;
		display:flex;
		position: relative;
	}
	.topInput{
		font-size: 28rpx;
		height: 72rpx;
		line-height: 72rpx;
		padding-left: 16rpx;
		width: 500rpx;
	}
	.cameraImg{
		position: absolute;
		width: 40rpx;
		height: 40rpx;
		top: 16rpx;
		right: 20rpx;
	}
	.history{
		padding: 24rpx;
	}
	.historyTop{
		display: flex;
		justify-content: space-between;
	}
	.historyDelImg{
		width: 34rpx;height: 34rpx;
	}
	.historyTopTxt{
		font-size: 28rpx;
		font-weight: 400;
		color: #666666;
		line-height: 34rpx;
	}
	.historyLIne{
		color: #333333;font-size: 24rpx;
		height: 64rpx;
		background: #F4F5F7;
		border-radius: 32rpx;
		line-height: 64rpx;
		padding: 0 24rpx;
		margin-top: 20rpx;
	}
	.historyLIneBox{
		display: flex;
	}
</style>
