index.wxml 323 B

123456
  1. <view class="i-class i-tab-bar {{ fixed ? 'i-tab-bar-fixed' : '' }}">
  2. <slot></slot>
  3. <view class="i-tab-bar-list">
  4. <view class="i-tab-bar-layer" wx:for="{{ list }}" wx:key="{{ item.key }}" data-key="{{ item.key }}" bindtap="handleClickItem" style="width: {{ 100 / list.length }}%"></view>
  5. </view>
  6. </view>