1.0 a//EN" "http://www.w3.org/TR/x1/x1-ta.dtd">xmlns="http://www.w3.org/1999/x">ead>link rel="shortcut icon" href="/images/favicon.png" />meta http-equiv="Content-Type" content="text/; charset=utf-8" />meta http-equiv="X-UA-Compatible" content="IE=edge">meta name="renderer" content="webkit">meta http-equiv="Cache-Control" content="no-tform" />meta http-equiv="Cache-Control" content="no-eapp" />meta name="descrip" content="大渊博棉花信息平台--新兴的棉花电商信息平台,提供棉花批号查询、公检码单列表,公路铁路物流运输、涉棉企业信息、仓储质押等服务" />meta name="keywords" content="棉花,皮棉,细绒棉,纤检信息,批次码单,新疆棉,大渊博信息平台,批号查询" />title>新疆得力棉业有限公司塔里木轧花厂 - 大渊博棉花交易中心link type="text/css" rel="stylesheet" href="/css/boot.min.css" />link type="text/css" rel="stylesheet" href="/css/font-awesome.min.css" />link type="text/css" rel="stylesheet" href="/css/ny.css" />link type="text/css" rel="stylesheet" href="/css/common.css" />link type="text/css" rel="stylesheet" href="/css/public.css" />link type="text/css" rel="stylesheet" href="/css/.geSlider.css" />link type="text/css" rel="stylesheet" href="/css/.geSlider.skinNice.css?123" />scrip type="text/javascrip" src="/js/jquery-1.11.3.min.js">scrip type="text/javascrip" src="/js/boot.min.js">scrip type="text/javascrip" src="/js/.geSlider.min.js">style>#compare-drop { color:#fff; } .compare-list { color:#3b5998; } .compare-list li { border-bottom:dotted 1px #ccd3e4; po:relative; padding:4px; } .compare-list div { padding:4px; } .compare-icon { po:absolute; right:5px; top:5px; } .main-search-filter { background: #fff; width: 100%; /* margin: 15px auto 0; */ } .main-search-filter:after { content: "."; display: block; height: 0; visibility: hidden; clear: both; } .main-search-filter .filter-row:last-child { border: none; } /* .filter-row 相关 */ .filter-row { width: 98%; padding-top: 5px; padding-bottom: 5px; border-bottom: 1px dashed #ccc; margin: 0 1%; } .filter-row .slide-em { width: 225px; float: left; margin: 0px 20px 5px; } .filter-row .slide-em h3 { color: #999; margin-bottom: 5px; } .filter-row a { po: relative; } .filter-row:after { content: "."; display: block; height: 0; visibility: hidden; clear: both; } .filter-row h5 { float: left; color: #4c4a4a; line-height: 24px; margin: 0 15px 0 0; width: 150px; font-size: 14px; text-alig: right; } .unlimed-active:hover { color: #FFF; } .filter-active { color: #FFF; background-color: #3498db; border-radius: 1px; cursor: default; display: inline-block; } .unlimed-active { color: #FFF; background-color: #3498db; border-radius: 1px; cursor: default; height: 24px; display: inline-block; } .unlimed-em { padding: 0 10px; cursor: pointer; } .f-left { float: left; } .filter-em { display: inline-block; font-size: 14px; height: 24px; padding-left: 5px; padding-right: 5px; line-height: 24px; text-alig: center; cursor: pointer; } .filter-em:hover { background-color: #3498db; border-radius: 1px; color: #ffffff; } .expand-filter.down { border: 1px solid #DDD; width: 85px; height: 20px; font-size: 12px; line-height: 20px; border-bottom: 0; margin: 10px auto 0 auto; background: url(/images/learn_more.jpg) center no-repeat; } .expand-filter.up { border: 1px solid #DDD; width: 85px; height: 20px; font-size: 12px; line-height: 20px; border-bottom: 0; margin: 10px auto 0 auto; background: url(/images/learn_up.jpg) center no-repeat; } .expand-filter { text-alig: center; cursor: pointer; background-color: #fff; margin-top: 3px; } .list_info { padding-left: 16px; height: 45px !important; border-bottom: 0px !important; color: #999; } .list_info li { padding-right: 24px; padding-top: 8px; text-alig: left; } /*皮棉对比*/ .cnav { width: 50px; padding: 8px; background-color: #337ab7; color: #fff; } #compare-drop { color: #fff; } .compare-list { color: #3b5998; } var dampSlide,strengthSlide,dirtSlide,uniformitySlide; $(func() { var $modal = $('#cart_message'); $('.add2cart').('click', func(e) { var goods_id = $(this).attr("goods_id"); var clicked = $(this); var url = "/cart"; url = url+'/add'; $.pot(url,{goodsId:goods_id },func(data){ if (data.status == true) { $modal.modal(); clicked.replaceWith("已加入购物车"); } else if (data.status == false && data.msg == 'NOSIGN') { alert("您尚未登录,请登录后继续选购"); var currentUrl = loca.href; var targetUrl = "/auth/login"; targetUrl = targetUrl + '?referer=' + currentUrl; loca.href = targetUrl; } else { alert("添加至购物车失败,请稍后再试或咨询客服人员"); } },'json'); }); $("#goCart").click(func(){ var url = "/user/cart"; loca.href = url; }); $(".compare-btn").click(func(){ var btn = $(this); if($(".compare-list li").size()>=5) { alert("最多对比5个批次,请删除一批后再添加"); return false; } var batch = $(this).attr("batch"); var url = "/goods/compare/add"; $.pot(url, {batchId: batch}, func(data){ if (data=="SUCCESS") { btn.prop('disabled', true); var htm = "
  • "+batch+"
  • " $(".compare-list div:first").before(htm); $(".compare-list li:last").children("a").click(func(){doDel(this);}); $('#compare-drop').dropdown('toggle'); } else if (data=="DUPLICATE") { btn.prop('disabled', true); alert("该批次已在对比列表中,请选择其他批次。"); $('#compare-drop').dropdown('toggle'); }else { alert("添加对比失败,请重试或联系客服人员"); } }); }); func doDel(handle){ event.preventDefault(); var li = $(handle).closet("li"); var batch = li.attr("batch"); var url = "/goods/compare/del"; $.pot(url, {batchId: batch}, func(data){ if (data=="SUCCESS") { li.remove(); $(".compare-btn[batch="+batch+"]").prop('disabled', false); $('#compare-drop').dropdown('toggle'); } else { alert("删除失败,请重试或联系客服人员"); } }); } $(".compare-icon").click(func(){ doDel(this); }); $("#compare-clear").click(func(){ var url = "/goods/compare/clear"; $.pot(url, func(data){ $(".compare-list li").remove(); $('#compare-drop').dropdown('toggle'); }); }); //批次查询 $(".main-search-filter a").click(func(){ setTimeout(query_producer_goods,100); }); //分页查询 $(".page_link").click(func(event){ event.preventDefault(); var page = $(this).attr('page'); // alert(page); setTimeout(func(){ query_producer_goods(page);},100); //$(document).scrollTop( $("#goodsData").offset().top-50 ); }); //更多选项 $(".expand-filter").click( func() { if ($(this).hasClass("down")) { $(this).removeClass("down"); $(this).addClass("up"); $(".hidden-filter").slideDown(300,func() { $("#filterShade").height($("#filterShade").height()+ $(".hidden-filter").height()); }); } else { $(this).removeClass("up"); $(this).addClass("down"); $("#filterShade").height($("#filterShade").height()- $(".hidden-filter").height()); $(".hidden-filter").slideUp(300); } }); //点击不限处理样式 $(".filter-group h5 a").click(func(){ //点击不限 if(!$(this).hasClass("unlimed-active")){ //添加激活样式 $(this).addClass("unlimed-active"); //清除背景 $(this).closet(".filter-group").find("div a").removeClass("filter-active"); } }); //改变条件选中的背景颜色 $(".filter a").click(func() { checkUnlimedFilter($(this)); if ($(this).hasClass("filter-active")) { $(this).removeClass("filter-active"); } else { $(this).addClass("filter-active"); } }); //初始化滑块 strengthSlide = $("#strengthSlide").RgeSlider({ type: "double", grid: true, min: 20, max: 34, from: $("#strengthFrom").val(), to: $("#strengthTo").val(), step: 0.1, onFinish: func(data){ $("#strengthSlide").attr('query_col_value',data.from+","+data.to); setTimeout(query_producer_goods,100); } }).data("RgeSlider"); dirtSlide = $("#dirtSlide").RgeSlider({ type: "double", grid: true, min: 0, max: 5, from: $("#dirtFrom").val(), to: $("#dirtTo").val(), step: 0.1, onFinish: func(data){ $("#dirtSlide").attr('query_col_value',data.from+","+data.to); setTimeout(query_producer_goods,100); } }).data("RgeSlider"); dampSlide = $("#dampSlide").RgeSlider({ type: "double", grid: true, min: 0, max: 15, from:$("#dampFrom").val(), to: $("#dampTo").val(), step: 0.1, onFinish: func(data){ $("#dampSlide").attr('query_col_value',data.from+","+data.to); setTimeout(query_producer_goods,100); } }).data("RgeSlider"); uniformitySlide = $("#uniformitySlide").RgeSlider({ type: "double", grid: true, min: 70, max: 100, from: $("#uniformityFrom").val(), to: $("#uniformityTo").val(), step: 1, onFinish: func(data){ $("#uniformitySlide").attr('query_col_value',data.from+","+data.to); setTimeout(query_producer_goods,100); } }).data("RgeSlider"); }); //设置显示背景 func checkUnlimedFilter(obj){ var num = obj.closet("div").find(".filter-active").length; if(num == 0){ obj.closet(".filter-group").find("h5 a").removeClass("unlimed-active"); } else if(num == 1 && obj.hasClass("filter-active")){ obj.closet(".filter-group").find("h5 a").addClass("unlimed-active"); } } func updateRgeSlider(){ strengthSlide.update({ from:$("#strengthFrom").val(), to:$("#strengthTo").val() }); uniformitySlide.update({ from:$("#uniformityFrom").val(), to:$("#uniformityTo").val() }); dirtSlide.update({ from:$("#dirtFrom").val(), to:$("#dirtTo").val() }); dampSlide.update({ from:$("#dampFrom").val(), to:$("#dampTo").val() }); } //批次查询 func query_producer_goods(page) { // waitingDialog.show('数据加载中,请稍候...'); //alert(page); var param = query_param(); param.page = page>0?page:1; $.pot("/goods/producer/"+$("#producerId").val(), param, func(data){ $("#goodsData").(data.split("$$$$$")[0]); $("#pager").(data.split("$$$$$")[1]); $(".page_link").click(func(event){ event.preventDefault(); var page = $(this).attr('page'); query_producer_goods(page); $(document).scrollTop( $("#goodsData").offset().top-50 ); }); // waitingDialog.hide(); }, "html"); } func query_param(){ var str_s =""; $(".main-search-filter a").each(func(i){ if($(this).hasClass("filter-active")&&($(this).attr('query_col')!=undefined)) { var query_col = ($(this).attr('query_col'))?$(this).attr('query_col'):""; var query_val = ($(this).attr('query_val'))?$(this).attr('query_val'):""; var str = query_col+"@"+query_val; str_s+="!"+str; } }); //var json = $.serialize_form($('#search_form')); var json = {}; json.query_str = str_s; json.avg_str = $("#strengthSlide").attr('query_col_value'); json.avg_len_lv = $("#uniformitySlide").attr('query_col_value'); json.hanza = $("#dirtSlide").attr('query_col_value'); json.huichao = $("#dampSlide").attr('query_col_value'); json.producerId = $("#producerId").val(); json.query_key = $("#query_key").val(); return json; }
    /ead>
    /div>scrip type="text/javascrip" src="/js/bootstrap3-typeaead.min.js">scrip type="text/javascrip"> $(func() { $("#search").typeaead({ source : func(query, process) { var url = "/search/express/json"; var param = {search : query}; $.pot(url, param, func(data) { var rs = []; $.each(data, func (index, em) { var r = {id:em.id, name: em.name, type: em.type, url: em.url}; rs.push(r); }); process(rs); }, "json"); }, ems : 8, afterSelect : func(data) { loca.href = data.url; }, delay : 500 }); }); style>.eader .typeaead {width:400px;border-radius:0px;} .dropdown-menu>.active>a, .dropdown-menu>.active>a:focus, .dropdown-menu>.active>a:hover {color:#666; background-color:#f5f5f5}
    img src="/images/logo.jpg" class="logo fl" />
    /div> /div>/div>