-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathconfig.js
More file actions
48 lines (47 loc) · 1.27 KB
/
config.js
File metadata and controls
48 lines (47 loc) · 1.27 KB
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
const { resolve } = require('path')
const r = url => resolve(__dirname, url)
const assetsPath = resolve(process.cwd(), './mina')
module.exports = {
"json": {
"pages":[
"pages/index/index",
"pages/house/house",
"pages/deal/deal",
"pages/character/character",
"pages/shopping/shopping",
"pages/user/user"
],
"tabBar": {
"selectedColor": "#5aaca5",
"color": "#565656",
"list": [
{
"iconPath": "static/home.png",
"selectedIconPath": "static/home-selected.png",
"pagePath": "pages/index/index",
"text": "家族脸谱"
},
{
"iconPath": "static/shopping.png",
"selectedIconPath": "static/shopping-selected.png",
"pagePath": "pages/shopping/shopping",
"text": "冰火周边"
},
{
"iconPath": "static/user.png",
"selectedIconPath": "static/user-selected.png",
"pagePath": "pages/user/user",
"text": "我的账户"
}
]
}
},
"window":{
"backgroundTextStyle":"light",
"navigationBarBackgroundColor": "#fff",
"navigationBarTitleText": "权利的游戏",
"navigationBarTextStyle":"black"
},
"assetsPath": assetsPath,
"app": r('./app.js')
}