<template>
	<view class="good_search">
		<view class="search-box">
			<view class="goods__list-search">
				<u-search placeholder="搜索商品" v-model="keyword" @search="search" :showAction="false" shape="round"
					bgColor=" #F3F4F6" height="36"></u-search>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				keyword: ''
			};
		},
		methods: {
			search() {
				console.log(this.keyword);
			}
		}
	}
</script>

<style lang="scss" scoped>
	.search-box {
		height: 52px;
		width: 100%;
		background-color: #fff;
	}

	.goods__list-search {
		padding: 4px 12px 12px;
		background-color: #fff;
	}
</style>