38 lines
1.1 KiB
TypeScript
38 lines
1.1 KiB
TypeScript
export default defineAppConfig({
|
|
pages: [
|
|
'pages/index/index',
|
|
'pages/shop/index',
|
|
'pages/shop/detail/index',
|
|
'pages/product/index',
|
|
'pages/diy/index',
|
|
'pages/diy/stickerEdit/index',
|
|
'pages/checkout/index',
|
|
'pages/designList/index',
|
|
'pages/orders/index',
|
|
'pages/profile/index',
|
|
'pages/service/index',
|
|
'pages/wordcloud/index',
|
|
'pages/orderDetail/index',
|
|
'pages/address/index',
|
|
'pages/settings/index',
|
|
'pages/agreement/index',
|
|
'pages/userDatabase/index'
|
|
],
|
|
window: {
|
|
backgroundTextStyle: 'dark',
|
|
navigationStyle: 'custom',
|
|
// 应用启动时先保证浅色页面的 iOS 状态栏为黑字;页面 Hook 会在主题变化时覆盖它。
|
|
navigationBarTextStyle: 'black',
|
|
},
|
|
tabBar: {
|
|
custom: true,
|
|
list: [
|
|
{ pagePath: 'pages/index/index', text: '首页' },
|
|
{ pagePath: 'pages/shop/index', text: '商品' },
|
|
{ pagePath: 'pages/designList/index', text: '设计清单' },
|
|
{ pagePath: 'pages/orders/index', text: '订单' },
|
|
{ pagePath: 'pages/profile/index', text: '我的' }
|
|
]
|
|
}
|
|
})
|