    
            // 获取元素
            const donationModal = document.getElementById('donationModal');
            const donateTrigger = document.getElementById('donateTrigger');
            const donationClose = document.getElementById('donationClose');
            
            if (!donationModal) {
                console.error('未找到打赏二维码模态框 #donationModal');
                return;
            }
            
            console.log('找到打赏模态框:', donationModal);
    