wip: 4.0
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-05-16 14:27:57 +08:00
parent b09c1d9537
commit 8f3b158032
72 changed files with 3931 additions and 2161 deletions

View File

@@ -1,129 +1,128 @@
export default defineAppConfig({
pages: [
"pages/index/index",
"pages/category/index",
"pages/cart/index",
"pages/user/index",
"pages/allClassList/index",
'pages/index/index',
'pages/game/gamehome/index',
'pages/cart/index',
'pages/user/index',
'pages/allClassList/index',
'pages/game/gamedetail/index',
'pages/game/gameview/index',
'pages/game/view/index',
],
subPackages: [
{
root: "pages/users",
root: 'pages/users',
pages: [
"user_agreement/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",
"pending_order/index",
"pending_order/pending_order_detail/index",
'user_agreement/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',
'pending_order/index',
'pending_order/pending_order_detail/index',
],
},
{
root: "pages/goods",
pages: ["goods_detail/index", "order_create/index", "order_status/index"],
},
{
root: "pages/admin",
root: 'pages/goods',
pages: [
"verify/index",
"order_manage/index",
"order_manage/list/index",
"order_manage/detail/index",
"verify/verify_list/index",
"statistics/index",
"withdrawal/index",
"add_order/index",
"add_order/add_table/index",
"add_order/add_menu/index",
"add_order/pending_order/index",
"add_order/pending_order/pending_order_detail/index",
"add_order/pending_order/pay/index",
"add_order/pending_order/wx_pay_code/index",
'goods_detail/index',
'order_create/index',
'order_status/index',
'pay/index',
],
},
{
root: "pages/product",
pages: ["list/index", "addGoods/index"],
},
{
root: "pages/game",
root: 'pages/admin',
pages: [
"gamehome/index",
"gamedetail/index",
"gameview/index",
"view/index",
'verify/index',
'order_manage/index',
'order_manage/list/index',
'order_manage/detail/index',
'verify/verify_list/index',
'statistics/index',
'withdrawal/index',
'add_order/index',
'add_order/add_table/index',
'add_order/add_menu/index',
'add_order/pending_order/index',
'add_order/pending_order/pending_order_detail/index',
'add_order/pending_order/pay/index',
'add_order/pending_order/wx_pay_code/index',
],
},
{
root: "pages/hotGoods",
pages: ["index/index", "hot_list/index"],
root: 'pages/product',
pages: ['list/index', 'addGoods/index'],
},
{
root: "pages/mer",
pages: ["mer_detail/index"],
root: 'pages/hotGoods',
pages: ['index/index', 'hot_list/index'],
},
{
root: "pages/marketing",
pages: ["sign/index"],
root: 'pages/mer',
pages: ['mer_detail/index'],
},
{
root: "pages/search",
pages: ["index"],
root: 'pages/marketing',
pages: ['sign/index'],
},
{
root: 'pages/search',
pages: ['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/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/index/index',
iconPath: 'static/tabbar/1-01.png',
selectedIconPath: 'static/tabbar/1-02.png',
text: '首页',
},
{
pagePath: "pages/user/index",
iconPath: "static/tabbar/4-001.png",
selectedIconPath: "static/tabbar/4-002.png",
text: "我的",
pagePath: 'pages/game/gamehome/index',
iconPath: 'static/tabbar/2-01.png',
selectedIconPath: 'static/tabbar/2-02.png',
text: '游戏',
},
{
pagePath: 'pages/cart/index',
iconPath: 'static/tabbar/3-01.png',
selectedIconPath: 'static/tabbar/3-02.png',
text: '购物车',
},
{
pagePath: 'pages/user/index',
iconPath: 'static/tabbar/4-01.png',
selectedIconPath: 'static/tabbar/4-02.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',
});