xzs-mysql/source/wx/xzs-student/component/iView/tab-bar/index.wxml

6 lines
323 B
Plaintext
Raw Permalink Normal View History

2020-09-02 08:44:41 +08:00
<view class="i-class i-tab-bar {{ fixed ? 'i-tab-bar-fixed' : '' }}">
<slot></slot>
<view class="i-tab-bar-list">
<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>
</view>
</view>