You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
789 B

4 months ago
  1. <template>
  2. <swiper-item>
  3. <slot />
  4. </swiper-item>
  5. </template>
  6. <script>
  7. import { props } from './props';
  8. import { mpMixin } from '../../libs/mixin/mpMixin';
  9. import { mixin } from '../../libs/mixin/mixin';
  10. /**
  11. * TabsItem tabs标签组件的自组件
  12. * @description tabs标签组件在标签多的时候可以配置为左右滑动标签少的时候可以禁止滑动 该组件的一个特点是配置为滚动模式时激活的tab会自动移动到组件的中间位置
  13. * @tutorial https://ijry.github.io/uview-plus/components/tabs.html
  14. * @property {type} prop_name
  15. * @event {Function()}
  16. * @example
  17. */
  18. export default {
  19. name: 'u-tabs-item',
  20. mixins: [mpMixin, mixin, props],
  21. data() {
  22. return {
  23. }
  24. }
  25. }
  26. </script>
  27. <style>
  28. </style>