Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skyline渲染模式的问题 #297

Open
KING754 opened this issue Oct 10, 2024 · 1 comment
Open

Skyline渲染模式的问题 #297

KING754 opened this issue Oct 10, 2024 · 1 comment

Comments

@KING754
Copy link

KING754 commented Oct 10, 2024

1.使用skyline之后,"renderer": "skyline",<towxml nodes="{{article}}"/>内的内容无法再上下滑动了.
1.1:demo工程的app.json的windows中增加 "navigationStyle": "custom",
1.2:其它增加

  "style": "v2",
  "renderer": "skyline",
  "rendererOptions": {
    "skyline": {
      "defaultDisplayBlock": true,
      "disableABTest": true
    }
  },
  "componentFramework": "glass-easel",
  "lazyCodeLoading": "requiredComponents",

完整的为:

{
  "pages": [
    "pages/light/index",
    "pages/dark/index"
  ],
  "window": {
    "navigationStyle": "custom",
    "backgroundTextStyle": "light",
    "navigationBarBackgroundColor": "#000",
    "navigationBarTitleText": "Towxml Demo",
    "navigationBarTextStyle": "white"
  },
  "tabBar": {
    "color": "#fff",
    "selectedColor": "#fff",
    "backgroundColor": "#000",
    "list": [
      {
        "pagePath": "pages/light/index",
        "text": "Light",
        "iconPath": "images/sun--default.png",
        "selectedIconPath": "images/sun--current.png"
      },
      {
        "pagePath": "pages/dark/index",
        "text": "Dark",
        "iconPath": "images/moon--default.png",
        "selectedIconPath": "images/moon--current.png"
      }
    ]
  },
  "style": "v2",
  "renderer": "skyline",
  "rendererOptions": {
    "skyline": {
      "defaultDisplayBlock": true,
      "disableABTest": true
    }
  },
  "componentFramework": "glass-easel",
  "lazyCodeLoading": "requiredComponents",
  "sitemapLocation": "sitemap.json"
}

2.在项目设置中选择了"开启Skyline渲染调试"之后,则所有格式失效.
1728547317694

测试信息:
工程:towxml-demo
基础库版本:3.6.1
修改了app.json见上,其它地方未做修改.

@sbfkcel
Copy link
Owner

sbfkcel commented Dec 4, 2024

这个版本暂时不支持Skyline
下个大版本会考虑支持。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants