Tencent / Tencent/tdesign-miniprogram

[Skyline] 建议考虑接入Skyline新框架

Open
#2,588 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

🏃 in progress 💪🏻 enhancement
Dominant language
Vue
Stars
1.8k
Forks
337
Avg merge
1d 21h
Merged PRs (30d)
19

Description

这个功能解决了什么问题

截至本issue发布
Skyline目前已经在正式版本更新到了1.2.0
这个框架相对于Webview的优势在于:
1、worklet动画,将部分UI动画全部放到UI层运行,而不必再与JS线程跨线程通信,大大提高了动画性能,并且能够实现之前的Webview框架中不能实现的一些动画;
2、基于1,实现自定义路由AppBar(这个组件很好,例如QQ音乐的播放栏就可以使用)等多种多样的动画效果、页面路由切换等,虽然微信MP团队已经封装了几个自定义路由动画,但是我依然觉得Tdesign组件如果选择投入进去,那么丰富多彩的动画组件将会越来越多;
3、共享元素动画,共享元素是一个在原生App中常见的一种动画,使用场景很丰富,例如小红书、大众点评点击帖子卡片跳转到详情页,帖子首图的动态变化。

你建议的方案是什么

前面所提到的是Skyline框架的优势所在,接入这个框架显然能够提高组件库的可玩性,因为Tdesign本身的UI设计是非常好的,再加上灵活的动画效果,想必一定是一个非常完美的全新的灵动的组件库。
当然Skyline的弊端也很显著,例如很多特性MP团队正在开发、甚至有一些也在考虑当中,API和组件的特性也在随时变化,开发过程中不支持热更新这同样对于开发组件库来说是很大的槽点。
建议你们能够先考虑一下接入Skyline后新增哪些和动画相关的组件,然后结合新特性以及原生App中的一些实践,把这些东西结合一下放在小程序组件库里,是很令人期待的!

### Tasks

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue proposes evaluating Skyline integration for TDesign MiniProgram and adding animation-oriented components, but it names no files, tests, or entry points. Start by reviewing the current component library structure and Skyline compatibility, then define a concrete integration scope and acceptance criteria before implementation.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.