custom-swiper.axml 832 B

12345678910111213141516171819202122232425
  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. disable-touch="{{disableTouch}}"
  18. onChange='changeHandler'
  19. onTransition='transitionHandler'
  20. onAnimationEnd='animationEndHandler'
  21. >
  22. <slot></slot>
  23. </swiper>
  24. </view>