-
Notifications
You must be signed in to change notification settings - Fork 285
/
Copy patheros.native.js
executable file
·62 lines (62 loc) · 2.13 KB
/
eros.native.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
module.exports = {
'appName': 'eros-template-name',
'appBoard': '/config/index.js',
// android 监听全局事件homeBack 如果为true 安卓端需要自行调用router.finish方法来关闭应用
'androidIsListenHomeBack': 'true',
'customBundleUpdate': 'false',
'version': {
'android': 'eros-template-version',
'iOS': 'eros-template-version'
},
'page': {
'homePage': '/pages/demo/index.js',
'mediatorPage': '/mediator/index.js',
'navBarColor': '#1DA1F2',
'navItemColor': '#ffffff'
},
'url': {
'image': 'https://lev-inf.benmu-health.com/test/xxx',
'bundleUpdate': 'http://localhosts:3001/app/check'
},
'zipFolder': {
'iOS': '/ios/WeexEros/WeexEros',
'android': '/android/WeexFrameworkWrapper/app/src/main/assets'
},
'getui': {
'enabled': 'false',
'appId': '',
'appKey': '',
'appSecret': ''
},
'tabBar': {
'color': '#777777',
'selectedColor': '#00b4cb',
'backgroundColor': '#fafafa',
'borderColor': '#dfe1eb',
'list': [{
'pagePath': '/pages/demo/router/tabbarItem1.js',
'text': '首页',
'icon': 'bmlocal://assets/[email protected]',
'selectedIcon': 'bmlocal://assets/[email protected]',
'navShow': 'true',
'navTitle': "首页"
},
{
'pagePath': '/pages/demo/router/tabbarItem2.js',
'text': '联系人',
'icon': 'bmlocal://assets/[email protected]',
'selectedIcon': 'bmlocal://assets/[email protected]',
'navShow': 'true',
'navTitle': '联系人'
},
{
'pagePath': '/pages/demo/router/tabbarItem3.js',
'text': '个人中心',
'icon': 'bmlocal://assets/[email protected]',
'selectedIcon': 'bmlocal://assets/[email protected]',
'navShow': 'true',
'navTitle': '我'
}
]
}
}