unibest/pages.config.ts

44 lines
1.1 KiB
TypeScript
Raw Normal View History

import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages'
export default defineUniPages({
globalStyle: {
navigationStyle: 'default',
2024-03-03 17:07:54 +08:00
navigationBarTitleText: 'unibest',
navigationBarBackgroundColor: '#f8f8f8',
navigationBarTextStyle: 'black',
backgroundColor: '#FFFFFF',
},
easycom: {
autoscan: true,
custom: {
2024-03-25 21:01:26 +08:00
'^wd-(.*)': 'wot-design-uni/components/wd-$1/wd-$1.vue',
2024-05-12 15:30:57 +08:00
'^(?!z-paging-refresh|z-paging-load-more)z-paging(.*)':
'z-paging/components/z-paging$1/z-paging$1.vue',
},
},
2024-02-04 16:00:27 +08:00
tabBar: {
color: '#999999',
selectedColor: '#018d71',
backgroundColor: '#F8F8F8',
borderStyle: 'black',
height: '50px',
fontSize: '10px',
iconWidth: '24px',
spacing: '3px',
list: [
{
iconPath: 'static/tabbar/home.png',
selectedIconPath: 'static/tabbar/homeHL.png',
pagePath: 'pages/index/index',
2024-05-12 10:37:44 +08:00
text: '%tabbar.home%',
2024-02-04 16:00:27 +08:00
},
{
iconPath: 'static/tabbar/example.png',
selectedIconPath: 'static/tabbar/exampleHL.png',
2024-03-01 17:32:03 +08:00
pagePath: 'pages/index/about',
2024-05-12 10:37:44 +08:00
text: '%tabbar.about%',
2024-02-04 16:00:27 +08:00
},
],
},
})