<view class="search-w">
	<search-bar placeholder="请输入关键字" bind:search="search" bindtap="toSearch" />
</view>
<view class="tabs-w">
	<van-tabs active="{{ active }}" color="#17D2D2" line-width="20" bind:change="onChange" tab-class="tab" nav-class="nav" tab-active-class="active" border="{{false}}">
		<van-tab title="{{ tabs.name }}" wx:for="{{categoryList}}" wx:for-item="tabs" wx:key="index">
			<view class="goods-list">
				<view class="goods-item" bindtap="toDetail" data-goods_id="{{ item.goodsId }}" wx:for="{{ goodsList }}" wx:key="{{ index }}">
					<image class="goods-image" src="{{ item.listPicUrl }}"></image>
					<view class="goods-name">{{ item.name }}</view>
				</view>
			</view>
		</van-tab>
	</van-tabs>
</view>