- <wxs src="../common/utils.wxs" module="utils" />
- <view
- class="{{classPrefix}} {{active ? prefix + '-is-active': ''}}"
- style="{{ customStyle }}; {{ hide ? 'display: none' : ''}}"
- id="{{id}}"
- aria-role="tabpanel"
- >
- <view wx:if="{{panel}}">{{panel}}</view>
- <slot />
- </view>
|