custom-swiper.axml 791 B

123456789101112131415161718192021222324
  1. <view class="am_swiper_box" onTap='tapHandler'>
  2. <view class="am_swiper_mask" a:if="{{catchTap}}" catchTap="catchTapHandler"></view>
  3. <swiper
  4. style='{{style}}'
  5. class="{{className}}"
  6. indicator-dots='{{indicatorDots}}'
  7. interval='{{interval}}'
  8. current='{{current}}'
  9. indicator-color='{{indicatorColor}}'
  10. indicator-active-color='{{indicatorActiveColor}}'
  11. autoplay='{{autoplay}}'
  12. circular='{{circular}}'
  13. previousMargin='{{previousMargin}}'
  14. nextMargin='{{nextMargin}}'
  15. vertical='{{vertical}}'
  16. duration='{{duration}}'
  17. onChange='changeHandler'
  18. onTransition='transitionHandler'
  19. onAnimationEnd='animationEndHandler'
  20. >
  21. <slot></slot>
  22. </swiper>
  23. </view>