Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[BUG] mp-cells包含封装了mp-cell的子组件时样式丢失

Open
#240 0 comments 0 reactions 0 assignees View on GitHub

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

  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.

More from wechat-miniprogram/weui-miniprogram

All issues in wechat-miniprogram/weui-miniprogram

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.