| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- // pages.config.ts
- import { defineUniPages } from '@uni-helper/vite-plugin-uni-pages'
- export default defineUniPages({
- // You can also define pages fields, which have the highest priority.
- pages: [
- ],
- tabBar: {
- // Gray3
- color: '#828282',
- // Gray1
- selectedColor: '#FE0032',
- backgroundColor: '#FFFFFF',
- list: [{
- pagePath: 'pages/home/index',
- iconPath: 'static/icon/home-off.png',
- selectedIconPath: 'static/icon/home-on.png',
- text: '首页'
- }, {
- pagePath: 'pages/store/nearby/index',
- iconPath: 'static/icon/chuangke-off.png',
- selectedIconPath: 'static/icon/chuangke-on.png',
- text: '创客'
- }, {
- pagePath: 'pages/dacang/list/index',
- iconPath: 'static/icon/dacang-off.png',
- selectedIconPath: 'static/icon/dacang-on.png',
- text: '大仓'
- }, {
- pagePath: 'pages/order_addcart/index',
- iconPath: 'static/icon/shopcart-off.png',
- selectedIconPath: 'static/icon/shopcart-on.png',
- text: '购物车'
- },{
- pagePath: 'pages/user/index',
- iconPath: 'static/icon/user-off.png',
- selectedIconPath: 'static/icon/user-on.png',
- text: '我的'
- }]
- },
- globalStyle: {
- navigationBarBackgroundColor: '@navBgColor',
- navigationBarTextStyle: '@navTxtStyle',
- navigationBarTitleText: '储蓄保',
- backgroundColor: '@bgColor',
- backgroundTextStyle: '@bgTxtStyle',
- backgroundColorTop: '@bgColorTop',
- backgroundColorBottom: '@bgColorBottom',
- },
- })
|