24 lines
830 B
Plaintext
24 lines
830 B
Plaintext
<view class="hall">
|
|
<van-tabs animated swipeable
|
|
color="#ffd23c"
|
|
id="tabs"
|
|
active="{{ active }}" bind:change="onChange">
|
|
<van-tab wx:for="{{ hall }}" title="{{ item.title }}" wx:key="type">
|
|
<view class="children_wrap van-hairline--top">
|
|
<view class="children_item {{ i == item.index ? 'active' : ''}}"
|
|
wx:for="{{ item.children }}"
|
|
wx:for-index="i"
|
|
wx:key="type"
|
|
wx:for-item="v" data-cid="{{ i }}"
|
|
bindtap="changeChildren">
|
|
{{ v.title }}
|
|
</view>
|
|
</view>
|
|
|
|
<item show-desc="{{ false }}"
|
|
search-list="{{ item.children[item.index].content }}">
|
|
</item>
|
|
|
|
</van-tab>
|
|
</van-tabs>
|
|
</view> |