<template>
	<view class="container">
		<u-search placeholder="请输入搜索内容" v-model="searchForm.keyword"></u-search>
	</view>
</template>

<script setup>
	import { ref } from 'vue'
	import { onLoad } from '@dcloudio/uni-app'
	
	const searchForm = ref({
		keyword: ''
	})
	
	onLoad(() => {
		uni.setTabBarBadge({ //显示数字  
			index: 1, //tabbar下标
			text: '999' //数字
		})
	})
</script>

<style lang="scss" scoped>
	.container {
		height: 100vh;
		width: 100vw;
		background-color: #f7f7f7;
		padding: 0 20px;
	}
</style>
