mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-31 10:18:42 +08:00 
			
		
		
		
	uni-app引入使用uView
This commit is contained in:
		
							
								
								
									
										64
									
								
								yudao-ui-app/uni_modules/uview-ui/components/u-tabs/props.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										64
									
								
								yudao-ui-app/uni_modules/uview-ui/components/u-tabs/props.js
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,64 @@ | ||||
| export default { | ||||
|     props: { | ||||
|         // 滑块的移动过渡时间,单位ms | ||||
|         duration: { | ||||
|             type: Number, | ||||
|             default: uni.$u.props.tabs.duration | ||||
|         }, | ||||
|         // tabs标签数组 | ||||
|         list: { | ||||
|             type: Array, | ||||
|             default: uni.$u.props.tabs.list | ||||
|         }, | ||||
|         // 滑块颜色 | ||||
|         lineColor: { | ||||
|             type: String, | ||||
|             default: uni.$u.props.tabs.lineColor | ||||
|         }, | ||||
|         // 菜单选择中时的样式 | ||||
|         activeStyle: { | ||||
|             type: [String, Object], | ||||
|             default: uni.$u.props.tabs.activeStyle | ||||
|         }, | ||||
|         // 菜单非选中时的样式 | ||||
|         inactiveStyle: { | ||||
|             type: [String, Object], | ||||
|             default: uni.$u.props.tabs.inactiveStyle | ||||
|         }, | ||||
|         // 滑块长度 | ||||
|         lineWidth: { | ||||
|             type: [String, Number], | ||||
|             default: uni.$u.props.tabs.lineWidth | ||||
|         }, | ||||
|         // 滑块高度 | ||||
|         lineHeight: { | ||||
|             type: [String, Number], | ||||
|             default: uni.$u.props.tabs.lineHeight | ||||
|         }, | ||||
|         // 滑块背景显示大小,当滑块背景设置为图片时使用 | ||||
|         lineBgSize: { | ||||
|             type: String, | ||||
|             default: uni.$u.props.tabs.lineBgSize | ||||
|         }, | ||||
|         // 菜单item的样式 | ||||
|         itemStyle: { | ||||
|             type: [String, Object], | ||||
|             default: uni.$u.props.tabs.itemStyle | ||||
|         }, | ||||
|         // 菜单是否可滚动 | ||||
|         scrollable: { | ||||
|             type: Boolean, | ||||
|             default: uni.$u.props.tabs.scrollable | ||||
|         }, | ||||
| 		// 当前选中标签的索引 | ||||
| 		current: { | ||||
| 			type: [Number, String], | ||||
| 			default: uni.$u.props.tabs.current | ||||
| 		}, | ||||
| 		// 默认读取的键名 | ||||
| 		keyName: { | ||||
| 			type: String, | ||||
| 			default: uni.$u.props.tabs.keyName | ||||
| 		} | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 sfmind
					sfmind