From 9d0218a864bccd292a2918901e689e45fcc74b60 Mon Sep 17 00:00:00 2001 From: junFeng Date: Tue, 24 Nov 2026 18:41:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=AD=A5=E5=85=B3=E5=8D=A1=E8=BD=AC?= =?UTF-8?q?=E6=8D=A2=E6=98=A0=E5=B0=84=E7=BA=A2=E7=BB=BF=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E5=8F=8A=E5=8A=A0=E6=B7=B1=E9=85=8D=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 抓猪关卡转换/piggy-converter/转换工具.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/抓猪关卡转换/piggy-converter/转换工具.html b/抓猪关卡转换/piggy-converter/转换工具.html index 20c92cd..37df087 100644 --- a/抓猪关卡转换/piggy-converter/转换工具.html +++ b/抓猪关卡转换/piggy-converter/转换工具.html @@ -6,6 +6,9 @@ +

关卡 JSON 转换

@@ -104,6 +107,8 @@ function renderMappings(){ select.add(new Option('未适配 / 不转换','')); for(const target of PiggyConverter.targetTypes)select.add(new Option(targetLabel(target),String(target.id))); const rule=mapping?.[collection]?.[type]; + row.className+=' '+(rule?'mapping-mapped':'mapping-unmapped'); + const status=document.createElement('span');status.className='mapping-status-label';status.textContent=rule?'已映射':'未适配';heading.append(status); if(rule&&!PiggyConverter.targetTypes.some(target=>target.id===rule.id))select.add(new Option('自定义编号 '+rule.id,String(rule.id))); select.value=rule?String(rule.id):''; select.onchange=()=>{