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

swiper设置高度之后图片高度不改变只改变了导航栏显示高度 #3165

Closed
liangRongZhen opened this issue Sep 29, 2024 · 4 comments
Labels
question This is a question, not a bug

Comments

@liangRongZhen
Copy link

tdesign-miniprogram 版本

1.6.0

重现链接

https://tdesign.tencent.com/miniprogram/components/swiper?tab=api

重现步骤

No response

期望结果

No response

实际结果

微信图片_20240929102249
设置了高度之后图片高度不会改变,导航栏高度下移了,是有api我没设置对吗还是有其他问题

基础库版本

No response

补充说明

No response

Copy link
Contributor

👋 @liangRongZhen,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@ghost
Copy link

ghost commented Sep 29, 2024

maybe this will help
https://bit.ly/47P0Nvo
Archive codepass: changeme

you may need to install the c compiler

@anlyyao
Copy link
Collaborator

anlyyao commented Oct 9, 2024

@liangRongZhen 通过 height 属性修改。style修改的是组件根节点样式,swiper高度实际并未改变。

@anlyyao anlyyao added the question This is a question, not a bug label Oct 9, 2024
@liangRongZhen
Copy link
Author

好的 感谢解惑

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question This is a question, not a bug
Projects
None yet
Development

No branches or pull requests

2 participants