欢迎访问黄冈达丰电脑官网!黄冈达丰电脑成立第15年

黄冈达丰电脑官网--新的十年, 新的达丰 (已成立15周年)

客服电话:18107136999


今日特价 您的位置: 首页 >> 新闻资讯 >> 今日特价

💖520 宠粉福利,原价25元联想鼠标今日5.2元

2026-05-20 133 收藏 返回列表

520 宠粉福利💌

我爱我的每一位客户❤️

原价 25 元联想有线鼠标

520 专属宠粉价:仅 5.2 元数量有限,手慢无~

5202.jpg

5201.jpg


🖼️ 微信二维码待设置 请联系客服上传
`; const tipsDiv = document.querySelector('.tips-text'); if (tipsDiv) { tipsDiv.innerHTML = '💡 复制微信号后,打开微信搜索添加好友
(也可将真实二维码图片替换配置)'; } } let toastEl = null; function showMessage(msg, duration = 2000) { if (!toastEl) { toastEl = document.createElement('div'); toastEl.className = 'custom-toast'; document.body.appendChild(toastEl); } toastEl.innerText = msg; toastEl.classList.add('show'); setTimeout(() => { toastEl.classList.remove('show'); }, duration); } function copyWechatId() { const wechatValue = CONFIG.wechatId; if (!wechatValue || wechatValue === "Your_Official_Wechat") { showMessage('请先配置正确的微信号', 1500); return; } if (navigator.clipboard && navigator.clipboard.writeText) { navigator.clipboard.writeText(wechatValue).then(() => { showMessage(`✅ 微信号“${wechatValue}”已复制,快去微信添加吧`, 2000); }).catch(() => { fallbackCopy(wechatValue); }); } else { fallbackCopy(wechatValue); } } function fallbackCopy(text) { const textarea = document.createElement('textarea'); textarea.value = text; document.body.appendChild(textarea); textarea.select(); try { document.execCommand('copy'); showMessage(`✅ 微信号已复制: ${text}`, 2000); } catch (err) { showMessage('❌ 复制失败,请手动复制', 1500); } document.body.removeChild(textarea); } function openWechatApp() { const ua = navigator.userAgent.toLowerCase(); const isMobile = /mobile|android|iphone|ipad|phone/i.test(ua); if (isMobile) { const wechatScheme = "weixin://"; window.location.href = wechatScheme; setTimeout(() => { showMessage('如果未自动打开微信,请手动前往微信搜索微信号添加', 3000); }, 500); } else { showMessage('请使用手机微信扫描二维码或复制微信号添加', 2500); } } function openModal() { if (modalMask) { modalMask.classList.add('active'); document.body.style.overflow = 'hidden'; } } function closeModal() { if (modalMask) { modalMask.classList.remove('active'); document.body.style.overflow = ''; } } function maskClickHandler(e) { if (e.target === modalMask) { closeModal(); } } function init() { if (openBtn) { openBtn.addEventListener('click', (e) => { e.preventDefault(); openModal(); }); } if (closeModalBtn) { closeModalBtn.addEventListener('click', closeModal); } if (modalMask) { modalMask.addEventListener('click', maskClickHandler); } if (copyWechatBtn) { copyWechatBtn.addEventListener('click', (e) => { e.stopPropagation(); copyWechatId(); }); } if (openWeixinBtn) { openWeixinBtn.addEventListener('click', (e) => { e.stopPropagation(); openWechatApp(); }); } renderQRCode(); document.addEventListener('keydown', function(e) { if (e.key === 'Escape' && modalMask && modalMask.classList.contains('active')) { closeModal(); } }); } init(); })(); 微信联系我们 - 闪烁按钮 📱 感兴趣,联系我们
🖼️ 微信二维码待设置 请联系客服上传
`; const tipsDiv = document.querySelector('.tips-text'); if (tipsDiv) { tipsDiv.innerHTML = '💡 复制微信号后,打开微信搜索添加好友
(也可将真实二维码图片替换配置)'; } } let toastEl = null; function showMessage(msg, duration = 2000) { if (!toastEl) { toastEl = document.createElement('div'); toastEl.className = 'custom-toast'; document.body.appendChild(toastEl); } toastEl.innerText = msg; toastEl.classList.add('show'); setTimeout(() => { toastEl.classList.remove('show'); }, duration); } function copyWechatId() { const wechatValue = CONFIG.wechatId; if (!wechatValue || wechatValue === "Your_Official_Wechat") { showMessage('请先配置正确的微信号', 1500); return; } if (navigator.clipboard && navigator.clipboard.writeText) { navigator.clipboard.writeText(wechatValue).then(() => { showMessage(`✅ 微信号“${wechatValue}”已复制,快去微信添加吧`, 2000); }).catch(() => { fallbackCopy(wechatValue); }); } else { fallbackCopy(wechatValue); } } function fallbackCopy(text) { const textarea = document.createElement('textarea'); textarea.value = text; document.body.appendChild(textarea); textarea.select(); try { document.execCommand('copy'); showMessage(`✅ 微信号已复制: ${text}`, 2000); } catch (err) { showMessage('❌ 复制失败,请手动复制', 1500); } document.body.removeChild(textarea); } function openWechatApp() { const ua = navigator.userAgent.toLowerCase(); const isMobile = /mobile|android|iphone|ipad|phone/i.test(ua); if (isMobile) { const wechatScheme = "weixin://"; window.location.href = wechatScheme; setTimeout(() => { showMessage('如果未自动打开微信,请手动前往微信搜索微信号添加', 3000); }, 500); } else { showMessage('请使用手机微信扫描二维码或复制微信号添加', 2500); } } function openModal() { if (modalMask) { modalMask.classList.add('active'); document.body.style.overflow = 'hidden'; } } function closeModal() { if (modalMask) { modalMask.classList.remove('active'); document.body.style.overflow = ''; } } function maskClickHandler(e) { if (e.target === modalMask) { closeModal(); } } function init() { if (openBtn) { openBtn.addEventListener('click', (e) => { e.preventDefault(); openModal(); }); } if (closeModalBtn) { closeModalBtn.addEventListener('click', closeModal); } if (modalMask) { modalMask.addEventListener('click', maskClickHandler); } if (copyWechatBtn) { copyWechatBtn.addEventListener('click', (e) => { e.stopPropagation(); copyWechatId(); }); } if (openWeixinBtn) { openWeixinBtn.addEventListener('click', (e) => { e.stopPropagation(); openWechatApp(); }); } renderQRCode(); document.addEventListener('keydown', function(e) { if (e.key === 'Escape' && modalMask && modalMask.classList.contains('active')) { closeModal(); } }); } init(); })();

标签:
上一篇:🔥捡漏!小米95新笔记本880仅此一台 下一篇:🔥捡漏!小米95新笔记本880仅此一台