{ "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函数里面得到 }] } }