<template>
	<view>
		<!-- 搜索栏 -->
		<u-sticky class="sticky_box" enable h5-nav-height="44" offset-top="88">
			<view class="sticky">
				<view class="city">
					长沙
				</view>
				<view class="search_btn">
					<u-search placeholder="请输入您要搜索的城市" v-model="keyword" @search="toSearch" @focus="toSearch"></u-search>
				</view>
			</view>
		</u-sticky>
		<view class="search_box">
			
		</view>
	</view>
</template>

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

<style lang="scss" scoped>
	/deep/ .u-sticky{
		display: flex;
		justify-content: center;
		.sticky{
			display: flex;
			align-items: center;
			.city{
				padding-right: 20rpx;
			}
		}
	}

</style>
