<!--table-->
<block wx:if="{{data.tag === 'table'}}">
    <view class="h2w__tableParent">
        <view class="h2w__table {{data.attrs.class || ''}}" width="{{data.attrs.width}}" style="{{data.attrs.style}}">
            <!--thead、tbody、tfoot-->
            <block wx:if="{{data.children}}" wx:for="{{data.children}}" wx:for-item="item" wx:key="i">
                <view wx:if="{{item.tag}}" class="{{item.attrs.class || ''}}">
                    <!--tr-->
                    <block wx:if="{{item.children}}" wx:for="{{item.children}}" wx:for-item="trItem" wx:key="i">
                        <view wx:if="{{trItem.tag}}" class="{{trItem.attrs.class || ''}}">
                            <!--td/th-->
                            <block wx:if="{{trItem.children}}" wx:for="{{trItem.children}}" wx:for-item="tdItem" wx:key="i">
                                <view wx:if="{{tdItem.tag}}" class="{{tdItem.attrs.class || ''}}" style="{{tdItem.attrs.style || ''}}">
                                    <!--content-->
                                    <decode wx:if="{{tdItem.children}}" nodes="{{tdItem}}"/>
                                </view>
                            </block>
                        </view>
                    </block>
                </view>
            </block>
        </view>
    </view>
</block>