Skip to content

[1.12.0] 版本更新后BUG #4132

@MinHo-168

Description

@MinHo-168

tdesign-miniprogram 版本

1.12.0

重现链接

/

重现步骤

⚠️chore: --td-xx-icon-font-size 统一更名为 --td-xx-icon-size,涉及组件有 BackTop、Button、Cell、Empty、Grid、ImageViewer、NoticeBar、Progress、Result、Search 和 Upload,共计 11 个组件

版本更新后Cell、Empty、Grid等组件的字体全部受到影响了,且更改后不生效,如下所示:
--td-cell-title-font-size: 36rpx; 改为--td-cell-title-font: 36rpx; 字体大小不生效,使用TD自带变量也无效,增加 !important也无效。

目前发现出现同样问题的还有:
--td-grid-item-text-font-size: 32rpx;
--td-grid-item-description-font-size: 28rpx;

期望结果

修复可以正常使用

实际结果

No response

基础库版本

No response

补充说明

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionThis is a question, not a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions