| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
 | | <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> | 
 |