(function(w){if(w.screen.availWidth>=1280)document.body.className = 'wrapIn1280';})(window);

CheckIsLogin1(); function CheckIsLogin1(){ document.getElementById('topLoginStatus').innerHTML = "\"\"/"; jQuery.st.ajax('logincheck',{params:{}, success:function(response){ switch (jQuery(response).find('status').text()) { case "ok": document.getElementById('topLoginStatus').style.display = ""; document.getElementById('topLoginFrom').style.display = "none"; document.getElementById('topLoginStatus').innerHTML = GetUserInfo1(response); break; default: document.getElementById('topLoginStatus').style.display = "none"; document.getElementById('topLoginFrom').style.display = ""; break; } }} ); } function GetUserInfo1(response){ var userInfo =""+ jQuery(response).find('username').text() + ",您好!欢迎来到万可佳商城!"; userInfo = userInfo + "会员中心|"; userInfo = userInfo + "退出登录"; return userInfo; }

|订单查询

if ('' != '') { document.getElementById('topKeyWord').value = '' }; document.getElementById("topKeyWord").onkeydown = function (e) { e = e || window.event; if (e.keyCode == 13) { gSearch(); } } function gSearch() { var keyword = document.getElementById('topKeyWord').value; if (keyword == '' || keyword == '请输入搜索关键字') { alert("请输入关键词"); return; } else { keyword = encodeURI(keyword); window.location = 'http://wkjjk.com/search.aspx?searchtype=4&Keyword=' + keyword; } }
  • 24小时电话
  • 全国免运费
  • 支持货到付款
(function (w) { if (w.screen.availWidth >= 1280) document.body.className = 'wrapIn1280'; })(window);
首页>保健品分类>健康食品>粮油干货>猴头菇
if( jQuery("#sideMenuBox .bd li").size()==0 ){ jQuery("#sideMenuBox").hide() }

最近浏览过

    var viewProduct_ContainerId = 'ProductLog'; setTimeout("productsVisited()",1000); function productsVisited() { var itemIdInCookie = getCookie("ViewProductLog"); $.st.ajax('updatelabel',{labelName:'浏览过的商品',currentPage:1, params:{ItemID:itemIdInCookie}, success:function(response){ var responseBody=jQuery(response).find('body').text(); var outputHtml=responseBody || ""; if(outputHtml!=""){ outputHtml += "
  • >>比较浏览过的商品
  • >>清空浏览记录
  • "; } jQuery("#"+viewProduct_ContainerId).html(outputHtml); } } ); } function getCookie(name) { if (document.cookie.length > 0) { cookieStart = document.cookie.indexOf( name + "=" ) if (cookieStart != - 1) { cookieStart = cookieStart + name.length + 1 cookieEnd = document.cookie.indexOf( ";", cookieStart ) if (cookieEnd == - 1) cookieEnd = document.cookie.length return unescape(document.cookie.substring( cookieStart, cookieEnd)); } } return ""; } // ------------------------------------增加浏览过的商品Cookie设置开始 function CreactViewProductLogCookie() { var productid = 755; var current = getCookie("ViewProductLog"); if(productid.length != 0) { var pid = ""; var pidarr = "," + current + ","; if(pidarr.indexOf("," + productid + ",") < 0) { if(current.length != 0) { pid = productid + "," + current; var arr = pid.split(","); if(arr.length > 10) { pid = ""; for(var i = 0; i < 10; i ++) { if(pid.length == 0) { pid = arr[i]; } else { pid = pid + "," + arr[i]; } } } } else { pid = productid; } setCookie("ViewProductLog", pid, 30, "/", "", false); } } else { return ""; } } function ClearViewProductLog(){ setCookie("ViewProductLog", "", 0, "/", "", false); //CreactViewProductLogCookie(); productsVisited(); } function setCookie(name, value, expires, path, domain, secure) { var today = new Date(); today.setTime(today.getTime()); if (expires) { expires = expires * 1000 * 60 * 60 * 24; } var expires_date = new Date(today.getTime() + (expires)); document.cookie = name + '=' + escape(value) + ((expires) ? ';expires=' + expires_date.toGMTString() : '') + // expires.toGMTString() ((path) ? ';path=' + path : '') + ((domain) ? ';domain=' + domain : '') + ((secure) ? ';secure' : ''); } CreactViewProductLogCookie(); // ---------------------------------------增加浏览过的商品Cookie设置完毕
    价格:
    • 全部
    • 0-49
    • 50-99
    • 100-199
    • 200以上
    • 自定义价
    • 确定
    • function GetCustomPriceList(){ minPrice=parseInt(jQuery("#txtMinPrice").val()); if(isNaN(minPrice)){ minPrice=0; } maxPrice=parseInt(jQuery("#txtMaxPrice").val()); if(isNaN(maxPrice)){ maxPrice=0; } var url = "/Category_755/1-wkj-Product-All-2-MinPrice-MaxPrice--.aspx"; window.location.href = url.replace("MinPrice-MaxPrice",minPrice + "-" + maxPrice); }
    //绑定更多按钮 jQuery(".more_unexpand").each(function(){ var $this = jQuery(this); var fieldName =$this.attr("fieldName"); var $UL = jQuery("ul[fieldname='" + fieldName + "']"); var lineHeight = $UL.height(); $UL.css("height", "auto"); if($UL.height() > lineHeight*1.5){ $UL.css("height", ""); } else{ $this.hide();//不需更多按钮 return; } var isExpand = jQuery.st.cookie("fieldExpand_" + fieldName); if (isExpand!=null ) { isExpand= parseInt(isExpand); } else { isExpand = 0; } SetFieldLine($this, fieldName, isExpand); //绑定单击事件 $this.click(function(){ var $this = jQuery(this); var fieldName =$this.attr("fieldName"); var isExpand = jQuery.st.cookie("fieldExpand_" + fieldName); if (isExpand!=null && parseInt(isExpand) == 1) { isExpand = 0; } else { isExpand = 1; } SetFieldLine($this, fieldName, isExpand); var pathStr = location.pathname.substring(0, location.pathname.lastIndexOf('/') + 1); jQuery.st.cookie("fieldExpand_" + fieldName, isExpand, { expires: 1, path: pathStr , secure: false }); return false; }); }); function SetFieldLine($obj, fieldName, isExpand){ var $UL = jQuery("ul[fieldname='" + fieldName + "']"); if(isExpand==1){ //$UL.addClass("ul_expand"); $UL.css("height", "auto"); $obj.addClass("more_expand").removeClass("more_unexpand"); $obj.text("收起"); } else{ //$UL.removeClass("ul_expand"); $UL.css("height", ""); $obj.addClass("more_unexpand").removeClass("more_expand"); $obj.text("更多"); } } jQuery("#btnShowHideFilter").click(function() { var isExpand = jQuery.st.cookie("fieldListExpand"); if (isExpand == 1) { isExpand = 0; } else { isExpand = 1; } SetFieldList(isExpand, 1); var pathStr = location.pathname.substring(0, location.pathname.lastIndexOf("/") + 1); jQuery.st.cookie("fieldListExpand", isExpand, { expires: 1, path: pathStr, secure: false }); return false; }); var showLine = 3; var list = jQuery("#filterFieldList"); //for (var i = 0; i < showLine; i++) { jQuery(".filterLine").eq(i).show(); }//filterLine默认前showLine个显示 var btnShowHideFilter = jQuery("#btnShowHideFilter"); function SetFieldList(isExpand, showType) { var rows = jQuery(".filterLine"); if (isExpand == 1) { for (var i = showLine; i < rows.length; i++) { if(showType == 0){ rows.eq(i).show(); } else{ rows.eq(i).slideDown("fast",function(){jQuery(this).show();}); } } list.css("height", "auto").css("overflow",""); //btnShowHideFilter.text("隐藏筛选列表"); jQuery("#divShowHideFilter").addClass("showFilter"); } else { for (var i = showLine; i < rows.length; i++) { if(showType == 0){ rows.eq(i).hide(); } else{ rows.eq(i).slideUp("fast",function(){jQuery(this).hide();}); } } list.css("height", "auto").css("overflow",""); //btnShowHideFilter.text("显示筛选列表"); jQuery("#divShowHideFilter").removeClass("showFilter"); } } SetFieldList(jQuery.st.cookie("fieldListExpand"), 0); jQuery(document).ready(function(){ //设置排序按钮链接 var url = "/Category_755/1-wkj-Product-All-OrderNo-0-0--.aspx"; var orderNo = "2"; jQuery("#ulProductListOrderType").find("a").each(function(){ var $this = jQuery(this); var thisOrderNo = $this.attr("OrderNo"); $this.attr("href", url.replace("OrderNo", thisOrderNo)); if(thisOrderNo == orderNo){ $this.parent().addClass("on"); } }); //设置分页控件的单击事件,如果使用了不同的分页标签,请在这里修改相应的逻辑。 var pageUrlTemplate = "/Category_755/PageNo-wkj-Product-All-2-0-0--.aspx"; var maxPageNo=0; var $pageContainer = jQuery('#divPage'); var $pageLinkList= $pageContainer.find("a"); $pageLinkList.each(function(index){ var $this = jQuery(this); var pagerUrl = $this.attr('href'); var indexNo=pagerUrl.match(/Index_?(\d*)\.[\w]{4,5}/i)[1]; indexNo=indexNo==''?'1':indexNo; $this.attr("href", pageUrlTemplate.replace("PageNo", indexNo)); if(index + 1 == $pageLinkList.length){ maxPageNo = Number(indexNo);//最大页码,如有不同的分页布局,请自行修改最大页码获取的方法 } }); $pageContainer.find("input").attr("onkeydown","").unbind().bind("keydown",function(event){ if(13==event.keyCode){ var pageNo=Number(jQuery(this).val()); if(0 < pageNo && pageNo <= maxPageNo){ window.location.href= pageUrlTemplate.replace("PageNo", pageNo ); } else{ alert("你输入的页码超出范围。"); } return false; } }); });
    function listPage_Jumpto商品综合信息列表_wkj(e,ele){ e=e||event; if(13==e.keyCode){ var i=Number(ele.value); if(i<1||i>1){alert("你输入的页码超出范围。");} switch(i){ case 1: break; default: break; } } }
    首页 上一页 1 下一页 尾页 共5个商品/共1页
    jQuery("#proListPage img").lazyload({ threshold:200 });
     
       

    商务通

    function LR_showminiDiv1(){};var LR_showminiDiv_no=1; var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "//hm.baidu.com/hm.js?bdb5ff5cfd041aebb1a7dde77120c253"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })();