        
            // 打开模态框
            const openModal = () => {
                console.log('打开模态框');
                donationModal.classList.add('active');
                document.body.style.overflow = 'hidden'; // 防止背景滚动
            };
            
            // 关闭模态框
            const closeModal = () => {
                console.log('关闭模态框');
                donationModal.classList.remove('active');
                document.body.style.overflow = '