时间:2024-12-26 16:44 所属栏目:行业新闻 阅读数量: ()
{$setting.form_title_2.value} {$setting.form_rule_2.value} {$setting.form_title_3.value} oninput="value=value.replace(/[^\d]/g,'')"> {$setting.button_txt.value} 400-800-8888 周一至周五:9:00—22:00 周末及假日:9:00—18:00
style="width: 25px; color: #333333; float: right; font-size: 25px; line-height: 25px; text-align: center; font-style: normal;cursor: pointer;position: absolute;right: 8px;top: 10px;">×
百度营销">
window._agl = window._agl || [];
(function () {
_agl.push(
['production', '_f7L2XwGXjyszb4d1e2oxPybgD']
);
(function () {
var agl = document.createElement('script');
agl.type = 'text/javascript';
agl.async = true;
agl.src = 'https://fxgate.baidu.com/angelia/fcagl.js?production=_f7L2XwGXjyszb4d1e2oxPybgD';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(agl, s);
})();
})();
(function(){
let wl = document.createElement("script");
wl.type = "text/javascript";
wl.src = "https://material.weiling.cn/h5/willing-third-party-js/v1/qrcode-style-comp-v1.js";
wl.id = "wlQRS";
wl.onload = function() {
wlQrcodeStyleComp.init({
wl_id: "wpW2WmDAAA6yBrQdyBKYBc5TIhdAG-qA",// [修改1:将wl_id粘贴至此]
wl_qrcode_id: ["1813390677678055424"], // [修改2:将wl_qrcode_id粘贴至此]
wl_style: [0],//修改3:根据样式在0-7之间修改,例如0表示二维码以卡片形式悬浮在右下角
});
};
if (!document.getElementById("wlQRS")) {
let s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(wl, s);
}
})();
(function(){
let wl = document.createElement("script");
wl.type = "text/javascript";
wl.src = "https://material.weiling.cn/h5/willing-third-party-js/v1/qrcode-nostyle-comp-v1.min.js"
wl.id = "wlQRNS";
wl.onload = function(){
wlQrcodeNostyleComp.init({
wl_id: "wpW2WmDAAA6yBrQdyBKYBc5TIhdAG-qA", // [修改1:将wl_id粘贴至此]
wl_qrcode_id: ["1813390677678055424"], // [修改2:将wl_qrcode_id粘贴至此]
DOMid: ["wl-qrcode"], // 插入处div标签的id
});
};
if (!document.getElementById("wlQRNS")){
let s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(wl, s);
}
})();
// 咨询框超时弹出js
let popup = document.getElementById('popup');
let closeButton = document.getElementById('closeButton');
let timeoutId = null;
const idleTime = 15000; // 30秒无操作
// 重置计时器
function resetTimer() {
clearTimeout(timeoutId);
timeoutId = setTimeout(showPopup, idleTime);
}
// 显示弹框
function showPopup() {
document.getElementById('weixin-modal-overlay').style.display = 'block';
popup.style.display = 'block';
}
// 关闭弹框
function closePopup() {
document.getElementById('weixin-modal-overlay').style.display = 'none';
popup.style.display = 'none';
resetTimer(); // 重置计时器
}
// 设置关闭按钮事件
closeButton.addEventListener('click', closePopup);
// 绑定用户活动事件
document.addEventListener('mousemove', resetTimer);
document.addEventListener('keypress', resetTimer);
document.addEventListener('click', resetTimer);
document.addEventListener('scroll', resetTimer);
// 页面加载完成后,初始化计时器
window.onload = resetTimer;
document.addEventListener('DOMContentLoaded', () => {
setTimeout(function(){
// 获取所有需要操作的 DOM 元素
const kfClose = document.getElementById('kf-close');
const kefuBig = document.getElementById('kefu-big');
const kefuSmall = document.getElementById('kefu-small');
const qrcode = document.getElementById('willingPopupQRcode');
// 隐藏大窗口,显示小窗口
const hideCustomerService = () => {
kefuBig.style.display = 'none';
qrcode.style.display = 'none';
kefuSmall.style.display = 'flex';
};
// 显示大窗口,隐藏小窗口
const showCustomerService = () => {
kefuBig.style.display = 'block';
qrcode.style.display = 'flex';
kefuSmall.style.display = 'none';
};
// 为关闭按钮添加点击事件
kfClose.addEventListener('click', (e) => {
e.stopPropagation();
hideCustomerService();
});
// 为小窗口添加点击事件
kefuSmall.addEventListener('click', showCustomerService);
// 初始化状态
kefuSmall.style.display = 'none';
}, 1000);
});
息以右侧客服提供的信息为准。
如果还想了解“百度营销客服:助力品牌精准获客”相关问题,可以联系官方电话,也可以点击屏幕上方的免费注册按钮
官方电话:400-806-0087(下方免费注册)