()
| 1732 | } |
| 1733 | |
| 1734 | function renderEfunPoolHint() { |
| 1735 | const hintEl = document.getElementById("efun-pool-hint"); |
| 1736 | if (!hintEl) return; |
| 1737 | const manualCode = normalizeEfunCode(getInputValue("efun-code-input")); |
| 1738 | const available = getAvailableEfunPoolCodes(); |
| 1739 | if (manualCode) { |
| 1740 | hintEl.textContent = `已手动输入兑换码;卡池可用(供应商=${CARD_POOL_EFUN_SUPPLIER_LABEL}):${available.length}`; |
| 1741 | return; |
| 1742 | } |
| 1743 | if (available.length > 0) { |
| 1744 | hintEl.textContent = `卡池可用(供应商=${CARD_POOL_EFUN_SUPPLIER_LABEL}):${available.length},留空将自动使用第一张`; |
| 1745 | return; |
| 1746 | } |
| 1747 | hintEl.textContent = `卡池可用(供应商=${CARD_POOL_EFUN_SUPPLIER_LABEL}):0,请手动输入兑换码`; |
| 1748 | } |
| 1749 | |
| 1750 | function resolveEfunCodeFromInputOrPool() { |
| 1751 | const manualCode = normalizeEfunCode(getInputValue("efun-code-input")); |
no test coverage detected