greenPro/unpackage/dist/dev/mp-weixin/pages/template/tabbar/tabbar.wxml

1 line
1017 B
Plaintext

<view class="tabs"><scroll-view id="tab-bar" class="scroll-h" scroll-x="{{true}}" show-scrollbar="{{false}}" scroll-into-view="{{b}}"><view wx:for="{{a}}" wx:for-item="tab" wx:key="c" class="uni-tab-item" id="{{tab.d}}" data-current="{{tab.e}}" bindtap="{{tab.f}}"><text class="{{['uni-tab-item-title', tab.b]}}">{{tab.a}}</text></view></scroll-view><view class="line-h"></view><swiper current="{{d}}" class="swiper-box" style="flex:1" duration="{{300}}" bindchange="{{e}}"><swiper-item wx:for="{{c}}" wx:for-item="tab" wx:key="e" class="swiper-item"><scroll-view class="scroll-v list" enableBackToTop="true" scroll-y bindscrolltolower="{{tab.d}}"><view wx:for="{{tab.a}}" wx:for-item="newsitem" wx:key="e"><media-item wx:if="{{newsitem.d}}" bindclose="{{newsitem.a}}" bindclick="{{newsitem.b}}" u-i="{{newsitem.c}}" bind:__l="__l" u-p="{{newsitem.d}}"></media-item></view><view wx:if="{{tab.b}}" class="loading-more"><text class="loading-more-text">{{tab.c}}</text></view></scroll-view></swiper-item></swiper></view>