<!-- 骨架屏 -->
<import src="./index.skeleton.wxml" />
<template is="skeleton" wx:if="{{loading}}" />
<Yl_HeadNav styleType="1" sort='{{content.sort}}' bindonSearch="onSearch" />
<view class="role" wx:if="{{userrole=='业务员'}}">
	<van-cell title-width='95' title="经销商/客户:" custom-class='cell' title-class='title-value' value-class='cell-value' is-link value="{{buttonText||'前去选择'}}" bindtap="selsectedRole" />
	<view style="height: 8rpx; background-color: #fff;" />
	<view wx:if="{{buttonText}}" class="clear" catchtap='onCleaRole'>
		<van-icon name="clear" />
	</view>
</view>
<!-- 领域列表 -->
<Tabs list="{{tradefieList}}" wx:if="{{tradefieList.length>1}}" box-class='brand-box' tab-class='brand-tab-class' active-class='brand-active-class' name='tradefield' bind:onChange="tradefieChange" />
<!-- 品牌列表 -->
<!-- <Tabs list="{{brandList}}" wx:if="{{brandList.length>1}}" box-class='brand-box' tab-class='brand-tab-class' active-class='brand-active-class' bind:onChange="brandChange" /> -->
<!-- 产品列表 -->
<Tabs wx:for="{{typeList}}" active="{{item.active}}" wx:key="{{index}}" rowIndex="{{index}}" list="{{item.list}}" bind:onChange="typeChange" name='itemclassname' box-class='brand-box' tab-class='brand-tab-class' active-class='brand-active-class' />
<view class="division" />
<Yl_ListBox id='ListBox' bind:getlist='getList'>
	<List list="{{list}}" sys_enterpriseid='{{sys_enterpriseid}}' />
	<view wx:if="{{userrole=='业务员'}}" style="height: 80rpx;" />
</Yl_ListBox>
<!-- 筛选条件 -->
<Yl_Filtrate id='Filtrate' list="{{filter}}" bind:handle="handleFilter" dateRange='{{false}}' />
<!-- 购物车按钮 -->
<Float wx:if="{{userrole!='业务员'}}" id="Float" pageType="{{istool==0?'Standard':'Tool'}}" />