tijiao
This commit is contained in:
1
unpackage/dist/dev/mp-weixin/pages/component/swiper/swiper.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/pages/component/swiper/swiper.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view><page-head vue-id="4a77bfdc-1" title="swiper,可滑动视图" bind:__l="__l"></page-head><view class="uni-margin-wrap"><swiper class="swiper" circular="{{true}}" indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}"><swiper-item><view class="swiper-item uni-bg-red">A</view></swiper-item><swiper-item><view class="swiper-item uni-bg-green">B</view></swiper-item><swiper-item><view class="swiper-item uni-bg-blue">C</view></swiper-item></swiper></view><view class="swiper-list"><view class="uni-list-cell uni-list-cell-pd"><view class="uni-list-cell-db">指示点</view><switch checked="{{indicatorDots}}" data-event-opts="{{[['change',[['changeIndicatorDots',['$event']]]]]}}" bindchange="__e"></switch></view><view class="uni-list-cell uni-list-cell-pd"><view class="uni-list-cell-db">自动播放</view><switch checked="{{autoplay}}" data-event-opts="{{[['change',[['changeAutoplay',['$event']]]]]}}" bindchange="__e"></switch></view></view><view class="uni-padding-wrap"><view class="uni-common-mt"><text>幻灯片切换时长(ms)</text><text class="info">{{duration}}</text></view><slider value="{{duration}}" min="500" max="2000" data-event-opts="{{[['change',[['durationChange',['$event']]]]]}}" bindchange="__e"></slider><view class="uni-common-mt"><text>自动播放间隔时长(ms)</text><text class="info">{{interval}}</text></view><slider value="{{interval}}" min="2000" max="10000" data-event-opts="{{[['change',[['intervalChange',['$event']]]]]}}" bindchange="__e"></slider></view></view>
|
||||
Reference in New Issue
Block a user