130 lines
2.7 KiB
TypeScript
130 lines
2.7 KiB
TypeScript
export default defineAppConfig({
|
|
pages: [
|
|
'pages/index/index',
|
|
'pages/order/order',
|
|
'pages/kefu/kefu',
|
|
'pages/user/user',
|
|
'pages/article/article',
|
|
'pages/study/study'
|
|
],
|
|
"subpackages": [
|
|
{
|
|
"root": "passport",
|
|
"pages": [
|
|
"wxLogin",
|
|
"login",
|
|
"register",
|
|
"forget",
|
|
"setting",
|
|
"agreement",
|
|
"sms-login"
|
|
]
|
|
},
|
|
{
|
|
"root": "cms",
|
|
"pages": [
|
|
"about",
|
|
"article",
|
|
"detail",
|
|
"help"
|
|
]
|
|
},
|
|
{
|
|
"root": "user",
|
|
"pages": [
|
|
"car/index",
|
|
"company/company",
|
|
"profile/profile",
|
|
"setting/setting",
|
|
"userVerify/index",
|
|
"userVerify/admin"
|
|
]
|
|
},
|
|
{
|
|
"root": "hjm",
|
|
"pages": [
|
|
"list",
|
|
"location",
|
|
"query",
|
|
"fence",
|
|
"video/video",
|
|
"exam/exam",
|
|
"bx/bx",
|
|
"bx/bx-add",
|
|
"violation/add",
|
|
"violation/list",
|
|
"violation/detail",
|
|
"trajectory/trajectory",
|
|
"gps-log/gps-log"
|
|
// "bx/bx-list",
|
|
// "question/detail"
|
|
]
|
|
}
|
|
// {
|
|
// "root": "shop",
|
|
// "pages": [
|
|
// "bm",
|
|
// "bm/detail",
|
|
// "item",
|
|
// "pdf",
|
|
// "flash",
|
|
// "bm-log/bm-log",
|
|
// 'bm-cert/bm-cert',
|
|
// "pay/pay",
|
|
// "pay/detail",
|
|
// 'pay-log/pay-log',
|
|
// 'pay-record/pay-record',
|
|
// 'pay-cert/pay-cert',
|
|
// 'cert-query/cert-query'
|
|
// ]
|
|
// }
|
|
],
|
|
window: {
|
|
backgroundTextStyle: 'dark',
|
|
navigationBarBackgroundColor: '#fff',
|
|
navigationBarTitleText: 'WeChat',
|
|
navigationBarTextStyle: 'black'
|
|
},
|
|
tabBar: {
|
|
custom: false,
|
|
color: "#8a8a8a",
|
|
selectedColor: "#9a23d4",
|
|
backgroundColor: "#ffffff",
|
|
list: [
|
|
{
|
|
pagePath: "pages/index/index",
|
|
iconPath: "assets/tabbar/home.png",
|
|
selectedIconPath: "assets/tabbar/home-active.png",
|
|
text: "首页",
|
|
},
|
|
{
|
|
pagePath: "pages/study/study",
|
|
iconPath: "assets/tabbar/order.png",
|
|
selectedIconPath: "assets/tabbar/order-active.png",
|
|
text: "学习",
|
|
},
|
|
// {
|
|
// pagePath: "pages/kefu/kefu",
|
|
// iconPath: "assets/tabbar/kefu.png",
|
|
// selectedIconPath: "assets/tabbar/kefu-active.png",
|
|
// text: "客服",
|
|
// },
|
|
{
|
|
pagePath: "pages/user/user",
|
|
iconPath: "assets/tabbar/user.png",
|
|
selectedIconPath: "assets/tabbar/user-active.png",
|
|
text: "我的",
|
|
},
|
|
],
|
|
},
|
|
requiredPrivateInfos: [
|
|
"getLocation",
|
|
"chooseLocation"
|
|
],
|
|
permission: {
|
|
"scope.userLocation": {
|
|
"desc": "你的位置信息将用于小程序位置接口的效果展示"
|
|
}
|
|
}
|
|
})
|