i
This commit is contained in:
@@ -1,81 +1,81 @@
|
||||
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",
|
||||
"account/index",
|
||||
"distribution/index",
|
||||
"distribution/integral/index",
|
||||
"distribution/userlist/index",
|
||||
"login/index",
|
||||
"bindPhone/index",
|
||||
],
|
||||
'order_list/index',
|
||||
'setting/index',
|
||||
'user_setting/index',
|
||||
'settled_mer/index',
|
||||
'order_list_detail/index',
|
||||
'account/index',
|
||||
'distribution/index',
|
||||
'distribution/integral/index',
|
||||
'distribution/userlist/index',
|
||||
'login/index',
|
||||
'bindPhone/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",
|
||||
root: 'pages/admin',
|
||||
pages: [
|
||||
"verify/index",
|
||||
"order_manage/index",
|
||||
"order_manage/list/index",
|
||||
"order_manage/detail/index",
|
||||
"verify/verify_list/index",
|
||||
"statistics/index",
|
||||
"withdrawal/index",
|
||||
],
|
||||
'verify/index',
|
||||
'order_manage/index',
|
||||
'order_manage/list/index',
|
||||
'order_manage/detail/index',
|
||||
'verify/verify_list/index',
|
||||
'statistics/index',
|
||||
'withdrawal/index'
|
||||
]
|
||||
},
|
||||
{
|
||||
root: "pages/product",
|
||||
pages: ["list/index", "addGoods/index"],
|
||||
root: 'pages/product',
|
||||
pages: ['list/index', 'addGoods/index']
|
||||
},
|
||||
{
|
||||
root: "pages/game",
|
||||
pages: ["gamehome/index", "gamedetail/index", "gameview/index"],
|
||||
root: 'pages/game',
|
||||
pages: ['gamehome/index', 'gamedetail/index', 'gameview/index']
|
||||
},
|
||||
{
|
||||
root: "pages/hotGoods",
|
||||
pages: ["index/index", "hot_list/index"],
|
||||
root: 'pages/hotGoods',
|
||||
pages: ['index/index', 'hot_list/index']
|
||||
},
|
||||
{
|
||||
root: "pages/mer",
|
||||
pages: ["mer_detail/index"],
|
||||
},
|
||||
root: 'pages/mer',
|
||||
pages: ['mer_detail/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",
|
||||
@@ -90,20 +90,20 @@ export default defineAppConfig({
|
||||
// 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"],
|
||||
lazyCodeLoading: "requiredComponents",
|
||||
});
|
||||
requiredPrivateInfos: ['getLocation'],
|
||||
lazyCodeLoading: 'requiredComponents'
|
||||
});
|
||||
Reference in New Issue
Block a user