<view class="microclassification">
	<view class="sticky-class">
		<view class="header">
			<view class="left"></view>
			<view class="search">
				<view class="searchion"><i class="iconfont iconfont icon-sousuo1"></i></view>
				<view class="textinp">
					<van-field value="{{commodityTitle}}" placeholder="搜索商品标题" clearable="true" bind:clear="commodityTitleClear" bind:blur="commodityTitleInp" />
				</view>
			</view>
			<view class="right" catchtap="searchBtn">搜索</view>
		</view>
		<view class="top">
			<view class="Classification">
				<view class="left">
					<van-tabs wx:if="{{catelist.length > 0}}" class="content" active="{{selected}}" bind:change="swishTabTItem" ellipsis="{{false}}" line-width="30px">
						<van-tab name="{{index}}" title="{{item.name}}" wx:for="{{catelist}}" wx:key="index">
						</van-tab>
					</van-tabs>
				</view>
				<view class="right" catchtap="classificationShow">
					<view class="imgicon" wx:if="{{classificationHide}}">
						<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/micro_communities/class_bottom@2x.png" mode='widthFix' />
					</view>
					<view class="imgicon" wx:else>
						<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/micro_communities/class_top@2x.png" mode='widthFix' />
					</view>
				</view>
			</view>
			<view class="cate-box">
				<view class="cate-child-box {{cateid == catelist[selected].id ? 'active-cate-child' : ''}}" catchtap="swishTabTItemChild" 
					data-id="{{catelist[selected].id}}" data-index="{{selected}}">全部</view>
				<view class="cate-child-box {{cateid == cateChild.id ? 'active-cate-child' : ''}}"
					catchtap="swishTabTItemChild" data-id="{{cateChild.id}}" data-index="{{selected}}" wx:for="{{catelist[selected].child}}" wx:for-item="cateChild">
					{{ cateChild.name }}
				</view>
			</view>
			<view class="all_classification {{classificationHide?'hide':''}}">
				<view class="bottom">
					<view class="ul">
						<view class="li"  wx:for="{{catelist}}" wx:key="index" catchtap="swishTabTItemChild" data-id="{{item.id}}" data-index="{{index}}">{{item.name}}</view>
					</view>
				</view>
			</view>
		</view>
	</view>
	<view class="sticky-placeholder"></view>

	<view class="list">
		<view class="video_list_content">
			<!-- <view class="video_list" wx:if="{{item&&item.length>0&&selected==index}}" wx:for="{{catelistData}}" wx:key="index">
				<Waterfalls_flow goodsData="{{item}}"></Waterfalls_flow>
				<view wx:if="{{item.length <= 0}}" class="blank">
					<image  src='https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/blank.png' mode='widthFix' />
				</view>
			</view> -->
			
			<!-- 修改部分 -->
			<view class="video_list" wx:if="showList">
				<Waterfalls_flow goodsData="{{goodsData}}" handleTag='{{handleTag}}' loading="{{!loading}}"></Waterfalls_flow>
			</view>
			<!-- 修改部分 -->

		</view>
	</view>
	<view class="all_classificationmode {{classificationHide?'hide':''}}" catchtap="classificationHideBtn"></view>
</view>
