We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
允许使用tabs组件时进行更丰富的内容展现,不局限于纯字符串。
如果将tab标题添加slot支持,可以满足以下场景:
文字加粗等默认行为产生的样式可以继承到slot中。
<wd-tabs v-model="tab"> <block v-for="item in 4" :key="item"> <wd-tab> <template #default> <view class="content">内容{{ item}}</view> </template> <template #title="{title}"> <view class="flex items-center"> <view class="i-carbon-flag" /> <view class="color-title">标签{{item}}</view> </view> </template> </wd-tab> </block> </wd-tabs>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
这个功能解决了什么问题?
允许使用tabs组件时进行更丰富的内容展现,不局限于纯字符串。
如果将tab标题添加slot支持,可以满足以下场景:
文字加粗等默认行为产生的样式可以继承到slot中。
你期望的 API 是什么样子的?
The text was updated successfully, but these errors were encountered: