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:"添加備註",
TrackResultErr_4:"您的查詢非法(4), 請聯繫管理員.",
TrackResultErr_5:"您的查詢過於頻繁, 請稍後查詢.",
TrackResultErr_6:"網站類型錯誤, 請重新輸入後查詢.",
TrackResultErr_7:"沒有單號錯誤, 請重新輸入後查詢.",
TrackResultErr_8:"您的查詢異常, 請輸入驗證碼進行解鎖.",
TrackResultErr_9:"請停用代理伺服器後重新訪問.",
PackageState_1:"查詢不到",
PackageState_101:"待攬件",
PackageState_11:"查詢錯誤",
InfoState_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:"到達待取",
Err_CreateBookmarkFail:"您的瀏覽器不支援!\n請使用快速鍵 Ctrl+D 來收藏網頁.",
ConfirmDoIt:"是否確認執行?",
NumbersRequired:"請輸入單號.",
PackageStateTitle_3:"貨物到達待取",
PackageState_4:"成功簽收",
PackageStateTitle_4:"貨物已經成功簽收",
PackageState_5:"運輸過久",
InvalidNumbersFormat:"單號格式錯誤",
PackageStateTitle_5:"您的包裹已經運輸了很長時間而仍未投遞成功",
PackageState_6:"投遞失敗",
PackageStateTitle_6:"您的包裹嘗試派送但未能成功交付",
PackageState_7:"可能異常",
PackageStateTitle_7:"您的包裹運輸途中可能出現異常",
InfoState_11:"查詢錯誤",
InfoStateTitle_1:"無法識別該單號或該單號對應的官方不支援線上查詢",
InfoStateTitle_11:"查询发生错误,可能对方服务器暂时无法连接或对方数据格式发生改变(我们稍后将进行错误排查)",
NumbersOverflow:"每次只允許提交40個單號,以下單號將被忽略,是否繼續提交?",
NumbersOverflowOneHundred:"系統將提交前100個單號,剩余單號將被忽略,是否繼續提交?",
PleaseEnterThe:"請輸入 ",
NumberOneHundred:" 單號,壹次最多提交100個單號。",
NumbersOneHundred:"單號之間請用換行分隔, 壹次可查詢1至100條.",
NotSupportClipButton:"您的瀏覽器不支援FLASH, 不能支援該功能.",
InfoState_2:"查有資訊",
DialogMessage:"對話方塊消息",
Msg_EventsCopyed:"已經複製到剪貼簿.",
Msg_NotEventsCopyed:"沒有查詢結果.",
InfoStateTitle_2:"查詢正常, 且該單號已有資訊",
InfoState_3:"查無資訊",
InfoStateTitle_3:"查詢正常, 但該單號尚無資訊",
InfoState_4:"網絡錯誤",
LoadingPicAlt:"查詢中",
InfoStateTitle_4:"訪問對方伺服器錯誤, 可能對方伺服器暫時無法連接",
InfoState_5:"處理錯誤",
LoadingDesc:"查詢中, 請稍後...",
InfoStateTitle_5:"處理查詢結果錯誤, 可能對方資料格式發生改變(我們稍後將進行錯誤排查)",
MLoadingDesc:"載入中......",
InfoState_6:"發生錯誤(顯示緩存)",
TrackResult:"查詢結果",
NumberMaybe:"您查詢的單號可能是:",
InfoStateTitle_6:"查詢發生錯誤, 使用之前查詢過的歷史資料, 可能對方伺服器暫時無法連接或對方資料格式發生改變(我們稍後將進行錯誤排查)",
Day:"天",
InfoState_7:"對方伺服器忙",
GatherTimeSpan:"查詢耗時",
GatherTimeSpanTitle:"查詢該單號所耗的時間",
CacheTime:"緩存時間",
CacheTimeTitle:"當查詢發生錯誤或短時間內查詢過的單號, 我們將使用緩存的查詢結果",
InfoStateTitle_7:"對方伺服器提示系統繁忙",
InfoState_8:"對方伺服器忙(顯示緩存)",
Millisecond:"毫秒",
InfoStateTitle_8:"對方伺服器提示系統繁忙, 使用之前查詢過的歷史資料",
ViewOfficial:"查看官方資料",
Dlg_title_information:"消息",
Dlg_title_question:"提問",
ViewOfficialTitle:"跳轉到官方網站並進行自動查詢",
Dlg_title_correct:"操作",
Dlg_title_warning:"警告",
Retrace:"錯誤重查",
RetraceTitle:"對當前查詢錯誤的單號進行重新查詢",
Unlock:"解鎖",
UnlockTitle:"解鎖",
Copy:"複製",
CopyTitle:"複製當前單號查詢結果",
Details:"詳細",
Summary:"概要",
DetailsOrSummaryTitle:"顯示查詢詳細/概要資訊",
Dlg_title_error:"錯誤",
Report:"時效統計",
Dlg_Close:"關閉",
Dlg_OK:"確定",
Post:"國際郵政",
Dlg_Cancel:"取消",
Post_From:"發件國家",
Post_To:"目的國家",
Post_Title:"打開官方網站",
Post_ChangeCountry:"(修改)",
Dlg_Retry:"重試",
Dlg_Yes:"是",
Dlg_No:"否",
Post_ChangeCountryTitle:"指定目的國家進行查詢",
Dlg_Refresh:"刷新",
Express_Title:"打開官方網站",
Import_NoNumberImport:"沒有單號.",
Group_ErrorState:"查詢錯誤",
Err_ForbidGroup:"還有未完成的查詢,不允許分組.",
Import_NumberNotFound:"未找到可提取的單號.",
Group:"分組顯示",
Sim_CanNotDisplay:"官方網站不允許直接查詢, 請點選連結提交查詢.",
Sim_NumberRequired:"請輸入單號.",
SimExpress_DefaultType:"未選擇",
SimExpress_TypeRequired:"請選擇物流商.",
SimPost_Auto:"請選擇",
SimPost_CanNotIdentify:"無法識別",
GroupTitle:"分組顯示結果",
SimPost_CanNotTrack:"無法跟蹤",
Ungroup:"取消分組",
Report_OptionNone:"請選擇",
Report_CountryRequired:"請選擇國家.",
Report_BP:"大包",
Report_SP:"小包",
Report_EP:"EMS",
Report_NotFound:"沒有找到統計資料.",
Report_Tooltip:"{name}
妥投數量:{cnt}單
平均時效:{avg}天
最慢時效:{max}天
最快時效:{min}天",
UngroupTitle:"取消分組顯示",
TrackResultErr_1:"你的查詢非法(1), 請聯繫管理員.",
Captcha:"驗證碼",
Captcha_Title:"請輸入驗證碼",
TrackResultErr_2:"你的查詢非法(2), 請聯繫管理員.",
Captcha_Tip:"您的查詢異常, 請輸入驗證碼解鎖.",
Captcha_Error:"錯誤, 請重新輸入.",
TrackResultErr_3:"系統正在更新, 請進行錯誤重查.",
OpenCountrySite:"查看官方網站",
TrackResultErr_4:"您的查詢非法(4), 請聯繫管理員.",
OtherInfo:"其他內容",
TrackResultErr_5:"您的查詢過於頻繁, 請稍後查詢.",
ExpressType:"快遞類型",
OrderCreateTime:"下單時間",
TrackResultErr_6:"網站類型錯誤, 請重新輸入後查詢.",
OrderId:"訂單號",
TrackResultErr_7:"沒有單號錯誤, 請重新輸入後查詢.",
GoodsTitle:"商品標題",
TrackResultErr_8:"您的查詢異常, 請輸入驗證碼進行解鎖.",
TrackResultErr_9:"請停用代理伺服器後重新訪問.",
PackageState_1:"查詢不到",
CustomerName:"客戶名稱",
PackageStateTitle_1:"查詢不到資訊, 可能包裹還沒有上網資訊",
PackageState_2:"運輸途中",
CustomerEmail:"客戶Email或者電話號碼",
add_email_phone:"Email或者電話",
AddComment:"添加備註",
PackageStateTitle_2:"貨物在運輸途中",
PackageState_3:"到達待取",
DeleteRecord:"刪除",
PackageStateTitle_3:"貨物到達待取",
PackageState_4:"成功簽收",
PackageStateTitle_4:"貨物已經成功簽收",
DeleteRecordTitle:"點擊刪除快遞單",
RefreshTitle:"點擊刷新快遞",
ConfirmDeleteRecord:"確定刪除嗎?",
DeleteRecordsuccee:"刪除成功",
InfoState_1:"無法跟蹤",
DeleteRecordfail:"刪除失敗",
InfoStateTitle_1:"無法識別該單號或該單號對應的官方不支援線上查詢",
InfoState_2:"查有資訊",
PackageState_0:"查詢中",
PackageStateTitle_0:"查詢中,請稍候…",
Tracking_postal_code:"郵政編碼",
Tracking_ship_date:"發貨日期",
Tracking_destination_country:"目的國",
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:"默認的紅,黃,藍標簽不可被刪除。",
Import_NoChooseNumberImport:"請至少選擇一個快遞單號。",
Add_label:"添加標簽",
FailCheckReason:"您的單號查詢無資訊,可能原因如下:
1:運輸商還未接收到您的包裹。
2:運輸商還未對您的包裹進行跟蹤資訊的錄入。
3:您所提交的單號錯誤或者無效。
4:您所提交的單號已經過期。",
InfoStateTitle_2:"查詢正常, 且該單號已有資訊",
InfoState_3:"查無資訊",
InfoStateTitle_3:"查詢正常, 但該單號尚無資訊",
Expand:"展開",
Collapse:"收縮",
InfoState_4:"網站錯誤",
HideDetails:"隱藏明細",
InfoStateTitle_4:"訪問對方伺服器錯誤, 可能對方伺服器暫時無法連接",
Translate:"翻譯",
Translating:"翻譯中...",
AimLanguage:"目的語言",
InfoState_5:"處理錯誤",
InfoStateTitle_5:"處理查詢結果錯誤, 可能對方資料格式發生改變(我們稍後將進行錯誤排查)",
InfoState_6:"發生錯誤(顯示緩存)",
ChangeTranslateLanguage:"修改目的語言",
InfoStateTitle_6:"查詢發生錯誤, 使用之前查詢過的歷史資料, 可能對方伺服器暫時無法連接或對方資料格式發生改變(我們稍後將進行錯誤排查)",
InfoState_7:"對方伺服器忙",
InfoStateTitle_7:"對方伺服器提示系統繁忙",
CopyLink:"複製連結",
CopyResult:"複製結果",
InfoState_8:"對方伺服器忙(顯示緩存)",
NumberName:"單號",
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_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:"快遞類型",
OrderId:"訂單號",
GoodsTitle:"商品標題",
CustomerName:"客戶名稱",
AddComment:"添加備註",
DeleteRecord:"刪除",
DeleteRecordTitle:"點擊刪除快遞單",
ConfirmDeleteRecord:"確定刪除嗎?",
DeleteRecordsuccee:"刪除成功",
DeleteRecordfail:"刪除失敗",
// FailCheckReason:"您的單號查詢無資訊,可能原因如下:
1:運輸商還未接收到您的包裹。
2:運輸商還未對您的包裹進行跟蹤資訊的錄入。
3:您所提交的單號錯誤或者無效。
4:您所提交的單號已經過期。",
Expand:"展開",
Collapse:"收縮",
HideDetails:"隱藏明細",
Translate:"翻譯",
Translating:"翻譯中...",
AimLanguage:"目的語言",
ChangeTranslateLanguage:"修改目的語言",
CopyLink:"複製連結",
CopyResult:"複製結果",
Confirm_delete_tracking_numbers:"你確定要刪除賬戶中的所有單號嗎?",
NumberName:"單號",
EmailSubscribe:"郵件訂閱",
reviewCompany:"我要點評",
FailCheckReason1:"您所提交的單號訪問出現了查詢錯誤。可能有以下原因:
1. 運輸商的查詢接口正在進行更新或維護。
2. 運輸商的查詢接口可能出現了故障。
3. 運輸商的查詢接口提示繁忙,查詢失敗。",
FailCheckReason2:"您的單號查詢無信息,可能原因如下:
1:運輸商還未接收到您的包裹。
2:運輸商還未對您的包裹進行跟蹤信息的錄入。
3:您所提交的單號錯誤或者無效。
4:您所提交的單號已經過期。",
FailCheckReason3:"您所提交的單號訪問出現了處理錯誤。可能有以下原因:
1. 運輸商的查詢結果出現格式的改變。
2. 運輸商的查詢結果發生了我們從未遇見過的情況。 ",
FailCheckReason4:"您所提交的單號訪問出現了網絡錯誤。可能有以下原因:
1. 運輸商的查詢接口暫時無法連接,這種情況下意味著運輸商官方網站也已經無法訪問。
2. 由於網絡訪問存在一定的不穩定性,出現突發的網絡訪問故障。 ",
FailCheckReason5:"您所提交的單號訪問出現了網絡錯誤。可能有以下原因:
1. 運輸商的查詢接口暫時無法連接,這種情況下意味著運輸商官方網站也已經無法訪問。
2. 由於網絡訪問存在一定的不穩定性,出現突發的網絡訪問故障。",
InfoStateTitle_11:"查詢發生錯誤,可能對方服務器暫時無法連接或對方數據格式發生改變",
PackageState_11:"查詢錯誤",
InfoState_11:"查詢錯誤",
PackageState_12:"查詢不到",
PackageState_13:"處理錯誤",
PackageState_14:"網絡錯誤",
PackageState_15:"網絡錯誤",
PackageStateTitle_11:"查询不到信息, 运输商的查询接口可能出现了故障",
PackageStateTitle_12:"查詢不到資訊, 可能包裹還沒有上網資訊",
PackageStateTitle_13:"處理查詢結果錯誤, 可能對方資料格式發生改變(我們稍後將進行錯誤排查)",
PackageStateTitle_14:"訪問對方伺服器錯誤, 可能對方伺服器暫時無法連接",
PackageStateTitle_15:"訪問對方伺服器錯誤, 可能對方伺服器暫時無法連接",
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\u723e\u5df4\u5c3c\u4e9e","AR":"\u963f\u6839\u5ef7","AW":"\u963f\u8def\u5df4[\u8377\u862d]","AT":"\u5967\u5730\u5229","AZ":"\u4e9e\u585e\u62dc\u7136","EG":"\u57c3\u53ca","EE":"\u611b\u6c99\u5c3c\u4e9e","ET":"\u57c3\u585e\u4fc4\u6bd4\u4e9e","IE":"\u611b\u723e\u862d","MO":"\u6fb3\u9580 [\u4e2d\u570b]","OM":"\u963f\u66fc","AE":"\u963f\u806f\u914b","AX":"\u5967\u862d\u7fa4\u5cf6[\u82ac\u862d]","DZ":"\u963f\u723e\u53ca\u5229\u4e9e","AO":"\u5b89\u54e5\u62c9","AI":"\u5b89\u572d\u62c9[\u82f1\u570b]","AG":"\u5b89\u5730\u5361\u53ca\u5df4\u5e03\u9054","AC":"\u963f\u68ee\u677e\u5cf6[\u82f1\u570b]","BH":"\u5df4\u6797","BB":"\u5df4\u5df4\u591a\u65af","BY":"\u767d\u4fc4\u7f85\u65af","BZ":"\u8c9d\u91cc\u65af","BJ":"\u8c9d\u5be7","BM":"\u767e\u6155\u9054[\u82f1\u570b]","BT":"\u4e0d\u4e39","BO":"\u73bb\u5229\u7dad\u4e9e","BA":"\u6ce2\u9ed1","BW":"\u535a\u8328\u74e6\u7d0d","BR":"\u5df4\u897f","BG":"\u4fdd\u52a0\u5229\u4e9e","BF":"\u5e03\u5409\u7d0d\u6cd5\u7d22","BI":"\u84b2\u9686\u5730","IS":"\u51b0\u5cf6","PK":"\u5df4\u57fa\u65af\u5766","PA":"\u5df4\u62ff\u99ac","PG":"\u5df4\u5e03\u4e9e\u7d10\u5e7e\u5167\u4e9e","PY":"\u5df4\u62c9\u572d","PE":"\u79d8\u9b6f","PL":"\u6ce2\u862d","BS":"\u5df4\u54c8\u99ac","PS":"\u5df4\u52d2\u65af\u5766","GQ":"\u8d64\u9053\u5e7e\u5167\u4e9e","KP":"\u671d\u9bae","DK":"\u4e39\u9ea5","DE":"\u5fb7\u570b","TG":"\u591a\u54e5","DM":"\u591a\u7c73\u5c3c\u514b","DO":"\u591a\u660e\u5c3c\u52a0","TL":"\u6771\u5e1d\u6c76","EC":"\u5384\u74dc\u591a\u723e","ER":"\u5384\u7acb\u7279\u91cc\u4e9e","RU":"\u4fc4\u7f85\u65af","FO":"\u6cd5\u7f85\u7fa4\u5cf6[\u4e39\u9ea5]","FJ":"\u6590\u6fdf","FI":"\u82ac\u862d","PH":"\u83f2\u5f8b\u8cd3","CV":"\u7dad\u5fb7\u89d2","VA":"\u68b5\u8482\u5ca1","CO":"\u54e5\u502b\u6bd4\u4e9e","CR":"\u54e5\u65af\u5927\u9ece\u52a0","GL":"\u683c\u9675\u862d[\u4e39\u9ea5]","CG":"\u525b\u679c\u5171\u548c\u570b","CD":"\u525b\u679c\u6c11\u4e3b\u5171\u548c\u570b","CU":"\u53e4\u5df4","GM":"\u5ca1\u6bd4\u4e9e","GE":"\u683c\u9b6f\u5409\u4e9e","GD":"\u683c\u745e\u90a3\u9054[\u82f1\u570b]","GY":"\u84cb\u4e9e\u7d0d","AN":"\u8377\u5c6c\u5b89\u7684\u5217\u65af[\u8377\u862d]","KZ":"\u54c8\u85a9\u514b\u65af\u5766","KR":"\u97d3\u570b","ME":"\u9ed1\u5c71","HT":"\u6d77\u5730","HN":"\u5b8f\u90fd\u62c9\u65af","KH":"\u67ec\u57d4\u5be8","CA":"\u52a0\u62ff\u5927","CZ":"\u6377\u514b","GH":"\u52a0\u7d0d","KG":"\u5409\u723e\u5409\u65af\u65af\u5766","ZW":"\u8f9b\u5df4\u5a01","DJ":"\u5409\u5e03\u5730","GA":"\u52a0\u84ec","GN":"\u5e7e\u5167\u4e9e\u5171\u548c\u570b","GW":"\u5e7e\u5167\u4e9e\u6bd4\u7d22","KI":"\u5409\u91cc\u5df4\u65af","CM":"\u5580\u9ea5\u9686","HR":"\u514b\u7f85\u5730\u4e9e","KE":"\u80af\u96c5","KY":"\u958b\u66fc\u7fa4\u5cf6[\u82f1\u570b]","KM":"\u79d1\u6469\u7f85","CK":"\u79d1\u514b\u7fa4\u5cf6[\u7d10\u897f\u862d]","YK":"\u79d1\u7d22\u6c83","KW":"\u79d1\u5a01\u7279","QA":"\u5361\u5854\u723e","LV":"\u62c9\u812b\u7dad\u4e9e","LB":"\u9ece\u5df4\u5ae9","LS":"\u8cf4\u7d22\u6258","LI":"\u5217\u652f\u6566\u65af\u767b","LT":"\u7acb\u9676\u5b9b","LU":"\u76e7\u68ee\u5821","RO":"\u7f85\u99ac\u5c3c\u4e9e","RW":"\u76e7\u5b89\u9054","LA":"\u8001\u64be","LR":"\u8cf4\u6bd4\u745e\u4e9e","LY":"\u5229\u6bd4\u4e9e","MK":"\u99ac\u5176\u9813","MY":"\u99ac\u4f86\u897f\u4e9e","MV":"\u99ac\u723e\u5730\u592b","MT":"\u99ac\u723e\u4ed6","MU":"\u6a21\u91cc\u897f\u65af","MX":"\u58a8\u897f\u54e5","MD":"\u6469\u723e\u591a\u74e6","MA":"\u6469\u6d1b\u54e5","US":"\u7f8e\u570b","FM":"\u5bc6\u514b\u7f85\u5c3c\u897f\u4e9e\u806f\u90a6","MG":"\u99ac\u9054\u52a0\u65af\u52a0","MW":"\u99ac\u62c9\u5a01","ML":"\u99ac\u5229\u5171\u548c\u570b","MH":"\u99ac\u7d39\u723e\u7fa4\u5cf6","MR":"\u8305\u5229\u5854\u5c3c\u4e9e","MN":"\u8499\u53e4\u570b","MZ":"\u83ab\u4e09\u6bd4\u514b","MM":"\u7dec\u7538","NA":"\u7d0d\u7c73\u6bd4\u4e9e","NI":"\u5c3c\u52a0\u62c9\u74dc","NG":"\u5948\u53ca\u5229\u4e9e","NO":"\u632a\u5a01","ZA":"\u5357\u975e","AQ":"\u5357\u6975\u6d32","NR":"\u7459\u9b6f","NP":"\u5c3c\u6cca\u723e","NE":"\u5c3c\u65e5\u723e","NF":"\u8afe\u798f\u514b\u5cf6[\u6fb3\u5927\u5229\u4e9e]","PT":"\u8461\u8404\u7259","PW":"\u5e15\u52de","JP":"\u65e5\u672c","SE":"\u745e\u5178","CH":"\u745e\u58eb","CY":"\u8cfd\u666e\u52d2\u65af","SV":"\u85a9\u723e\u74e6\u591a","LC":"\u8056\u9732\u897f\u4e9e","VC":"\u8056\u6587\u68ee\u7279\u548c\u683c\u6797\u7d0d\u4e01\u65af\u7fa4\u5cf6St.Vincent","SM":"\u8056\u99ac\u5229\u8afe","SA":"\u6c99\u70cf\u5730\u963f\u62c9\u4f2f","SN":"\u585e\u5167\u52a0\u723e","RS":"\u585e\u723e\u7dad\u4e9e","SC":"\u585e\u5e2d\u723e","SK":"\u65af\u6d1b\u4f10\u514b","SI":"\u65af\u6d1b\u7dad\u5c3c\u4e9e","SB":"\u7d22\u7f85\u9580\u7fa4\u5cf6","SD":"\u8607\u4e39","SH":"\u8056\u8d6b\u52d2\u62ff\u5cf6[\u82f1\u570b]","KN":"\u8056\u57fa\u8328\u548c\u5c3c\u7dad\u65af","ST":"\u8056\u591a\u7f8e\u53ca\u666e\u6797\u897f\u6bd4\u5cf6","SL":"\u585e\u62c9\u91cc\u6602","SO":"\u7d22\u99ac\u91cc","LK":"\u65af\u91cc\u862d\u5361","SR":"\u8607\u5229\u5357","SZ":"\u53f2\u74e6\u6fdf\u862d","TW":"\u81fa\u7063 [CN]","TZ":"\u5766\u5c1a\u5c3c\u4e9e","TH":"\u6cf0\u570b","TO":"\u6e6f\u52a0","TN":"\u7a81\u5c3c\u65af","TR":"\u571f\u8033\u5176","TJ":"\u5854\u5409\u514b\u65af\u5766","TT":"\u7279\u7acb\u5c3c\u9054\u548c\u591a\u5df4\u54e5","TM":"\u571f\u5eab\u66fc\u65af\u5766","TV":"\u5410\u74e6\u9b6f","BN":"\u6c76\u840a","GT":"\u74dc\u5730\u99ac\u62c9","UG":"\u70cf\u5e72\u9054","UY":"\u70cf\u62c9\u572d","VU":"\u74e6\u52aa\u963f\u5716","VE":"\u59d4\u5167\u745e\u62c9","GR":"\u5e0c\u81d8","HK":"\u9999\u6e2f [\u4e2d\u570b]","HU":"\u5308\u7259\u5229","NC":"\u65b0\u8d6b\u91cc\u591a\u5c3c\u4e9e[\u6cd5\u570b]","NZ":"\u7d10\u897f\u862d","WS":"\u897f\u85a9\u6469\u4e9e","ES":"\u897f\u73ed\u7259","SY":"\u6558\u5229\u4e9e","EH":"\u897f\u6492\u54c8\u62c9","AM":"\u4e9e\u7f8e\u5c3c\u4e9e","IN":"\u5370\u5ea6","ID":"\u5370\u5c3c","IR":"\u4f0a\u6717","IL":"\u4ee5\u8272\u5217","IT":"\u7fa9\u5927\u5229","JM":"\u7259\u8cb7\u52a0","JO":"\u7d04\u65e6","VN":"\u8d8a\u5357","YE":"\u8449\u9580","IQ":"\u4f0a\u62c9\u514b","CL":"\u667a\u5229","GI":"\u76f4\u5e03\u7f85\u9640[\u82f1\u570b]","ZM":"\u5c1a\u6bd4\u4e9e","CF":"\u4e2d\u975e\u5171\u548c\u570b","TD":"\u4e4d\u5f97","AD":"\u5b89\u9053\u723e","AU":"\u6fb3\u5927\u5229\u4e9e","BE":"\u6bd4\u5229\u6642","FR":"\u6cd5\u570b","GG":"\u6839\u897f\u5cf6[\u82f1\u570b]","NL":"\u8377\u862d","CI":"\u8c61\u7259\u6d77\u5cb8","BD":"\u5b5f\u52a0\u62c9\u570b","MC":"\u6469\u7d0d\u54e5","UA":"\u70cf\u514b\u862d","UZ":"\u70cf\u8332\u5225\u514b\u65af\u5766","SG":"\u65b0\u52a0\u5761","GB":"\u82f1\u570b","CN":"\u4e2d\u570b","PR":"\u6ce2\u591a\u9ece\u5404[\u7f8e\u570b]","PF":"\u6cd5\u5c6c\u6ce2\u5229\u5c3c\u897f\u4e9e"};
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"));
})
})
})