<!--component/bottomTabs/bottomTabs.wxml-->
<view class='bgc fixed-bottom0' style="background-image:url('/assets/imgs/7_1_0/bg.png')" wx:if="{{type == 1}}">
	<block wx:for="{{tabs}}" wx:key="{{index}}" wx:for-item="tab">
		<view
		 class="tab"
		 data-route="{{tab.route}}"
		 bindtap="handelToPage"
		>
			<image class='tab-img {{index != 2 ? "pdt":""}}' wx:if="{{currentRoute == tab.route}}" src='{{tab.active}}' />
			<image class='tab-img {{index != 2 ? "pdt":""}}' wx:else src='{{tab.inactive}}' />
		</view>
	</block>
</view>
<view class="bottom-tab fixed-bottom0" style="height: 108rpx;" wx:if="{{type == 2}}">
	<block wx:for="{{tabs}}" wx:key="{{index}}" wx:for-item="tab">
		<view class="tab" data-route="{{tab.route}}" bindtap="handelToPage">
			<image class='tab-img' wx:if="{{currentRoute == tab.route}}" src='{{tab.active}}' />
			<image class='tab-img' wx:else src='{{tab.inactive}}' />
		</view>
	</block>
</view>
