- <wxs src="../common/utils.wxs" module="utils" />
- <view
- wx:if="{{!(destroyOnHide && hide)}}"
- class="{{classPrefix}} {{active ? prefix + '-is-active': ''}}"
- style="{{hide ? 'display:none;' :''}}"
- >
- <view wx:if="{{panel}}">{{panel}}</view>
- <slot wx:else />
- </view>
|