greenPro/unpackage/dist/dev/mp-weixin/pages/extUI/swiper-dot/swiper-dot.wxml

1 line
2.0 KiB
Plaintext

<view class="content"><uni-swiper-dot wx:if="{{e}}" u-s="{{['d']}}" class="uni-swiper-dot-box" bindclickItem="{{d}}" u-i="53602242-0" bind:__l="__l" u-p="{{e}}"><swiper class="swiper-box" bindchange="{{b}}" current="{{c}}"><swiper-item wx:for="{{a}}" wx:for-item="item" wx:key="c"><view class="{{['swiper-item', item.b]}}"><text style="color:#fff;font-size:32px">{{item.a}}</text></view></swiper-item></swiper></uni-swiper-dot><uni-section wx:if="{{p}}" u-s="{{['d']}}" u-i="53602242-1" bind:__l="__l" u-p="{{p}}"><view class="example-body"><view class="{{[f && 'active', 'example-body-item']}}" bindtap="{{g}}"><text class="example-body-item-text">default</text></view><view class="{{[h && 'active', 'example-body-item']}}" bindtap="{{i}}"><text class="example-body-item-text">dot</text></view><view class="{{[j && 'active', 'example-body-item']}}" bindtap="{{k}}"><text class="example-body-item-text">round</text></view><view class="{{[l && 'active', 'example-body-item']}}" bindtap="{{m}}"><text class="example-body-item-text">nav</text></view><view class="{{[n && 'active', 'example-body-item']}}" bindtap="{{o}}"><text class="example-body-item-text">indexes</text></view></view></uni-section><uni-section wx:if="{{v}}" u-s="{{['d']}}" u-i="53602242-2" bind:__l="__l" u-p="{{v}}"><view class="example-body"><block wx:if="{{q}}"><view wx:for="{{r}}" wx:for-item="item" wx:key="h" class="{{[item.g && 'active', 'example-body-item']}}" bindtap="{{item.i}}"><view style="{{'background-color:' + item.a + ';' + ('border:' + item.b)}}" class="example-body-dots"/><view style="{{'background-color:' + item.c + ';' + ('border:' + item.d)}}" class="example-body-dots"/><view style="{{'background-color:' + item.e + ';' + ('border:' + item.f)}}" class="example-body-dots"/></view></block><block wx:if="{{s}}"><view wx:for="{{t}}" wx:for-item="item" wx:key="c" class="{{[item.b && 'active', 'example-body-item']}}" style="{{'background-color:' + item.d}}" bindtap="{{item.e}}"><text class="example-body-item-text" style="{{'color:' + item.a}}">内容</text></view></block></view></uni-section></view>