<!--package_C/component/table/table.wxml-->
<view class="table_container">
    <view class="table_title">
        <text class="table_item" style="width:{{item.width}}" wx:for="{{columns}}" wx:key="index">{{item.title}}</text>
    </view>
    <view class="table_data">
        <view style="background: {{ index%2 == 1 ? '#F5F7F9' : '#fff' }}" class="data_item" wx:for="{{data}}" wx:key="index">
            <view class="table_item" style="width: {{columns[0].width}}">{{item.name}}</view>
            <view class="table_item" style="width: {{columns[1].width}}">{{item.y}}/{{item.countQu || item.sumqu}}</view>
            <view class="table_item" style="width: {{columns[2].width}}">{{item.a}}</view>
            <view class="table_item" style="width: {{columns[3].width}}">{{item.b}}</view>
            <view class="table_item" style="width: {{columns[4].width}}">{{item.c}}</view>
            <view class="table_item" style="width: {{columns[5].width}}">{{item.d}}</view>
        </view>
    </view>
</view>
