1 Star 0 Fork 678

晓奶锅/im-uniapp

forked from 考拉开源/im-uniapp 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
pages.json 18.00 KB
一键复制 编辑 原始数据 按行查看 历史
考拉 提交于 2022-04-21 15:31 . 初始化代码
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755
{
"pages": [
// {
// "path": "wx/tabbar1/index",
// "name": "wxtabbar1",
// "aliasPath": "/wxtabbar1",
// "requireAuth": true,
// "style": {
// "navigationBarTitleText": "消息",
// "app-plus": {
// "titleNView": {
// "buttons": [{
// "text": "\ue657",
// "fontSrc": "/static/wx_iconfont.ttf",
// "fontSize": "28px"
// }, {
// "text": "\ue636",
// "fontSrc": "/static/wx_iconfont.ttf",
// "fontSize": "26px"
// }]
// }
// }
// }
// },
{
"path": "pages/wxindex/index",
"name": "wxindex",
"aliasPath": "/wxindex",
"requireAuth": true,
"style": {
"navigationBarTitleText": "微信首页",
"navigationStyle": "custom"
}
}, {
"path": "pages/agreement/index",
"name": "agreement",
"aliasPath": "/agreement",
"requireAuth": true,
"style": {
"navigationBarTitleText": "隐私及服务协议",
"navigationBarBackgroundColor": "#ffffff",
"navigationBarTextStyle": "black"
}
}],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8",
"app-plus": {
"background": "#efeff4"
}
},
"tabBar": { //底部
"color": "#999999",
"selectedColor": "#09C160",
"borderStyle": "black",
"backgroundColor": "#ffffff",
"list": [{
"pagePath": "wx/tabbar1/index",
"iconPath": "static/wx/n0.png",
"selectedIconPath": "static/wx/n0_on.png",
"text": "消息"
},
{
"pagePath": "wx/tabbar2/index",
"iconPath": "static/wx/n01.png",
"selectedIconPath": "static/wx/n01_on.png",
"text": "通讯录"
},
{
"pagePath": "wx/tabbar3/index",
"iconPath": "static/wx/n02.png",
"selectedIconPath": "static/wx/n02_on.png",
"text": "发现"
},
{
"pagePath": "wx/tabbar4/index",
"iconPath": "static/wx/n03.png",
"selectedIconPath": "static/wx/n03_on.png",
"text": "我"
}
]
},
"subPackages": [ //分包,微信小程序单包最大2M
{
"root": "wx",
"pages": [{
"path": "login/index",
"name": "wxlogin",
"aliasPath": "/wxlogin",
"requireAuth": false,
"style": {
"navigationBarTitleText": "登录"
}
}, {
"path": "register/index",
"name": "wxregister",
"aliasPath": "/wxregister",
"requireAuth": false,
"style": {
"navigationBarTitleText": "注册"
}
}, {
"path": "forgetPass/index",
"name": "wxforgetPass",
"aliasPath": "/wxforgetPass",
"requireAuth": false,
"style": {
"navigationBarTitleText": "忘记密码"
}
}, {
"path": "chatWindow/index",
"name": "wxchatWindow",
"aliasPath": "/wxchatWindow",
"requireAuth": true,
"style": {
"navigationBarTitleText": "聊天窗口",
"app-plus": {
"titleNView": {
"buttons": [{
"text": "\ue623",
"fontSrc": "/static/wx_iconfont.ttf",
"fontSize": "28px"
}]
}
}
}
}
, {
"path": "tabbar1/index",
"name": "wxtabbar1",
"aliasPath": "/wxtabbar1",
"requireAuth": true,
"style": {
"navigationBarTitleText": "消息",
"app-plus": {
"titleNView": {
"buttons": [{
"text": "\ue657",
"fontSrc": "/static/wx_iconfont.ttf",
"fontSize": "28px"
}, {
"text": "\ue636",
"fontSrc": "/static/wx_iconfont.ttf",
"fontSize": "26px"
}]
}
}
}
}
, {
"path": "tabbar2/index",
"name": "wxtabbar2",
"aliasPath": "/wxtabbar2",
"requireAuth": true,
"style": {
"navigationBarTitleText": "通讯录",
"app-plus": {
"titleNView": {
"buttons": [{
"text": "\ue657",
"fontSrc": "/static/wx_iconfont.ttf",
"fontSize": "28px"
}, {
"text": "\ue636",
"fontSrc": "/static/wx_iconfont.ttf",
"fontSize": "26px"
}]
}
}
}
}, {
"path": "tabbar3/index",
"name": "wxtabbar3",
"aliasPath": "/wxtabbar3",
"requireAuth": true,
"style": {
"navigationBarTitleText": "发现",
"app-plus": {
"titleNView": {
"buttons": [{
"text": "\ue657",
"fontSrc": "/static/wx_iconfont.ttf",
"fontSize": "28px"
}, {
"text": "\ue636",
"fontSrc": "/static/wx_iconfont.ttf",
"fontSize": "26px"
}]
}
}
}
}, {
"path": "tabbar4/index",
"name": "wxtabbar4",
"aliasPath": "/wxtabbar4",
"requireAuth": true,
"style": {
"navigationBarTitleText": "我",
"navigationBarBackgroundColor": "#ffffff"
}
}, {
"path": "group/createGroup",
"name": "wxcreateGroup",
"aliasPath": "/wxcreateGroup",
"requireAuth": true,
"style": {
"navigationBarTitleText": "发起群聊"
}
}, {
"path": "shake/index",
"name": "wxshake",
"aliasPath": "/wxshake",
"requireAuth": true,
"style": {
"navigationBarTitleText": "摇一摇",
"navigationBarBackgroundColor":"#212121",
"navigationBarTextStyle":"white"
}
}, {
"path": "nearby/index",
"name": "wxnearby",
"aliasPath": "/wxnearby",
"requireAuth": true,
"style": {
"navigationBarTitleText": "附近的人",
"app-plus": {
"titleNView": {
"buttons": [{
"text": "\ue623",
"fontSrc": "/static/wx_iconfont.ttf",
"fontSize": "28px"
}]
}
}
}
}, {
"path": "friendsCircle/msglist",
"name": "wxfriendsCirclemsglist",
"aliasPath": "/wxfriendsCirclemsglist",
"requireAuth": true,
"style": {
"navigationBarTitleText": "消息",
"app-plus": {
"titleNView": {
"buttons": [{
"text": "清空",
"fontSize": "16px",
"width":"44px",
"fontWeight":"bold"
}]
}
}
}
}, {
"path": "system/index",
"name": "wxsystem",
"aliasPath": "/wxsystem",
"requireAuth": true,
"style": {
"navigationBarTitleText": "设置"
}
}, {
"path": "search/index",
"name": "wxsearch",
"aliasPath": "/wxsearch",
"requireAuth": true,
"style": {
"navigationBarTitleText": "搜索"
}
}, {
"path": "search-friends/index",
"name": "wxsearch-friends",
"aliasPath": "/wxsearch-friends",
"requireAuth": true,
"style": {
"navigationBarTitleText": "新的朋友",
"enablePullDownRefresh" : true,
"app-plus": {
"titleNView": {
"buttons": [{
"text": "添加",
"fontSize": "16px"
}],
"backButton": {
"background": "rgba(0,0,0,0)"
}
}
}
}
}, {
"path": "search-friends/add",
"name": "wxsearch-friends-add",
"aliasPath": "/search-friends-add",
"requireAuth": true,
"style": {
"navigationBarTitleText": "朋友验证",
"app-plus": {
"titleNView": {
"buttons": [{
"text": "发送",
"fontSize": "16px"
}],
"backButton": {
"background": "rgba(0,0,0,0)"
}
}
}
}
}, {
"path": "personDetail/index",
"name": "wxpersonDetail",
"aliasPath": "/wxpersonDetail",
"requireAuth": true,
"style": {
"navigationBarTitleText": "个人信息" //个人中心信息
}
}, {
"path": "personInfo/addFriendsDetail",
"name": "wxpersonInfoAddFriendsDetail",
"aliasPath": "/wxpersonInfoAddFriendsDetail",
"requireAuth": true,
"style": {
"navigationBarTitleText": "" //添加好友信息
}
}, {
"path": "personInfo/beizhu",
"name": "wxpersonInfobeizhu",
"aliasPath": "/wxpersonInfobeizhu",
"requireAuth": true,
"style": {
"navigationBarTitleText": "设置备注", //修改备注
"app-plus": {
"titleNView": {
"buttons": [{
"text": "完成",
"fontSize": "16px"
}],
"backButton": {
"background": "rgba(0,0,0,0)"
}
}
}
}
}, {
"path": "personDetail/editNikeName",
"name": "wxpersonDetaileditNikeName",
"aliasPath": "/wxpersonDetaileditNikeName",
"requireAuth": true,
"style": {
"navigationBarTitleText": "更改名称", //修改备注
"app-plus": {
"titleNView": {
"buttons": [{
"text": "完成",
"fontSize": "16px"
}],
"backButton": {
"background": "rgba(0,0,0,0)"
}
}
}
}
}, {
"path": "personDetail/editchatNo",
"name": "wxpersonDetaileditchatNo",
"aliasPath": "/wxpersonDetaileditchatNo",
"requireAuth": true,
"style": {
"navigationBarTitleText": "更改微聊号", //修改备注
"app-plus": {
"titleNView": {
"buttons": [{
"text": "完成",
"fontSize": "16px"
}],
"backButton": {
"background": "rgba(0,0,0,0)"
}
}
}
}
}, {
"path": "personDetail/editIntro",
"name": "wxpersonDetaileditIntro",
"aliasPath": "/wxpersonDetaileditIntro",
"requireAuth": true,
"style": {
"navigationBarTitleText": "更改个性签名",
"app-plus": {
"titleNView": {
"buttons": [{
"text": "完成",
"fontSize": "16px"
}],
"backButton": {
"background": "rgba(0,0,0,0)"
}
}
}
}
}, {
"path": "personDetail/editGender",
"name": "wxpersonDetaileditGender",
"aliasPath": "/wxpersonDetaileditGender",
"requireAuth": true,
"style": {
"navigationBarTitleText": "更改性别",
"app-plus": {
"titleNView": {
"buttons": [{
"text": "完成",
"fontSize": "16px"
}],
"backButton": {
"background": "rgba(0,0,0,0)"
}
}
}
}
}, {
"path": "personDetail/editAddress",
"name": "wxpersonDetaileditAddress",
"aliasPath": "/wxpersonDetaileditAddress",
"requireAuth": true,
"style": {
"navigationBarTitleText": "更改地区",
"app-plus": {
"titleNView": {
"buttons": [{
"text": "完成",
"fontSize": "16px"
}],
"backButton": {
"background": "rgba(0,0,0,0)"
}
}
}
}
}, {
"path": "personDetail/editPass",
"name": "wxpersonDetaileditPass",
"aliasPath": "/wxpersonDetaileditPass",
"requireAuth": true,
"style": {
"navigationBarTitleText": "设置密码",
"app-plus": {
"titleNView": {
"buttons": [{
"text": "完成",
"fontSize": "16px"
}],
"backButton": {
"background": "rgba(0,0,0,0)"
}
}
}
}
}, {
"path": "personInfo/detail",
"name": "wxpersonInfoDetail",
"aliasPath": "/wxpersonInfoDetail",
"requireAuth": true,
"style": {
"navigationBarTitleText": "信息", //好友个人信息
"app-plus": {
"titleNView": {
"buttons": [{
"text": "\ue623",
"fontSrc": "/static/wx_iconfont.ttf",
"fontSize": "28px"
}]
}
}
}
}, {
"path": "groupInfo/detail",
"name": "wxgroupInfoDetail",
"aliasPath": "/wxgroupInfoDetail",
"requireAuth": true,
"style": {
"navigationBarTitleText": "聊天信息" //群信息
}
}, {
"path": "groupInfo/qunAdd",
"name": "wxqunAdd",
"aliasPath": "/wxqunAdd",
"requireAuth": true,
"style": {
"navigationBarTitleText": "选择联系人"
}
}, {
"path": "groupInfo/qunless",
"name": "wxqunless",
"aliasPath": "/wxqunless",
"requireAuth": true,
"style": {
"navigationBarTitleText": "聊天成员"
}
}, {
"path": "groupInfo/editGroupName",
"name": "wxgroupInfoeditGroupName",
"aliasPath": "/wxgroupInfoeditGroupName",
"requireAuth": true,
"style": {
"navigationBarTitleText": "更改群聊名称", //修改备注
"app-plus": {
"titleNView": {
"buttons": [{
"text": "完成",
"fontSize": "16px"
}],
"backButton": {
"background": "rgba(0,0,0,0)"
}
}
}
}
}, {
"path": "groupInfo/editGroupNotice",
"name": "wxgroupInfoeditGroupNotice",
"aliasPath": "/wxgroupInfoeditGroupNotice",
"requireAuth": true,
"style": {
"navigationBarTitleText": "更改群公告", //修改备注
"app-plus": {
"titleNView": {
"buttons": [{
"text": "修改",
"fontSize": "16px"
}],
"backButton": {
"background": "rgba(0,0,0,0)"
}
}
}
}
}, {
"path": "groupInfo/scanCodeDetail",
"name": "wxgroupInfoscanCodeDetail",
"aliasPath": "/wxgroupInfoscanCodeDetail",
"requireAuth": true,
"style": {
"navigationBarTitleText": "群聊信息"
}
}, {
"path": "groupInfo/grouplist",
"name": "wxgroupInfogrouplist",
"aliasPath": "/wxgroupInfogrouplist",
"requireAuth": true,
"style": {
"navigationBarTitleText": "群聊"
}
}, {
"path": "personDetail/QRcode",
"name": "wxpersonDetailQRcode",
"aliasPath": "/wxpersonDetailQRcode",
"requireAuth": true,
"style": {
"navigationBarTitleText": "二维码名片",
"app-plus": {
"titleNView": {
"buttons": [{
"text": "\ue623",
"fontSrc": "/static/wx_iconfont.ttf",
"fontSize": "28px"
}]
}
}
}
}, {
"path": "groupInfo/QRcode",
"name": "wxgroupInfoQRcode",
"aliasPath": "/wxgroupInfoQRcode",
"requireAuth": true,
"style": {
"navigationBarTitleText": "群二维码",
"app-plus": {
"titleNView": {
"buttons": [{
"text": "\ue623",
"fontSrc": "/static/wx_iconfont.ttf",
"fontSize": "28px"
}]
}
}
}
}, {
"path": "personInfo/edit",
"name": "wxpersonInfoedit",
"aliasPath": "/wxpersonInfoedit",
"requireAuth": true,
"style": {
"navigationBarTitleText": "资料设置" //好友资料设置
}
}, {
"path": "friendsCircle/index",
"name": "wxfriendsCircle",
"aliasPath": "/wxfriendsCircle",
"requireAuth": true,
"style": {
"navigationBarTitleText": "朋友圈",
"enablePullDownRefresh" : true,
"app-plus": {
"titleNView": {
"type": "transparent",
"titleColor": "#fff",
"backgroundColor": "#d1d1d1",
"buttons": [{
"text": "\ue638",
"fontSrc": "/static/wx_iconfont.ttf",
"fontSize": "24px",
"background": "rgba(0,0,0,0)"
}],
"backButton": {
"background": "rgba(0,0,0,0)"
}
}
}
}
}, {
"path": "friendsCircle/person",
"name": "wxfriendsCirclePerson",
"aliasPath": "/wxfriendsCirclePerson",
"requireAuth": true,
"style": {
"navigationBarTitleText": "我的相册",
"enablePullDownRefresh" : true,
"app-plus": {
"titleNView": {
"type": "transparent",
"titleColor": "#fff",
"backgroundColor": "#d1d1d1",
"buttons": [{
"text": "\ue6f4",
"fontSrc": "/static/wx_iconfont.ttf",
"fontSize": "24px",
"background": "rgba(0,0,0,0)"
}],
"backButton": {
"background": "rgba(0,0,0,0)"
}
}
}
}
}, {
"path": "friendsCircle/sendMsg",
"name": "wxsendMsg",
"aliasPath": "/wxsendMsg",
"requireAuth": true,
"style": {
"navigationBarTitleText": "发朋友圈",
"app-plus": {
"titleNView": {
// "type": "transparent",
// "titleColor": "#333333",
// "backgroundColor": "#09C160",
"buttons": [{
"color": "#09C160",
"text": "发表",
// "fontSrc": "/static/wx_iconfont.ttf",
"fontSize": "16px",
"borderRadius": "0px",
"background": "#09C160"
}],
"backButton": {
"background": "rgba(0,0,0,0)"
}
}
}
}
}, {
"path": "feedback/index",
"name": "wxfeedback",
"aliasPath": "/wxfeedback",
"requireAuth": true,
"style": {
"navigationBarTitleText": "建议反馈",
"app-plus": {
"titleNView": {
"buttons": [{
"color": "#09C160",
"text": "发表",
"fontSize": "16px",
"borderRadius": "0px",
"background": "#09C160"
}],
"backButton": {
"background": "rgba(0,0,0,0)"
}
}
}
}
}, {
"path": "favorites/index",
"name": "wxfavorites",
"aliasPath": "/wxfavorites",
"requireAuth": true,
"style": {
"navigationBarTitleText": "收藏",
"enablePullDownRefresh" : true,
"app-plus": {
"titleNView": {
// "buttons": [{
// "text": "\ue657",
// "fontSrc": "/static/wx_iconfont.ttf",
// "fontSize": "28px"
// }]
}
}
}
}, {
"path": "friendsCircle/detail",
"name": "wxfriendsCircledetail",
"aliasPath": "/wxfriendsCircledetail",
"requireAuth": true,
"style": {
"navigationBarTitleText": "详情",
"app-plus": {
"titleNView": {
// "type": "transparent",
// "titleColor": "#333333",
// "backgroundColor": "#09C160",
"buttons": [{
"text": "\ue623",
"fontSrc": "/static/wx_iconfont.ttf",
"fontSize": "24px",
"background": "rgba(0,0,0,0)"
}],
"backButton": {
"background": "rgba(0,0,0,0)"
}
}
}
}
}
]
},
{
"root": "wl",
"pages": [{
"path": "login/index",
"name": "wllogin",
"aliasPath": "/wllogin",
"requireAuth": false,
"style": {
"navigationBarTitleText": "登录",
"navigationStyle": "custom"
}
}]
}
]
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
HTML
1
https://gitee.com/qingnaiomeng/im-uniapp.git
git@gitee.com:qingnaiomeng/im-uniapp.git
qingnaiomeng
im-uniapp
im-uniapp
master

搜索帮助