export default defineAppConfig({
  pages: [
    'pages/index/index',
    'pages/index/login', // 登录页

    /**
     * 用户侧
     */
    'pages/residents/code', // 进出码
  ],
  window: {
    backgroundTextStyle: 'dark',
    navigationBarBackgroundColor: '#000',
    navigationBarTitleText: 'WeChat',
    navigationBarTextStyle: 'white'
  },
  "tabBar": {
    "selectedColor": "#FF8966",
    "list": [
      {
        "pagePath": "pages/index/index",
        "text": "首页",
        "iconPath": "image/icon/_home.png",
        "selectedIconPath": "image/icon/home.png"
      },
      {
        "pagePath": "pages/residents/code",
        "text": "进出码",
        "iconPath": "image/icon/_code.png",
        "selectedIconPath": "image/icon/code.png"
      },
      // {
      //   "pagePath": "pages/report/report",
      //   "text": "日报",
      //   "iconPath": "/icon/_report.png",
      //   "selectedIconPath": "/icon/report.png"
      // },
      // {
      //   "pagePath": "pages/apply/apply",
      //   "text": "申请",
      //   "iconPath": "/icon/_apply.png",
      //   "selectedIconPath": "/icon/apply.png"
      // },
      // {
      //   "pagePath": "pages/person/person",
      //   "text": "我的",
      //   "selectedColor": "#FF8966",
      //   "iconPath": "/icon/_person.png",
      //   "selectedIconPath": "/icon/person.png"
      // }
    ]
  },
})
