tab-panel.wxml 272 B

123456789
  1. <wxs src="../common/utils.wxs" module="utils" />
  2. <view
  3. wx:if="{{!(destroyOnHide && hide)}}"
  4. class="{{classPrefix}} {{active ? prefix + '-is-active': ''}}"
  5. style="{{hide ? 'display:none;' :''}}"
  6. >
  7. <view wx:if="{{panel}}">{{panel}}</view>
  8. <slot wx:else />
  9. </view>