-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpages.json
More file actions
130 lines (118 loc) · 4.03 KB
/
pages.json
File metadata and controls
130 lines (118 loc) · 4.03 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
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
{
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
// #ifndef MP
{
"path": "pages/init/init",
"style": {
"navigationStyle": "custom", //开启自定义导航栏 =>原因是 H5 页面本身没有小程序那样的顶部导航栏者一块,自定实现一个保持一致
"navigationBarBackgroundColor": "#efeeee",
"navigationBarTitleText": ""
}
},
//#endif
{
"path": "pages/tabBar/user/user",
"style": {
// #ifdef H5
"navigationStyle": "custom", //开启自定义导航栏 =>原因是 H5 页面本身没有小程序那样的顶部导航栏者一块,自定实现一个保持一致
// #endif
"navigationBarBackgroundColor": "#efeeee",
"navigationBarTitleText": ""
}
}, {
"path": "pages/tabBar/home/home",
"style": {
"navigationStyle": "custom", //开启自定义导航栏 =>原因是 H5 页面本身没有像小程序那样的顶部导航栏者一块,自定实现一个保持一致
"enablePullDownRefresh": false, //下拉刷新
"navigationBarTextStyle": "white"
}
}, {
"path": "pages/tabBar/follow/follow",
"style": {
// #ifdef H5
"navigationStyle": "custom", //开启自定义导航栏 =>原因是 H5 页面本身没有小程序那样的顶部导航栏者一块,自定实现一个保持一致
// #endif
"navigationBarTitleText": "",
"navigationBarBackgroundColor": "#efeeee",
"enablePullDownRefresh": false
}
}, {
"path": "pages/home-search/home-search",
"style": {
"navigationStyle": "custom", //开启自定义导航栏 =>原因是 H5 页面本身没有像小程序那样的顶部导航栏者一块,自定实现一个保持一致
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}, {
"path": "pages/news-detail/news-detail",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}, {
"path": "pages/user-article/user-article",
"style": {
// #ifdef H5
"navigationStyle": "custom", //开启自定义导航栏 =>原因是 H5 页面本身没有小程序那样的顶部导航栏者一块,自定实现一个保持一致
// #endif
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}, {
"path": "pages/feedback/feedback",
"style": {
// #ifdef H5
"navigationStyle": "custom", //开启自定义导航栏 =>原因是 H5 页面本身没有小程序那样的顶部导航栏者一块,自定实现一个保持一致
// #endif
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}
, {
"path": "pages/login-page/login-page",
"style": {
// #ifdef H5
"navigationStyle": "custom", //开启自定义导航栏 =>原因是 H5 页面本身没有小程序那样的顶部导航栏者一块,自定实现一个保持一致
// #endif
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}, {
"path": "pages/forget-password/forget-password",
"style": { // #ifdef H5
"navigationStyle": "custom", //开启自定义导航栏 =>原因是 H5 页面本身没有小程序那样的顶部导航栏者一块,自定实现一个保持一致
// #endif
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}
],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "news",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8"
},
"tabBar": {
"color": "#666",
"selectedColor": "#f07373",
"backgroundColor": "#FFFFFF",
"list": [{
"pagePath": "pages/tabBar/home/home",
"iconPath": "static/tabBar/home.png",
"selectedIconPath": "./static/tabBar/home-c.png",
"text": "首页"
}, {
"pagePath": "pages/tabBar/follow/follow",
"iconPath": "static/tabBar/focus.png",
"selectedIconPath": "./static/tabBar/focus-c.png",
"text": "关注"
}, {
"pagePath": "pages/tabBar/user/user",
"iconPath": "static/tabBar/user.png",
"selectedIconPath": "./static/tabBar/user-c.png",
"text": "我的"
}
]
}
}