<!--packageF/storeManagement/storeGoodsCatgory/storeGoodsCatgory.wxml-->

<view class="listData">
  <collapse active="{{ collapseActive1 }}" data-name="collapseActive1" bind:change="collapseActiveChange">
    <collapse-item wx:for="{{treeData}}" wx:for-item="item1" item="{{item1}}" name="{{item1.id}}" bindoperation="handOperation" level="1" >
      
      <collapse active="{{ collapseActive2 }}" data-name="collapseActive2" bind:change="collapseActiveChange"  wx:if="{{item1.has_many_children && item1.has_many_children.length}}">
        <collapse-item wx:for="{{item1.has_many_children}}" wx:for-item="item2" item="{{item2}}" name="{{item2.id}}" level="2" bindoperation="handOperation" >

          <collapse active="{{ collapseActive3 }}" data-name="collapseActive3" bind:change="collapseActiveChange"  wx:if="{{item2.has_many_children && item2.has_many_children.length}}">
            <collapse-item wx:for="{{item2.has_many_children}}" wx:for-item="item3" item="{{item3}}" name="{{item3.id}}" level="3" bindoperation="handOperation" >

            </collapse-item>
          </collapse>

        </collapse-item>
      </collapse>

    </collapse-item>
  </collapse>
</view>

<view class="addMore" bindtap="getData" wx:if="{{!finished}}">
  <text>点击加载更多</text>
  <i class="iconfont icon-member-bottom"></i>
</view>
<view class="addMore" wx:else style="color:#a0a0a0;">没有更多了</view>

<view class="bottom-btn" data-name="editGoodsCatgory" bindtap="gotoPage">
创建分类
</view>

<view class="seat"></view>



