洛阳学员端
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.

29 lines
689 B

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