jeecgBootUniapp/pages.config.ts

55 lines
1.4 KiB
Vue
Raw Permalink Normal View History

2025-04-29 08:37:17 +00:00
import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages'
export default defineUniPages({
2025-05-09 01:42:19 +00:00
globalStyle: {
navigationStyle: 'default',
navigationBarTitleText: 'uniapp',
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: '#aaa',
selectedColor: '#39b54a',
backgroundColor: '#F8F8F8',
borderStyle: 'black',
height: '50px',
fontSize: '11px',
iconWidth: '24px',
spacing: '3px',
list: [
{
iconPath: 'static/tabbar/tabbar-home-2.png',
selectedIconPath: 'static/tabbar/tabbar-home.png',
pagePath: 'pages/index/index',
text: '首页',
},
{
"iconPath": "static/tabbar/tabbar-production.png",
"selectedIconPath": "static/tabbar/tabbar-production-2.png",
"pagePath": "pages/production/index",
2025-05-22 07:30:36 +00:00
"text": "生产"
2025-05-09 01:42:19 +00:00
},
{
iconPath: 'static/tabbar/tabbar-operation.png',
selectedIconPath: 'static/tabbar/tabbar-operation-2.png',
pagePath: 'pages/operation/index',
text: '经营',
2025-05-09 01:42:19 +00:00
},
{
iconPath: 'static/tabbar/tabbar-user-2.png',
selectedIconPath: 'static/tabbar/tabbar-user.png',
pagePath: 'pages/user/people',
text: '个人',
},
],
},
})