<wxs src="../wxs/utils.wxs" module="utils" />

<view
  class="{{ utils.bem('tabbar', { border }) }} {{ utils.bem('tabbar', { fixed, safe: safeAreaInsetBottom }) }} custom-class"
  style="{{ zIndex ? 'z-index: ' + zIndex : '' }}"
>
  <slot name="left" />
  <slot />
  <slot name="right" />
</view>

<view wx:if="{{ fixed && placeholder }}" style="height: {{ height }}px;"></view>
