{
  "pages": [
    {
      "path": "pages/index/index",
      "style": {
        "navigationBarTitleText": "养殖管理",
        "enablePullDownRefresh": true,
        "backgroundTextStyle": "dark"
      }
    },
    {
      "path": "pages/livestock/list",
      "style": {
        "navigationBarTitleText": "牲畜列表",
        "enablePullDownRefresh": true,
        "onReachBottomDistance": 50
      }
    },
    {
      "path": "pages/livestock/detail",
      "style": {
        "navigationBarTitleText": "牲畜详情"
      }
    },
    {
      "path": "pages/livestock/add",
      "style": {
        "navigationBarTitleText": "添加牲畜"
      }
    },
    {
      "path": "pages/livestock/edit",
      "style": {
        "navigationBarTitleText": "编辑牲畜"
      }
    },
    {
      "path": "pages/health/monitor",
      "style": {
        "navigationBarTitleText": "健康监控",
        "enablePullDownRefresh": true
      }
    },
    {
      "path": "pages/health/record",
      "style": {
        "navigationBarTitleText": "健康记录"
      }
    },
    {
      "path": "pages/health/check",
      "style": {
        "navigationBarTitleText": "健康检查"
      }
    },
    {
      "path": "pages/breeding/manage",
      "style": {
        "navigationBarTitleText": "繁殖管理",
        "enablePullDownRefresh": true
      }
    },
    {
      "path": "pages/breeding/record",
      "style": {
        "navigationBarTitleText": "繁殖记录"
      }
    },
    {
      "path": "pages/feeding/manage",
      "style": {
        "navigationBarTitleText": "饲料管理",
        "enablePullDownRefresh": true
      }
    },
    {
      "path": "pages/feeding/plan",
      "style": {
        "navigationBarTitleText": "饲料计划"
      }
    },
    {
      "path": "pages/production/records",
      "style": {
        "navigationBarTitleText": "生产记录",
        "enablePullDownRefresh": true
      }
    },
    {
      "path": "pages/production/add",
      "style": {
        "navigationBarTitleText": "添加生产记录"
      }
    },
    {
      "path": "pages/report/dashboard",
      "style": {
        "navigationBarTitleText": "数据报表",
        "enablePullDownRefresh": true
      }
    },
    {
      "path": "pages/report/generate",
      "style": {
        "navigationBarTitleText": "生成报表"
      }
    },
    {
      "path": "pages/settings/index",
      "style": {
        "navigationBarTitleText": "设置"
      }
    },
    {
      "path": "pages/settings/profile",
      "style": {
        "navigationBarTitleText": "个人资料"
      }
    },
    {
      "path": "pages/settings/alerts",
      "style": {
        "navigationBarTitleText": "预警设置"
      }
    },
    {
      "path": "pages/login/login",
      "style": {
        "navigationBarTitleText": "登录",
        "navigationStyle": "custom"
      }
    }
  ],
  "globalStyle": {
    "navigationBarTextStyle": "black",
    "navigationBarTitleText": "养殖管理",
    "navigationBarBackgroundColor": "#F8F8F8",
    "backgroundColor": "#F8F8F8",
    "backgroundTextStyle": "light",
    "enablePullDownRefresh": false,
    "onReachBottomDistance": 50
  },
  "tabBar": {
    "color": "#7A7E83",
    "selectedColor": "#2e8b57",
    "borderStyle": "black",
    "backgroundColor": "#ffffff",
    "list": [
      {
        "pagePath": "pages/index/index",
        "iconPath": "static/tabbar/home.png",
        "selectedIconPath": "static/tabbar/home-active.png",
        "text": "首页"
      },
      {
        "pagePath": "pages/livestock/list",
        "iconPath": "static/tabbar/livestock.png",
        "selectedIconPath": "static/tabbar/livestock-active.png",
        "text": "牲畜"
      },
      {
        "pagePath": "pages/health/monitor",
        "iconPath": "static/tabbar/health.png",
        "selectedIconPath": "static/tabbar/health-active.png",
        "text": "健康"
      },
      {
        "pagePath": "pages/report/dashboard",
        "iconPath": "static/tabbar/report.png",
        "selectedIconPath": "static/tabbar/report-active.png",
        "text": "报表"
      },
      {
        "pagePath": "pages/settings/index",
        "iconPath": "static/tabbar/settings.png",
        "selectedIconPath": "static/tabbar/settings-active.png",
        "text": "设置"
      }
    ]
  },
  "condition": {
    "current": 0,
    "list": [
      {
        "name": "首页",
        "path": "pages/index/index",
        "query": ""
      },
      {
        "name": "牲畜列表",
        "path": "pages/livestock/list",
        "query": ""
      },
      {
        "name": "健康监控",
        "path": "pages/health/monitor",
        "query": ""
      }
    ]
  },
  "subPackages": [
    {
      "root": "subpages",
      "pages": [
        {
          "path": "statistics/index",
          "style": {
            "navigationBarTitleText": "统计分析"
          }
        },
        {
          "path": "export/index",
          "style": {
            "navigationBarTitleText": "数据导出"
          }
        }
      ]
    }
  ],
  "preloadRule": {
    "pages/index/index": {
      "network": "all",
      "packages": ["subpages"]
    }
  }
}