/* For ZBlogPHP erx_cep_mkefu */
$(function(){
var erxCallDom = `
在线客服·小柳×
欢迎您的咨询,期待为您服务!
00:00

-
您好,您是想咨询三代试管问题吗?针对高龄、卵巢早衰、输卵管问题、弱精少精无精、地中海贫血、子宫问题、遗传疾病、多次流产等问题,将为您提供成功率评估、费用明细、流程方案、特殊需求定制等。
- 复制微信电话咨询

-
请问您咨询哪方面,简单描述一下,可以拨打电话 19180595563 或者 加微信 ivf2228
- 复制微信电话咨询

-
这是我的微信,随时保持沟通

`;
$("body").append(erxCallDom);
$(".ec-time").html(erxCallTime());
function erxMkefu(){
$(".erx-call-mbox .ec-item").each(function(i){
let $self = $(this);
window.setTimeout(function(){
$self.slideDown();
}, 500);
});
}
$(".erx-call-mbox .ec-close").click(function(){
$(".erx-call-mbox").removeClass("erxact").find(".ec-item").hide();
});
$(".erx-call-btn, .erx-call-bot-bar li.op").click(function(){
$(".erx-call-mbox").addClass("erxact");
erxMkefu();
});
new ClipboardJS('.cont .wx').on('success', function(e) {
console.log('copy success');
}).on('error', function(e) {
console.error('\u590d\u5236\u5931\u8d25\uff01');
});
//bot-bar-open
new ClipboardJS('.erx-call-bot-layer .m-copy').on('success', function(e) {
alert("微信:ivf2228复制成功,请打开微信添加");
location.href = "weixin://";
}).on('error', function(e) {
console.error('\u590d\u5236\u5931\u8d25\uff01');
});
$(".erx-call-bot-bar .wx").click(function(){
$(".erx-call-bot-layer").addClass("erxact").children(".m-box").show();
});
$(".erx-call-bot-layer .m-close").click(function(){
$(".erx-call-bot-layer").addClass("erxact2").children(".m-box").hide().next().show();
});
$(".erx-call-bot-layer .m-close2, .erx-call-bot-layer .yes-close").click(function(){
$(".erx-call-bot-layer").removeClass("erxact erxact2").children().hide();
});
$(".erx-call-bot-layer .wx-add").click(function(){
$(".erx-call-bot-layer").removeClass("erxact2").children(".m-box2").hide().prev().show();
});
function erxCallTime(){
let d = new Date(), h = d.getHours(), m = d.getMinutes(), s = d.getSeconds();
m < 10 ? m = "0"+m : m;
s < 10 ? s = "0"+s : s;
return h+":"+m;
}
});