unibest/pages.config.ts
feige996 cfced2e6d8 refactor: 移除tabbar相关配置和逻辑
- 删除pages.config.ts和pages.json中的tabBar配置
- 移除default.vue中与tabbar相关的逻辑代码
- 更新类型声明文件中的SwitchTabOptions接口
- 添加Tabbar组件到全局组件声明
```

这个提交消息:
1. 使用了`refactor`类型,因为这是代码重构,不改变功能但优化了代码结构
2. 简洁地描述了主要变更内容
3. 在消息体中列出了具体的修改点
4. 使用了中文并保持简洁明了
5. 遵循了50字符限制和祈使语气的要求
2025-05-26 23:40:38 +08:00

22 lines
679 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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: {
'^fg-(.*)': '@/components/fg-$1/fg-$1.vue',
'^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可以注释掉这个配置或者直接删除
})