From 5652e4b8fe1cfd775d3b8978d6639f91d1ade12a Mon Sep 17 00:00:00 2001 From: Zylan Date: Wed, 19 Mar 2025 18:35:58 +0800 Subject: [PATCH] style --- components/calculator.tsx | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/components/calculator.tsx b/components/calculator.tsx index 6646951..5a16108 100644 --- a/components/calculator.tsx +++ b/components/calculator.tsx @@ -438,10 +438,18 @@ const SalaryCalculator = () => { content.appendChild(ratingArea); - // 版权信息 + // 版权信息 - 修改为两行显示 const footer = document.createElement('div'); - footer.className = 'text-center text-sm text-gray-500 pt-2'; - footer.textContent = '由"这b班上得值不值·测算版"自动生成 | jobworth.zippland.com'; + footer.className = 'text-center text-sm text-gray-500 pt-2 flex flex-col gap-1'; + + const line1 = document.createElement('div'); + line1.textContent = '由"这b班上得值不值·测算版"自动生成'; + + const line2 = document.createElement('div'); + line2.textContent = 'jobworth.zippland.com'; + + footer.appendChild(line1); + footer.appendChild(line2); // 组装卡片 cardContent.appendChild(title);