-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpages.json
More file actions
45 lines (45 loc) · 1.26 KB
/
pages.json
File metadata and controls
45 lines (45 loc) · 1.26 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
{
//uviewF
"easycom": {
// 注意一定要放在custom里,否则无效,https://ask.dcloud.net.cn/question/131175
"custom": {
"^u-(.*)": "uview-plus/components/u-$1/u-$1.vue"
}
},
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/index/index",
"style": {
// "navigationBarTitleText": "TermDo",
"bounce": "none", //解决拉伸问题
"navigationStyle": "custom", // 隐藏系统导航栏
"navigationBarTextStyle": "black" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
//自定义图标按钮
// "titleNView": {
// "buttons": [{
// "text": "\ue6b3",
// "fontSrc": "/static/iconfont.ttf",
// "fontSize": "18",
// "float": "right"
// }]
// }
}
},
{
"path": "pages/init/init",
"style": {
"bounce": "none", //解决拉伸问题
"navigationStyle": "custom", // 隐藏系统导航栏
"navigationBarTextStyle": "white"
}
}
],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "TermDo",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8",
"pageOrientation": "portrait" //启动横屏
},
"uniIdRouter": {}
}