'; } $("#imgPer").html(htmlPer); $("#imgDiv").html(html); }else{ alert(data.resultInfo); } } }); } var setting = { data: { simpleData: { enable: true } } }; var zNodes = [{ id:'1', pId:'0', name:'學(xué)而思小升初總復(fù)習(xí)和奧數(shù)寒假作業(yè)資料.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'三年級(jí)寒假作業(yè).pdf (714KB)', click:'getBookinfo(8279152)', icon:'/Images/filetype/PDF16.PNG'},{ id:'00002', pId:'1', name:'三年級(jí)寒假作業(yè)答案.pdf (331KB)', click:'getBookinfo(8279153)', icon:'/Images/filetype/PDF16.PNG'},{ id:'00003', pId:'1', name:'二年級(jí)作業(yè).pdf (1140KB)', click:'getBookinfo(8279154)', icon:'/Images/filetype/PDF16.PNG'},{ id:'00004', pId:'1', name:'二年級(jí)答案.pdf (205KB)', click:'getBookinfo(8279155)', icon:'/Images/filetype/PDF16.PNG'},{ id:'00005', pId:'1', name:'五年級(jí)作業(yè).pdf (852KB)', click:'getBookinfo(8279156)', icon:'/Images/filetype/PDF16.PNG'},{ id:'00006', pId:'1', name:'五年級(jí)答案.pdf (622KB)', click:'getBookinfo(8279157)', icon:'/Images/filetype/PDF16.PNG'},{ id:'00007', pId:'1', name:'六年級(jí)作業(yè).pdf (529KB)', click:'getBookinfo(8279158)', icon:'/Images/filetype/PDF16.PNG'},{ id:'00008', pId:'1', name:'六年級(jí)答案.pdf (418KB)', click:'getBookinfo(8279159)', icon:'/Images/filetype/PDF16.PNG'},{ id:'00009', pId:'1', name:'四年級(jí)作業(yè).pdf (592KB)', click:'getBookinfo(8279160)', icon:'/Images/filetype/PDF16.PNG'},{ id:'00010', pId:'1', name:'四年級(jí)答案.pdf (344KB)', click:'getBookinfo(8279161)', icon:'/Images/filetype/PDF16.PNG'},{ id:'00011', pId:'1', name:'學(xué)而思網(wǎng)校奧數(shù)小升初語(yǔ)文英語(yǔ)數(shù)學(xué)總復(fù)習(xí)下載.txt (0KB)', click:'getBookinfo(8279162)', icon:'/Images/filetype/TXT16.PNG'},{ id:'00012', pId:'1', name:'小升初數(shù)學(xué)總復(fù)習(xí)資料歸納.docx (55KB)', click:'getBookinfo(8279163)', icon:'/Images/filetype/DOC16.PNG'},{ id:'00013', pId:'1', name:'小升初語(yǔ)文大集結(jié)重點(diǎn)復(fù)習(xí)內(nèi)容 .doc (70KB)', click:'getBookinfo(8279164)', icon:'/Images/filetype/DOC16.PNG'}]; var zNodes2 = [{ id:'1', pId:'0', name:'學(xué)而思小升初總復(fù)習(xí)和奧數(shù)寒假作業(yè)資料.rar', open:true, icon:'/Images/filetype/RAR16.PNG'},{ id:'00001', pId:'1', name:'三年級(jí)寒假作業(yè).pdf',url:'http://m.facezit.com/p-8279152.html', target:'_blank' },{ id:'00002', pId:'1', name:'三年級(jí)寒假作業(yè)答案.pdf',url:'http://m.facezit.com/p-8279153.html', target:'_blank' },{ id:'00003', pId:'1', name:'二年級(jí)作業(yè).pdf',url:'http://m.facezit.com/p-8279154.html', target:'_blank' },{ id:'00004', pId:'1', name:'二年級(jí)答案.pdf',url:'http://m.facezit.com/p-8279155.html', target:'_blank' },{ id:'00005', pId:'1', name:'五年級(jí)作業(yè).pdf',url:'http://m.facezit.com/p-8279156.html', target:'_blank' },{ id:'00006', pId:'1', name:'五年級(jí)答案.pdf',url:'http://m.facezit.com/p-8279157.html', target:'_blank' },{ id:'00007', pId:'1', name:'六年級(jí)作業(yè).pdf',url:'http://m.facezit.com/p-8279158.html', target:'_blank' },{ id:'00008', pId:'1', name:'六年級(jí)答案.pdf',url:'http://m.facezit.com/p-8279159.html', target:'_blank' },{ id:'00009', pId:'1', name:'四年級(jí)作業(yè).pdf',url:'http://m.facezit.com/p-8279160.html', target:'_blank' },{ id:'00010', pId:'1', name:'四年級(jí)答案.pdf',url:'http://m.facezit.com/p-8279161.html', target:'_blank' },{ id:'00011', pId:'1', name:'學(xué)而思網(wǎng)校奧數(shù)小升初語(yǔ)文英語(yǔ)數(shù)學(xué)總復(fù)習(xí)下載.txt',url:'http://m.facezit.com/p-8279162.html', target:'_blank' },{ id:'00012', pId:'1', name:'小升初數(shù)學(xué)總復(fù)習(xí)資料歸納.docx',url:'http://m.facezit.com/p-8279163.html', target:'_blank' },{ id:'00013', pId:'1', name:'小升初語(yǔ)文大集結(jié)重點(diǎn)復(fù)習(xí)內(nèi)容 .doc',url:'http://m.facezit.com/p-8279164.html', target:'_blank' }]; $(document).ready(function(){ if(JSON.stringify(zNodes)=="{}") { $("#ysyl").hide(); }else { $.fn.zTree.init($("#treeDemo"), setting, zNodes); $.fn.zTree.init($("#treeDemo2"), setting, zNodes2); } }); $(function() { $("#jubao input[type='radio']").click(function() { $("#hidTypeID").val($(this).val()); }); }); function jubao() { var userid = '0'; if (userid != "" && userid != undefined && userid != "0") { $("#jubao").show(); } else { alert("請(qǐng)登錄!");window.location.href='login.aspx'; } } function saveJuBao() { var bookid = '6430177'; var type = $("#hidTypeID").val(); if (type != "" && type != undefined && bookid != "" && bookid != undefined) { $.ajax({ type: "post", url: "View.aspx/JuBao", data: "{bookid: '" + bookid + "', type: '" + type + "' }", contentType: "application/json; charset=utf-8", dataType: "json", success: function(data) { $("#jubao").hide(); $("#jubaoResponse").show(); if (data.d != "0") { $("#jubaoResponse h4").html("您的舉報(bào)提交成功"); } else { $("#jubaoResponse h4").html("您的舉報(bào)提交失敗"); } } }); } else { alert("請(qǐng)選擇投訴類(lèi)型或者數(shù)據(jù)錯(cuò)誤請(qǐng)刷新重試!"); } } $(function(){ $(document).bind("contextmenu",function(e){ return false; }); });