{
// 如果您是通过uni_modules形式引入uView,可以忽略此配置
"easycom": {
"^u-(.*)": "@/uni_modules/uview-ui/components/u-$1/u-$1.vue"
},
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "",
"navigationBarHidden": true, // 关键:隐藏导航栏
"disableScroll": false // 根据需要设置,避免内容滚动到顶部时触发导航栏显示
}
}, {
"path": "pages/my/my",
"style": {}
}, {
"path": "pages/my/bill",
"style": {}
}, {
"path": "pages/my/service",
"style": {}
}, {
"path": "pages/my/reading",
"style": {}
}, {
"path": "pages/door/door",
"style": {}
}
],
"subPackages": [{
"root": "pages_A", //子包的根目录
"pages": [{
"path": "apply/apply",
"style": {}
}, {
"path": "billDetails/billDetails",
"style": {}
}, {
"path": "billDetails/electronicBill",
"style": {}
}, {
"path": "family/family",
"style": {}
}, {
"path": "identity/identity",
"style": {}
}, {
"path": "owner/owner",
"style": {}
}, {
"path": "owner/ownerType",
"style": {}
}, {
"path": "owner/workOrder",
"style": {}
}, {
"path": "owner/ownerOrder",
"style": {}
},
{
"path": "feedback/feedback",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}
]
}, {
"root": "pages_B", //子包的根目录
"pages": [{
"path": "pay/pay",
"style": {}
}, {
"path": "pay/payDetails",
"style": {}
}, {
"path": "pay/payment",
"style": {}
}, {
"path": "property/property",
"style": {}
}, {
"path": "property/pending/pending",
"style": {}
}, {
"path": "property/process/process",
"style": {}
}, {
"path": "property/completed/completed",
"style": {}
}, {
"path": "property/subordinate/subordinate",
"style": {}
}, {
"path": "property/propertyOrder",
"style": {}
}, {
"path": "propose/propose",
"style": {}
}, {
"path": "setUp/setUp",
"style": {}
}, {
"path": "setUp/register",
"style": {}
}, {
"path": "setUp/changePhone",
"style": {}
}, {
"path": "vote/vote",
"style": {}
}, {
"path": "vote/myVote",
"style": {}
}, {
"path": "vote/voteDetail",
"style": {}
}, {
"path": "waterAndPower/power",
"style": {}
}, {
"path": "waterAndPower/water",
"style": {}
}, {
"path": "waterAndPower/poolPower",
"style": {}
}, {
"path": "waterAndPower/poolWater",
"style": {}
}, {
"path": "waterAndPower/powerMeter",
"style": {}
}, {
"path": "waterAndPower/waterMeter",
"style": {}
}, {
"path": "webView/webView",
"style": {
"navigationBarTitleText": "巧科粒智慧物业",
"enablePullDownRefresh": false,
"navigationStyle": "default"
}
}, {
"path": "login/login",
"style": {}
}, {
"path": "notice/notice",
"style": {}
}, {
"path": "notice/noticeDetails",
"style": {}
}, {
"path": "notice/addNotice",
"style": {}
},
{
"path": "workPay/workCheckPay",
"style": {}
},
{
"path": "workPay/scanCodePay",
"style": {}
},
{
"path": "workPay/workPay",
"style": {}
},
{
"path": "workPay/payStatus",
"style": {
"navigationBarTitleText": ""
}
},
{
"path": "workPay/editRoom",
"style": {
"navigationBarTitleText": ""
}
}
]
}, {
"root": "pages_vehicle",
"pages": [{
"path": "addCar/addCar",
"style": {}
}, {
"path": "cardList/cardList",
"style": {}
}, {
"path": "renew/renew",
"style": {}
}, {
"path": "apply/apply",
"style": {}
}, {
"path": "apply/examine",
"style": {}
}, {
"path": "bill/bill",
"style": {}
}, {
"path": "temporaryParking/temporaryParking",
"style": {}
}, {
"path": "temporaryParking/parkingInfo",
"style": {}
}]
}, {
"root": "pages_shop",
"pages": [{
"path": "index/index",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
},
{
"path": "my/my",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
},
{
"path": "goods/goods",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
},
{
"path": "order/order",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
},
{
"path": "payment/onlinePayment",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
},
{
"path": "payment/payment",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
},
{
"path": "order/orderDetails",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
},
{
"path": "address/address",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
},
{
"path": "address/addAddress/addAddress",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}
]
}],
"globalStyle": {
"navigationBarTextStyle": "transparent",
"navigationBarBackgroundColor": "transparent",
"backgroundColor": "#F8F8F8",
"navigationStyle": "custom", // 设置导航栏风格为自定义
"navigationBarTitleText": "",
// 注意:全局配置可能不会直接作用于隐藏返回按钮,主要配置还需在页面级完成
"mp-alipay": {
"transparentTitle": "always", // 使标题区域透明
"titlePenetrate": "YES" // 允许内容穿透标题区域
}
},
"tabBar": {
"color": "#202020",
"selectedColor": "#2896EC",
"list": [{
"pagePath": "pages/index/index",
"text": "首页",
"iconPath": "static/tabbar/index.png",
"selectedIconPath ": "static/tabbar/index_active.png"
}, {
"pagePath": "pages/my/my",
"text": "我的",
"iconPath": "static/tabbar/my.png",
"selectedIconPath ": "static/tabbar/my_active.png"
}]
}
}
7***@qq.com (作者)
已解决,发现多了个空格
2024-06-28 17:26