t: "系统出现异常,请联系管理员",skin: 'msg',time: 3 }); } }); /* $("#downIframe").attr( "src", "/e/DownSys/DownSoft/?pid=6889184&classid=25&pathid=0" ); */ } function downfile_price() { var url = "/e/DownSys/DownSoft/index_price.php?classid=25&id=6889184" + "&pathid=0"; //alert(url); $.get(url, null, function (result) { try { switch (result.code) { case '200': $(".actionDownload").html("下载中..."); var data = result.data; window.location.href = data; break; case '404': layer.open({content: result.msg,skin: 'msg',time: 3 }); break; case '410': //询问框 layer.open({content: result.msg , btn: ['确定', '不要'] , yes: function(index){ doc_tip(6889184); layer.close(index); } }); break; default: layer.open({content: result.msg,skin: 'msg',time: 3 }); break; } } catch (err) { layer.open({content: "系统出现异常,请联系管理员",skin: 'msg',time: 3 }); } }); }