123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298 |
- {
- "easycom": {
- "^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue"
- },
- "pages": [
- //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
- {
- "path": "pages/index/index",
- "style": {
- "navigationStyle": "custom",
- // 隐藏系统导航栏
- "navigationBarTitleText": "首页",
- "enablePullDownRefresh": true,
- "app-plus": {
- "pullToRefresh": {
- "support": true,
- "color": "#2979ff",
- //小圈圈的颜色
- "style": "circle"
- //小圈圈的样式
- }
- }
- }
- },
- {
- "path": "pages/center/center",
- "style": {
- "navigationStyle": "custom",
- // 隐藏系统导航栏
- "navigationBarTitleText": "我的"
- }
- },
- {
- "path": "pages/login/login",
- "style": {
- "navigationStyle": "custom",
- // 隐藏系统导航栏
- "navigationBarTitleText": "密码登录",
- "enablePullDownRefresh": false
- }
- },
- {
- "path": "pages/login/code",
- "style": {
- // "navigationStyle": "custom" ,// 隐藏系统导航栏
- "navigationBarTitleText": "获取验证码",
- "enablePullDownRefresh": false
- }
- },
- {
- "path": "pages/login/account",
- "style": {
- "navigationStyle": "custom",
- // 隐藏系统导航栏
- "navigationBarTitleText": "短信登录",
- "enablePullDownRefresh": false
- }
- },
- {
- "path": "pages/login/problem",
- "style": {
- "navigationStyle": "custom",
- // 隐藏系统导航栏
- "navigationBarTitleText": "常见问题",
- "enablePullDownRefresh": false
- }
- },
- {
- "path": "pages/profile/setting",
- "style": {
- "navigationStyle": "custom",
- // 隐藏系统导航栏
- "navigationBarTitleText": "",
- "enablePullDownRefresh": false
- }
- },
- {
- "path": "pages/profile/profile",
- "style": {
- "navigationStyle": "custom",
- // 隐藏系统导航栏
- "enablePullDownRefresh": false
- }
- },
- {
- "path": "pages/profile/password",
- "style": {
- "navigationStyle": "custom",
- // 隐藏系统导航栏
- "navigationBarTitleText": "修改密码",
- "enablePullDownRefresh": false
- }
- },
- {
- "path": "pages/search/search",
- "style": {
- "navigationStyle": "custom",
- // 隐藏系统导航栏
- "enablePullDownRefresh": false
- }
- },
- {
- "path": "pages/location/location",
- "style": {
- "navigationStyle": "custom",
- // 隐藏系统导航栏
- "navigationBarTitleText": "选择城市"
- }
- },
- {
- "path": "pages/notice/notice",
- "style": {
- "navigationStyle": "custom",
- // 隐藏系统导航栏
- "navigationBarTitleText": "通知公告"
- }
- },
- {
- "path": "pages/content/content",
- "style": {
- "navigationStyle": "custom",
- // 隐藏系统导航栏
- "navigationBarTitleText": "资讯"
- }
- },
- {
- "path": "pages/profile/aboutMe",
- "style": {
- "navigationBarTitleText": "关于我",
- "enablePullDownRefresh": false,
- "navigationStyle": "custom"
- // 隐藏系统导航栏
- }
- },
- {
- "path": "pages/search/searchList",
- "style": {
- "navigationBarTitleText": "房源列表",
- "enablePullDownRefresh": true,
- // "navigationStyle": "custom" ,// 隐藏系统导航栏
- "app-plus": {
- "pullToRefresh": {
- "support": true,
- "color": "#2979ff",
- //小圈圈的颜色
- "style": "circle"
- //小圈圈的样式
- }
- }
- }
- },
- {
- "path": "pages/detail/detail",
- "style": {
- "navigationStyle": "custom",
- // 隐藏系统导航栏
- "navigationBarTitleText": "房源详情",
- "enablePullDownRefresh": false
- }
- },
- {
- "path": "pages/detail/addHouse",
- "style": {
- "navigationBarTitleText": "房源",
- "enablePullDownRefresh": false
- }
- },
- {
- "path": "pages/detail/preHouse",
- "style": {
- "navigationStyle": "custom",
- // 隐藏系统导航栏
- "navigationBarTitleText": "预增房源",
- "enablePullDownRefresh": false
- }
- },
- {
- "path": "pages/center/tips",
- "style": {
- "navigationStyle": "custom",
- // 隐藏系统导航栏
- "navigationBarTitleText": "避坑指南"
- }
- },
- {
- "path": "pages/center/order",
- "style": {
- "navigationStyle": "custom",
- // 隐藏系统导航栏
- "navigationBarTitleText": "我的委托",
- "enablePullDownRefresh": false
- }
- },
- {
- "path": "pages/center/heart",
- "style": {
- "navigationStyle": "custom",
- // 隐藏系统导航栏
- "navigationBarTitleText": "收藏",
- "enablePullDownRefresh": false
- }
- },
- {
- "path": "pages/center/history",
- "style": {
- "navigationStyle": "custom",
- // 隐藏系统导航栏
- "navigationBarTitleText": "浏览记录",
- "enablePullDownRefresh": false
- }
- },
- {
- "path": "pages/profile/avatar",
- "style": {
- "navigationStyle": "custom",
- // 隐藏系统导航栏
- "navigationBarTitleText": "设置头像",
- "enablePullDownRefresh": false
- }
- },
- {
- "path": "pages/chooseAddress/index",
- "style": {
- "navigationBarBackgroundColor": "#f8f8f8",
- "navigationBarTitleText": "地图",
- "backgroundColorTop": "#f8f8f8",
- "backgroundColorBottom": "#ffffff"
- }
- },
- {
- "path": "pages/chooseAddress/search",
- "style": {
- "navigationBarTitleText": "地址搜索"
- }
- },
- {
- "path": "pages/chooseAddress/cityList",
- "style": {
- "navigationBarTitleText": "选择城市"
- }
- },
- {
- "path": "pages/webview/webview",
- "style": {
- "navigationBarTitleText": "开源字节"
- }
- },
- {
- "path": "pages/detail/evalList",
- "style": {
- "navigationBarTitleText": "房源评价",
- "enablePullDownRefresh": false
- }
- }
- ],
- "globalStyle": {
- "navigationBarTextStyle": "black",
- "navigationBarTitleText": "World",
- "navigationBarBackgroundColor": "#ffffff",
- "backgroundColor": "#ffffff"
- },
- "tabBar": {
- "color": "#909399",
- "selectedColor": "#2979ff",
- // "borderStyle": "#909399",
- "borderStyle": "white",
- "backgroundColor": "#ffffff",
- "list": [
- {
- "pagePath": "pages/index/index",
- "iconPath": "static/index.png",
- "selectedIconPath": "static/index-selected.png",
- "text": "首页"
- },
- {
- "pagePath": "pages/center/center",
- "iconPath": "static/center.png",
- "selectedIconPath": "static/center-selected.png",
- "text": "我的"
- }
- ]
- },
- "condition": {
- //模式配置,仅开发期间生效
- "current": 0,
- //当前激活的模式(list 的索引项)
- "list": [
- {
- "name": "",
- //模式名称
- "path": "",
- //启动页面,必选
- "query": ""
- //启动参数,在页面的onLoad函数里面得到
- }
- ]
- }
- }
|