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.
huazhiyu/uni_modules/uview-ui/libs/config/props/tabs.js

33 lines
701 B

1 year ago
/*
* @Author : LQ
* @Description :
* @version : 1.0
* @Date : 2021-08-20 16:44:21
* @LastAuthor : LQ
* @lastTime : 2021-08-20 17:23:14
* @FilePath : /u-view2.0/uview-ui/libs/config/props/tabs.js
*/
export default {
//
tabs: {
duration: 300,
list: () => [],
lineColor: '#3c9cff',
activeStyle: () => ({
color: '#303133'
}),
inactiveStyle: () => ({
color: '#606266'
}),
lineWidth: 20,
lineHeight: 3,
lineBgSize: 'cover',
itemStyle: () => ({
height: '44px'
}),
scrollable: true,
current: 0,
keyName: 'name'
}
}