pages.json 6.1 KB
Newer Older
DCloud_JSON's avatar
DCloud_JSON 已提交
1
{
2
	"pages": [{
DCloud_JSON's avatar
DCloud_JSON 已提交
3
			"path": "pages/list/list",
4 5 6
			"style": {
				// #ifndef APP-PLUS
				"enablePullDownRefresh": true,
DCloud_JSON's avatar
DCloud_JSON 已提交
7
				// #endif
8
				"navigationStyle": "custom"
DCloud_JSON's avatar
DCloud_JSON 已提交
9 10 11 12 13 14 15 16 17 18 19
			}
		},
		{
			"path": "pages/grid/grid",
			"style": {
				//#ifndef MP
				"navigationStyle": "custom"
				//#endif
			}
		}, {
			"path": "pages/list/search/search",
20 21
			"style": {
				"navigationBarTitleText": "搜索"
DCloud_JSON's avatar
DCloud_JSON 已提交
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
			}
		}, {
			"path": "pages/list/detail",
			"style": {
				"app-plus": {
					"titleNView": {
						"buttons": [{
							"type": "share"
						}],
						"type": "transparent"
					}
				},
				"h5": {
					"titleNView": {
						"type": "transparent"
					}
				},
				"navigationBarTitleText": "文章详情"
			}
		},
		{
			"path": "pages/ucenter/ucenter",
			"style": {
				"navigationStyle": "custom"
			}
		}, {
			"path": "pages/ucenter/about/about",
			"style": {
				"navigationBarTitleText": "关于"
					// #ifdef APP-PLUS
					,
				"app-plus": {
					"titleNView": {
						"buttons": [{
							"type": "share"
						}]
					}
				}
				// #endif
			}

		},
study夏羽's avatar
优化  
study夏羽 已提交
64
		// #ifdef APP-PLUS
DCloud_JSON's avatar
DCloud_JSON 已提交
65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
		{
			"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夏羽 已提交
80 81 82
		},
		// #endif
		{
DCloud_JSON's avatar
DCloud_JSON 已提交
83 84 85 86 87 88 89 90 91 92 93 94 95 96
			"path": "pages/uni-agree/uni-agree",
			"style": {
				"navigationStyle": "custom",
				"app-plus": {
					"popGesture": "none"
				}
			}
		}, {
			"path": "pages/ucenter/settings/settings",
			"style": {
				"navigationBarTitleText": "设置"
			}

		}, {
97
			"path": "pages/common/webview/webview",
DCloud_JSON's avatar
DCloud_JSON 已提交
98
			"style": {
99 100 101 102 103 104 105 106 107 108
				"navigationBarTitleText": "",
				"enablePullDownRefresh": false
			}

		},
		{
			"path": "pages/ucenter/read-news-log/read-news-log",
			"style": {
				"navigationBarTitleText": "阅读记录",
				"enablePullDownRefresh": true
DCloud_JSON's avatar
DCloud_JSON 已提交
109 110
			}
		}, {
111
			"path": "pages/ucenter/invite/invite",
DCloud_JSON's avatar
DCloud_JSON 已提交
112
			"style": {
113 114
				"navigationStyle": "custom",
				"enablePullDownRefresh": false
DCloud_JSON's avatar
DCloud_JSON 已提交
115
			}
116

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