Skip to content

fix: 调整 ActionSheet 徽标位置 #991

Description

@RSS1102

背景

ActionSheet 列表项当前将 badge 放在标题文本右侧,并通过 SizedBox 与文本间隔开。原实现注释指出徽标应位于列表项右上角,当前布局与 TDesign 设计及其他组件的徽标实现不一致。

期望

  • 将 ActionSheet 列表项徽标调整到右上角;
  • 兼容标题、副标题、禁用态和长文本;
  • 补充组件测试,必要时补充 Example 视觉验证。

相关代码

  • tdesign-component/lib/src/components/action_sheet/t_action_sheet_list.dart

备注

该问题原先由 TODO 标记,属于可复现的视觉缺陷,不应仅删除注释。

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions