收藏
回答

分包问题

框架类型 问题类型 终端类型 微信版本 基础库版本
小程序 Bug 微信安卓客户端 3.0.0 1.0.3

https://developers.weixin.qq.com/miniprogram/dev/framework/subpackages/basic.html

 {
  "pages": [   
    "pages/login/login"    ,
    "pages/machineOperator/jobs/jobs",
    "pages/machineOperator/uncompletedJobsList/uncompletedJobsList",
    "pages/machineOperator/newJobToday/newJobToday",
    "pages/machineOperator/functionExpansionIndex/functionExpansionIndex"
  ],
  "tabBar": {
    "color""#356",
    "selectionedColor""#000",
    "backgroundColor":"#fff",
    "borderStyle""white",
    "list": [
      {
        "pagePath""pages/machineOperator/jobs/jobs",
        "iconPath""/pages/machineOperator/images/workQuery.jpg",
        "selectedIconPath""/pages/machineOperator/images/workQuerySelected.jpg",
        "text""历史任务"
      },
      {
        "pagePath""pages/machineOperator/uncompletedJobsList/uncompletedJobsList",
        "iconPath""/pages/machineOperator/images/dispatchM.jpg",
        "selectedIconPath""/pages/machineOperator/images/dispatchMSelected.jpg",
        "text""新派任务"
      },
      {
        "pagePath""pages/machineOperator/newJobToday/newJobToday",
        "iconPath""/pages/machineOperator/images/personalInformation.jpg",
        "selectedIconPath""/pages/machineOperator/images/personalInformationSelected.jpg",
        "text""今日任务",
        "dot":true
            },
      {
        "pagePath""pages/machineOperator/functionExpansionIndex/functionExpansionIndex",
        "iconPath""/pages/machineOperator/images/personalInformation.jpg",
        "selectedIconPath""/pages/machineOperator/images/personalInformationSelected.jpg",
        "text""功能扩展",
        "badge":"new"
      }
    ]
  },
  "window": {
    "backgroundTextStyle""light",
    "navigationBarBackgroundColor""#fff",
    "navigationBarTitleText""Weixin",
    "navigationBarTextStyle""black"
  },
  "subPackages": [
    {
      "root""page/systemManagerPackage/",
      "pages": [
        "pages/systemManager/systemManagerIndex/systemMangerIndex"
        
      ],
      "independent"true
    }
  ],
  "networkTimeout": {
    "request"10000,
    "connectSocket"10000,
    "uploadFile"10000,
    "downloadFile"10000
  },
  "debug"false,
  "sitemapLocation""sitemap.json"
}


 
回答关注问题邀请回答
收藏

3 个回答

登录 后发表内容
问题标签