pages.json 6.1 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 47
			"style": {
				"navigationStyle": "custom"
			}
		}, {
芊里 已提交
48
			"path": "pages/ucenter/about/about",
芊里 已提交
49
			"style": {
芊里 已提交
50 51
				"navigationBarTitleText": "关于"
					// #ifdef APP-PLUS
52 53
					,
				"app-plus": {
芊里 已提交
54 55 56 57 58 59
					"titleNView": {
						"buttons": [{
							"type": "share"
						}]
					}
				}
L
linju 已提交
60
				// #endif
芊里 已提交
61 62
			}

63
		},
DCloud_JSON's avatar
DCloud_JSON 已提交
64
		{
芊里 已提交
65 66 67 68 69 70 71 72 73 74 75 76 77 78
			"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

				}
			}
79
		}, {
DCloud_JSON's avatar
DCloud_JSON 已提交
80
			"path": "pages/uni-agree/uni-agree",
81 82
			"style": {
				"navigationStyle": "custom",
DCloud_JSON's avatar
DCloud_JSON 已提交
83 84 85
				"app-plus": {
					"popGesture": "none"
				}
86
			}
芊里 已提交
87
		}, {
芊里 已提交
88
			"path": "pages/ucenter/settings/settings",
芊里 已提交
89 90 91 92 93
			"style": {
				"navigationBarTitleText": "设置"
			}

		}, {
94
			"path": "pages/common/webview/webview",
芊里 已提交
95
			"style": {
96 97 98 99 100 101 102 103 104 105
				"navigationBarTitleText": "",
				"enablePullDownRefresh": false
			}

		},
		{
			"path": "pages/ucenter/read-news-log/read-news-log",
			"style": {
				"navigationBarTitleText": "阅读记录",
				"enablePullDownRefresh": true
芊里 已提交
106 107
			}
		}, {
108
			"path": "pages/ucenter/invite/invite",
芊里 已提交
109
			"style": {
110 111
				"navigationStyle": "custom",
				"enablePullDownRefresh": false
芊里 已提交
112
			}
113

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