Files
x-forend/pages.config.ts
2025-01-16 14:19:31 +08:00

63 lines
1.7 KiB
TypeScript

import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages'
export default defineUniPages({
globalStyle: {
navigationStyle: 'default',
navigationBarTitleText: '',
navigationBarBackgroundColor: '#f8f8f8',
navigationBarTextStyle: 'black',
backgroundColor: '#FFFFFF',
},
easycom: {
autoscan: true,
custom: {
'^wd-(.*)': 'wot-design-uni/components/wd-$1/wd-$1.vue',
'^(?!z-paging-refresh|z-paging-load-more)z-paging(.*)':
'z-paging/components/z-paging$1/z-paging$1.vue',
},
},
tabBar: {
color: '#999999',
selectedColor: '#D3B389',
backgroundColor: '#ffffff',
borderStyle: '#E7E7E7',
height: '56px',
fontSize: '10px',
iconWidth: '20px',
spacing: '3px',
list: [
// {
// iconPath: 'static/tabbar/home.png',
// selectedIconPath: 'static/tabbar/homeHL.png',
// pagePath: 'pages/index/index',
// text: '首页',
// },
{
iconPath: 'static/tabbar/bank.png',
selectedIconPath: 'static/tabbar/bankHL.png',
pagePath: 'pages/bank/index',
text: '首页',
},
{
iconPath: 'static/tabbar/invite.png',
selectedIconPath: 'static/tabbar/inviteHL.png',
pagePath: 'pages/invite/index',
text: '邀请福利',
},
{
iconPath: 'static/tabbar/house.png',
selectedIconPath: 'static/tabbar/houseHL.png',
pagePath: 'pages/invest/index',
text: '资产平移',
},
{
iconPath: 'static/tabbar/personal.png',
selectedIconPath: 'static/tabbar/personalHL.png',
pagePath: 'pages/my/index',
text: '我的',
},
],
},
})