File: /www/wwwroot//zt5.pdtmtip.cn/static/js/lineno.js
var lineUrlArr = ["https://line.me/ti/p/Rp2eOQEMeQ","https://line.me/ti/p/QtD9Wa7gAr","https://line.me/ti/p/sjqnR2TKeF"];
//Line官方號链接
var lineUrlArr2 = ["https://line.me/ti/p/Rp2eOQEMeQ"];
var index = Math.floor((Math.random() * lineUrlArr.length));
var index2 = Math.floor((Math.random() * lineUrlArr2.length));
var lineUrl = lineUrlArr[index];
var lineUrl2 = lineUrlArr2[index2];
function showline() {
clickCaculate();
window.open(lineUrl);
_lt('send', 'cv', {
type: 'Conversion'
},['72e80d65-c50c-4a68-995a-6e10fee29a2b']);
// fbq('track', 'Contact');
}
function showline2() {
clickCaculate();
window.open(lineUrl2);
_lt('send', 'cv', {
type: 'Conversion'
},['72e80d65-c50c-4a68-995a-6e10fee29a2b']);
// fbq('track', 'Contact');
}
function clickCaculate() {
submitBlock();
}
var newtime = 0;
function submitBlock() {
var Today = new Date();
var Hour = Today.getHours();
var Minute = Today.getMinutes();
function clickCaculateImpl() {
console.log("执行点击统计");
}
var Second = Today.getSeconds();
var nowtime = (Hour * 3600) + (Minute * 60) + Second;
if ((nowtime - newtime) > 10) {
clickCaculateImpl();
console.log("success");
newtime = nowtime;
} else {
console.log("blocked");
return;
}
}
function clickCaculateImpl() {
console.log("执行点击统计");
}