<!--packageE/tabcontrol/tabcontrol.wxml-->
<view class="component-wrapper">

  <template name="statistics">
    <statistics datas="{{remote_data}}"  component_id="{{component_id}}" U_homedata="{{U_homedata}}" index="{{index}}"></statistics>
  </template>

  <!--选项卡静态-->
  <view>
    <view class="ul html-box">
      <block wx:for="{{datas.list}}" wx:key="index">
        <view class="tab-item">
          <template wx:if="{{item.uikey =='C_statistics' && item}}" is="statistics"
                    data="{{...item,component_id,U_homedata,index}}"/>
        </view>
      </block>
    </view>

    <view wx:if="{{datas.list.length <=0 }}"
          style="text-align: center;font-size: 18px">
      请设置显示板块内容
    </view>

  </view>
</view>
