index.wxml 463 B

123456789
  1. <view id="{{name}}" class="i-class i-collapse-item ">
  2. <view class="i-collapse-item-title-wrap" bindtap="trigger">
  3. <i-icon size="16" type="enter" i-class="{{ showContent ? 'i-collapse-item-arrow-show' : 'i-collapse-item-arrow' }}"/>
  4. <text class="i-collapse-item-title i-class-title">{{title}}</text>
  5. </view>
  6. <view class="i-collapse-item-content {{showContent}} i-class-content">
  7. <slot name="content"></slot>
  8. </view>
  9. </view>