-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpages.config.ts
36 lines (35 loc) · 971 Bytes
/
pages.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages'
export default defineUniPages({
// 你也可以定义 pages 字段,它具有最高的优先级。
pages: [],
globalStyle: {
navigationBarTextStyle: 'black',
navigationBarTitleText: 'uni-fastkit',
navigationBarBackgroundColor: '#F8F8F8',
backgroundColor: '#F8F8F8',
},
tabBar: {
backgroundColor: '#ffffff',
borderStyle: 'white',
color: '#ffffff',
selectedColor: '#ffffff',
list: [
{
iconPath: 'static/tabbar/home.png',
selectedIconPath: 'static/tabbar/home2.png',
pagePath: 'pages/index/index',
},
{
iconPath: 'static/tabbar/my.png',
selectedIconPath: 'static/tabbar/my2.png',
pagePath: 'pages/about/index',
},
],
},
easycom: {
custom: {
'^(?!z-paging-refresh|z-paging-load-more)z-paging(.*)':
'z-paging/components/z-paging$1/z-paging$1.vue',
},
},
})