parent
bb6186f491
commit
e543836e4e
@ -0,0 +1,16 @@
|
||||
<view class="tabs">
|
||||
<view class="tabs_title">
|
||||
<view
|
||||
wx:for="{{tabs}}"
|
||||
wx:key="id"
|
||||
class="title_item {{item.isActive?'active':''}}"
|
||||
bindtap="handleItemTap"
|
||||
data-index="{{index}}">
|
||||
{{item.value}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="tabs_content">
|
||||
<!-- 插槽功能 -->
|
||||
<slot></slot>
|
||||
</view>
|
||||
</view>
|
Loading…
Reference in new issue