$(function () { /** * 初始化滚动条 * */ var iscroll; iscroll = new IScroll(".detailIscroll",{ scrollbars: true, fadeScrollbars:true, scrollbars: 'custom', shrinkScrollbars:'clip', click:true }); setTimeout(function(){ iscroll.refresh(); }, 600); $(".xian:last-of-type").remove(); /** * 点击按钮刷新高度 * */ $(".mui-navigate-right").on("tap",function(){ setTimeout(function(){ iscroll.refresh(); }, 100); }); insertZzwd(); }); //返回事件 function backUrl() { if ($("#fromtt").val() != 'zztt') {//来自档案 haifm.loadMobilePage("haifm", "hvSjlrDaIndex.htm?mcid=" + $("#mcid").val() + "&ztsl=" + $("#ztsl").val() + "&cxeph=" + $("#cxeph").val()); } else {//来自淘汰 haifm.loadMobilePage("haifm", "hvSjlrZzttIndex.htm?mcid=" + $("#mcid").val()); } } function edit() { haifm.loadMobilePage("haifm", "hvSjlrGzdaAdd.htm?mcid=" + $("#mcid").val() + "&dweb=" + $("#dweb").val() + "&ebh=" + $("#ebh").val()+ "&edit=" + "edit"); } function insertZzwd() { if ($("#dweb").val() != "") { jQuery.ajax({ type : "get", url : "getHaifmvZzwdTjt.htm", data : {"dweb" : $("#dweb").val()}, dataType : "json", async : true, success : function(data) { getHighchartTjt(data, "container"); } }); } }