收藏
回答

app.json 求助

怎么样可以动态设置app.json

"window": {
    "navigationBarBackgroundColor": "#fff",
    "navigationBarTextStyle": "black",
    "navigationBarTitleText": "拉",
    "backgroundColor": "#f0f1f5"
  },
  "tabBar": {
    "color": "#979797",
    "selectedColor": "#00b38a",
    "backgroundColor": "#fff",
    "borderStyle": "black",
    "list": [{
      "pagePath": "pages/company/company",
      "text": "主页",
      "iconPath": "images/icon-job.png",
      "selectedIconPath": "images/icon-job-hover.png"
    }, {
      "pagePath": "pages/jobList/jobList",
      "text": "职位",
      "iconPath": "images/icon-company.png",
      "selectedIconPath": "images/icon-company-hover.png"
    }, {
      "pagePath": "pages/user/user",
      "text": "我的",
      "iconPath": "images/icon-user.png",
      "selectedIconPath": "images/icon-user-hover.png"
    }]
  }

里面的这些值?

求助

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

1 个回答

  • 放轻松点 主角
    放轻松点 主角
    2017-12-07

    不能动态设置 ,官方暂没提供相关API

    2017-12-07
    有用
    回复
登录 后发表内容