deguodaigou/utils/dist/tab/index.wxml
2019-12-23 14:13:27 +08:00

9 lines
243 B
Plaintext

<wxs src="../wxs/utils.wxs" module="utils" />
<view
class="custom-class {{ utils.bem('tab__pane', { active, inactive: !active }) }}"
style="{{ shouldShow ? '' : 'display: none;' }}"
>
<slot wx:if="{{ shouldRender }}" />
</view>