-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpages.json
131 lines (131 loc) · 2.97 KB
/
pages.json
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
{
"tabBar": {
"color": "#000000",
"selectedColor": "#69cc64",
"borderStyle": "black",
"backgroundColor": "#ffffff",
"list": [{
"pagePath": "pages/index/index",
"iconPath": "static/tabbar/home.png",
"selectedIconPath": "static/tabbar/home-active.png",
"text": "首页"
}, {
"pagePath": "pages/score/index",
"iconPath": "static/tabbar/estimate.png",
"selectedIconPath": "static/tabbar/estimate-active.png",
"text": "饮食管家"
},
{
"pagePath": "pages/recommend/index",
"iconPath": "static/tabbar/recommend.png",
"selectedIconPath": "static/tabbar/recommend-active.png",
"text": "抗炎食物推荐"
},{
"pagePath": "pages/user/index",
"iconPath": "static/tabbar/user.png",
"selectedIconPath": "static/tabbar/user-active.png",
"text": "个人中心"
}]
},
"pages": [{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "首页"
}
},
{
"path": "pages/score/index",
"style": {
"navigationBarTitleText": "饮食管家"
}
},
{
"path": "pages/recommend/index",
"style": {
"navigationBarTitleText": "抗炎食物推荐"
}
},
{
"path": "pages/user/index",
"style": {
"navigationBarTitleText": "个人中心"
// "enablePullDownRefresh": true,
// "navigationStyle": "custom"
}
},
{
"path" : "pages/user/feedback/feedback",
"style" :
{
"navigationBarTitleText" : "评价与反馈",
"enablePullDownRefresh" : false
}
},
{
"path" : "pages/user/knowledge/knowledge",
"style" :
{
"navigationBarTitleText" : "营养知识栏目",
"enablePullDownRefresh" : false
}
},
{
"path" : "pages/user/knowledge/picPage",
"style" :
{
// "navigationBarTitleText" : "营养知识图片",
"enablePullDownRefresh" : false
}
},
{
"path" : "pages/recommend/question/question",
"style" :
{
"navigationBarTitleText" : "说明",
"enablePullDownRefresh" : false
}
},
{
"path" : "pages/index/record/record",
"style" :
{
"navigationBarTitleText" : "饮食记录",
"enablePullDownRefresh" : false
}
},
{
"path" : "pages/index/estimate/estimate",
"style" :
{
"navigationBarTitleText" : "我会估算",
"enablePullDownRefresh" : false
}
},
{
"path" : "pages/recommend/table/table",
"style" :
{
"navigationBarTitleText" : "食物分类表",
"enablePullDownRefresh" : false
}
}
],
"globalStyle": {
"navigationBarTextStyle": "white",
"navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#41a863",
"backgroundColor": "#ffffff",
"app-plus": {
"background": "#ffffff"
}
},
"easycom": {
"autoscan": true,
"custom": {
"^index-(.*)": "@/pages/$1/$1.vue", // 匹配pages目录内的index文件
"^vue-file-(.*)": "@/pages/$1/$1/$1.vue", // 匹配pages目录内的其他vue文件
"^uni-(.*)": "@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue",
"^my-module-(.*)": "@/uni_modules/uni-$1/components/uni-$1.vue"
}
}
}