i
This commit is contained in:
@@ -1,78 +1,86 @@
|
||||
export default defineAppConfig({
|
||||
pages: [
|
||||
"pages/index/index",
|
||||
"pages/category/index",
|
||||
"pages/cart/index",
|
||||
"pages/user/index",
|
||||
'pages/index/index',
|
||||
'pages/category/index',
|
||||
'pages/cart/index',
|
||||
'pages/user/index',
|
||||
],
|
||||
subPackages: [
|
||||
{
|
||||
root: "pages/users",
|
||||
root: 'pages/users',
|
||||
pages: [
|
||||
"order_list/index",
|
||||
"setting/index",
|
||||
"user_setting/index",
|
||||
"settled_mer/index",
|
||||
"order_list_detail/index",
|
||||
],
|
||||
'order_list/index',
|
||||
'setting/index',
|
||||
'user_setting/index',
|
||||
'settled_mer/index',
|
||||
'order_list_detail/index',
|
||||
'account/index'
|
||||
]
|
||||
},
|
||||
{
|
||||
root: "pages/goods",
|
||||
root: 'pages/goods',
|
||||
pages: [
|
||||
"goods_detail/index",
|
||||
"order_create/index",
|
||||
"order_status/index",
|
||||
],
|
||||
'goods_detail/index',
|
||||
'order_create/index',
|
||||
'order_status/index'
|
||||
]
|
||||
},
|
||||
{
|
||||
root: "pages/admin",
|
||||
pages: ["verify/index"],
|
||||
root: 'pages/admin',
|
||||
pages: ['verify/index']
|
||||
},
|
||||
{
|
||||
root: 'pages/game',
|
||||
pages: [
|
||||
'gamehome/index',
|
||||
'gamedetail/index',
|
||||
]
|
||||
}
|
||||
],
|
||||
window: {
|
||||
backgroundTextStyle: "light",
|
||||
navigationBarBackgroundColor: "#fff",
|
||||
navigationBarTitleText: "WeChat",
|
||||
navigationBarTextStyle: "black",
|
||||
backgroundTextStyle: 'light',
|
||||
navigationBarBackgroundColor: '#fff',
|
||||
navigationBarTitleText: 'WeChat',
|
||||
navigationBarTextStyle: 'black'
|
||||
},
|
||||
tabBar: {
|
||||
color: "#666666",
|
||||
selectedColor: "#ff0000",
|
||||
backgroundColor: "#ffffff",
|
||||
borderStyle: "white",
|
||||
color: '#666666',
|
||||
selectedColor: '#ff0000',
|
||||
backgroundColor: '#ffffff',
|
||||
borderStyle: 'white',
|
||||
list: [
|
||||
{
|
||||
pagePath: "pages/index/index",
|
||||
iconPath: "static/tabbar/1-001.png",
|
||||
selectedIconPath: "static/tabbar/1-002.png",
|
||||
text: "首页",
|
||||
pagePath: 'pages/index/index',
|
||||
iconPath: 'static/tabbar/1-001.png',
|
||||
selectedIconPath: 'static/tabbar/1-002.png',
|
||||
text: '首页'
|
||||
},
|
||||
{
|
||||
pagePath: "pages/category/index",
|
||||
iconPath: "static/tabbar/2-001.png",
|
||||
selectedIconPath: "static/tabbar/2-002.png",
|
||||
text: "分类",
|
||||
pagePath: 'pages/category/index',
|
||||
iconPath: 'static/tabbar/2-001.png',
|
||||
selectedIconPath: 'static/tabbar/2-002.png',
|
||||
text: '分类'
|
||||
},
|
||||
{
|
||||
pagePath: "pages/cart/index",
|
||||
iconPath: "static/tabbar/3-001.png",
|
||||
selectedIconPath: "static/tabbar/3-002.png",
|
||||
text: "购物车",
|
||||
pagePath: 'pages/cart/index',
|
||||
iconPath: 'static/tabbar/3-001.png',
|
||||
selectedIconPath: 'static/tabbar/3-002.png',
|
||||
text: '购物车'
|
||||
},
|
||||
{
|
||||
pagePath: "pages/user/index",
|
||||
iconPath: "static/tabbar/4-001.png",
|
||||
selectedIconPath: "static/tabbar/4-002.png",
|
||||
text: "我的",
|
||||
},
|
||||
],
|
||||
pagePath: 'pages/user/index',
|
||||
iconPath: 'static/tabbar/4-001.png',
|
||||
selectedIconPath: 'static/tabbar/4-002.png',
|
||||
text: '我的'
|
||||
}
|
||||
]
|
||||
},
|
||||
permission: {
|
||||
"scope.userLocation": {
|
||||
desc: "你的位置信息将用于小程序位置接口的效果展示",
|
||||
},
|
||||
'scope.userLocation': {
|
||||
desc: '你的位置信息将用于小程序位置接口的效果展示'
|
||||
}
|
||||
},
|
||||
requiredBackgroundModes: ["audio", "location"],
|
||||
requiredBackgroundModes: ['audio', 'location'],
|
||||
// @ts-ignore
|
||||
requiredPrivateInfos: ["getLocation"],
|
||||
});
|
||||
requiredPrivateInfos: ['getLocation']
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user