You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
99 lines
2.1 KiB
99 lines
2.1 KiB
export default defineAppConfig({
|
|
pages: [
|
|
'pages/index/index',
|
|
'pages/order/order',
|
|
'pages/cart/cart',
|
|
'pages/user/user'
|
|
],
|
|
"subpackages": [
|
|
{
|
|
"root": "passport",
|
|
"pages": [
|
|
"login",
|
|
"register",
|
|
"forget",
|
|
"setting",
|
|
"agreement",
|
|
"sms-login"
|
|
]
|
|
},
|
|
{
|
|
"root": "cms",
|
|
"pages": [
|
|
'category/index',
|
|
"detail/index"
|
|
]
|
|
},
|
|
{
|
|
"root": "user",
|
|
"pages": [
|
|
"company/company",
|
|
"profile/profile",
|
|
"setting/setting",
|
|
"userVerify/index",
|
|
"address/index",
|
|
"address/add",
|
|
"address/wxAddress",
|
|
"help/index",
|
|
"about/index"
|
|
]
|
|
},
|
|
{
|
|
"root": "shop",
|
|
"pages": [
|
|
'category/index',
|
|
'orderDetail/index',
|
|
'goodsDetail/index',
|
|
'orderConfirm/index',
|
|
]
|
|
}
|
|
],
|
|
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",
|
|
"chooseAddress"
|
|
],
|
|
permission: {
|
|
"scope.userLocation": {
|
|
"desc": "你的位置信息将用于小程序位置接口的效果展示"
|
|
}
|
|
}
|
|
})
|