<!-- 如果是自定义的话 -->
<view  class="main_bar {{is_custum?'custom':''}}" style=" background: {{backgroundColor}}; font-size: 22rpx;">
      <block wx:for="{{list}}" wx:for-index="idx"> 	  
				 <block wx:if="{{item.nav_name !== '分销' && item.weappurl != '/pages/distribution/distribution'}}">
					 <view data-url="{{item.weappurl}}" bindtap="nav_goto" class="tabbar_item" data-act="{{active==idx?1:0}}"
							style="color: {{active==idx?fontcolor_sele:fontcolor}};">
						<view class="{{item.specific ? 'tabbar_item_wrapper':''}}" style="background-color: {{item.specific ? item.button_background:'transparent'}};">
							 <view class="tab_img">
									<!-- <view wx:if="{{item.nav_name=='购物车' && cartGoodsNum != 0}}"  class="cart_num" >{{cartGoodsNum}}</view> -->
								 <view class="nav_imgage" style="background-image: url({{active==idx?item.src_sele:item.src}});"></view>
							 </view>
							 <view>{{item.nav_name}}</view>
						</view>
						 
					</view>
				</block>
				
				
				<!-- 是分销商且没有关闭，可以显示 -->
		    <block wx:if="{{(item.nav_name === '分销' || item.weappurl === '/pages/distribution/distribution') && !is_no_distri}}">
					<view data-url="{{item.weappurl}}" bindtap="nav_goto"  class="tabbar_item"  data-act="{{active==idx?1:0}}"
					   style="color: {{active==idx?fontcolor_sele:fontcolor}};">

							<view class="{{item.specific ? 'tabbar_item_wrapper':''}}" style="background-color: {{item.specific ? item.button_background:'transparent'}};">
								<view class="tab_img">
								 <view class="nav_imgage" style="background-image: url({{active==idx?item.src_sele:item.src}});"></view>
								</view>
								<view>{{item.nav_name}}</view>
							</view>
				      
				  </view>
			 </block>	 			
    </block>
</view >	



   