<!--packageF/storeManagement/components/collapse/collapse-item.wxml-->

<view class="collapse">
    <view class="collapseItem {{(level==2 || level==3) ? 'child' : ''}}" bindtap="onClick">
      <view class="collapseItem-title">{{item.name}}</view>
      <view class="iconfont icon-more" catchtap="handOperation"></view>
      <i class="iconfont icon-member-bottom {{!flag ? 'next' : ''}}"></i>
    </view>
    <view style="height:0;" class="collapseWrapper" animation="{{ animation }}">
      <view class="collapseContent">
        <slot></slot>
      </view>
    </view>
  
  </view>



