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=()=>{