console.log('测试页面已加载');

document.addEventListener('DOMContentLoaded', () => {
  document.getElementById('testBtn').addEventListener('click', () => {
    document.getElementById('result').textContent = 'JavaScript 运行正常！时间: ' + new Date().toLocaleTimeString();
  });
});

