pages.json 4.1 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 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 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153
  "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": "绑定手机号码"
      }
    },
    // #ifndef MP-WEIXIN
    {
      "path": "uni_modules/uni-id-pages/pages/userinfo/cropImage/cropImage",
      "style": {
        "navigationBarTitleText": ""
      }
    },
    // #endif
    {
      "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": "注册"
      }
    },
    // #ifndef MP-WEIXIN
    {
      "path": "uni_modules/uni-id-pages/pages/register/register-admin",
      "style": {
        "navigationBarTitleText": "注册管理员账号",
        "enablePullDownRefresh": false
      }
    },
    // #endif
    {
      "path": "uni_modules/uni-id-pages/pages/register/register-by-email",
      "style": {
        "navigationBarTitleText": "邮箱验证码注册"
      }
    },
    {
      "path": "uni_modules/uni-id-pages/pages/retrieve/retrieve",
      "style": {
        "navigationBarTitleText": "重置密码"
      }
    },
    {
      "path": "uni_modules/uni-id-pages/pages/retrieve/retrieve-by-email",
      "style": {
        "navigationBarTitleText": "通过邮箱重置密码"
      }
    },
    {
      "path": "uni_modules/uni-id-pages/pages/common/webview/webview",
      "style": {
        "navigationBarTitleText": "",
        "enablePullDownRefresh": false
      }
    },
    {
      "path": "uni_modules/uni-id-pages/pages/userinfo/change_pwd/change_pwd",
      "style": {
        "navigationBarTitleText": "修改密码",
        "enablePullDownRefresh": false
      }
    },
    {
      "path": "uni_modules/uni-id-pages/pages/userinfo/set-pwd/set-pwd",
      "style": {
        "navigationBarTitleText": "设置密码",
        "enablePullDownRefresh": false
      }
    },
    {
      "path": "uni_modules/uni-id-pages/pages/userinfo/realname-verify/realname-verify",
      "style": {
        "navigationBarTitleText": "实名认证",
        "enablePullDownRefresh": false
      }
    },
    {
      "path": "uni_modules/uni-id-pages/pages/userinfo/face-verify/face-verify",
      "style": {
        "navigationBarTitleText": "人脸识别验证",
        "enablePullDownRefresh": false
      }
    }
  ],
  "globalStyle": {
    "navigationBarTextStyle": "black",
    "navigationBarTitleText": "uni-app",
    "navigationBarBackgroundColor": "#FFF",
    "backgroundColor": "#F8F8F8"
    /* #ifdef H5 */,
    "navigationStyle": "custom"
    /* #endif */
  },
  "condition": {
    //模式配置,仅开发期间生效
    "current": 0,
    //当前激活的模式(list 的索引项)
    "list": [
      {
        "name": "",
        //模式名称
        "path": "",
        //启动页面,必选
        "query": ""
        //启动参数,在页面的onLoad函数里面得到
      }
    ]
  },
  "uniIdRouter": {
    "loginPage": "uni_modules/uni-id-pages/pages/login/login-withoutpwd",
    "needLogin": [
      "uni_modules/uni-id-pages/pages/userinfo/userinfo"
    ],
    "resToLogin": true
  }
154
}