修正(会员弹层):支付方式静态文案去掉 radiogroup/radio 语义
- 微信支付是纯展示的单一选项,不可交互的 radio 会误导读屏 - 改为普通文本容器,视觉样式不变
This commit is contained in:
@@ -1175,16 +1175,10 @@ function PlatformRechargeCheckoutShell({
|
||||
<div className="mt-4 text-[11px] font-bold text-[var(--platform-text-soft)]">
|
||||
支付方式
|
||||
</div>
|
||||
<div
|
||||
role="radiogroup"
|
||||
aria-label="支付方式"
|
||||
className="mt-1.5 flex items-center gap-2 rounded-2xl border border-white/10 bg-white/6 px-3 py-2"
|
||||
>
|
||||
<span
|
||||
role="radio"
|
||||
aria-checked="true"
|
||||
className="inline-flex items-center gap-2 text-xs font-black text-[var(--platform-text-strong)]"
|
||||
>
|
||||
{/* 中文注释:当前只支持微信支付,是纯展示文案,不用 radiogroup / radio 语义(不可交互的
|
||||
单选项会误导读屏)。 */}
|
||||
<div className="mt-1.5 flex items-center gap-2 rounded-2xl border border-white/10 bg-white/6 px-3 py-2">
|
||||
<span className="inline-flex items-center gap-2 text-xs font-black text-[var(--platform-text-strong)]">
|
||||
<span className="platform-profile-recharge-modal__badge-warning inline-flex h-5 w-5 items-center justify-center rounded-full border text-[10px]">
|
||||
微
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user