marketingSaaS-front_ui/pages.config.ts

76 lines
1.6 KiB
TypeScript
Raw Normal View History

2024-06-06 09:20:53 +08:00
import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages'
export default defineUniPages({
globalStyle: {
navigationStyle: 'default',
navigationBarTitleText: 'unibest',
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: '#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',
text: '首页',
},
{
iconPath: './static/tabbar/example.png',
selectedIconPath: 'static/tabbar/exampleHL.png',
pagePath: 'pages/about/about',
text: '关于',
},
],
},
2024-06-07 18:50:33 +08:00
pages: [
{
2024-06-11 11:27:10 +08:00
path: 'pages/index/index',
2024-06-07 18:50:33 +08:00
type: 'home',
style: {
navigationStyle: 'custom',
},
},
],
2024-06-06 09:20:53 +08:00
})
2024-06-07 18:50:33 +08:00
// {
// path: 'pages/index/index',
// type: 'home',
// style: {
// navigationStyle: 'custom',
// },
// },
// {
// path: 'pages/activity/index',
// type: 'home',
// style: {
// navigationStyle: 'custom',
// },
// },
// {
// path: 'pages/coupon/index',
// type: 'home',
// style: {
// navigationStyle: 'custom',
// },
// },