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

[Feature Request] van-tab 组件的title希望可以使用slot自定义 #4431

Closed
AlwaysLoveme opened this issue Aug 26, 2021 · 6 comments
Closed

Comments

@AlwaysLoveme
Copy link

这个功能解决了什么问题

van-tab 组件的title 可以自定义,比如加入icon

建议的API是什么样的

<van-tab >
    <view slot="title">title</view>
    内容 2
</van-tab>
@nemo-shen
Copy link
Collaborator

增加这个特性周期会有点长,需要重写 <Tab /> 组件

@chen9091
Copy link

chen9091 commented Sep 7, 2021

van-tab组件 wx:for循环 title 赋不上值

@JunGaJang
Copy link

JunGaJang commented Apr 8, 2022

这个太需要了。想在旁边加状态啥的,完全不行。

@zhihuifanqiechaodan
Copy link

这个太需要了。想在旁边加状态啥的,完全不行。

有赞大裁员。现在的issues不知道啥时候才有空解决。

@landluck
Copy link
Contributor

#4757

@nsnsqk
Copy link

nsnsqk commented Oct 19, 2023

两年了,大哥们,这个title slot还没有加上吧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants