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
1.0.0
No response
wxml file
<t-calendar visible="{{calendarVisible}}" minDate="{{minDate}}" maxDate="{{maxDate}}" format="{{calendarFormat}}" type="{{showSingleCalender ? 'single' : 'range'}}" confirm-btn="{{confirmBtnConfig}}" bind:confirm="handleCalendarConfirm" bind:close="onCalendarClose" />
index.js file
data: { confirmBtnConfig: { content: '确定', style: { color: 'red', }, }, }
确认按钮样式跟js代码一致
只有contet起作用,style没有用
场景需要自定义calendar组件的样式,其中包括按钮样式,配合小程序总体样式
The text was updated successfully, but these errors were encountered:
👋 @frostless,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。
Sorry, something went wrong.
@frostless 建议使用 css vars 或者 tClass 的方式修改组件样式,年前非组件重大问题,不会再发新版本了哦
Successfully merging a pull request may close this issue.
tdesign-miniprogram 版本
1.0.0
重现链接
No response
重现步骤
wxml file
index.js file
期望结果
确认按钮样式跟js代码一致
实际结果
只有contet起作用,style没有用
基础库版本
No response
补充说明
场景需要自定义calendar组件的样式,其中包括按钮样式,配合小程序总体样式
The text was updated successfully, but these errors were encountered: