Tencent / Tencent/tdesign-miniprogram

t-avatar t-image e-empty t-swiper 等涉及到图片的组件,在加载之前显示难看的空白

Open
#2,542 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

tdesign-miniprogram 版本

1.2.6

重现链接

No response

重现步骤

t-avatar t-image e-empty t-swiper 等涉及到图片的组件,在加载之前显示难看的空白

期望结果

类似 图片 loading 属性可以扩展一些透明,动图等实用些的扩展吗?

实际结果

No response

基础库版本

No response

补充说明

用到图片都会出现难看的白色空白,想使用透明,或者无文字,无动图,最好有默认图片配置也好

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

Start by reviewing the loading behavior of the mentioned components: t-avatar, t-image, e-empty, and t-swiper. Define what configurable loading states or default images are required, including transparent, animated, or text-free options, and verify that image-based components no longer show an undesirable blank area before loading.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.