首页 > 解决方案 > 如果侧面菜单是浮动的还是固定的,我有没有办法以编程方式获取?

问题描述

我正在 Buildfire 平台上开发一个插件。我看到一个应用程序可以有浮动或固定的侧边菜单。我想根据侧边菜单样式更改插件内容的位置。我已经检查了外观,没有什么可以帮助我。我错过了什么吗?任何帮助表示赞赏。

标签: buildfire

解决方案


我不相信这是目前提供的(截至 2020 年 2 月)。closet 方法将buildfire.appearance.getAppTheme只返回字体和颜色

{
  "appName": "AlicanDemo2019",
  "colors": {
    "backgroundColor": "#18191a",
    "titleBar": "#09a3ee",
    "titleBarTextAndIcons": "#ffffff",
    "headerText": "#09a3ee",
    "bodyText": "#ffffff",
    "icons": "#09a3ee",
    "primaryTheme": "#09a3ee",
    "successTheme": "#14cb5d",
    "infoTheme": "#69d5ff",
    "warningTheme": "#faba41",
    "dangerTheme": "#ed4b4b",
    "defaultTheme": "#0677ae",
    "footerMenuBackgroundColor": "#18191a",
    "footerMenuIconColor": "#09a3ee"
  },
  "fontId": "Architects+Daughter",
  "fontName": "Architects Daughter"
}

推荐阅读