From 8af644288d6b7239ead9214b2e0b8ccddc8ea987 Mon Sep 17 00:00:00 2001 From: YANGJIANKUAN Date: Sun, 22 Mar 2026 17:31:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=9B=BD=E9=99=85?= =?UTF-8?q?=E8=BF=9B=E6=B8=AF=E5=88=86=E5=8D=95=E5=88=97=E8=A1=A8=E9=A1=B9?= =?UTF-8?q?=E9=80=89=E4=B8=AD=E6=A0=B7=E5=BC=8F=E5=B9=B6=E8=A1=A5=E5=85=85?= =?UTF-8?q?=E8=A7=84=E8=8C=83=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- CLAUDE.md | 19 +++++++++++++++++++ .../layout/item_int_arr_air_manifest_sub.xml | 4 ++-- .../res/layout/item_int_imp_manifest_sub.xml | 4 ++-- .../layout/item_int_imp_storage_use_sub.xml | 2 +- .../res/layout/item_int_imp_tally_sub.xml | 2 +- 5 files changed, 25 insertions(+), 6 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 15b587e..4baf0c0 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -383,6 +383,25 @@ fun toggleAllExpand() { } ``` +4. **子列表项 checkbox 样式**(必须使用 `_style` 系列,禁止使用 `_gray` 系列): +```xml + + +``` + +| 资源 | 含义 | 外观 | +|------|------|------| +| `radiobtn_checked_style` | 选中 | colorPrimary 蓝色实心圆 + 白色内环 | +| `radiobtn_unchecked_style` | 未选中 | 透明 + 黑色边框圆 | +| ~~`radiobtn_checked_gray`~~ | ❌ 禁用 | 灰色实心圆(错误样式) | + **参考文件**: `module_gjc/.../IntExpStorageUseActivity.kt`、`IntExpStorageUseViewModel.kt` --- diff --git a/module_gjj/src/main/res/layout/item_int_arr_air_manifest_sub.xml b/module_gjj/src/main/res/layout/item_int_arr_air_manifest_sub.xml index 8ffdc49..a0c6b29 100644 --- a/module_gjj/src/main/res/layout/item_int_arr_air_manifest_sub.xml +++ b/module_gjj/src/main/res/layout/item_int_arr_air_manifest_sub.xml @@ -27,8 +27,8 @@ android:layout_height="20dp" android:layout_gravity="center_vertical" android:layout_weight="0.5" - loadImage="@{bean.checked.get() ? @drawable/radiobtn_checked_gray : @drawable/radiobtn_unchecked_gray}" - android:src="@drawable/radiobtn_unchecked_gray" /> + loadImage="@{bean.checked.get() ? @drawable/radiobtn_checked_style : @drawable/radiobtn_unchecked_style}" + android:src="@drawable/radiobtn_unchecked_style" /> + loadImage="@{bean.checked.get() ? @drawable/radiobtn_checked_style : @drawable/radiobtn_unchecked_style}" + android:src="@drawable/radiobtn_unchecked_style" /> diff --git a/module_gjj/src/main/res/layout/item_int_imp_tally_sub.xml b/module_gjj/src/main/res/layout/item_int_imp_tally_sub.xml index f1743d3..483cd15 100644 --- a/module_gjj/src/main/res/layout/item_int_imp_tally_sub.xml +++ b/module_gjj/src/main/res/layout/item_int_imp_tally_sub.xml @@ -27,7 +27,7 @@ android:layout_height="20dp" android:layout_gravity="center_vertical" android:layout_weight="0.5" - loadImage="@{bean.checked.get() ? @drawable/radiobtn_checked_gray : @drawable/radiobtn_unchecked_gray}" + loadImage="@{bean.checked.get() ? @drawable/radiobtn_checked_style : @drawable/radiobtn_unchecked_style}" android:src="@drawable/radiobtn_unchecked_style" />