html52.com
我爱小程序-开发者交流社区

分包问题

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

https: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"
}


 

网友回复

何小强:

主包太大了吧

Ain:

翻译一下就好了,应该意思是体积超过2M了

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

真正的个人免签约支付接口

云免签H5支付