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

[Search] demo中类型展示缺少二级标题 #1335

Closed
pageee1021 opened this issue Dec 29, 2022 · 5 comments · Fixed by #1370
Closed

[Search] demo中类型展示缺少二级标题 #1335

pageee1021 opened this issue Dec 29, 2022 · 5 comments · Fixed by #1370
Assignees

Comments

@pageee1021
Copy link

tdesign-miniprogram 版本

最新版

重现链接

https://tdesign.tencent.com/miniprogram-live/m2w/program/miniprogram/#!pages/search/search.html

重现步骤

image

期望结果

No response

实际结果

No response

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

@github-actions
Copy link
Contributor

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

@github-actions
Copy link
Contributor

♥️ 有劳 @anlyyao @liulu4899681 尽快确认问题。
确认有效后将下一步计划和可能需要的时间回复给 @pageee1021

@pageee1021
Copy link
Author

pageee1021 commented Jan 10, 2023

上述问题已确认,补充一个关于交互状态的问题:
所有搜索框组件的交互方式都是一致的,如下图(即输入框激活时,都会出现右边的取消按钮)
Image

@LeeJim
Copy link
Collaborator

LeeJim commented Jan 11, 2023

其实激活才出现这样的交互是不合理的。因为一旦点击取消,不管取消有任何操作都会直接消失,因为此时input不是激活状态了。

因此,此处的 取消按钮 是通过配置了对应的属性才出现的。

@pageee1021
Copy link
Author

pageee1021 commented Jan 12, 2023

已沟通,取消可以作为可配置项,但是取消的交互还是期望可以激活输入框才出现(不建议常驻使用),因此demo需要对应调整下展示:https://codesign.qq.com/s/RG6X0kXNObZxEPB/QmlyZwrzy6W0WRA/inspect
Image

状态部分展示可以参考AntD的前两个交互的展示:https://mobile.ant.design/zh/components/search-bar
Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 验收不通过 🚫
Development

Successfully merging a pull request may close this issue.

3 participants