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

[Bug 上报] wd-row组件微信小程序无法手动绑定style样式,h5正常 #736

Closed
baymax-arch opened this issue Nov 25, 2024 · 4 comments
Labels
🐞bug: need confirm 待确认的bug

Comments

@baymax-arch
Copy link

Wot Design Uni 版本号

1.3.9

平台

h5, 微信小程序

复现Demo地址(如不提供,将被直接关闭)

重现步骤

image
image
image

期望的结果是什么?

wd-row组件 微信小程序支持动态绑定style

实际的结果是什么?

wd-row组件 微信小程序不支持动态绑定style

环境信息

No response

其他补充信息

No response

@baymax-arch baymax-arch added the 🐞bug: need confirm 待确认的bug label Nov 25, 2024
@baymax-arch
Copy link
Author

   <wd-row
      custom-class="wd-col-self"
      :gutter="10"
      :style="{
        border: '1px solid red',
      }"
    ></wd-row>

@baymax-arch
Copy link
Author

   <wd-row
      custom-class="wd-col-self"
      :gutter="10"
      :style="{
        border: '1px solid red',
      }"
    ></wd-row>

简单demo,可以复现

@Moonofweisheng
Copy link
Owner

看常见问题,微信小程序自定义组件想要合并外部css,需要加配置,最好还是使用custom-style或者custom-class实现

   <wd-row
      custom-class="wd-col-self"
      :gutter="10"
      custom-style="border: 1px solid red"
    ></wd-row>

Copy link

此 issue 已被自动锁定,因为关闭后没有任何近期活动。如果有相关 bug,请重新创建一个新 issue。

@github-actions github-actions bot locked and limited conversation to collaborators Dec 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐞bug: need confirm 待确认的bug
Projects
None yet
Development

No branches or pull requests

2 participants