pages.json 2.7 KB
Newer Older
DCloud_JSON's avatar
DCloud_JSON 已提交
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
{
	"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
		{
			"path": "pages/index/index",
			"style": {
				"navigationBarTitleText": "uni-app"
			}
		},
		{
			"path": "uni_modules/uni-id-pages/pages/userinfo/deactivate/deactivate",
			"style": {
				"navigationBarTitleText": "注销账号"
			}
		},
		{
			"path": "uni_modules/uni-id-pages/pages/userinfo/userinfo",
			"style": {
				"navigationBarTitleText": "个人资料"
			}
		},
		{
			"path": "uni_modules/uni-id-pages/pages/userinfo/bind-mobile/bind-mobile",
			"style": {
				"navigationBarTitleText": "绑定手机号码"
			}
		},
		{
			"path": "uni_modules/uni-id-pages/pages/userinfo/cropImage/cropImage",
			"style": {
				"navigationBarTitleText": ""
			}
		},
		{
			"path": "uni_modules/uni-id-pages/pages/login/login-withoutpwd",
			"style": {
				"navigationBarTitleText": ""
			}
		},
		{
			"path": "uni_modules/uni-id-pages/pages/login/login-withpwd",
			"style": {
				"navigationBarTitleText": ""
			}
		},
		{
			"path": "uni_modules/uni-id-pages/pages/login/login-smscode",
			"style": {
				"navigationBarTitleText": "手机验证码登录"
			}
		},
		{
			"path": "uni_modules/uni-id-pages/pages/register/register",
			"style": {
				"navigationBarTitleText": "注册"
			}
		},
		{
			"path": "uni_modules/uni-id-pages/pages/retrieve/retrieve",
			"style": {
				"navigationBarTitleText": "重置密码"
			}
		}, {
			"path": "uni_modules/uni-id-pages/pages/common/webview/webview",
			"style": {
				"navigationBarTitleText": "",
				"enablePullDownRefresh": false
			}
		}
DCloud_JSON's avatar
DCloud_JSON 已提交
69 70 71 72 73 74 75 76 77 78
	    ,{
            "path" : "uni_modules/uni-id-pages/pages/userinfo/change_pwd/change_pwd",
            "style" :                                                                                    
            {
                "navigationBarTitleText": "修改密码",
                "enablePullDownRefresh": false
            }
            
        }
    ],
DCloud_JSON's avatar
DCloud_JSON 已提交
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93
	"globalStyle": {
		"navigationBarTextStyle": "black",
		"navigationBarTitleText": "uni-app",
		"navigationBarBackgroundColor": "#FFF",
		"backgroundColor": "#F8F8F8"
	},
	"condition" : { //模式配置,仅开发期间生效
		"current": 0, //当前激活的模式(list 的索引项)
		"list": [
			{
				"name": "", //模式名称
				"path": "", //启动页面,必选
				"query": "" //启动参数,在页面的onLoad函数里面得到
			}
		]
DCloud_JSON's avatar
DCloud_JSON 已提交
94 95 96
	}
	, "uniIdRouter": {
		"loginPage": "uni_modules/uni-id-pages/pages/login/login-withoutpwd",
DCloud_JSON's avatar
DCloud_JSON 已提交
97 98 99 100 101 102
		"needLogin": [
			"uni_modules/uni-id-pages/pages/userinfo/userinfo"
		],
		"resToLogin": true
	}
}