pages.json 8.6 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
{
  "pages": [
    {
      "path": "pages/index/index",
      "style": {
        "navigationBarTitleText": "",
        "enablePullDownRefresh": false
      }
    }
    // #ifndef MP-WEIXIN
    , {
      "path": "uni_modules/uni-im/pages/chat/chat",
      "style": {
        "navigationBarTitleText": "",
        "enablePullDownRefresh": false,
        "app-plus": {
          "titleNView": {
            "buttons": [{
              "color": "#333",
              "colorPressed": "#111111",
              "float": "right",
              "text": "...",
              "fontSize": 26,
              "onclick": "more"
            }]
          }
        }
      }
    }
    // #endif
  ],
  "subPackages": [
    {
      "root": "uni_modules/uni-im/pages",
      "pages": [{
          "path": "index/index",
          "style": {
           "navigationBarTitleText": "会话列表",
            "enablePullDownRefresh": false,
            "app-plus": {
              "titleNView": {
                "buttons": [{
                  "color": "#999999",
                  "colorPressed": "#111111",
                  "float": "right",
                  "text": "我的",
                  "fontSize": 14,
                  "onclick": "toLogin"
                }]
              }
            }
          }
        },{
          "path": "common/view-code-page/view-code-page",
          "style": {
            "navigationBarTitleText": "代码浏览",
            "enablePullDownRefresh": false
          }
        },
        {
          "path": "userList/userList",
          "style": {
            "navigationBarTitleText": "用户列表",
            "enablePullDownRefresh": true
          }
        },
        // #ifdef MP-WEIXIN
        {
          "path": "chat/chat",
          "style": {
            "navigationBarTitleText": "",
            "enablePullDownRefresh": false,
            "app-plus": {
              "titleNView": {
                "buttons": [{
                  "color": "#333",
                  "colorPressed": "#111111",
                  "float": "right",
                  "text": "...",
                  "fontSize": 26,
                  "onclick": "more"
                }]
              }
            }
          }
        },
        // #endif
        {
          "path": "common/video/video",
          "style": {
            "navigationBarTitleText": "",
            "enablePullDownRefresh": false,
            "navigationStyle": "custom"
          }
DCloud_JSON's avatar
DCloud_JSON 已提交
95

DCloud_JSON's avatar
DCloud_JSON 已提交
96 97 98 99 100 101 102
        },
        {
          "path": "group/info",
          "style": {
            "navigationBarTitleText": "群信息",
            "enablePullDownRefresh": false
          }
DCloud_JSON's avatar
DCloud_JSON 已提交
103

DCloud_JSON's avatar
DCloud_JSON 已提交
104 105 106 107 108 109
        }, {
          "path": "contacts/notification/notification",
          "style": {
            "navigationBarTitleText": "",
            "enablePullDownRefresh": false
          }
DCloud_JSON's avatar
DCloud_JSON 已提交
110

DCloud_JSON's avatar
DCloud_JSON 已提交
111 112 113 114 115 116
        }, {
          "path": "contacts/contacts",
          "style": {
            "navigationBarTitleText": "通讯录",
            "enablePullDownRefresh": false
          }
DCloud_JSON's avatar
DCloud_JSON 已提交
117

DCloud_JSON's avatar
DCloud_JSON 已提交
118 119 120 121 122 123
        }, {
          "path": "contacts/addPeopleGroups/addPeopleGroups",
          "style": {
            "navigationStyle": "custom",
            "enablePullDownRefresh": false
          }
DCloud_JSON's avatar
DCloud_JSON 已提交
124

DCloud_JSON's avatar
DCloud_JSON 已提交
125 126 127 128 129 130
        }, {
          "path": "contacts/createGroup/createGroup",
          "style": {
            "navigationBarTitleText": "创建群聊",
            "enablePullDownRefresh": false
          }
DCloud_JSON's avatar
DCloud_JSON 已提交
131

DCloud_JSON's avatar
DCloud_JSON 已提交
132 133 134 135 136 137
        }, {
          "path": "group/qrCode",
          "style": {
            "navigationBarTitleText": "群聊二维码",
            "enablePullDownRefresh": false
          }
DCloud_JSON's avatar
DCloud_JSON 已提交
138

DCloud_JSON's avatar
DCloud_JSON 已提交
139 140 141 142 143 144
        }, {
          "path": "contacts/groupList/groupList",
          "style": {
            "navigationBarTitleText": "我的群聊",
            "enablePullDownRefresh": false
          }
DCloud_JSON's avatar
DCloud_JSON 已提交
145

DCloud_JSON's avatar
DCloud_JSON 已提交
146 147 148 149 150 151
        }, {
          "path": "chat/info",
          "style": {
            "navigationBarTitleText": "聊天设置",
            "enablePullDownRefresh": false
          }
DCloud_JSON's avatar
DCloud_JSON 已提交
152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176
        },
        {
          "path" : "share-msg/share-msg",
          "style":{
            "enablePullDownRefresh": false,
            "navigationBarTitleText": "选择会话",
            "app-plus": {
              "titleNView": {
                "autoBackButton": false,
                "buttons": [{
                  "text": "取消",
                  "fontSize": 16,
                  "float": "left"
                },{
                  "text": "确定",
                  "fontSize": 16,
                  "float": "right",
                  "color": "#EEE",
                  "width": "100px"
                }]
              }
            }
          }
        },
        {
DCloud_JSON's avatar
DCloud_JSON 已提交
177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 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 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318
          "path": "group/members",
          "style": {
            "navigationBarTitleText": "群成员",
            "enablePullDownRefresh": false
          }
        }
      ]
    },
    {
      "root": "uni_modules/uni-id-pages/pages",
      "pages": [{
          "path": "userinfo/userinfo",
          "style": {
            "navigationBarTitleText": "个人资料"
          }
        },
        {
          "path": "login/login-withoutpwd"
        },
        {
          "path": "login/login-withpwd"
        },
        {
          "path": "userinfo/deactivate/deactivate",
          "style": {
            "navigationBarTitleText": "注销账号"
          }
        },
        {
          "path": "userinfo/bind-mobile/bind-mobile",
          "style": {
            "navigationBarTitleText": "绑定手机号码"
          }
        },
        {
          "path": "login/login-smscode",
          "style": {
            "navigationBarTitleText": "手机验证码登录"
          }
        },
        {
          "path": "register/register",
          "style": {
            "navigationBarTitleText": "注册"
          }
        },
        {
          "path": "retrieve/retrieve",
          "style": {
            "navigationBarTitleText": "重置密码"
          }
        }, {
          "path": "common/webview/webview",
          "style": {
            "enablePullDownRefresh": false,
            "navigationBarTitleText": ""
          }
        }, {
          "path": "userinfo/change_pwd/change_pwd",
          "style": {
            "enablePullDownRefresh": false,
            "navigationBarTitleText": "修改密码"
          }
        }, {
          "path": "register/register-by-email",
          "style": {
            "navigationBarTitleText": "邮箱验证码注册"
          }
        }, {
          "path": "retrieve/retrieve-by-email",
          "style": {
            "navigationBarTitleText": "通过邮箱重置密码"
          }
        },
        {
          "path": "userinfo/set-pwd/set-pwd",
          "style": {
            "enablePullDownRefresh": false,
            "navigationBarTitleText": "设置密码"
          }
        }
        // #ifdef H5
        ,
        {
          "path": "userinfo/cropImage/cropImage"
        },
        {
          "path": "register/register-admin",
          "style": {
            "enablePullDownRefresh": false,
            "navigationBarTitleText": "注册管理员账号"
          }
        }
        // #endif
      ]
    }
  ],
  // #ifndef MP-WEIXIN
  "tabBar": {
  	"color": "#999999",
  	"selectedColor": "#38BC48",
  	"borderStyle": "black",
  	"backgroundColor": "#FFFFFF",
  	"list": [{
  			"pagePath": "uni_modules/uni-im/pages/index/index",
  			"text": "会话",
  			"iconPath": "uni_modules/uni-im/static/tabbarIcon/chat.png",
  			"selectedIconPath": "uni_modules/uni-im/static/tabbarIcon/chatex.png"
  		},
  		{
  			"pagePath": "uni_modules/uni-im/pages/userList/userList",
  			"text": "用户列表",
  			"iconPath": "uni_modules/uni-im/static/tabbarIcon/contacts.png",
  			"selectedIconPath": "uni_modules/uni-im/static/tabbarIcon/contactsex.png"
  		},
  		{
  			"pagePath": "uni_modules/uni-im/pages/contacts/contacts",
  			"text": "通讯录",
  			"iconPath": "uni_modules/uni-im/static/tabbarIcon/contacts.png",
  			"selectedIconPath": "uni_modules/uni-im/static/tabbarIcon/contactsex.png"
  		}
  	]
  },
  // #endif
  "uniIdRouter": {
    "loginPage": "uni_modules/uni-id-pages/pages/login/login-withpwd",
    "needLogin": [
    	"uni_modules/uni-im/pages/userList/userList",
    	"uni_modules/uni-im/pages/contacts/contacts",
    	"pages/index/index"
    ]
  },
  "globalStyle": {
    "navigationBarTextStyle": "black",
    "navigationBarTitleText": "uni-im",
    "navigationBarBackgroundColor": "#F8F8F8",
    "backgroundColor": "#F8F8F8",
    "app-plus": {
      "bounce": "none"
    }
  }
}