// 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/dacang-off.png', // selectedIconPath: 'static/icon/dacang-on.png', // text: '本地生活' // }, { pagePath: 'pages/dacang/list/index', iconPath: 'static/icon/chuangke-off.png', selectedIconPath: 'static/icon/chuangke-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', }, })