Skip to content

mpx skyline skill#2540

Open
wenwenhua wants to merge 36 commits into
masterfrom
feat-mpx-skyline-adaptation
Open

mpx skyline skill#2540
wenwenhua wants to merge 36 commits into
masterfrom
feat-mpx-skyline-adaptation

Conversation

@wenwenhua

Copy link
Copy Markdown
Collaborator

No description provided.

@@ -0,0 +1,458 @@
# Skyline WXSS 样式能力参考

Skyline 渲染引擎 CSS 支持范围与 WebView 有所不同。本文档说明 Skyline 下的样式能力支持情况与属性差异。

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

看上去大部分支持样式都与w3c标准一致,与w3c标准一致的样式能力简要说明即可,无需展开介绍,重点介绍和w3c标准不一致的部分

@@ -0,0 +1,754 @@
# Skyline 基础组件支持与差异参考

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

感觉不需要,这里很多skyline特有的特性无法跨端使用,且公网上都有相关资料

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

给一个不支持组件和属性的速查表就可以

@@ -0,0 +1,1629 @@
# WebView → Skyline 适配改造最佳实践

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个文件应该是核心,但是单个文件太大了,按类别拆几个文件出来吧

- [worklet.scrollViewContext:必须通过 ref 获取](#workletscrollviewcontext必须通过-ref-获取)
- [worklet.scrollViewContext.scrollTo:调用函数必须声明 'worklet' 指令](#workletscrollviewcontextscrollto调用函数必须声明-worklet-指令)
- [DraggableSheetContext:size 和 pixels 不可同时传入](#draggablesheetcontextsize-和-pixels-不可同时传入)
- [Worklet 动画适配](#worklet-动画适配)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

感觉不需要

- [movable-area / movable-view 替代方案](#movable-area--movable-view-替代方案)
- [wxs 跨包引用错误](#wxs-跨包引用错误typeerror-rwxsstringify4ccc0480-is-not-a-function)
- [SVG 在 Skyline 下的限制与适配](#svg-在-skyline-下的限制与适配)
- [性能优化](#性能优化)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

存在跨端兼容性问题 或 与跨端方案存在冲突

- [list-view / grid-view 适配](#list-view--grid-view-适配)
- [嵌套滚动适配](#嵌套滚动适配)
- [navigator 嵌套限制](#navigator-嵌套限制)
- [Scroll API 适配](#scroll-api-适配)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

感觉不需要

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

Successfully merging this pull request may close these issues.

3 participants