diff --git a/components/calculator.tsx b/components/calculator.tsx index 0881516..8882b7e 100644 --- a/components/calculator.tsx +++ b/components/calculator.tsx @@ -469,12 +469,18 @@ const SalaryCalculator = () => { const timer = setTimeout(() => { const pv = document.getElementById('busuanzi_value_site_pv'); if (pv && pv.innerText !== '') { + // 直接在现有数字上加上1700000(原seeyoufarm统计数据) + const currentCount = parseInt(pv.innerText, 10) || 0; + pv.innerText = (currentCount + 1700000).toString(); setVisitorVisible(true); } else { // 如果未加载,再次尝试 const retryTimer = setTimeout(() => { const pv = document.getElementById('busuanzi_value_site_pv'); if (pv && pv.innerText !== '') { + // 直接在现有数字上加上1700000(原seeyoufarm统计数据) + const currentCount = parseInt(pv.innerText, 10) || 0; + pv.innerText = (currentCount + 1700000).toString(); setVisitorVisible(true); } }, 2000); @@ -788,7 +794,6 @@ const SalaryCalculator = () => {