[BUG]WeUI Icon 高度不等于指定的size并且垂直不居中
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- typescript
- Domain
- frontend
Research direction
Start with the mp-icon component and the WXML example in the issue, then compare its rendered size and vertical alignment with the WeUI icon documentation. Reproduce the issue using size="25" and confirm that the icon height matches the specified size and is vertically centered.
Written by the indexing model from the issue text.
Description
Bug描述
WeUI Icon 高度不等于指定的size并且垂直不居中
复现方式
- 引入mp-icon
- wxml中添加
<mp-icon icon="add" color="white" size="{{25}}"></mp-icon> - 如以下截图所示,icon高度不等于指定的size并且垂直不居中。

版本信息
- weui 版本 [useExtendedLib 引入则直接填写 useExtendedLib] :
useExtendedLib (IDE 1.05.2107090)
- Dominant language
- TypeScript
- Stars
- 2.4k
- Forks
- 549
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from wechat-miniprogram/weui-miniprogram
-
Difficulty 1/5 Under an hour Newbie friendliness 55/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
[BUG] Open
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 28/100
All issues in wechat-miniprogram/weui-miniprogram
Similar issues
-
comp/desktop P3 type/bug
Difficulty 1/5 Under an hour Newbie friendliness 92/100
NousResearch/hermes-agent#118866 ·
-
Browser Waiting for: Product Owner
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
getsentry/sentry-javascript#24577 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
agilepathway/label-checker#640 ·
-
Plugin stuck at "loading" on DSH 0.1.6-alpha.2 — turnTail list slot registration missing options.id Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
chrisparsons83/flexspotff#153 ·