$(document).ready(function () { $(".huilv .content").hide(); $(".huilv").hover(function () { $(".huilv .content").show(); }, function () { $(".huilv .content").hide(); }); $("#btnLogin").click(function () { if ($("#txtEmail").val() == "") { alert("璇疯緭鍏ョ敤鎴峰悕锛?; return false; } if ($("#txtPassword").val() == "") { alert("璇疯緭鍏ュ瘑鐮侊紒"); return false; } }); $("#btnInquiry").click(function () { if ($("#txtWaybillNum").val() == "") { alert("璇疯緭鍏ヨ繍鍗曞彿锛?; return false; } else { window.open("http://www.17track.net/en/result/post-details.shtml?nums=" + $("#txtWaybillNum").val() + ""); } }); $(".flow .content .list img").each(function (k, img) { new JumpObj(img, 10); //绗竴涓弬鏁颁唬琛ㄥ厓绱犲璞? //绗簩涓弬鏁颁唬琛ㄦ姈鍔ㄥ箙搴? }); $("#btnQuote").click(function () { if ($("#txtGoodsWeight").val()=="") { alert("璇峰~鍐欏寘瑁归噸閲忥紒"); return false; } if ($("#selectTransportMode").val() == "") { alert("璇烽€夋嫨杞繍鏂瑰紡 锛?; return false; } SHYBase.index.GetFree($("#txtGoodsWeight").val() + "," + $("#selectTransportMode").val(), function (result) { var resultStr = result.value; $("#lblInternationalFreight").html(resultStr.split(';')[0]); $("#lblServiceCharge").html(resultStr.split(';')[1]); $("#lblTotal").html(resultStr.split(';')[2]); $("#lblTotalRMB").html(resultStr.split(';')[3]); }); }); });
瀹夊叏 淇濋殰 蹇嵎