index.wxml 186 Bytes
<wxs src="../wxs/utils.wxs" module="utils" />

<view
  wx:if="{{ shouldRender }}"
  class="custom-class {{ utils.bem('tab__pane', { active, inactive: !active }) }}"
>
  <slot />
</view>