Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

建议组件加入自定义options #376

Closed
lbc19920615 opened this issue Dec 7, 2021 · 1 comment
Closed

建议组件加入自定义options #376

lbc19920615 opened this issue Dec 7, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@lbc19920615
Copy link

新功能描述

微信Component可以设置 styleIsolation: 'apply-shared', 这样page和app.wxss里的样式就可以自定了

应用场景

通过class设置富文本

@jin-yufeng
Copy link
Owner

这个感觉不同人的需要不一样吧,有些人可能并不希望页面设置的样式影响到内部
之后作为一个配置项也可以
目前需要在组件里用的样式可以加到 node/node.wxss 里或者加到 tools/config.jsexternStyle 中然后构建到组件里

@jin-yufeng jin-yufeng added the wontfix This will not be worked on label Dec 24, 2021
@jin-yufeng jin-yufeng added enhancement New feature or request and removed wontfix This will not be worked on labels May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants