123456789101112131415161718192021222324252627282930313233 |
- import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages'
- export default defineUniPages({
- globalStyle: {
- 'navigationStyle': 'default',
- 'navigationBarTitleText': 'BandhuBuy',
- 'navigationBarBackgroundColor': '#f8f8f8',
- 'navigationBarTextStyle': 'black',
- 'backgroundColor': '#FFFFFF',
- 'app-plus': {
- scrollIndicator: 'none',
- },
- },
- 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',
- },
- },
- /**
- * 2025-06-25 v3.3.0版(重新梳理tabbar配置)
- *
- * 1)原生tabbar,不需要关心 `layouts/fg-tabbar` 文件夹里面的内容。(这是默认配置)
- * 2)自定义tabbar(带缓存),保留下面的配置和修改 `/layouts/fg-tabbar/tabbarList.ts` 对应的代码。
- * 3)自定义tabbar(不带缓存),删除下面的配置和修改 `/layouts/fg-tabbar/tabbarList.ts` 对应的代码。
- * 4)无tabbar,直接删除下面的tabBar配置即可。
- *
- * 温馨提示:本文件的任何代码更改了之后,都需要重新运行,否则 pages.json 还是旧的,导致不是预期效果。
- */
- })
|