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
自定义主题时,可以修改选择框的的背景颜色
在微信小程序中,选择项的颜色可以修改,但是选择框的颜色无法修改。
<van-picker class="my-picker" show-toolbar columns="{{ openTime }}" />
.my-picker { --picker-background-color: #1e1e2e; --picker-confirm-action-color: #89b4fa; --picker-cancel-action-color: #bac2de; --picker-option-text-color: #cdd6f4; --picker-option-selected-text-color: #89b4fa; }
Page({ data: { openTime: ['18:00', '18:30'] } })
The text was updated successfully, but these errors were encountered:
No branches or pull requests
这个功能解决了什么问题?
自定义主题时,可以修改选择框的的背景颜色
你期望的 API 是什么样子的?
在微信小程序中,选择项的颜色可以修改,但是选择框的颜色无法修改。
The text was updated successfully, but these errors were encountered: