2024-01-04 09:53:17 +08:00
|
|
|
import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages'
|
|
|
|
|
|
|
|
export default defineUniPages({
|
|
|
|
globalStyle: {
|
2024-01-04 10:42:11 +08:00
|
|
|
navigationStyle: 'default',
|
2024-03-03 17:07:54 +08:00
|
|
|
navigationBarTitleText: 'unibest',
|
2024-01-04 10:42:11 +08:00
|
|
|
navigationBarBackgroundColor: '#f8f8f8',
|
|
|
|
navigationBarTextStyle: 'black',
|
2024-01-05 10:57:20 +08:00
|
|
|
backgroundColor: '#FFFFFF',
|
2024-01-04 09:53:17 +08:00
|
|
|
},
|
|
|
|
easycom: {
|
|
|
|
autoscan: true,
|
|
|
|
custom: {
|
2024-04-20 11:08:54 +08:00
|
|
|
// '^fg-(.*)': '@/components/fg-$1.vue',
|
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-01-04 09:53:17 +08:00
|
|
|
},
|
|
|
|
},
|
2024-02-04 16:00:27 +08:00
|
|
|
tabBar: {
|
2024-04-02 17:31:39 +08:00
|
|
|
custom: true,
|
2024-02-04 16:00:27 +08:00
|
|
|
color: '#999999',
|
|
|
|
selectedColor: '#018d71',
|
|
|
|
backgroundColor: '#F8F8F8',
|
|
|
|
borderStyle: 'black',
|
|
|
|
height: '50px',
|
|
|
|
fontSize: '10px',
|
|
|
|
iconWidth: '24px',
|
|
|
|
spacing: '3px',
|
|
|
|
list: [
|
2024-05-28 11:34:30 +08:00
|
|
|
// 注意tabbar路由需要使用 layout:tabbar 布局
|
2024-02-04 16:00:27 +08:00
|
|
|
{
|
2024-10-09 15:42:39 +08:00
|
|
|
pagePath: 'pages/message/index',
|
|
|
|
text: '消息',
|
|
|
|
icon: 'i-ic-outline-message',
|
|
|
|
iconType: 'unocss',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
pagePath: 'pages/colab/index',
|
|
|
|
text: '协作',
|
|
|
|
icon: 'i-ic-outline-handshake',
|
|
|
|
iconType: 'unocss',
|
2024-05-11 21:26:56 +08:00
|
|
|
},
|
|
|
|
{
|
2024-10-09 15:42:39 +08:00
|
|
|
pagePath: 'pages/work/index',
|
|
|
|
text: '工作台',
|
|
|
|
icon: 'i-ic-baseline-apps',
|
|
|
|
iconType: 'unocss',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
pagePath: 'pages/contacts/index',
|
|
|
|
text: '通讯录',
|
|
|
|
icon: 'i-ic-baseline-contact-page',
|
2024-05-11 21:26:56 +08:00
|
|
|
iconType: 'unocss',
|
2024-02-04 16:00:27 +08:00
|
|
|
},
|
|
|
|
{
|
2024-05-11 09:36:26 +08:00
|
|
|
pagePath: 'pages/my/index',
|
|
|
|
text: '我的',
|
2024-10-09 15:42:39 +08:00
|
|
|
icon: 'i-ic-baseline-person',
|
|
|
|
iconType: 'unocss',
|
2024-02-04 16:00:27 +08:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
2024-01-04 09:53:17 +08:00
|
|
|
})
|