tab-panel.wxml 283 B

12345678910
  1. <wxs src="../common/utils.wxs" module="utils" />
  2. <view
  3. class="{{classPrefix}} {{active ? prefix + '-is-active': ''}}"
  4. style="{{ customStyle }}; {{ hide ? 'display: none' : ''}}"
  5. id="{{id}}"
  6. aria-role="tabpanel"
  7. >
  8. <view wx:if="{{panel}}">{{panel}}</view>
  9. <slot />
  10. </view>