acdr/ruoyi-vue-pro/yudao-ui/yudao-ui-mall-uniapp/sheep/ui/su-tabs-item/su-tabs-item.vue
2024-09-02 07:40:26 +08:00

27 lines
707 B
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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