123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436 |
- {
- "easycom": {
- "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
- },
- "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
- {
- "path": "pages/home/home",
- "style": {
- "navigationBarTitleText": "消息",
- "enablePullDownRefresh": true ,
- // #ifdef MP-WEIXIN
- "navigationStyle": "custom",
- // #endif
- "app-plus": {
- "titleNView": {
- "buttons": [{
- "fontSrc": "/static/iconfont/iconfont.ttf",
- "float": "right",
- "text": "\ue9c9"
- }]
- }
- }
- }
- },
- {
- "path": "pages/addressBook/addressBook",
- "style": {
- "enablePullDownRefresh": true ,
- "navigationBarTitleText": "通讯录"/* ,
- "app-plus": {
- "titleNView": {
- "buttons": [{
- "fontSrc": "/static/iconfont/iconfont.ttf",
- "float": "right",
- "text": "\ue786"
- }]
- }
- } */
- }
- }, {
- "path": "pages/find/find",
- "style": {
- "enablePullDownRefresh": true ,
- "navigationBarTitleText": "发现"
- }
- },{
- "path": "pages/register/register",
- "style": {
- "enablePullDownRefresh": true ,
- "navigationBarTitleText": "注册"
- }
- },{
- "path": "pages/agreement/agreement",
- "style": {
- "enablePullDownRefresh": true ,
- "navigationBarTitleText": "协议"
- }
- },
- {
- "path": "pages/search/search",
- "style": {
- "enablePullDownRefresh": true ,
- "navigationBarTitleText": "",
- "navigationStyle": "custom",
- "app-plus": {
- "titleView": false,
- "animationType": "zoom-out",
- "animationDuration": 300
- }
- }
- }, {
- "path": "pages/chat/chat",
- "style": {
- "enablePullDownRefresh": true ,
- "app-plus": {
- "softinputNavBar": "none",
- "scrollIndicator":"none",
- "softinputMode": "adjustPan",
- "titleNView": {
- "autoBackButton": false,
- "backgroundColor": "#fff",
- "buttons": [{
- "fontSrc": "/static/iconfont/iconfont.ttf",
- "float": "right",
- "text": "\ue626"
- }
- ,
- {
- "fontSrc": "/static/iconfont/iconfont.ttf",
- "float": "left",
- "text": "\ue6f2",
- "color": "#303133",
- "background": "rgba(255,255,255,0)"
- }
- ]
- }
- }
- }
- }, {
- "path": "pages/firendCircle/firendCircle",
- "style": {
- "navigationBarTitleText": " ",
- // #ifdef MP-WEIXIN
- "navigationStyle": "custom",
- // #endif
- "transparentTitle": "auto",
- "enablePullDownRefresh": true,
- "app-plus": {
- "titleNView": {
- "type": "transparent",
- "backgroundColor": "#f8f9f9",
- "coverage": "45%", //h5不起作用
- // #ifdef APP-PLUS
- "backButton": {
- "color": "#303133",
- "background": "rgba(255,255,255,0)"
- },
- // #endif
- "buttons": [{
- "fontSrc": "/static/iconfont/iconfont.ttf",
- "float": "right",
- "text": "\ue609",
- "color": "#303133",
- "background": "rgba(255,255,255,0)"
- }
- // #ifdef H5
- , {
- "fontSrc": "/static/iconfont/iconfont.ttf",
- "float": "left",
- "text": "\ue6f2",
- "color": "#303133",
- "background": "rgba(255,255,255,0)"
- }
- // #endif
- ]
- }
- }
- }
- }, {
- "path": "pages/businessCard/businessCard",
- "style": {
- "enablePullDownRefresh": true ,
- "navigationBarTitleText": "",
- "app-plus": {
- "titleNView": {
- "backgroundColor": "#FFFFFF"
- }
- }
- }
- }, {
- "path": "pages/releaseFirendCircle/releaseFirendCircle",
- "style": {
- "enablePullDownRefresh": true ,
- "navigationBarTitleText": "",
- // #ifdef MP-WEIXIN
- "navigationStyle": "custom",
- // #endif
- "app-plus": {
- "titleNView": {
- "buttons": [{
- "float": "right",
- "text": "发表",
- "color": "#18b566",
- "fontSize": "16"
- }]
- }
- }
- }
- }, {
- "path": "pages/chooseBgImg/chooseBgImg",
- "style": {
- "enablePullDownRefresh": true ,
- "navigationBarTitleText": "选择背景图"
- }
- },
- {
- "path": "components/u-avatar-cropper/u-avatar-cropper",
- "style": {
- "enablePullDownRefresh": true ,
- "navigationBarTitleText": "选择背景图",
- "navigationBarBackgroundColor": "#000000"
- }
- },
- {
- "path": "pages/builtinBgImg/builtinBgImg",
- "style": {
- "enablePullDownRefresh": true ,
- "navigationBarTitleText": "选择背景图",
- // #ifdef MP-WEIXIN
- "navigationStyle": "custom",
- // #endif
- "app-plus": {
- "titleNView": {
- "buttons": [{
- "float": "right",
- "text": "完成",
- "color": "#18b566",
- "fontSize": "16"
- }]
- }
- }
- }
- }, {
- "path": "pages/moreInforMation/moreInforMation",
- "style": {
- "enablePullDownRefresh": true ,
- "navigationBarTitleText": "更多信息"
- }
- }, {
- "path": "pages/chat/userDetail",
- "style": {
- "enablePullDownRefresh": true ,
- "navigationBarTitleText": "",
- "navigationStyle": "custom",
- "app-plus": {
- "titleView": false
- }
- }
- }, {
- "path": "pages/chat/groupDetail",
- "style": {
- "enablePullDownRefresh": true ,
- "navigationBarTitleText": "",
- "navigationStyle": "custom",
- "app-plus": {
- "titleView": false
- }
- }
- }, {
- "path": "pages/setings/setings",
- "style": {
- "enablePullDownRefresh": true ,
- "navigationBarTitleText": "设置"
- }
- }, {
- "path": "pages/my/person",
- "style": {
- "enablePullDownRefresh": true ,
- "navigationBarTitleText": "个人信息"
- }
- }, {
- "path": "pages/my/common",
- "style": {
- "enablePullDownRefresh": true ,
- "navigationBarTitleText": "通用"
- }
- }, {
- "path": "pages/my/account",
- "style": {
- "enablePullDownRefresh": true ,
- "navigationBarTitleText": "账号与安全"
- }
- }, {
- "path": "pages/chat/updateGroupInfo",
- "style": {
- "enablePullDownRefresh": true ,
- "navigationBarTitleText": "",
- "navigationStyle": "custom",
- "app-plus": {
- "titleView": false
- }
- }
- }, {
- "path": "pages/chat/addGroupUser",
- "style": {
- "enablePullDownRefresh": true ,
- "navigationBarTitleText": "",
- "navigationStyle": "custom",
- "app-plus": {
- "titleView": false
- }
- }
- },
- {
- "path": "pages/chat/detail",
- "style": {
- "enablePullDownRefresh": true ,
- "app-plus": {
- "softinputNavBar": "none",
- "softinputMode": "adjustPan",
- "titleNView": {
- "backgroundColor": "#EC624F",
- "titleColor": "#fff",
- "titleText": ""
- }
- }
- }
- }
- , {
- "path": "pages/qrcode/qrcode",
- "style": {
- "enablePullDownRefresh": true ,
- "navigationBarTitleText": "我的二维码"
- }
- }, {
- "path": "pages/chat/remind",
- "style": {
- "enablePullDownRefresh": true ,
- "navigationBarTitleText": "选择要提醒的人"
- }
- }, {
- "path": "pages/chat/forward",
- "style": {
- "enablePullDownRefresh": true ,
- "navigationBarTitleText": "选择一个聊天"
- }
- }, {
- "path": "pages/webview/webview",
- "style": {
- "enablePullDownRefresh": true ,
- "navigationBarTitleText": "webview"
- }
- }, {
- "path": "pages/my/photo",
- "style": {
- "enablePullDownRefresh": true ,
- "navigationBarTitleText": "朋友圈相册"
- }
- }, {
- "path": "pages/my/face",
- "style": {
- "enablePullDownRefresh": true ,
- "navigationBarTitleText": "表情商店"
- }
- }, {
- "path": "pages/chat/moreMem",
- "style": {
- "enablePullDownRefresh": true ,
- "navigationBarTitleText": "所有成员"
- }
- }
- ,{
- "path" : "pages/my/index",
- "style": {
- "enablePullDownRefresh": true ,
- "navigationBarTitleText": "我的",
- "navigationStyle": "custom"
- }
- },
- {
- "path": "pages/login/forget",
- "style": {
- "enablePullDownRefresh": true ,
- "navigationBarTitleText": "忘记密码",
- "navigationBarBackgroundColor":"#F6F7F8"
- }
- },
- {
- "path": "pages/login/agreement",
- "style": {
- "enablePullDownRefresh": true ,
- "navigationBarTitleText": "用户协议"
- }
- }
- ,{
- "path" : "pages/newFriend/newFriend",
- "style" :
- {
- "navigationBarTitleText": "新的朋友",
- "enablePullDownRefresh": false
- }
-
- }
- ,{
- "path" : "pages/groupItem/groupItem",
- "style" :
- {
- "navigationBarTitleText": "我的群组",
- "enablePullDownRefresh": false
- }
- }
- ,{
- "path" : "pages/login/loginV2",
- "style" :
- {
- "navigationBarTitleText": "",
- "enablePullDownRefresh": false
- }
- }
- ,{
- "path" : "pages/login/regV2",
- "style" :
- {
- "navigationBarTitleText": "",
- "enablePullDownRefresh": false
- }
- }
- ],
- "tabBar": {
- "color": "#7B8AA0",
- "selectedColor": "#171717",
- "border": "none",
- "backgroundColor": "#fff",
- "list": [{
- "pagePath": "pages/home/home",
- "iconPath": "static/menu/chat.png",
- "selectedIconPath": "static/menu/chat_s.png",
- "text": "消息"
- }, {
- "pagePath": "pages/addressBook/addressBook",
- "iconPath": "static/menu/contact.png",
- "selectedIconPath": "static/menu/contact_s.png",
- "text": "通讯录"
- }, {
- "pagePath": "pages/find/find",
- "iconPath": "static/menu/see.png",
- "selectedIconPath": "static/menu/see_s.png",
- "text": "发现"
- }, {
- "pagePath": "pages/my/index",
- "iconPath": "static/menu/my.png",
- "selectedIconPath": "static/menu/my_s.png",
- "text": "我"
- }]
- },
- "globalStyle": {
- "navigationBarTextStyle": "black",
- "navigationBarTitleText": "聊天",
- "navigationBarBackgroundColor": "#F6F7F8",
- "backgroundColor": "#fff",
- "backgroundTextStyle": "light",
- "pageOrientation": "portrait",
- "app-plus": {
- "bounce": "none"
- }
- },
- "condition": { //模式配置,仅开发期间生效
- "current": 0, //当前激活的模式(list 的索引项)
- "list": [{
- "name": "", //模式名称
- "path": "", //启动页面,必选
- "query": "" //启动参数,在页面的onLoad函数里面得到
- }]
- }
- }
|