首頁(yè) >> 產(chǎn)品中心 >> 切割片 >> $(function () { var reg = new RegExp("(^|&)sort=([^&]*)(&|$)"); var r = window.location.search.substr(1).match(reg); var sort; if (r != null) { sort = unescape(r[2]); } else { sort = -1; } if (sort == "timeup") { $("#timeup").removeClass("descend").addClass("raise1"); } else if (sort == "timedown") { $("#timedown").removeClass("descend1").addClass("raise"); } else if (sort == "priceup") { $("#priceup").removeClass("descend").addClass("raise1"); } else if (sort == "pricedown") { $("#pricedown").removeClass("descend1").addClass("raise"); } var bb = $(".footer").attr("content"); var cc = eval('(' + bb + ')'); $("#productTitle").html(cc.Product); })