-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
71 lines (71 loc) · 2.16 KB
/
config.js
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
export default config = {
tabBarOptions: {
//当前选中的tab bar的文本颜色和图标颜色
activeTintColor: '#ed6560',
//当前未选中的tab bar的文本颜色和图标颜色
inactiveTintColor: '#cdcdcd',
//是否显示tab bar的图标,默认是false
showIcon: true,
//showLabel - 是否显示tab bar的文本,默认是true
showLabel: true,
//是否将文本转换为大小,默认是true
upperCaseLabel: false,
//material design中的波纹颜色(仅支持Android >= 5.0)
pressColor: '#788493',
//按下tab bar时的不透明度(仅支持iOS和Android < 5.0).
pressOpacity: 0.8,
//tab bar的样式
style: {
backgroundColor: '#fff',
paddingBottom: 1,
borderTopWidth: 0.2,
paddingTop: 1,
borderTopColor: '#ccc',
},
//tab bar的文本样式
labelStyle: {
fontSize: 11,
margin: 1
},
tabStyle: {
height: 45
},
//tab 页指示符的样式 (tab页下面的一条线).
indicatorStyle: {height: 0},
},
// proxy: 'http://188.131.233.116:3000',
proxy: 'http://localhost:3000',
socketServer: 'http://localhost:8088',
postTypes: ['测试', '类别1', '类别2'],
buttonStyles: ['#2463f6', '#67aa56', '#e0a051', '#bf4744'],
clockRepeat: ['永不','星期一','星期二','星期三','星期四','星期五','星期六','星期日'],
loginTitle: '唯愿贤明身后在,不悔须臾做先锋',
alarmTitle: '没有人是孤独的',
healthTitles: [
{
key: 'weight',
title: '体重',
unit: 'Kg',
},
{
key: 'sleep',
title: '睡眠',
unit: 'h',
},
{
key: 'hBloodPressure',
title: '收缩压',
unit: 'mmHg',
},
{
key: 'lBloodPressure',
title: '舒张压',
unit: 'mmHg',
},
{
key: 'pulse',
title: '脉搏',
unit: '次',
},
]
}