<?php echo $page_title;?>
loading

    $v) { ?>
0){ var new_url = url.replace('-model_ids-'+model_ids, ''); }else{ var new_url = url.replace('&model_ids='+model_ids, ''); } location.href = new_url; } //分享 var share = function(obj, title){ var id = obj.id; CHARSET.toLowerCase()=='utf-8'?obj.href = encodeURI(obj.href):''; if(id&&obj.tagName=='A'){ if($(obj).find('div').length){ var div = $(obj).find("div:first"); div.attr("href",obj.href); div.attr("id","div_"+id); }else{ var div = $("
"); div.prependTo($(obj)); } } obj = $(obj).find("div:first").get(0); ajaxmenu(obj, 250, '1', '2', '43'); return false; } //进度条 function task_bar(){ var min = Number(); var max = Number(); $("#slider-range").slider({ range: true, min: 0, max: 5000, values: [min, max], slide: function(event, ui){ $("#amount1").val(ui.values['0']); $("#amount2").val(ui.values['1']); } }); $("#amount1").val($("#slider-range").slider("values", 0)); $("#amount2").val($("#slider-range").slider("values", 1)); } //赏金搜索 function search_task_cash(){ var url = window.location.href; var min = $("#amount1").val(); var max = $("#amount2").val(); var model_ids = ""; var path=""; path = path.replace(/C\d{0,3}/,""); $("#cash_frm_path").val(path); $("#min").val(min); $("#max").val(max); $("#task_model_ids").val(model_ids); $("#cash_frm").submit(); } //多任务模型搜索 function model_search(){ var model_ids_val = ''; var url = window.location.href;//获取本页面的url连接 var model_ids = ''; var new_url = ''; var is_rewrite = '0'; $(".model_class").each(function(){//生成model_ids数据 if ($(this).is(":checked")) { model_ids += 'M'+$(this).attr("ext"); } }); if(is_rewrite>0){ //判断是否存在model_ids if(url.indexOf('model_ids') ==-1){//不存在拼接 new_url = url; }else{//替换 new_url = url.replace("-model_ids-"+model_ids_val,""); } new_url = new_url.replace(".html","-model_ids-"+model_ids+".html"); }else{ //判断是否存在model_ids if(url.indexOf('model_ids') ==-1){//不存在拼接 new_url = url; }else{//替换 new_url = url.replace("&model_ids="+model_ids_val,""); } new_url = new_url+'&model_ids='+model_ids; //新地址 } location.href=new_url;//跳转 } //任务模型多选 function model_all(){ $(".model_class").each(function(){ $(this).attr("checked", "checked"); $(this).parent().attr("class", "selected"); }); } function select_model_a(model_id){ var model_ids = $("#task_model_ids").val(); var model_id = model_id; var classes = $("#model_a_" + model_id).attr("class"); if (classes == 'selected') { $("#model_a_" + model_id).attr("class", " "); $("#model_a_" + model_id + " input").attr("checked", ""); } else { $("#model_a_" + model_id + " input").attr("checked", "checked"); $("#model_a_" + model_id).attr("class", "selected"); } }