function feedbackInit(){
$('.fb-finish').hide();
$('.fb-box').hide();
$('#fb-input2').hide();
$('#fb-input1').show();
$('#fb-checkbox').attr('checked',false);
$("#fb-context").val("");
$("#fb-error").hide();
}
function submitFeedback(){
$("#fb-error").hide();
var context = $("#fb-context").val();
var fbsender = $("#fb-sender").val();
var fbchecked = $("#fb-checkbox").attr("checked");
var isEmail = /^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/.test(fbsender);
var isQQ = /^[0-9]+$/.test(fbsender);
if(fbchecked && fbsender == ''){
$("#fb-error").html("请输入您的邮箱或者QQ。");
$("#fb-error").show();
$("#fb-sender").select();
return false;
}else if(fbchecked && !(isEmail || isQQ)){
$("#fb-error").html("请输入正确的邮箱或者QQ。");
$("#fb-error").show();
$("#fb-sender").select();
return false;
}else if(context == ''){
$("#fb-error").html("请输入您的建议。");
$("#fb-error").show();
$("#fb-context").select();
return false;
}else if(context.length < 10){
$("#fb-error").html("填写的建议请不少于10个字。");
$("#fb-error").show();
$("#fb-context").select();
return false;
}else{
var pageUrl = window.location.href;
var frame = $("");
var url = "mailsend9b8d.html" + encodeURIComponent(encodeURIComponent(context)) + "&sender=" + ((fbchecked&&isEmail)?fbsender:"") + "&fqq=" + ((fbchecked&&isQQ)?fbsender:"")+"&pageurl="+pageUrl;
frame.appendTo('body');
frame.attr("src", url);
frame.load(function(){
$('.fb-box').hide();
$('.fb-finish').show();
});
}
}
function clearConnector(){
$('#fb-input2').hide();
$('#fb-input1').show();
$('#fb-checkbox').attr('checked',false);
return false;
}
function gototop(){
acceleration = 0.3;
time = 15;
var x=0,y=0;
if (document.documentElement) {
x = document.documentElement.scrollLeft || 0;
y = document.documentElement.scrollTop || 0;
}
var speed = 1 + acceleration;
window.scrollTo(x, Math.floor(y / speed));
if(y > 0) {
var invokeFunction = "gototop()";
window.setTimeout(invokeFunction, time);
}
}
function gotobottom(){
window.scrollTo(document.documentElement.scrollLeft, document.documentElement.scrollHeight);
}
// $(function(){
// $(".menu-top").mouseleave(function(){
// $("#moreList").hide();
// $("#serviceList").hide();
// $(".menu-top").find(".tab-link").removeClass("link-open");
// });
// $("#serviceList").mouseleave(function(){
// $(this).hide();
// $("#serviceLink").removeClass("link-open");
// }).delegate("a", "click", function(){
// $("#serviceList").hide();
// $("#serviceLink").removeClass("link-open");
// });
// $("#serviceLink").mouseenter(function(){
// $("#moreList").hide();
// $("#serviceList").show();
// $(".menu-top").find(".tab-link").removeClass("link-open");
// $(this).addClass("link-open");
// });
// });
$(function(){
$("#serviceList").mouseleave(function(){
$(this).hide();
$("#serviceLink").removeClass("link-open");
}).delegate("a", "click", function(){
$("#serviceList").hide();
$("#serviceLink").removeClass("link-open");
});
$("#serviceLink").mouseenter(function(){
$("#serviceList").show();
$(".menu-top").find(".tab-link").removeClass("link-open");
$(this).addClass("link-open");
});
$(".service-tab").mouseleave(function(){
$("#serviceList").hide();
});
});
$(function(){
$("#serviceLists").mouseleave(function(){
$(this).hide();
$("#serviceLinks").removeClass("link-open");
}).delegate("a", "click", function(){
$("#serviceLists").hide();
$("#serviceLinks").removeClass("link-open");
});
$("#serviceLinks").mouseenter(function(){
$("#serviceLists").show();
$(".menu-top").find(".tab-link").removeClass("link-open");
$(this).addClass("link-open");
});
$(".service-tab").mouseleave(function(){
$("#serviceLists").hide();
});
});
function submitThisForm(obj) {
//var $frm = $(obj).parent('form');
var $frm = $(obj).closest("form");
var numbers = $.trim($frm.find("textarea").val());
if (numbers == "") {
alert(LC.NumbersRequired);
return
}
var nums = [],
ignoreNums = [],
re = /^[A-Za-z0-9-]+$/,
lines = numbers.split("\n");
//以下是处理IE中indexOf不兼容的定义方法
if(!Array.indexOf){
Array.prototype.indexOf = function(obj){
for(var i=0; i 0 || ignoreNums.indexOf(line) > 0) {
continue
}
if (++sum <= 40) {
nums.push(line)
} else {
ignoreNums.push(line)
}
}
if (nums.length == 0) {
alert(LC.NumbersRequired);
return
}
function doSumbit() {
var target = $frm.attr("target");
var express = $frm.children("input[name='express']").val();
var lang = $frm.children("input[name='lang']").val();
var action = '//track.trackingmore.com/'+express+'/'+lang+'-'+nums.join(",")+'.html';
var $frm2 = $('').appendTo("body");
$frm2.submit();
$frm2.remove()
}
if (ignoreNums.length > 0) {
$.confirm(null, LC.NumbersOverflow + "
" + ignoreNums.join("
"), function(dlg, result) {
dlg.hide();
if (result != "yes") {
return
}
doSumbit()
})
} else {
doSumbit()
}
}
function submitThisFormNew(obj) {
//var $frm = $(obj).parent('form');
var $frm = $(obj).closest("form");
var numbers = $.trim($("#tracknumber").val());
if (numbers == "") {
alert(LC.NumbersRequired);
return
}
var nums = [],
ignoreNums = [],
re = /^[A-Za-z0-9-]+$/,
lines = numbers.split("\n");
//以下是处理IE中indexOf不兼容的定义方法
if(!Array.indexOf){
Array.prototype.indexOf = function(obj){
for(var i=0; i 0 || ignoreNums.indexOf(line) > 0) {
continue
}
if (++sum <= 40) {
nums.push(line)
} else {
ignoreNums.push(line)
}
}
if (nums.length == 0) {
alert(LC.NumbersRequired);
return
}
function doSumbit() {
var target = $frm.attr("target");
var express = $frm.children("input[name='express']").val();
var lang = $frm.children("input[name='lang']").val();
var action = '//track.trackingmore.com/'+express+'/'+lang+'-'+nums.join(",")+'.html';
var $frm2 = $('').appendTo("body");
$frm2.submit();
$frm2.remove()
}
if (ignoreNums.length > 0) {
$.confirm(null, LC.NumbersOverflow + "
" + ignoreNums.join("
"), function(dlg, result) {
dlg.hide();
if (result != "yes") {
return
}
doSumbit()
})
} else {
doSumbit()
}
}
function submitThisFormNewtTackingpage(obj) {
//var $frm = $(obj).parent('form');
var $frm = $(obj).closest("form");
var numbers = $.trim($("#tracknumber").val());
if (numbers == "") {
alert(LC.NumbersRequired);
return
}
var nums = [],
ignoreNums = [],
re = /^[A-Za-z0-9-]+$/,
lines = numbers.split("\n");
//以下是处理IE中indexOf不兼容的定义方法
if(!Array.indexOf){
Array.prototype.indexOf = function(obj){
for(var i=0; i 0 || ignoreNums.indexOf(line) > 0) {
continue
}
if (++sum <= 40) {
nums.push(line)
} else {
ignoreNums.push(line)
}
}
if (nums.length == 0) {
alert(LC.NumbersRequired);
return
}
function doSumbit() {
var target = $frm.attr("target");
var lang = $frm.children("input[name='lang']").val();
var url = $frm.children("input[name='url']").val();
var action = '//'+url+'/'+lang+'/'+nums.join(",");
var $frm2 = $('').appendTo("body");
$frm2.submit();
$frm2.remove()
}
if (ignoreNums.length > 0) {
$.confirm(null, LC.NumbersOverflow + "
" + ignoreNums.join("
"), function(dlg, result) {
dlg.hide();
if (result != "yes") {
return
}
doSumbit()
})
} else {
doSumbit()
}
}
function submitThisFormNewtTackingpageOther(obj) {
//var $frm = $(obj).parent('form');
var $frm = $(obj).closest("form");
var numbers = $.trim($("#tracknumber").val());
if (numbers == "") {
alert(LC.NumbersRequired);
return
}
var nums = [],
ignoreNums = [],
re = /^[A-Za-z0-9-]+$/,
lines = numbers.split("\n");
//以下是处理IE中indexOf不兼容的定义方法
if(!Array.indexOf){
Array.prototype.indexOf = function(obj){
for(var i=0; i 0 || ignoreNums.indexOf(line) > 0) {
continue
}
if (++sum <= 40) {
nums.push(line)
} else {
ignoreNums.push(line)
}
}
if (nums.length == 0) {
alert(LC.NumbersRequired);
return
}
function doSumbitOther() {
// HISTORY_URL = "";
// console.log(HISTORY_URL);
var url = $frm.children("input[name='url']").val();
var lang = $frm.children("input[name='lang']").val();
var urls = '//'+url+'/'+lang+'/'+nums.join(",");
$.get(urls, function(data){
// $(".jumbotron").css('display','none');
// console.log(data);
var oldHTML=document.getElementsByTagName('html')[0].innerHTML;
var newHTML=document.getElementsByTagName('html')[0].innerHTML;
document.getElementsByTagName('html')[0].innerHTML=data;
var head= document.getElementsByTagName('head')[0];
var script= document.createElement('script');
script.type= 'text/javascript';
script.onload = script.onreadystatechange = function() {
if (!this.readyState || this.readyState === "loaded" || this.readyState === "complete" ) {
// Handle memory leak in IE
script.onload = script.onreadystatechange = null;
} };
script.src= 'index8264.html';
head.appendChild(script);
});
var state = {
title: 123,
url: urls,
otherkey: 123
};
window.history.pushState(state, document.title, urls);
window.history.replaceState(state, document.title, "https:"+urls);
}
if (ignoreNums.length > 0) {
$.confirm(null, LC.NumbersOverflow + "
" + ignoreNums.join("
"), function(dlg, result) {
dlg.hide();
if (result != "yes") {
return
}
doSumbitOther()
})
} else {
doSumbitOther()
}
}
function submitSingleTrackForm(obj) {
var $frm = $(obj).closest("form");
var numbers = $.trim($("#tracknumber").val());
numbers = numbers.replace(/\s+/g,"");
re = /^[A-Za-z0-9-_]{4,}$/;
if (numbers == "" || !re.test(numbers)) {
alert(LC.NumbersRequired);
return
}
function doSumbit() {
var target = $frm.attr("target");
var myDate = new Date();
var s=myDate.getSeconds();
var target = s;
var lang = $("#Lang").val();
var action = '//www.trackingmore.com/track/'+lang+'/'+numbers;
var $frm2 = $('').appendTo("body");
$frm2.submit();
$frm2.remove()
}
doSumbit()
}
function EmailSubscribeSet(obj) {
var $frm = $(obj).closest("tbody");
var express = $frm.attr("expresscode");
var id = $frm.attr("id");
var track_number = $("#"+id+" tr td.s-num p b").text();
$("#jsTrkAlerts").show();
/*$("#express p").html(express);
$("#track_number p").html(track_number);*/
}
function critique_demo(obj) {
var $frm = $(obj).closest("tbody");
var express = $frm.attr("expresscode");
var language = $("#langkey").val();
$('form[id=review]').attr('action','//www.trackingmore.com/evaluate-'+express+'/'+language+'.html');
$("#complany_code_text").val(express);
var id = $frm.attr("id");
var track_number = $("#"+id+" tr td.s-num p b").text();
var newTelVal = '';
if(track_number.length>0){
for(var i = 0; i < track_number.length; i++){
if(i < 3 || i >= track_number.length-3){
newTelVal += track_number[i];
}else{
newTelVal += '*';
}
}
}
var statu = $("#"+id+" tr td.s-packState div").text();
$("#critique").show();
$("#headline").val(newTelVal+' '+statu);
}
function critique_demo_t(obj) {
var $frm = $(obj).closest("tbody");
var express = $frm.attr("expresscode");
var language = $("#langkey").val();
$('form[id=review]').attr('action','//www.trackingmore.com/evaluate-'+express+'/'+language+'.html');
$("#complany_code_text").val(express);
var id = $frm.attr("id");
var track_number = $(".s-num b").text();
var newTelVal = '';
if(track_number.length>0){
for(var i = 0; i < track_number.length; i++){
if(i < 3 || i >= track_number.length-3){
newTelVal += track_number[i];
}else{
newTelVal += '*';
}
}
}
var statu = $(".s-packState div").text();
$("#critique").show();
$("#headline").val(newTelVal+' '+statu);
}
function submitAdminSingleTrackForm(obj){
var $frm = $(obj).closest("form");
$frm.submit();
}
$(document).ready(function() {
jQuery.jqtab = function(tabtit,tabcon) {
$(tabtit+" li").click(function() {
$(tabtit+" li").removeClass("thistab");
$(this).addClass("thistab");
$(tabcon).hide();
var activeTab = $(this).find("a").attr("tab");
$("#"+activeTab).show();
return false;
});
};
$.jqtab("#tabs",".tab_cons");
});
var LC = {
CUR_change_courier:"选择快递公司",
Notification_Setting_not_available:"免费用户不支持短信、邮件通知!",
imported_online_one:"免费用户每天最多导入数量为",
imported_online_month:"免费用户每月最多导入数量为",
imported_online_end:"您的剩余单号数量不足。",
imported_online_residue:"你剩余免费数量为",
AddNotes:"添加备注",
Err_CreateBookmarkFail:"您的浏览器不支持!\n请使用快捷键 Ctrl+D 来收藏网页.",
ConfirmDoIt:"是否确认执行?",
NumbersRequired:"请输入单号.",
InvalidNumbersFormat:"单号格式错误",
NumbersOverflow:"每次只允许提交40个单号,以下单号将被忽略,是否继续提交?",
NumbersOverflowOneHundred:"系统将提交前100个单号,剩余单号将被忽略,是否继续提交?",
PleaseEnterThe:"请输入 ",
NumberOneHundred:" 单号,一次最多提交100个单号。",
NumbersOneHundred:"单号之间请用换行分隔, 一次可查询1至100条.",
NotSupportClipButton:"您的浏览器不支持FLASH, 不能支持该功能.",
DialogMessage:"对话框消息",
Msg_EventsCopyed:"已经复制到剪贴板.",
Msg_NotEventsCopyed:"没有查询结果.",
LoadingPicAlt:"查询中",
LoadingDesc:"查询中, 请稍后...",
MLoadingDesc:"加载中......",
TrackResult:"查询结果",
NumberMaybe:"您查询的单号可能是:",
Day:"天",
GatherTimeSpan:"查询耗时",
GatherTimeSpanTitle:"查询该单号所耗的时间",
CacheTime:"缓存时间",
CacheTimeTitle:"当查询发生错误或短时间内查询过的单号, 我们将使用缓存的查询结果",
Millisecond:"毫秒",
ViewOfficial:"查看官方数据",
ViewOfficialTitle:"跳转到官方网站并进行自动查询",
Retrace:"错误重查",
RetraceTitle:"对当前查询错误的单号进行重新查询",
Unlock:"解锁",
UnlockTitle:"解锁",
Copy:"复制",
CopyTitle:"复制当前单号查询结果",
Details:"详细",
Summary:"概要",
DetailsOrSummaryTitle:"显示查询详细/概要信息",
Report:"时效统计",
Post:"国际邮政",
Post_From:"发件地",
Post_To:"目的地",
Post_Title:"打开官方网站",
Post_ChangeCountry:"(修改)",
Post_ChangeCountryTitle:"指定目的国家进行查询",
Express_Title:"打开官方网站",
Group_ErrorState:"查询错误",
Err_ForbidGroup:"还有未完成的查询,不允许分组.",
Group:"分组显示",
GroupTitle:"分组显示结果",
Ungroup:"取消分组",
UngroupTitle:"取消分组显示",
TrackResultErr_1:"你的查询非法(1), 请联系管理员.",
TrackResultErr_2:"你的查询非法(2), 请联系管理员.",
TrackResultErr_3:"系统正在更新, 请进行错误重查.",
TrackResultErr_4:"您的查询非法(4), 请联系管理员.",
TrackResultErr_5:"您的查询过于频繁, 请稍后查询.",
TrackResultErr_6:"网站类型错误, 请重新输入后查询.",
TrackResultErr_7:"没有单号错误, 请重新输入后查询.",
TrackResultErr_8:"您的查询异常, 请输入验证码进行解锁.",
TrackResultErr_9:"请停用代理服务器后重新访问.",
PackageState_0:"查询中",
PackageStateTitle_0:"你的包裹正在查询中",
PackageState_1:"查询不到",
PackageState_11:"查询错误",
PackageState_12:"查询不到",
PackageState_13:"处理错误",
PackageState_14:"网络错误",
PackageState_15:"网络错误",
PackageStateTitle_1:"查询不到信息, 可能包裹还没有上网信息",
PackageStateTitle_11:"查询不到信息, 运输商的查询接口可能出现了故障",
PackageStateTitle_12:"查询不到信息, 可能包裹还没有上网信息",
PackageStateTitle_13:"处理查询结果错误, 可能对方数据格式发生改变(我们稍后将进行错误排查)",
PackageStateTitle_14:"访问对方服务器错误, 可能对方服务器暂时无法连接",
PackageStateTitle_15:"访问对方服务器错误, 可能对方服务器暂时无法连接",
PackageState_8:"待上网",
PackageStateTitle_8:"包裹正在等待被揽件",
PackageState_2:"运输途中",
PackageStateTitle_2:"货物在运输途中",
PackageState_3:"到达待取",
PackageStateTitle_3:"您的包裹已经可以收取",
PackageState_4:"成功签收",
PackageStateTitle_4:"货物已经成功签收",
PackageState_5:"运输过久",
PackageStateTitle_5:"您的包裹已经运输了很长时间而仍未投递成功",
PackageState_6:"投递失败",
PackageStateTitle_6:"您的包裹尝试派送但未能成功交付",
PackageState_7:"可能异常",
PackageStateTitle_7:"您的包裹运输途中可能出现异常",
InfoState_1:"无法跟踪",
InfoState_11:"查询错误",
InfoStateTitle_1:"无法识别该单号或该单号对应的官方不支持在线查询",
InfoStateTitle_11:"查询发生错误,可能对方服务器暂时无法连接或对方数据格式发生改变(我们稍后将进行错误排查)",
InfoState_2:"查有信息",
InfoStateTitle_2:"查询正常, 且该单号已有信息",
InfoState_3:"查无信息",
InfoStateTitle_3:"查询正常, 但该单号尚无信息",
InfoState_4:"网络错误",
InfoStateTitle_4:"访问对方服务器错误, 可能对方服务器暂时无法连接",
InfoState_5:"处理错误",
InfoStateTitle_5:"处理查询结果错误, 可能对方数据格式发生改变(我们稍后将进行错误排查)",
InfoState_6:"发生错误(显示缓存)",
InfoStateTitle_6:"查询发生错误, 使用之前查询过的历史数据, 可能对方服务器暂时无法连接或对方数据格式发生改变(我们稍后将进行错误排查)",
InfoState_7:"对方服务器忙",
InfoStateTitle_7:"对方服务器提示系统繁忙",
InfoState_8:"对方服务器忙(显示缓存)",
InfoStateTitle_8:"对方服务器提示系统繁忙, 使用之前查询过的历史数据",
Dlg_title_information:"消息",
Dlg_title_question:"提问",
Dlg_title_correct:"操作",
Dlg_title_warning:"警告",
Dlg_title_error:"错误",
Dlg_Close:"关闭",
Dlg_OK:"确定",
Dlg_Cancel:"取消",
Dlg_Retry:"重试",
Dlg_Yes:"是",
Dlg_No:"否",
Dlg_Refresh:"刷新",
Import_NoNumberImport:"请至少选择一个快递单号。",
Import_NoChooseNumberImport:"请至少选择一个快递单号。",
Import_NumberNotFound:"未找到可提取的单号。",
Sim_CanNotDisplay:"官方网站不允许直接查询, 请点击链接提交查询。",
Sim_NumberRequired:"请输入单号。",
SimExpress_DefaultType:"未选择",
SimExpress_TypeRequired:"请选择物流商。",
SimPost_Auto:"请选择",
SimPost_CanNotIdentify:"无法识别",
SimPost_CanNotTrack:"无法跟踪",
Report_OptionNone:"请选择",
Report_CountryRequired:"请选择国家。",
Report_BP:"大包",
Report_SP:"小包",
Report_EP:"EMS",
Report_NotFound:"没有找到统计数据。",
Report_Tooltip:"{name}
妥投数量:{cnt}单
平均时效:{avg}天
最慢时效:{max}天
最快时效:{min}天",
Captcha:"验证码",
Captcha_Title:"请输入验证码",
Captcha_Tip:"您的查询异常, 请输入验证码解锁。",
Captcha_Error:"错误, 请重新输入。",
OpenCountrySite:"查看官方网站",
OtherInfo:"其他内容",
ExpressType:"快递类型",
OrderCreateTime:"下单时间",
OrderId:"订单号",
GoodsTitle:"商品标题",
CustomerName:"客户名称",
Tracking_postal_code:"邮政编码",
Tracking_ship_date:"发货日期",
Tracking_destination_country:"目的国",
CustomerEmail:"客户Email或电话",
add_email_phone:"Email或电话",
AddComment:"添加备注",
DeleteRecord:"删除",
DeleteRecordTitle:"点击删除快递单",
RefreshTitle:"点击刷新快递",
ConfirmDeleteRecord:"确定删除吗?",
DeleteRecordsuccee:"删除成功",
DeleteRecordfail:"删除失败",
YourContentIsEmpty:"请输入标签名称",
Could_not_find_courier:"找不到快递商",
Enter_your_correct_email:"请输入正确的邮箱或电话号码,电话号码请加国际区号,如'+86'.",
Enter_correct_email:"请输入正确的邮箱",
Feedback_has_been_sent_to_the_administrator:"反馈已发送给管理员",
To_restore_please_refresh:"已还原, 请刷新",
Select_courier_now:"设置常用快递商",
the_destination_country_code:"目的国二字简码",
Post_code_format_is_wrong:"邮政编码格式错误",
Url_format_is_wrong:"URL格式错误",
Destination_Country_format_is_wrong:"目的地国家的格式错误",
Date_format_is_wrong:"日期格式错误",
Repeat_to_add:"此单号已存在",
Repeat_to_add_email:"此邮箱或电话已存在",
Notify_email_status:"包裹物流状态",
Notify_email_user:"发送邮件给我",
Notify_email_customer:"发送邮件给客户",
Refresh_too_often:"频繁刷新,请稍后再试。",
Quantity:"最多可设置6个标签",
The_default:"默认的红,黄,蓝标签不可被删除。",
Add_label:"添加标签",
Confirm_delete_tracking_numbers:"你确定要删除账户中的所有单号吗?",
FailCheckReason:"您的单号查询无信息,可能原因如下:
1:运输商还未接收到您的包裹。
2:运输商还未对您的包裹进行跟踪信息的录入。
3:您所提交的单号错误或者无效。
4:您所提交的单号已经过期。",
Expand:"展开",Collapse:"收缩",HideDetails:"隐藏明细",Translate:"翻译",Translating:"翻译中...",AimLanguage:"目标语言",ChangeTranslateLanguage:"修改目标语言",CopyLink:"复制链接",CopyResult:"复制结果",NumberName:"单号",EmailSubscribe:"邮件订阅",reviewCompany:"我要点评",
FailCheckReason1:"您所提交的单号访问出现了查询错误。可能有以下原因:
1. 运输商的查询接口正在进行更新或维护。
2. 运输商的查询接口可能出现了故障。
3. 运输商的查询接口提示繁忙,查询失败。",
FailCheckReason2:"您的单号查询无信息,可能原因如下:
1:运输商还未接收到您的包裹。
2:运输商还未对您的包裹进行跟踪信息的录入。
3:您所提交的单号错误或者无效。
4:您所提交的单号已经过期。",
FailCheckReason3:"您所提交的单号访问出现了处理错误。可能有以下原因:
1. 运输商的查询结果出现格式的改变。
2. 运输商的查询结果发生了我们从未遇见过的情况。",
FailCheckReason4:"您所提交的单号访问出现了网络错误。可能有以下原因:
1. 运输商的查询接口暂时无法连接,这种情况下意味着运输商官方网站也已经无法访问。
2. 由于网络访问存在一定的不稳定性,出现突发的网络访问故障。",
FailCheckReason5:"您所提交的单号访问出现了网络错误。可能有以下原因:
1. 运输商的查询接口暂时无法连接,这种情况下意味着运输商官方网站也已经无法访问。
2. 由于网络访问存在一定的不稳定性,出现突发的网络访问故障。",
PackageState_11:"查询错误",
PackageState_101:"待揽件",
PackageState_12:"查询不到",
PackageState_13:"处理错误",
PackageState_14:"网络错误",
PackageState_15:"网络错误",
PackageStateTitle_11:"查询不到信息, 运输商的查询接口可能出现了故障",
PackageStateTitle_12:"查询不到信息, 可能包裹还没有上网信息",
PackageStateTitle_13:"处理查询结果错误, 可能对方数据格式发生改变(我们稍后将进行错误排查)",
PackageStateTitle_14:"访问对方服务器错误, 可能对方服务器暂时无法连接",
PackageStateTitle_15:"访问对方服务器错误, 可能对方服务器暂时无法连接",
InfoState_11:"查询错误",
InfoStateTitle_11:"查询发生错误,可能对方服务器暂时无法连接或对方数据格式发生改变(我们稍后将进行错误排查)",
ArchiveRecordTitle:"归档单号",
UndoArchiveRecordTitle:"撤销归档",
OperationFailure:"操作失败",
MailFormError:"电子邮件格式不正确",
MailNotBeEmpty:"电子邮件不能为空",
MoreThanFour:"Apikey的数量超过4。",
AddSource:"来源",
ShippingTime:"发货时间",
TrackWith:'在',
officialWebsite:'官方网站查询',
TrackButton:'查询',
SearchingPackage:'正在搜索您的包裹!',
IdentifyingCourier:'正在验证您的物流商!',
FetchInformation:'正在获取最新信息!',
WaitMinute:'再等一下…',
ResultComing:'结果很快出來…',
};
var COUNTRY_CODE = {"AF":"\u963f\u5bcc\u6c57","AL":"\u963f\u5c14\u5df4\u5c3c\u4e9a","AR":"\u963f\u6839\u5ef7","AW":"\u963f\u9c81\u5df4[\u8377\u5170]","AT":"\u5965\u5730\u5229","AZ":"\u963f\u585e\u62dc\u7586","EG":"\u57c3\u53ca","EE":"\u7231\u6c99\u5c3c\u4e9a","ET":"\u57c3\u585e\u4fc4\u6bd4\u4e9a","IE":"\u7231\u5c14\u5170","MO":"\u6fb3\u95e8 [\u4e2d\u56fd]","OM":"\u963f\u66fc","AE":"\u963f\u8054\u914b","AX":"\u5965\u5170\u7fa4\u5c9b[\u82ac\u5170]","DZ":"\u963f\u5c14\u53ca\u5229\u4e9a","AO":"\u5b89\u54e5\u62c9","AI":"\u5b89\u572d\u62c9[\u82f1\u56fd]","AG":"\u5b89\u63d0\u74dc\u548c\u5df4\u5e03\u8fbe","AC":"\u963f\u68ee\u677e\u5c9b[\u82f1\u56fd]","BH":"\u5df4\u6797","BB":"\u5df4\u5df4\u591a\u65af","BY":"\u767d\u4fc4\u7f57\u65af","BZ":"\u4f2f\u5229\u5179","BJ":"\u8d1d\u5b81","BM":"\u767e\u6155\u8fbe[\u82f1\u56fd]","BT":"\u4e0d\u4e39","BO":"\u73bb\u5229\u7ef4\u4e9a","BA":"\u6ce2\u9ed1","BW":"\u535a\u8328\u74e6\u7eb3","BR":"\u5df4\u897f","BG":"\u4fdd\u52a0\u5229\u4e9a","BF":"\u5e03\u57fa\u7eb3\u6cd5\u7d22","BI":"\u5e03\u9686\u8fea","IS":"\u51b0\u5c9b","PK":"\u5df4\u57fa\u65af\u5766","PA":"\u5df4\u62ff\u9a6c","PG":"\u5df4\u5e03\u4e9a\u65b0\u51e0\u5185\u4e9a","PY":"\u5df4\u62c9\u572d","PE":"\u79d8\u9c81","PL":"\u6ce2\u5170","BS":"\u5df4\u54c8\u9a6c","PS":"\u5df4\u52d2\u65af\u5766","GQ":"\u8d64\u9053\u51e0\u5185\u4e9a","KP":"\u671d\u9c9c","DK":"\u4e39\u9ea6","DE":"\u5fb7\u56fd","TG":"\u591a\u54e5","DM":"\u591a\u7c73\u5c3c\u514b","DO":"\u591a\u7c73\u5c3c\u52a0","TL":"\u4e1c\u5e1d\u6c76","EC":"\u5384\u74dc\u591a\u5c14","ER":"\u5384\u7acb\u7279\u91cc\u4e9a","RU":"\u4fc4\u7f57\u65af","FO":"\u6cd5\u7f57\u7fa4\u5c9b[\u4e39\u9ea6]","FJ":"\u6590\u6d4e","FI":"\u82ac\u5170","PH":"\u83f2\u5f8b\u5bbe","CV":"\u4f5b\u5f97\u89d2","VA":"\u68b5\u8482\u5188","CO":"\u54e5\u4f26\u6bd4\u4e9a","CR":"\u54e5\u65af\u8fbe\u9ece\u52a0","GL":"\u683c\u9675\u5170[\u4e39\u9ea6]","CG":"\u521a\u679c\u5171\u548c\u56fd","CD":"\u521a\u679c\u6c11\u4e3b\u5171\u548c\u56fd","CU":"\u53e4\u5df4","GM":"\u5188\u6bd4\u4e9a","GE":"\u683c\u9c81\u5409\u4e9a","GD":"\u683c\u6797\u7eb3\u8fbe[\u82f1\u56fd]","GY":"\u572d\u4e9a\u90a3","AN":"\u8377\u5c5e\u5b89\u7684\u5217\u65af[\u8377\u5170]","KZ":"\u54c8\u8428\u514b\u65af\u5766","KR":"\u97e9\u56fd","ME":"\u9ed1\u5c71","HT":"\u6d77\u5730","HN":"\u6d2a\u90fd\u62c9\u65af","KH":"\u67ec\u57d4\u5be8","CA":"\u52a0\u62ff\u5927","CZ":"\u6377\u514b","GH":"\u52a0\u7eb3","KG":"\u5409\u5c14\u5409\u65af\u65af\u5766","ZW":"\u6d25\u5df4\u5e03\u97e6","DJ":"\u5409\u5e03\u63d0","GA":"\u52a0\u84ec","GN":"\u51e0\u5185\u4e9a\u5171\u548c\u56fd","GW":"\u51e0\u5185\u4e9a\u6bd4\u7ecd","KI":"\u57fa\u91cc\u5df4\u65af","CM":"\u5580\u9ea6\u9686","HR":"\u514b\u7f57\u5730\u4e9a","KE":"\u80af\u5c3c\u4e9a","KY":"\u5f00\u66fc\u7fa4\u5c9b[\u82f1\u56fd]","KM":"\u79d1\u6469\u7f57","CK":"\u5e93\u514b\u7fa4\u5c9b[\u65b0\u897f\u5170]","YK":"\u79d1\u7d22\u6c83","KW":"\u79d1\u5a01\u7279","QA":"\u5361\u5854\u5c14","LV":"\u62c9\u8131\u7ef4\u4e9a","LB":"\u9ece\u5df4\u5ae9","LS":"\u83b1\u7d22\u6258","LI":"\u5217\u652f\u6566\u58eb\u767b","LT":"\u7acb\u9676\u5b9b","LU":"\u5362\u68ee\u5821","RO":"\u7f57\u9a6c\u5c3c\u4e9a","RW":"\u5362\u65fa\u8fbe","LA":"\u8001\u631d","LR":"\u5229\u6bd4\u91cc\u4e9a","LY":"\u5229\u6bd4\u4e9a","MK":"\u9a6c\u5176\u987f","MY":"\u9a6c\u6765\u897f\u4e9a","MV":"\u9a6c\u5c14\u4ee3\u592b","MT":"\u9a6c\u8033\u4ed6","MU":"\u6bdb\u91cc\u6c42\u65af","MX":"\u58a8\u897f\u54e5","MD":"\u6469\u5c14\u591a\u74e6","MA":"\u6469\u6d1b\u54e5","US":"\u7f8e\u56fd","FM":"\u5bc6\u514b\u7f57\u5c3c\u897f\u4e9a\u8054\u90a6","MG":"\u9a6c\u8fbe\u52a0\u65af\u52a0","MW":"\u9a6c\u62c9\u7ef4","ML":"\u9a6c\u91cc\u5171\u548c\u56fd","MH":"\u9a6c\u7ecd\u5c14\u7fa4\u5c9b","MR":"\u6bdb\u91cc\u5854\u5c3c\u4e9a","MN":"\u8499\u53e4\u56fd","MZ":"\u83ab\u6851\u6bd4\u514b","MM":"\u7f05\u7538","NA":"\u7eb3\u7c73\u6bd4\u4e9a","NI":"\u5c3c\u52a0\u62c9\u74dc","NG":"\u5c3c\u65e5\u5229\u4e9a","NO":"\u632a\u5a01","ZA":"\u5357\u975e","AQ":"\u5357\u6781\u6d32","NR":"\u7459\u9c81","NP":"\u5c3c\u6cca\u5c14","NE":"\u5c3c\u65e5\u5c14","NF":"\u8bfa\u798f\u514b\u5c9b[\u6fb3\u5927\u5229\u4e9a]","PT":"\u8461\u8404\u7259","PW":"\u5e15\u52b3","JP":"\u65e5\u672c","SE":"\u745e\u5178","CH":"\u745e\u58eb","CY":"\u585e\u6d66\u8def\u65af","SV":"\u8428\u5c14\u74e6\u591a","LC":"\u5723\u5362\u897f\u4e9a","VC":"\u5723\u6587\u68ee\u7279\u548c\u683c\u6797\u7eb3\u4e01\u65af","SM":"\u5723\u9a6c\u529b\u8bfa","SA":"\u6c99\u7279\u963f\u62c9\u4f2f","SN":"\u585e\u5185\u52a0\u5c14","RS":"\u585e\u5c14\u7ef4\u4e9a","SC":"\u585e\u820c\u5c14","SK":"\u65af\u6d1b\u4f10\u514b","SI":"\u65af\u6d1b\u6587\u5c3c\u4e9a","SB":"\u6240\u7f57\u95e8\u7fa4\u5c9b","SD":"\u82cf\u4e39","SH":"\u5723\u8d6b\u52d2\u62ff\u5c9b[\u82f1\u56fd]","KN":"\u5723\u57fa\u8328\u548c\u5c3c\u7ef4\u65af","ST":"\u5723\u591a\u7f8e\u548c\u666e\u6797\u897f\u6bd4","SL":"\u585e\u62c9\u5229\u6602","SO":"\u7d22\u9a6c\u91cc","LK":"\u65af\u91cc\u5170\u5361","SR":"\u82cf\u91cc\u5357","SZ":"\u65af\u5a01\u58eb\u5170","TW":"\u53f0\u6e7e [CN]","TZ":"\u5766\u6851\u5c3c\u4e9a","TH":"\u6cf0\u56fd","TO":"\u6c64\u52a0","TN":"\u7a81\u5c3c\u65af","TR":"\u571f\u8033\u5176","TJ":"\u5854\u5409\u514b\u65af\u5766","TT":"\u7279\u7acb\u5c3c\u8fbe\u548c\u591a\u5df4\u54e5","TM":"\u571f\u5e93\u66fc\u65af\u5766","TV":"\u56fe\u74e6\u5362","BN":"\u6587\u83b1","GT":"\u5371\u5730\u9a6c\u62c9","UG":"\u4e4c\u5e72\u8fbe","UY":"\u4e4c\u62c9\u572d","VU":"\u74e6\u52aa\u963f\u56fe","VE":"\u59d4\u5185\u745e\u62c9","GR":"\u5e0c\u814a","HK":"\u9999\u6e2f [\u4e2d\u56fd]","HU":"\u5308\u7259\u5229","NC":"\u65b0\u5580\u91cc\u591a\u5c3c\u4e9a[\u6cd5\u56fd]","NZ":"\u65b0\u897f\u5170","WS":"\u897f\u8428\u6469\u4e9a","ES":"\u897f\u73ed\u7259","SY":"\u53d9\u5229\u4e9a","EH":"\u897f\u6492\u54c8\u62c9","AM":"\u4e9a\u7f8e\u5c3c\u4e9a","IN":"\u5370\u5ea6","ID":"\u5370\u5ea6\u5c3c\u897f\u4e9a","IR":"\u4f0a\u6717","IL":"\u4ee5\u8272\u5217","IT":"\u610f\u5927\u5229","JM":"\u7259\u4e70\u52a0","JO":"\u7ea6\u65e6","VN":"\u8d8a\u5357","YE":"\u4e5f\u95e8","IQ":"\u4f0a\u62c9\u514b","CL":"\u667a\u5229","GI":"\u76f4\u5e03\u7f57\u9640[\u82f1\u56fd]","ZM":"\u8d5e\u6bd4\u4e9a","CF":"\u4e2d\u975e\u5171\u548c\u56fd","TD":"\u4e4d\u5f97","AD":"\u5b89\u9053\u5c14","AU":"\u6fb3\u5927\u5229\u4e9a","BE":"\u6bd4\u5229\u65f6","FR":"\u6cd5\u56fd","GG":"\u6839\u897f\u5c9b[\u82f1\u56fd]","NL":"\u8377\u5170","CI":"\u79d1\u7279\u8fea\u74e6","BD":"\u5b5f\u52a0\u62c9\u56fd","MC":"\u6469\u7eb3\u54e5","UA":"\u4e4c\u514b\u5170","UZ":"\u4e4c\u5179\u522b\u514b\u65af\u5766","SG":"\u65b0\u52a0\u5761","GB":"\u82f1\u56fd","CN":"\u4e2d\u56fd","PR":"\u6ce2\u591a\u9ece\u5404[\u7f8e\u56fd]","JE":"\u6cfd\u897f\u5c9b","BL":"\u5df4\u52d2\u65af\u5766","PF":"\u6cd5\u5c5e\u6ce2\u5229\u5c3c\u897f\u4e9a","RE":"\u7559\u5c3c\u6c6a\u5c9b","GF":"\u6cd5\u5c5e\u572d\u4e9a\u90a3","GP":"\u0020\u74dc\u5fb7\u7f57\u666e"};
window.LANG=[{a:0,b:"",c:"不翻译"},{a:1,b:"ar",c:"阿拉伯语"},{a:2,b:"bg",c:"保加利亚语"},{a:3,b:"ca",c:"加泰罗尼亚语"},{a:4,b:"zh-CHS",c:"中文简体"},{a:5,b:"zh-CHT",c:"中文繁体"},{a:6,b:"cs",c:"捷克语"},{a:7,b:"da",c:"丹麦语"},{a:8,b:"nl",c:"荷兰语"},{a:9,b:"en",c:"英语"},{a:10,b:"et",c:"爱沙尼亚语"},{a:11,b:"fi",c:"芬兰语"},{a:12,b:"fr",c:"法语"},{a:13,b:"de",c:"德语"},{a:14,b:"el",c:"希腊语"},{a:15,b:"ht",c:"海地克里奥尔语"},{a:16,b:"he",c:"希伯来语"},{a:17,b:"hi",c:"印度语"},{a:18,b:"hu",c:"匈牙利语"},{a:19,b:"id",c:"印尼语"},{a:20,b:"it",c:"意大利语"},{a:21,b:"ja",c:"日语"},{a:22,b:"ko",c:"韩语"},{a:23,b:"lv",c:"拉脱维亚语"},{a:24,b:"lt",c:"立陶宛语"},{a:25,b:"no",c:"挪威语"},{a:26,b:"pl",c:"波兰语"},{a:27,b:"pt",c:"葡萄牙语"},{a:28,b:"ro",c:"罗马尼亚语"},{a:29,b:"ru",c:"俄语"},{a:30,b:"sk",c:"斯洛伐克语"},{a:31,b:"sl",c:"斯洛文尼亚语"},{a:32,b:"es",c:"西班牙语"},{a:33,b:"sv",c:"瑞典语"},{a:34,b:"th",c:"泰语"},{a:35,b:"tr",c:"土耳其语"},{a:36,b:"uk",c:"乌克兰语"},{a:37,b:"vi",c:"越南语"},{a:38,b:"mww",c:"苗语"},{a:39,b:"tlh",c:"克林贡语"},{a:40,b:"ms",c:"马来语"},{a:41,b:"mt",c:"马耳他语"},{a:42,b:"fa",c:"波斯语"},{a:43,b:"ur",c:"乌尔都语"},{a:44,b:"cy",c:"威尔士语"}];$(function() {
// tacking按钮点击填充
$('.content .tm_form_style p span').on('click', function() {
var num = $('.content .tm_form_style p span').text();
$('#tracknumber').val(num);
});
// 回车跳转
$(document).keyup(function(event) {
if (event.keyCode == 13) $('#btnSumit').click();
});
// home
let lis = $('.aspect-box-left>ul>.aspect-list');
lis.each(function () {
$(this).on('mouseenter', function () {
$(this).addClass('active').siblings().removeClass("active");
var imgs = $('.aspect-box-right>.aspect-img');
let i = parseInt($(this).attr('index'));
$($(imgs[i]).addClass('active').siblings().removeClass("active"));
})
})
})