提交代码
This commit is contained in:
111
src/app.config.ts
Normal file
111
src/app.config.ts
Normal file
@@ -0,0 +1,111 @@
|
||||
export default defineAppConfig({
|
||||
pages: [
|
||||
'pages/index/index',
|
||||
'pages/order/order',
|
||||
'pages/kefu/kefu',
|
||||
'pages/user/user',
|
||||
'pages/find/find'
|
||||
],
|
||||
"subpackages": [
|
||||
{
|
||||
"root": "passport",
|
||||
"pages": [
|
||||
"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"
|
||||
]
|
||||
},
|
||||
// {
|
||||
// "root": "hjm",
|
||||
// "pages": [
|
||||
// "list",
|
||||
// "location",
|
||||
// "query",
|
||||
// "fence",
|
||||
// "video/video",
|
||||
// "exam/exam",
|
||||
// "bx/bx",
|
||||
// "bx/bx-add",
|
||||
// "trajectory/trajectory",
|
||||
// "gps-log/gps-log"
|
||||
// // "bx/bx-list",
|
||||
// // "question/detail"
|
||||
// ]
|
||||
// }
|
||||
// {
|
||||
// "root": "shop",
|
||||
// "pages": [
|
||||
//
|
||||
// ]
|
||||
// }
|
||||
],
|
||||
window: {
|
||||
backgroundTextStyle: 'dark',
|
||||
navigationBarBackgroundColor: '#fff',
|
||||
navigationBarTitleText: 'WeChat',
|
||||
navigationBarTextStyle: 'black'
|
||||
},
|
||||
tabBar: {
|
||||
custom: false,
|
||||
color: "#8a8a8a",
|
||||
selectedColor: "#0e932e",
|
||||
backgroundColor: "#ffffff",
|
||||
list: [
|
||||
{
|
||||
pagePath: "pages/index/index",
|
||||
iconPath: "assets/tabbar/home.png",
|
||||
selectedIconPath: "assets/tabbar/home-active.png",
|
||||
text: "首页",
|
||||
},
|
||||
{
|
||||
pagePath: "pages/find/find",
|
||||
iconPath: "assets/tabbar/find.png",
|
||||
selectedIconPath: "assets/tabbar/find-active.png",
|
||||
text: "发现",
|
||||
},
|
||||
{
|
||||
pagePath: "pages/order/order",
|
||||
iconPath: "assets/tabbar/order.png",
|
||||
selectedIconPath: "assets/tabbar/order-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": "你的位置信息将用于小程序位置接口的效果展示"
|
||||
}
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user