[BUG] mp-cells包含封装了mp-cell的子组件时样式丢失
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 48/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Domain
- frontend
Research direction
Start by reproducing the issue with mp-cells containing MyComponent and a direct mp-cell, using the MyComponent.wxml example. Read the mp-cells and mp-cell implementations to trace how nested components receive their styles. Done means the mp-cell inside MyComponent retains its upper and lower borders when rendered within mp-cells.
Written by the indexing model from the issue text.
Description
Bug描述
父组件使用mp-cells 包含了直接封装了 mp-cell的子组件
子组件在mp-cells内的上下边框消失
复现方式
父组件
<mp-cells >
<MyComponent >
</MyComponent >
<mp-cell>
</mp-cell>
</mp-cells >
子组件MyComponent.wxml
<mp-cell hover link value="test">
</mp-cell>
版本信息
- weui 版本 [useExtendedLib 引入则直接填写 useExtendedLib] :
"useExtendedLib": {
"weui": true
}
- Dominant language
- TypeScript
- Stars
- 2.4k
- Forks
- 549
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Doist/todoist-cli#576 ·
Maintainers usually reply within 1 day
-
feature
Difficulty 1/5 Under an hour Newbie friendliness 72/100
vercel-labs/skills#2370 ·
Maintainers usually reply within 1 day
-
🐛 Bug supabase/cli
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
CopilotKit/aimock#491 ·
Maintainers usually reply within 1 day