dEventListener('click', closeModal);
            } else {
                console.warn('未找到关闭按钮 #donationClose');
            }
            
            // 点击模态框背景关闭模态框
            donationModal.addEventListener('click', function(event) {
                if (event.target === donationModal) {
                    closeModal();
                }
            });
            
            console.log('模态框初始化完成');
        });
    </script>
</body>
</html>
