<template>
	<view class="content">
		<view class="top_serch">
			<view class="example-body input_search">
				<uni-search-bar placeholder="请输入搜索内容" bgColor="#FFFFFF" @confirm="search" />			
			</view>
			<view class="filtrate">
				<image class="filtrate_img" src="../../static/image/icon-filtrate.png" mode="widthFix"></image>
			</view>
		</view>
		<view class="commodity_card">
			<uni-card class="card_view">
				<view class="card_title">模拟产品1</view>
				<view class="card_row1">规格型号：无</view>
				<view class="card_row1">产品编号：PRO1</view>
			</uni-card>
			<uni-card class="card_view">
				<view class="content-box-text card_title">模拟产品2</view>
				<view class="content-box-text card_row1">规格型号：无</view>
				<view class="content-box-text card_row1">产品编号：PRO1</view>
			</uni-card>
			<uni-card class="card_view">
				<view class="content-box-text card_title">模拟产品3</view>
				<view class="content-box-text card_row1">规格型号：无</view>
				<view class="content-box-text card_row1">产品编号：PRO1</view>
			</uni-card>
			<uni-card class="card_view">
				<view class="content-box-text card_title">模拟产品4</view>
				<view class="content-box-text card_row1">规格型号：无</view>
				<view class="content-box-text card_row1">产品编号：PRO1</view>
			</uni-card>
		</view>
		
	</view>
</template>

<script>
	import uniCard from '@/components/uni-card/uni-card.vue'
	export default {
		components: {
			uniCard
		}
	}
</script>

<style lang="scss">
	.content{
		.top_serch{
			background: #FFFFFF;
			width: 100%;
			display: flex;
			.input_search{
				width: 90%;
			}
			.filtrate{
				width: 10%;
				.filtrate_img{
					width: 60%;
					
					margin: 20%;
					margin-top: 36%;
				}
			}
		}
		.commodity_card{
			width: 100%;
			.card_view{										
				.card_title{
					font-size: 30rpx;
					font-weight: bold;
				}
				.card_row1{
					font-size: 26rpx;
				}
			}
		}
		
	}
</style>
