《再见爱人4》到底是不是剧本?
发布时间:2024-10-30 15:01:51
原创
字体故事
收藏
取消收藏
分享
' +
'' +
''
$('body').append(htmlStr);
// 关闭场景示例
$('.p-scene-close').on('click', function (e) {
$('body').css('overflow', 'auto');
$('.p-scene-dialog').remove();
});
$('.p-scene-dialog').on('click', function (e) {
if (e.target.className == "scene-dialog") {
$('body').css('overflow', 'auto');
$('.p-scene-dialog').remove();
}
});
}
function bindEvents(){
$('.nowBtn').click(function(e){
failFn()
$('.p-scene-dialog .p-dowloadFont').css({ 'display': 'none' });
new ProtocolCheck({
type: 1,
url: OPEN_CLIENT_URL,
adNum: 'member',
codeUrl: GET_CLIENT_CODE_URL,
macUrl: MAC_DOWN_URL,
winUrl: WIN_DOWN_URL,
downUrl: ZJ_DOWN_URL,
showDialog: false,
openType: 3,
fid: '',
success: function () {
$('body').css('overflow', 'hidden');
},
fail: function () {
$('body').css('overflow', 'hidden');
$('.p-scene-dialog .p-dowloadFont').css({ 'display': 'block' });
},
unsupported: function () {
$('body').css('overflow', 'hidden');
// $('.scene-dialog').show();
$('.p-scene-dialog .p-dowloadFont').css({ 'display': 'block' });
}
});
})
}
$(function(){
bindEvents()
})
// console.log(11111)
$.ajax({
type: "GET",
url: "/cuservice",
success: function (response) {
var res = JSON.parse(response);
(function (a, h, c, b, f, g) {
a["UdeskApiObject"] = f;
a[f] = a[f] || function () {
(a[f].d = a[f].d || []).push(arguments)
};
g = h.createElement(c);
g.async = 1;
g.charset = "utf-8";
g.src = b;
c = h.getElementsByTagName(c)[0];
c.parentNode.insertBefore(g, c)
})(window, document, "script", "https://assets-cli.s4.udesk.cn/im_client/js/udeskApi.js", "ud");
if (isBreak()) {
return
}
ud({
"code": "j6d51ie",
"link": "https://1559669.s4.udesk.cn/im_client/?web_plugin_id=18525",
"group_id": "19096",
"customer": {
"c_phone": res.c_phone,
"c_email": res.c_email,
"c_vip": res.c_vip,
"c_org": res.c_org,
"c_name": res.c_name,
"nonce": res.nonce,
"timestamp": res.timestamp,
"web_token": res.web_token,
"signature": res.signature
},
"targetSelector": '#j_service',
"selector": ".udesk-online",
"noBubble": true, // 不显示消息弹出气泡提醒
"panel": {
css: {
right: 0
}
},
"onReady": function () {
// 从客户端会员购买页过来,3秒后弹起客户浮窗
if (sideGetUrlParam('service')) {
setTimeout(function () {
window.ud('showPanel');
}, 3000);
}
},
});
}
});
$(function () {
// 判断是否显示在线客服弹出框
var online_status = $.getCookie('zj_online_popover');
if (online_status != 'hide') {
$('.online-reminder').show();
}
// 关闭弹出框
$('.icon-online-close').on('click', function (e) {
e.stopPropagation();
$.setCookie('zj_online_popover', 'hide');
$('.online-reminder').hide();
});
if (isBreak()) {
$('#j_service').hover(function(){
$('.service-popover').css('display','block')
},function(){
$('.service-popover').css('display','none')
})
}
// 在线客服,鼠标悬浮事件
$('#j_service').mouseenter(function (e) {
var is_online_hide = $.getCookie('zj_online_popover');
if (is_online_hide == 'hide') {
$('.online-hover').show();
}
});
// 在线客服,鼠标悬浮事件
$('#j_service').mouseleave(function (e) {
var is_online_hide = $.getCookie('zj_online_popover');
if (is_online_hide == 'hide') {
$('.online-hover').hide();
}
});
});