TraceabilityAPP/node_modules/uview-plus/components/u-tabs-item/u-tabs-item.vue

32 lines
786 B
Vue
Raw Normal View History

2023-10-17 16:02:55 +08:00
<template>
<swiper-item>
<slot />
</swiper-item>
</template>
<script>
import props from './props.js';
import mpMixin from '../../libs/mixin/mpMixin.js';
import mixin from '../../libs/mixin/mixin.js';
/**
* TabsItem tabs标签组件的自组件
* @description tabs标签组件在标签多的时候可以配置为左右滑动标签少的时候可以禁止滑动 该组件的一个特点是配置为滚动模式时激活的tab会自动移动到组件的中间位置
* @tutorial https://ijry.github.io/uview-plus/components/tabs.html
* @property {type} prop_name
* @event {Function()}
* @example
*/
export default {
name: 'u-tabs-item',
mixins: [mpMixin, mixin, props],
data() {
return {
}
}
}
</script>
<style>
</style>