<!--subPackage/page/pages/categoryPro/categoryPro.wxml-->
<view class="page-category-pro">
	<view class="pro-nav-wrap">
		<view class="nav-list">
      <block wx:for="{{navTab}}" wx:key="{{index}}">
			  <view class="nav-item {{currentTab == item.type ? 'nav-active' : ''}}" bindtap="switchTab" data-type="{{item.type}}">{{item.name}}
        <!-- <image mode="widthFix" src="{{}}"></image> -->
        </view>
      </block>
		</view>
		<view class="pro-style" bindtap="switchProStyle">
			<image mode="widthFix" src="{{!proStyle ? '/assets/imgs/7_1_0/category-style-01.png' : '/assets/imgs/7_1_0/category-style-02.png'}}" />
		</view>
	</view>
	<product-list-style-one image-data="{{proData}}" wx:if="{{!proStyle}}" />

	<product-list-style-two image-data="{{proData}}" wx:if="{{proStyle}}" />

	<view class="empty" wx:if="{{proData.length < 1}}">
		暂无商品哦~
	</view>
	<!--goHome-->
	<go-home/>
</view>

