1 changed files with 102 additions and 103 deletions
-
205pages.json
@ -1,105 +1,104 @@ |
|||||
{ |
{ |
||||
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages |
|
||||
// 我的 |
|
||||
{ |
|
||||
"path": "pages/home/user", |
|
||||
"style" : { |
|
||||
"navigationBarTitleText": "我的", |
|
||||
"enablePullDownRefresh": false |
|
||||
} |
|
||||
}, |
|
||||
{ |
|
||||
"path": "uni_modules/vrapile-im/pages/home/chatHome", |
|
||||
"style": { |
|
||||
"enablePullDownRefresh": false, |
|
||||
"navigationBarTitleText": "消息" |
|
||||
} |
|
||||
}, |
|
||||
{ |
|
||||
"path": "uni_modules/vrapile-im/pages/chat/chatFriend", |
|
||||
"style": { |
|
||||
"enablePullDownRefresh": true, |
|
||||
"navigationBarTitleText": "聊天" |
|
||||
} |
|
||||
} |
|
||||
], |
|
||||
"subPackages": [ |
|
||||
//用户 |
|
||||
{ |
|
||||
"root": "pages/user", |
|
||||
"pages": [ |
|
||||
{ |
|
||||
"path": "login", |
|
||||
"style": { |
|
||||
"navigationBarTitleText": "登录", |
|
||||
"enablePullDownRefresh": false |
|
||||
} |
|
||||
}, |
|
||||
{ |
|
||||
"path": "register", |
|
||||
"style": { |
|
||||
"navigationBarTitleText": "注册", |
|
||||
"enablePullDownRefresh": false |
|
||||
} |
|
||||
} |
|
||||
] |
|
||||
}, |
|
||||
//设置 |
|
||||
{ |
|
||||
"root": "pages/setting", |
|
||||
"pages": [ |
|
||||
{ |
|
||||
"path" : "about", |
|
||||
"style" : { |
|
||||
"navigationBarTitleText": "关于", |
|
||||
"enablePullDownRefresh": false |
|
||||
} |
|
||||
}, |
|
||||
{ |
|
||||
"path" : "contact", |
|
||||
"style" : { |
|
||||
"navigationBarTitleText": "联系我们", |
|
||||
"enablePullDownRefresh": false |
|
||||
} |
|
||||
}, |
|
||||
{ |
|
||||
"path" : "setting", |
|
||||
"style" : { |
|
||||
"navigationBarTitleText": "设置", |
|
||||
"enablePullDownRefresh": false |
|
||||
} |
|
||||
} |
|
||||
] |
|
||||
} |
|
||||
], |
|
||||
"globalStyle": { |
|
||||
"navigationBarTextStyle": "black", |
|
||||
"navigationBarTitleText": "IM", |
|
||||
"navigationBarBackgroundColor": "#FFFFFF", |
|
||||
"h5": { |
|
||||
"titleNView": false, |
|
||||
"maxWidth": 1190, |
|
||||
"navigationBarTextStyle": "black", |
|
||||
"navigationBarBackgroundColor": "#FFFFFF" |
|
||||
}, |
|
||||
"backgroundColor": "#F8F8F8" |
|
||||
}, |
|
||||
"tabBar": { |
|
||||
"selectedColor": "#0000ff", |
|
||||
"list": [ |
|
||||
{ |
|
||||
"pagePath": "uni_modules/vrapile-im/pages/home/chatHome", |
|
||||
"iconPath": "static/image/tabbar/chat.png", |
|
||||
"selectedIconPath": "static/image/tabbar/chat-fill.png", |
|
||||
"text": "消息" |
|
||||
}, |
|
||||
{ |
|
||||
"pagePath": "pages/home/user", |
|
||||
"iconPath": "static/image/tabbar/user.png", |
|
||||
"selectedIconPath": "static/image/tabbar/user-fill.png", |
|
||||
"text": "我的" |
|
||||
} |
|
||||
] |
|
||||
}, |
|
||||
"uniIdRouter": {} |
|
||||
|
"pages": [ |
||||
|
//用户 |
||||
|
{ |
||||
|
"path": "pages/home/user", |
||||
|
"style": { |
||||
|
"navigationBarTitleText": "我的", |
||||
|
"enablePullDownRefresh": false |
||||
|
} |
||||
|
}, |
||||
|
{ |
||||
|
"path" : "uni_modules/vrapile-im/pages/home/chatHome", |
||||
|
"style" : { |
||||
|
"navigationBarTitleText": "消息", |
||||
|
"enablePullDownRefresh": false |
||||
|
} |
||||
|
}, |
||||
|
{ |
||||
|
"path": "uni_modules/vrapile-im/pages/chat/chatFriend", |
||||
|
"style": { |
||||
|
"navigationBarTitleText": "聊天", |
||||
|
"enablePullDownRefresh": false |
||||
|
} |
||||
|
} |
||||
|
], |
||||
|
"subPackages": [ |
||||
|
//用户 |
||||
|
{ |
||||
|
"root": "pages/user", |
||||
|
"pages": [ |
||||
|
{ |
||||
|
"path": "login", |
||||
|
"style": { |
||||
|
"navigationBarTitleText": "登录", |
||||
|
"enablePullDownRefresh": false |
||||
|
} |
||||
|
}, |
||||
|
{ |
||||
|
"path": "register", |
||||
|
"style": { |
||||
|
"navigationBarTitleText": "注册", |
||||
|
"enablePullDownRefresh": false |
||||
|
} |
||||
|
} |
||||
|
] |
||||
|
}, |
||||
|
//设置 |
||||
|
{ |
||||
|
"root": "pages/setting", |
||||
|
"pages": [ |
||||
|
{ |
||||
|
"path" : "about", |
||||
|
"style" : { |
||||
|
"navigationBarTitleText": "关于", |
||||
|
"enablePullDownRefresh": false |
||||
|
} |
||||
|
}, |
||||
|
{ |
||||
|
"path" : "contact", |
||||
|
"style" : { |
||||
|
"navigationBarTitleText": "联系我们", |
||||
|
"enablePullDownRefresh": false |
||||
|
} |
||||
|
}, |
||||
|
{ |
||||
|
"path" : "setting", |
||||
|
"style" : { |
||||
|
"navigationBarTitleText": "设置", |
||||
|
"enablePullDownRefresh": false |
||||
|
} |
||||
|
} |
||||
|
] |
||||
|
} |
||||
|
], |
||||
|
"globalStyle": { |
||||
|
"navigationBarTextStyle": "black", |
||||
|
"navigationBarTitleText": "IM", |
||||
|
"navigationBarBackgroundColor": "#FFFFFF", |
||||
|
"h5": { |
||||
|
"titleNView": false, |
||||
|
"maxWidth": 1190, |
||||
|
"navigationBarTextStyle": "black", |
||||
|
"navigationBarBackgroundColor": "#FFFFFF" |
||||
|
}, |
||||
|
"backgroundColor": "#F8F8F8" |
||||
|
}, |
||||
|
"tabBar": { |
||||
|
"selectedColor": "#0000ff", |
||||
|
"list": [ |
||||
|
{ |
||||
|
"pagePath": "uni_modules/vrapile-im/pages/home/chatHome", |
||||
|
"iconPath": "static/image/tabbar/chat.png", |
||||
|
"selectedIconPath": "static/image/tabbar/chat-fill.png", |
||||
|
"text": "消息" |
||||
|
}, |
||||
|
{ |
||||
|
"pagePath": "pages/home/user", |
||||
|
"iconPath": "static/image/tabbar/user.png", |
||||
|
"selectedIconPath": "static/image/tabbar/user-fill.png", |
||||
|
"text": "我的" |
||||
|
} |
||||
|
] |
||||
|
} |
||||
} |
} |
||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue