feat(web): use bg replace img

This commit is contained in:
zhaoying
2026-04-01 12:03:56 +08:00
parent c9ca5df05c
commit d3cd66fc6e
30 changed files with 104 additions and 279 deletions

View File

@@ -106,7 +106,7 @@ const RadioGroupCard: FC<RadioCardProps> = ({
{/* Use custom render or default card layout */}
{itemRender ? itemRender(option) : (
<>
{option.icon && <img src={option.icon} className={clsx("rb:size-10", {
{option.icon && <img src={option.icon} alt={option.icon} className={clsx("rb:size-10", {
'rb:m-[0_auto] rb:mb-3': !block,
})} />}
<div>