pages.json 5.9 KB
Newer Older
芊里 已提交
1
{
2
	"pages": [{
芊里 已提交
3
			"path": "pages/list/list",
4 5 6
			"style": {
				// #ifndef APP-PLUS
				"enablePullDownRefresh": true,
7
				// #endif
8
				"navigationStyle": "custom"
9 10
			}
		},
芊里 已提交
11 12 13
		{
			"path": "pages/grid/grid",
			"style": {
14
				//#ifndef MP
芊里 已提交
15
				"navigationStyle": "custom"
芊里 已提交
16
				//#endif
芊里 已提交
17 18
			}
		}, {
芊里 已提交
19
			"path": "pages/list/search/search",
20 21
			"style": {
				"navigationBarTitleText": "搜索"
芊里 已提交
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
			}
		}, {
			"path": "pages/list/detail",
			"style": {
				"app-plus": {
					"titleNView": {
						"buttons": [{
							"type": "share"
						}],
						"type": "transparent"
					}
				},
				"h5": {
					"titleNView": {
						"type": "transparent"
					}
				},
				"navigationBarTitleText": "文章详情"
			}
DCloud_JSON's avatar
DCloud_JSON 已提交
41 42 43
		},
		{
			"path": "pages/ucenter/ucenter",
芊里 已提交
44 45 46
			"style": {
				"navigationStyle": "custom"
			}
study夏羽's avatar
study夏羽 已提交
47 48
		},
		{
study夏羽's avatar
study夏羽 已提交
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
			"path": "pages/uni-agree/uni-agree",
			"style": {
				"navigationStyle": "custom",
				"app-plus": {
					"popGesture": "none"
				}
			}
		}, {
			"path": "pages/ucenter/settings/settings",
			"style": {
				"navigationBarTitleText": "设置"
			}
		},
		{
			"path": "pages/ucenter/read-news-log/read-news-log",
			"style": {
				"navigationBarTitleText": "阅读记录",
				"enablePullDownRefresh": true
			}
		}
study夏羽's avatar
study夏羽 已提交
69
		// #ifndef MP-WEIXIN
study夏羽's avatar
study夏羽 已提交
70
		, {
芊里 已提交
71
			"path": "pages/ucenter/about/about",
芊里 已提交
72
			"style": {
study夏羽's avatar
study夏羽 已提交
73
				"navigationBarTitleText": "关于",
74
				"app-plus": {
芊里 已提交
75 76 77 78 79 80
					"titleNView": {
						"buttons": [{
							"type": "share"
						}]
					}
				}
芊里 已提交
81
			}
82
		},
DCloud_JSON's avatar
DCloud_JSON 已提交
83
		{
芊里 已提交
84 85 86 87 88 89 90 91 92 93 94 95 96 97
			"path": "uni_modules/uni-upgrade-center-app/pages/upgrade-popup",
			"style": {
				"disableScroll": true,
				"app-plus": {
					"backgroundColorTop": "transparent",
					"background": "transparent",
					"titleNView": false,
					"scrollIndicator": false,
					"popGesture": "none",
					"animationType": "fade-in",
					"animationDuration": 200

				}
			}
study夏羽's avatar
study夏羽 已提交
98
		},
study夏羽's avatar
study夏羽 已提交
99 100 101 102 103 104
		{
			"path": "pages/ucenter/invite/invite",
			"style": {
				"navigationStyle": "custom",
				"enablePullDownRefresh": false
			}
study夏羽's avatar
study夏羽 已提交
105
		}
study夏羽's avatar
study夏羽 已提交
106
		// #endif
A
Anne_LXM 已提交
107 108 109 110 111 112 113 114
	,{
    "path": "uni_modules/uni-id-pages/pages/userinfo/realname-verify/realname-verify",
    "style": {
        "enablePullDownRefresh": false,
        "navigationBarTitleText": "实名认证"
    }
}
],
study夏羽's avatar
study夏羽 已提交
115 116 117 118 119 120 121
	"subPackages": [{
			"root": "uni_modules/uni-feedback",
			"pages": [{
				"path": "pages/opendb-feedback/opendb-feedback",
				"style": {
					"navigationBarTitleText": "意见反馈",
					"enablePullDownRefresh": false
DCloud_JSON's avatar
DCloud_JSON 已提交
122
				}
study夏羽's avatar
study夏羽 已提交
123
			}]
study夏羽's avatar
study夏羽 已提交
124 125
		},
		{
126
			"root": "uni_modules/uni-id-pages/pages",
study夏羽's avatar
study夏羽 已提交
127
			"pages": [{
128
					"path": "userinfo/userinfo",
study夏羽's avatar
study夏羽 已提交
129 130 131 132 133
					"style": {
						"navigationBarTitleText": "个人资料"
					}
				},
				{
134
					"path": "login/login-withoutpwd"
study夏羽's avatar
study夏羽 已提交
135 136
				},
				{
137
					"path": "login/login-withpwd"
study夏羽's avatar
study夏羽 已提交
138 139
				},
				{
140
					"path": "userinfo/deactivate/deactivate",
study夏羽's avatar
study夏羽 已提交
141 142 143 144 145
					"style": {
						"navigationBarTitleText": "注销账号"
					}
				},
				{
146
					"path": "userinfo/bind-mobile/bind-mobile",
study夏羽's avatar
study夏羽 已提交
147 148 149 150 151
					"style": {
						"navigationBarTitleText": "绑定手机号码"
					}
				},
				{
152
					"path": "login/login-smscode",
study夏羽's avatar
study夏羽 已提交
153 154 155 156 157
					"style": {
						"navigationBarTitleText": "手机验证码登录"
					}
				},
				{
158
					"path": "register/register",
study夏羽's avatar
study夏羽 已提交
159 160 161 162 163
					"style": {
						"navigationBarTitleText": "注册"
					}
				},
				{
164
					"path": "retrieve/retrieve",
study夏羽's avatar
study夏羽 已提交
165 166 167 168
					"style": {
						"navigationBarTitleText": "重置密码"
					}
				}, {
169
					"path": "common/webview/webview",
study夏羽's avatar
study夏羽 已提交
170 171 172 173 174
					"style": {
						"enablePullDownRefresh": false,
						"navigationBarTitleText": ""
					}
				}, {
175
					"path": "userinfo/change_pwd/change_pwd",
study夏羽's avatar
study夏羽 已提交
176 177 178 179 180
					"style": {
						"enablePullDownRefresh": false,
						"navigationBarTitleText": "修改密码"
					}
				}, {
181
					"path": "register/register-by-email",
study夏羽's avatar
study夏羽 已提交
182 183 184 185
					"style": {
						"navigationBarTitleText": "邮箱验证码注册"
					}
				}, {
186
					"path": "retrieve/retrieve-by-email",
study夏羽's avatar
study夏羽 已提交
187 188 189 190 191
					"style": {
						"navigationBarTitleText": "通过邮箱重置密码"
					}
				},
				{
192
					"path": "userinfo/set-pwd/set-pwd",
study夏羽's avatar
study夏羽 已提交
193 194 195 196 197 198 199 200
					"style": {
						"enablePullDownRefresh": false,
						"navigationBarTitleText": "设置密码"
					}
				}
				// #ifdef H5
				,
				{
201
					"path": "userinfo/cropImage/cropImage"
study夏羽's avatar
study夏羽 已提交
202 203
				},
				{
204
					"path": "register/register-admin",
study夏羽's avatar
study夏羽 已提交
205 206 207 208 209 210 211 212 213
					"style": {
						"enablePullDownRefresh": false,
						"navigationBarTitleText": "注册管理员账号"
					}
				}
				// #endif
			]
		}
	],
214 215 216 217 218 219
	"globalStyle": {
		// #ifdef H5
		"h5": {
			"titleNView": false
		},
		// #endif
芊里 已提交
220
		"navigationBarTextStyle": "black",
221
		"navigationBarTitleText": "uni-starter",
芊里 已提交
222
		"navigationBarBackgroundColor": "#FFFFFF",
223
		"backgroundColor": "#F8F8F8",
224 225 226 227 228
		"enablePullDownRefresh": false,
		// "maxWidth":375,
		"rpxCalcMaxDeviceWidth": 375,
		"rpxCalcBaseDeviceWidth": 375
		// "rpxCalcIncludeWidth":0
芊里 已提交
229
	},
L
23  
linju 已提交
230
	"condition": {
DCloud_JSON's avatar
312  
DCloud_JSON 已提交
231
		"list": [{
232
				"path": "pages/list/list"
study夏羽's avatar
study夏羽 已提交
233 234
			}, {
				"path": "pages/list/detail"
芊里 已提交
235 236 237 238
			},
			{
				"path": "pages/ucenter/settings/settings"
			}
L
23  
linju 已提交
239
		],
study夏羽's avatar
study夏羽 已提交
240
		"current": 0
DCloud_JSON's avatar
312  
DCloud_JSON 已提交
241
	},
芊里 已提交
242 243 244 245
	"tabBar": {
		"color": "#7A7E83",
		"selectedColor": "#007AFF",
		"borderStyle": "black",
芊里 已提交
246
		"backgroundColor": "#FFFFFF",
芊里 已提交
247 248 249 250 251 252 253 254 255 256
		"list": [{
			"pagePath": "pages/list/list",
			"iconPath": "static/tabbar/list.png",
			"selectedIconPath": "static/tabbar/list_active.png",
			"text": "列表"
		}, {
			"pagePath": "pages/grid/grid",
			"iconPath": "static/tabbar/grid.png",
			"selectedIconPath": "static/tabbar/grid_active.png",
			"text": "宫格"
257
		}, {
芊里 已提交
258 259 260 261 262
			"pagePath": "pages/ucenter/ucenter",
			"iconPath": "static/tabbar/me.png",
			"selectedIconPath": "static/tabbar/me_active.png",
			"text": "我的"
		}]
263 264 265 266 267 268 269
	},
	"uniIdRouter": {
		"loginPage": "uni_modules/uni-id-pages/pages/login/login-withoutpwd",
		"needLogin": [
			"/uni_modules/uni-id-pages/pages/userinfo/userinfo"
		],
		"resToLogin": true
芊里 已提交
270
	}
271
}