-
-
Notifications
You must be signed in to change notification settings - Fork 148
Expand file tree
/
Copy pathMainTabConfig.js
More file actions
40 lines (37 loc) · 969 Bytes
/
Copy pathMainTabConfig.js
File metadata and controls
40 lines (37 loc) · 969 Bytes
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
30
31
32
33
34
35
36
37
38
39
40
import {getIonFontPath} from './IconConfig'
import * as Config from './Config'
export default {
// 使用 iconFont 模式的tab title配置
tabIconFontTitles: [
{
title: '动态',
codePoint: '\ue684'
},
{
title: '推荐',
codePoint: '\ue818'
},
{
title: '我的',
codePoint: '\ue6d0',
//badge: 5
}
],
tabIconFontStyles: {
bgColor: '#fbfbfb',
titleColor: '#666666',
activeTitleColor: Config.primaryColor,
activeBgColor: '#fbfbfb',
isActiveTitleBold: true,
width: 160,
height: Config.mainTabBarHeight,
fontSize: 24,
textPaddingLeft: 10,
textPaddingRight: 10,
iconFontSize: 40,
iconFontMarginBottom: 8,
iconFontColor: '#AAAAAA',
activeIconFontColor: 'black',
iconFontUrl: getIonFontPath("../")
}
}