|
|
webpackJsonp([1],[function(t,e,i){function n(t){var e,i,n,s;s=t.attr("urlLocation"),e="/product/sale/goods",n=t.parent().parent(".sale-box").find(".goods"),i=e+s,a.ajax({type:"GET",url:i,data:""}).then(function(e){n.html(""),n.append(e),r(t.closest(".sale-box").find(".lazy"))})}function s(t){var e=36e5,i=6e4,n=1e3,s="",o=0,a=0,r=0,l=0;return t>1e3&&(o=Math.floor(t/e/24),a=Math.floor(t/e%24),r=Math.floor(t/i%60),l=Math.floor(t/n%60),s+=o>0?o+"天":"",s+=a>0?a+"时":"",s+=r>0?r+"分":"",s+=l>0?l+"秒":""),s}function o(){var t,e,i;for(t=0;t<c.length;t++){if(c[t].time<0)return;c[t].time-=1e3,i=s(c[t].time),i?(e=i,c[t].pre&&(e=c[t].pre+" "+e)):e="活动已结束",a(".time-calculate").removeClass("hidden"),a(".time-calculate").text(i)}}var a=i(1),r=i(2),l=i(11),c=[],d=a(".sale-box"),h=a(".sale-nav li");i(5),i(21),i(4),i(6),i(7),l.init(4),r(a("img.lazy")),a(".slide-container").slider(),h.on("click",function(){a(this).siblings(".active").removeClass("active"),a(this).addClass("active"),n(a(this))}),function(){d.each(function(){var t=a(this).find(h).eq(0);n(t)})}(),".sale-discount-page".length>0&&(a(".time-calculate").each(function(){var t=a(this).attr("data");t&&c.push({dom:a(this),time:t})}),setInterval(o,1e3))},,,,function(t,e,i){var n=i(1),s=i(2);!function(){var t=function(t,e){this.$element=n(t),this.options=n.extend({},n.fn.slider.defaults,e),this.bigItem=this.$element.find(".slide-wrapper").find("li"),this.smallItem=null,this.len=this.bigItem.size(),this.index=0,this.timer=null,this.init()};t.prototype={init:function(){if(this.$element){if(this.len<=1)return void s(this.$element.find("img.lazy"));this.options.pagination?this.smallItem=n(this.options.pagination).find("li"):this._createPage(),this.options.orient&&this._createOrient(),this._slideShow(),this._bindEvent(),this._autoplay()}},_createOrient:function(){var t='<div class="slide-switch"><a class="prev" href="javascript:;"><span class="iconfont"></span></a><a class="next" href="javascript:;"><span class="iconfont"></span></a></div>';this.$element.find(".slide-switch").length>0||this.$element.append(t)},_createPage:function(){var t='<div class="slide-pagination"><div class="slide-pagination-inner"><div class="slide-shade"></div><div class="slide-pagination-last">',e=0;if(!(this.len<=1)){for(e=0;e<this.len;e++)t+="<span></span>";t+="</div></div></div>",this.$element.append(n(t)),this.smallItem=this.$element.find(".slide-pagination-inner span")}},_bindEvent:function(){var t=this;this.$element.find(".slide-switch").on("click",".next",function(){t._nextSlide(),clearInterval(t.timer),t.timer=setInterval(function(){t._nextSlide()},t.options.time)}).on("click",".prev",function(){t._prevSlide(),clearInterval(t.timer),t.timer=setInterval(function(){t._nextSlide()},t.options.time)}),this.smallItem.on("mouseenter",function(){t.index=n(this).index(),clearInterval(t.timer),t._slideShow()}).on("mouseleave",function(){t._autoplay()}),this.$element.on("mouseenter",function(){n(this).find(".slide-switch").addClass("show")}).on("mouseleave",function(){n(this).find(".slide-switch").removeClass("show")})},_nextSlide:function(){this.index===this.len-1?this.index=0:this.index++,this._slideShow()},_prevSlide:function(){0===this.index?this.index=this.len-1:this.index--,this._slideShow()},_slideShow:function(){var t=this.bigItem.eq(this.index).find("img.lazy");t.attr("src")!==t.data("original")&&(s(t,{event:"sporty"}),t.trigger("sporty")),this.smallItem.eq(this.index).addClass("focus").siblings().removeClass("focus"),this.bigItem.eq(this.index).show().stop().animate({opacity:1},function(){n(this).find(".slide-tips > p").removeClass("hide")}).siblings().stop().animate({opacity:0},function(){n(this).hide().find(".slide-tips > p").addClass("hide")})},_autoplay:function(){var t=this;clearInterval(this.timer),this.timer=setInterval(function(){t._nextSlide()},this.options.time)}},n.fn.slider=function(e){return this.each(function(){var i=n(this),s=i.data("Slider"),o="object"==typeof e&&e;s||i.data("Slider",s=new t(this,o)),"string"==typeof e&&s[e]()})},n.fn.slider.Constructor=t,n.fn.slider.defaults={time:5e3,orient:!0,pagination:null}}(n)},,function(t,e,i){function n(t,e){t.each(function(){m(this).closest(".attr").hasClass("checked")||m(this).removeClass("checked").html(y.unchecked)}),e.find(".checkbox").addClass("checked").html(y.checked)}function s(){_.addClass("hide"),C.removeClass("hide")}function o(){C.addClass("hide"),_.removeClass("hide"),I.children("span").removeClass("hover")}function a(t,e){var i,n=window.queryString();n[t]=e,delete n.page,i="?"+decodeURIComponent(m.param(n)),window.location.href=i}function r(){O.children(".senior-sub:eq("+v+")").addClass("hide"),P.children(".attr:eq("+v+")").removeClass("hover"),v=-1}var l,c,d,h,u,f,p,v,m=i(1),g=i(3),y={unchecked:"",checked:""},b={up:"",down:""},_=m(".brand .default"),x=m("#brand-search-input"),C=m(".brand .brand-panel"),w=C.find(".attr"),k=m("#brand-more"),S=m("#brand-multi"),I=m(".brands-index"),j=m(".ud-price-range"),T=/^\d+$/,E=m(".sort-sub-wrap"),O=m(".senior-sub-wrap"),P=m(".senior-attr-wrap"),q='{{# size}}<a class="attr {{#if checked}}checked{{/if}}" href="{{href}}">{{name}}</a>{{/ size}}',z={},L=m(".filter-box .size");q=g.compile(q),m(".filter-box").on("selectstart",".attr, .brands-index span",function(){return!1}),m(".sort-pre").on("click","li",function(){var t=m(this),e=t.index(),i=t.data("id");return t.hasClass("active")?(t.removeClass("active"),E.children(":eq("+e+")").addClass("hide"),void L.addClass("hide")):(t.siblings(".active").removeClass("active"),t.addClass("active"),E.children(":not(.hide)").addClass("hide"),E.children(":eq("+e+")").removeClass("hide"),void(L.data("load")||(z[i]?(L.find(".attr-content").html(z[i]),L.removeClass("hide")):m.ajax({url:"/product/search/sortSize",data:{msort:i}}).then(function(t){"array"===m.type(t)&&t.length?(z[i]=q({size:t}),L.find(".attr-content").html(z[i]),L.removeClass("hide")):L.addClass("hide")}))))}),k.length>0&&(l=k.children("em"),c=k.children(".iconfont")),S.click(function(){"none"===C.css("display")&&k.trigger("click"),s(),C.removeClass("hide").addClass("multi"),m(this).addClass("hide"),k.addClass("hide")}),k.click(function(){var t=m(this);t.hasClass("more")?(o(),l.text("更多"),c.html(b.down),x.val("").trigger("keyup")):(s(),l.text("收起"),c.html(b.up)),m(this).toggleClass("more")}),I.on("mouseenter","span",function(){var t=m(this),e=t.data("index");t.hasClass("hover")||setTimeout(function(){t.siblings("span.hover").removeClass("hover"),t.addClass("hover"),0===t.index()?w.removeClass("hide"):w.addClass("hide").filter("[data-index="+e+"]").removeClass("hide")},120)}),x.keyup(function(){var t=m(this).val().toLowerCase();""===t?w.removeClass("hide"):w.addClass("hide").filter('[data-key*="'+t+'"]').removeClass("hide")}),m("#brand-multi-ok").click(function(){var t=[];m(this).hasClass("dis")||(C.find("span.checked").each(function(){t.push(m(this).data("id"))}),a("brand",t.join(",")))}),m(".multi-select-cancel").click(function(){var t=m(this).closest(".multi");t.hasClass("brand-panel")&&(S.removeClass("hide"),k.trigger("click"),k.removeClass("hide"),x.val("").trigger("keyup"),o()),t.addClass("hide").removeClass("multi"),n(t.find(".checkbox.checked"),t.find(".attr.checked")),m(this).siblings(".multi-select-ok").addClass("dis")}),m(".check-container").on("click",".attr",function(){var t=m(this),e=t.find(".checkbox"),i=t.closest(".brand-panel, .senior-sub").find(".multi-select-ok");e.toggleClass("checked"),e.hasClass("checked")?e.html(y.checked):e.html(y.unchecked),e.hasClass("checked")||t.siblings(".attr").find(".checked").length>0?i.removeClass("dis"):i.addClass("dis")}),m(".brand, .senior").on("click",".attr > a",function(t){m(this).closest(".multi").length>0&&t.preventDefault()}),m(".filter-box").on("click","li.checked, a.checked",function(t){t.preventDefault()}),j.length>0&&(d=j.find(".limit"),h=d.filter(".min"),u=d.filter(".max"),f=j.find(".price-sure"),d.keyup(function(){var t,e,i,n=m.trim(m(this).val()),s=T.test(n);s||(t=parseInt(n,10),m(this).val(isNaN(t)?"":t)),e=m.trim(h.val()),i=m.trim(u.val()),""!==e||""!==i?f.removeClass("hide"):f.addClass("hide")}),f.click(function(){var t,e=m.trim(h.val()),i=m.trim(u.val());""!==e&&""!==i&&+e>+i&&(t=i,i=e,e=t),a("price",e+","+i)})),P.on("mouseenter",".attr",function(){var t=m(this),e=t.index();t.hasClass("no-sub")||(t.addClass("hover").siblings().removeClass("hover"),O.children(".senior-sub:eq("+e+")").removeClass("hide").siblings().addClass("hide"))}).on("mouseleave",".attr",function(){var t=m(this),e=t.index();t.hasClass("no-sub")||(v=e,p=setTimeout(function(){r()},100))}),m(".senior-sub").on("click",".multi-select",function(){m(this).closest(".senior-sub").addClass("multi")}).on("click",".multi-select-ok",function(){var t=m(this),e=t.closest(".senior-sub"),i=[];t.hasClass("dis")||(e.find("span.checked").each(function(){i.push(m(this).data("id"))}),a(e.data("attr"),i.join(",")))}).on("mouseenter",function(){clearTimeout(p)}).on("mouseleave",function(){r()})},function(t,e,i){var n=i(1),s=n("#count-per-page"),o=s.next("ul"),a=200;n(document).click(function(t){n(t.target).closest(".page-count").length>0||o&&o.slideUp(a)}),s.click(function(){"none"===o.css("display")?o.slideDown(a):o.slideUp(a)})},function(t,e){var i,n={"[object Array]":"array","[object Boolean]":"boolean","[object Date]":"date","[object Function]":"function","[object Number]":"number","[object Object]":"object","[object RegExp]":"regexp","[object String]":"string"},s={__Index:0,list:[],get:function(t){return void 0===t?this.list:this.list[t]},fn:function(){},inherit:function(t,e){var i=s.fn;i.prototype=e.prototype,t.prototype=new i,t.prototype.constructor=t,t.superclass=e.prototype,t.prototype.constructor===Object.prototype.constructor&&(t.prototype.constructor=e)},extend:function(t,e){var i;for(i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t},copy:function(t,e,i){var n,o,a;if("object"!=typeof e)return e;if(n=e.valueOf(),e!==n)return new e.constructor(n);if(e instanceof e.constructor&&e.constructor!==Object){o=t?new t:s.clone(e.constructor.prototype);for(a in e)(t||e.hasOwnProperty(a))&&(o[a]=e[a])}else{o={};for(a in e)o.hasOwnProperty(a)&&(o[a]=e[a])}if(i)for(a in i)o.hasOwnProperty(a)&&(o[a]=i[a]);return o},clone:function(t){return s.__cloneFunc.prototype=t,new s.__cloneFunc},__cloneFunc:function(){},delegate:function(t,e){var i;return e=e||window,arguments.length>2?(i=Array.prototype.slice.call(arguments,2),function(){return t.apply(e,i)}):function(){return t.call(e)}},dom:function(t,e){var i,n,s=t,o={wrap:s},a=s[0].getElementsByTagName("*"),r=a.length;for(n=0;r>n;n++)i=a[n].className,i.indexOf(e)>-1&&(i=i.split(e)[1]),i&&(o[i]=s.find(a[n]));return o},template:function(){var t,e,i,n,o=arguments;if(o.length>0&&s.isString(o[0]))if(t=o[0],2===o.length&&s.isObject(o[1]))for(e in o[1])void 0!==o[1][e]&&(i=new RegExp("({"+e+"})","g"),t=t.replace(i,o[1][e]));else for(n=1;n<o.length;n++)void 0!==o[n]&&(i=new RegExp("({["+(n-1)+"]})","g"),t=t.replace(i,o[n]));return t},__type:function(t){return null==t?String(t):n[Object.prototype.toString.call(t)]||"object"},isObject:function(t){return this.isFunction(t)||!(!t||"object"!=typeof t)},isFunction:function(t){return"function"===this.__type(t)},isArray:Array.isArray||function(t){return"array"===this.__type(t)},isNum:function(t){return!isNaN(parseFloat(t))&&isFinite(t)},isString:function(t){return"string"===this.__type(t)},each:function(t,e,i){var n,o;if(s.isArray(t))for(n=0,o=t.length;o>n&&e.call(t[n],n,t[n],i)!==!1;n++);else for(n in t)if(e.call(t[n],n,t[n],i)===!1)break},funManager:{__loadList:{},__loadFun:function(t,e,i){t.methord&&s.isFunction(t.methord())&&(i=i||window,t.methord()(t,function(){e()},i))},load:function(t,e,i,n){n=n||0,t[n]&&s.funManager.__loadFun(t[n],function(){s.funManager.load(t,e,i,n+1)},i),e(n,i)},get:function(t){return this.__loadList[t]}},log:function(t){var e=window.console||{log:function(){}};e.log(t)},Event:{mousewheel:function(t){var e=t.originalEvent,i=e.detail?-1*e.detail:e.wheelDelta/40,n=0>i?-1:1;return{direction:n,unit:i}},__:function(t,e,i,n){var s;for(s in t)if(window[t[s].validator]){e[t[s].validator](t[s].prefix+i,n,!1);break}},add:function(t,e,i){var n=[{validator:"addEventListener",prefix:""},{validator:"attachEvent",prefix:"on"}];this.__(n,t,e,i)},remove:function(t,e,i){var n=[{validator:"removeEventListener",prefix:""},{validator:"detachEvent",prefix:"on"}];this.__(n,t,e,i)}},getUid:function(t){return s.template("me-{0}{1}-{2}",t,(new Date).getTime(),s.__Index++)},Browser:{isTouch:function(){var t=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture;return!!("ontouchstart"in window||t||window.DocumentTouch)},Prefix:function(){var t,e=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"],i=document.createElement("div");for(t in e)if(void 0!==i.style[e[t]])return s.template("-{0}-",e[t].replace("Perspective","").toLowerCase())},parseURL:function(t){var e,i,n,s,o,a=document.createElement("a");return a.href=t,{source:t,protocol:a.protocol.replace(":",""),host:a.hostname,port:a.port,query:a.search,params:function(){for(e={},i=a.search.replace(/^\?/,"").split("&"),n=i.length,s=0,o;n>s;s++)i[s]&&(o=i[s].split("="),e[o[0]]=o[1]);return e}(),file:(a.pathname.match(/\/([^\/?#]+)$/i)||[null,""])[1],hash:a.hash.replace("#",""),path:a.pathname.replace(/^([^\/])/,"/$1"),relative:(a.href.match(/tps?:\/\/[^\/]+(.+)/)||[null,""])[1],segments:a.pathname.replace(/^\//,"").split("/")}}},Array:{indexOf:function(t,e){var i;for(i=0;i<t.length;i++)if(this[i]===e)return i;return-1},remove:function(t,e){var i=this.indexOf(t,e);return i>-1&&t.splice(i,1),t}}};i=function(t){this.initialized=!1,this.registerEvent={before:[],change:[],after:[]},this.options=t,this.init(t)},i.output=function(){s.log(s.list)},i.prototype.oninit=s.fn,i.prototype.init=function(t){this.initialized=!0,this.__Uid=s.getUid("me"),this.oninit(t),s.list[this.__Uid]=this},i.prototype.destory=function(){this.initialized=!1,delete s.list[this.__Uid]},i.prototype.getUid=function(){return this.__Uid},i.prototype.getOptions=function(){return this.options},i.prototype.config=function(){if(!(arguments.length>0))return this.options;if("string"==typeof arguments[0]){if(!(arguments.length>1))return this.options[name];this.options[arguments[0]]=arguments[1]}},i.prototype.on=function(t,e){var i=this,n=i.registerEvent[t];return n&&n.push(e),n},i.prototype.off=function(t,e){var i=this,n=i.registerEvent[t],o=[];s.each(n,function(t,i){i===e&&o.push(t)}),s.each(o.reverse(),function(t,e){n.splice(e,1)})},s.assembly=i,t.exports=s},function(t,e,i){var n=i(8),s=function(t){this.__lastTime=null,this.__isStop=!1,t=n.extend(this.defaults,t),s.superclass.constructor.call(this,t)};n.inherit(s,n.assembly),s.prototype.oninit=function(){var t=this,e=t.options;return e.auto&&t.play(),t.go(e.index),this},s.prototype.go=function(t,e){var i,n,s,o,a,r,l,c,d=this,h=d.options;d.__lastTime&&(clearTimeout(d.__lastTime),d.__lastTime=null),e="undefined"==typeof e?h.index:e,i=t===e?0:t>e?1:-1,n=h.loop,o=h.length-1,a=t,t=n?t>o?t-o-1:0>t?t+o+1:t:t>o?o:0>t?0:t,s=h.index=t,r={from:e,to:t,originalto:a,direction:i};for(l in d.registerEvent)if(d.registerEvent[l].length>0)for(c in d.registerEvent[l])d.registerEvent[l].hasOwnProperty(c)&&d.registerEvent[l][c](r);s!==o||t?!d.__isStop&&h.auto&&d.play():d.__lastTime&&clearTimeout(d.__lastTime)},s.prototype.play=function(){var t=this,e=t.options;return t.__lastTime=setTimeout(function(){t.next()},1e3*e.timeout),this},s.prototype.next=function(){var t=this,e=t.options,i=e.index,n=i+e.step;t.go(n,i)},s.prototype.prev=function(){var t=this,e=t.options,i=e.index,n=i-e.step;t.go(n,i)},s.prototype.pause=function(){var t=this;t.__lastTime&&clearTimeout(t.__lastTime),t.__isStop=!0},s.prototype.resume=function(){var t=this;t.__isStop=!1,t.play()},s.prototype.defaults={index:0,timeout:5,step:1,per:1,auto:!1,loop:!1},t.exports=s},function(t,e,i){function n(){this.handlers={}}var s=i(1);n.prototype={constructor:n,addHandler:function(t,e){"undefined"==typeof this.handlers[t]&&(this.handlers[t]=[]),this.handlers[t].push(e)},fire:function(t){var e,i;if(t.target||(t.target=this),this.handlers[t.type]instanceof Array)for(e=this.handlers[t.type],i=0;i<e.length;i++)e[i](t)},removeHandler:function(t,e){var i,n;if(this.handlers[t]instanceof Array){for(i=this.handlers[t],n=0;n<i.length&&i[n]!==e;n++);i.splice(n,1)}}},t.exports=function(t,e){function i(t){var i,n=0,h=0,u=e,f=0,p="",v=0,m=0;switch(t.type){case"mouseenter":i=s(this),o=setTimeout(function(){a=!0,p=i.clone(),f=i.index()+1,n=f%u===0?u:f%u,h=Math.ceil(f/u),v=i.offset().left,m=d-(v+l),r.fire({type:"MouseEnter",target:i,targetWidth:l,targetHeight:c,targetX:n,targetY:h,rowWidth:u,activeIndex:f,targetDuplicate:p,offsetL:v,offsetR:m})},150);break;case"mouseleave":a||(o&&clearTimeout(o),r.fire({type:"MouseLeave"})),a=!1}}var o,a,r=new n,l=t.eq(0).width(),c=t.eq(0).height(),d=s(window).width();return t.bind({mouseenter:i,mouseleave:i}),r}},function(t,e,i){var n,s=i(1),o=i(2),a=i(3),r=i(10),l=s(".goods-container"),c=l.find(".good-info"),d=l.find(".good-item-wrapper"),h=l.find(".good-info-main"),u=l.find(".good-select-color"),f=s(".product-list-nav");o(s("img.lazy")),e.init=function(t){function e(t,e){var i,n,s,o="",a=t.length,r=4,l=Math.ceil(a/r),c=0;for(i=0;l>i;i++)for(o+="<ul>",n=0;r>n&&(s=i*r+n,s!==a);n++)o+='<li><a target="_blank" href="'+t[i*r+n].url+e+'"><img src="'+t[i*r+n].src+'" data-cover="'+t[i*r+n].coverImg+'" /></a></li>',n===r-1&&(o+="</ul>",c++);return l>c&&(o+="</ul>"),{colorListStr:o,ulNum:l}}function i(){h.html(""),u.html(""),d.css({display:"none"})}n=null,c.unbind(),n=r(c,t),n.addHandler("MouseEnter",function(t){var n,o,a,r,c,f,p,v,m,g,y,b,_=10,x=35,C=t.target.attr("data-from")||"";a=[],t.target.find(".hideList > li").each(function(){o=s(this).data(),o.coverImg=o.src,a.push(o)}),n=e(a,C),i(),c=n.colorListStr,r=n.ulNum,h.append(t.targetDuplicate),u.append(s(c)),g=d.css("paddingLeft"),y=d.css("paddingTop"),b=l.css("paddingTop"),f=10+65*r+t.targetWidth,v=(t.targetX-1)*(t.targetWidth+_)-(parseInt(g,10)+1),m=(t.targetY-1)*(t.targetHeight+x)+parseInt(b,10)-(parseInt(y,10)+1),p=t.offsetR-(65*r+25),0>=p&&(v=v+p-25),d.css({width:f,left:v,top:m,display:"inline-block"}),a[0]&&a[0].src&&h.find(".good-thumb img").attr("src",a[0].src)}),n.addHandler("MouseLeave",function(){i()}),d.mouseleave(function(){i()})},s(document).on("mouseenter",".good-select-color li",function(){var t=s(this).find("img").attr("data-cover"),e=s(this).closest(".good-item-wrapper").find(".good-detail-img img");e.attr("src",t)}),f.find("h3").click(function(){var t=s(this).closest(".product-list-nav");t.hasClass("active")?t.find(".sort-child-list").stop(!0,!0).slideUp():t.find(".sort-child-list").stop(!0,!0).slideDown(),t.toggleClass("active")}),function(){var t,e=s("#brand-card"),i=s("#brand-favor");e.length&&s.ajax({type:"POST",url:"/product/index/getNodeContent",data:{node:e.data("node")}}).then(function(t){e.html(t)}),i.length&&(t=s("#pic-link-tpl").html(),s.ajax({type:"POST",url:"/product/index/getAdnav",data:{brandId:i.data("id")}}).then(function(e){e&&s("#brand-ad").html(a.compile(t)({picLink:e}))}))}()},,,,,,,,,,function(t,e,i){var n,s,o=i(9),a=i(1),r=a(".sale-list-banner"),l=r.find("li"),c=0,d="",h="",u=!0;for(n=0;n<l.length;n++)d+=0===n?'<span class="active"></span>':"<span></span>";h='<div class="sale-list-pagation"><div>'+d+"</div></div>",l.length>1&&r.append(a(h)),s=new o({length:l.length,loop:!0,auto:!0,timeout:2,index:0}),l.length>1&&s.on("change",function(t){u&&(u=!1,c++,a(".sale-list-pagation").find("span").removeClass("active"),l.eq(t.from).animate({opacity:0},300),l.eq(t.to).css({zIndex:c}).animate({opacity:1},300,function(){u=!0}),a(".sale-list-pagation").find("span").eq(t.to).addClass("active"))}),r.hover(function(){u&&s.pause()},function(){s.resume()}),a(".sale-list-pagation span").click(function(){var t=a(this).index();u&&s.go(t)}),s.init()}]); |
|
|
\ No newline at end of file |
|
|
webpackJsonp([1],[function(t,e,i){function n(t){var e,i,n,s;s=t.attr("urlLocation"),e="/product/sale/goods",n=t.parent().parent(".sale-box").find(".goods"),i=e+s,a.ajax({type:"GET",url:i,data:""}).then(function(e){n.html(""),n.append(e),r(t.closest(".sale-box").find(".lazy"))})}function s(t){var e=36e5,i=6e4,n=1e3,s="",o=0,a=0,r=0,l=0;return t>1e3&&(o=Math.floor(t/e/24),a=Math.floor(t/e%24),r=Math.floor(t/i%60),l=Math.floor(t/n%60),s+=o>0?o+"天":"",s+=a>0?a+"时":"",s+=r>0?r+"分":"",s+=l>0?l+"秒":""),s}function o(){var t,e,i;for(t=0;t<c.length;t++){if(c[t].time<0)return;c[t].time-=1e3,i=s(c[t].time),i?(e=i,c[t].pre&&(e=c[t].pre+" "+e)):e="活动已结束",a(".time-calculate").removeClass("hidden"),a(".time-calculate").text(i)}}var a=i(1),r=i(2),l=i(11),c=[],d=a(".sale-box"),h=a(".sale-nav li");i(4),i(22),i(5),i(6),i(7),l.init(4),r(a("img.lazy")),a(".slide-container").slider(),h.on("click",function(){a(this).siblings(".active").removeClass("active"),a(this).addClass("active"),n(a(this))}),function(){d.each(function(){var t=a(this).find(h).eq(0);n(t)})}(),".sale-discount-page".length>0&&(a(".time-calculate").each(function(){var t=a(this).attr("data");t&&c.push({dom:a(this),time:t})}),setInterval(o,1e3))},,,,,function(t,e,i){var n=i(1),s=i(2);!function(){var t=function(t,e){this.$element=n(t),this.options=n.extend({},n.fn.slider.defaults,e),this.bigItem=this.$element.find(".slide-wrapper").find("li"),this.smallItem=null,this.len=this.bigItem.size(),this.index=0,this.timer=null,this.init()};t.prototype={init:function(){if(this.$element){if(this.len<=1)return void s(this.$element.find("img.lazy"));this.options.pagination?this.smallItem=n(this.options.pagination).find("li"):this._createPage(),this.options.orient&&this._createOrient(),this._slideShow(),this._bindEvent(),this._autoplay()}},_createOrient:function(){var t='<div class="slide-switch"><a class="prev" href="javascript:;"><span class="iconfont"></span></a><a class="next" href="javascript:;"><span class="iconfont"></span></a></div>';this.$element.find(".slide-switch").length>0||this.$element.append(t)},_createPage:function(){var t='<div class="slide-pagination"><div class="slide-pagination-inner"><div class="slide-shade"></div><div class="slide-pagination-last">',e=0;if(!(this.len<=1)){for(e=0;e<this.len;e++)t+="<span></span>";t+="</div></div></div>",this.$element.append(n(t)),this.smallItem=this.$element.find(".slide-pagination-inner span")}},_bindEvent:function(){var t=this;this.$element.find(".slide-switch").on("click",".next",function(){t._nextSlide(),clearInterval(t.timer),t.timer=setInterval(function(){t._nextSlide()},t.options.time)}).on("click",".prev",function(){t._prevSlide(),clearInterval(t.timer),t.timer=setInterval(function(){t._nextSlide()},t.options.time)}),this.smallItem.on("mouseenter",function(){t.index=n(this).index(),clearInterval(t.timer),t._slideShow()}).on("mouseleave",function(){t._autoplay()}),this.$element.on("mouseenter",function(){n(this).find(".slide-switch").addClass("show")}).on("mouseleave",function(){n(this).find(".slide-switch").removeClass("show")})},_nextSlide:function(){this.index===this.len-1?this.index=0:this.index++,this._slideShow()},_prevSlide:function(){0===this.index?this.index=this.len-1:this.index--,this._slideShow()},_slideShow:function(){var t=this.bigItem.eq(this.index).find("img.lazy");t.attr("src")!==t.data("original")&&(s(t,{event:"sporty"}),t.trigger("sporty")),this.smallItem.eq(this.index).addClass("focus").siblings().removeClass("focus"),this.bigItem.eq(this.index).show().stop().animate({opacity:1},function(){n(this).find(".slide-tips > p").removeClass("hide")}).siblings().stop().animate({opacity:0},function(){n(this).hide().find(".slide-tips > p").addClass("hide")})},_autoplay:function(){var t=this;clearInterval(this.timer),this.timer=setInterval(function(){t._nextSlide()},this.options.time)}},n.fn.slider=function(e){return this.each(function(){var i=n(this),s=i.data("Slider"),o="object"==typeof e&&e;s||i.data("Slider",s=new t(this,o)),"string"==typeof e&&s[e]()})},n.fn.slider.Constructor=t,n.fn.slider.defaults={time:5e3,orient:!0,pagination:null}}(n)},function(t,e,i){function n(t,e){t.each(function(){m(this).closest(".attr").hasClass("checked")||m(this).removeClass("checked").html(y.unchecked)}),e.find(".checkbox").addClass("checked").html(y.checked)}function s(){_.addClass("hide"),C.removeClass("hide")}function o(){C.addClass("hide"),_.removeClass("hide"),I.children("span").removeClass("hover")}function a(t,e){var i,n=window.queryString();n[t]=e,delete n.page,i="?"+decodeURIComponent(m.param(n)),window.location.href=i}function r(){O.children(".senior-sub:eq("+v+")").addClass("hide"),P.children(".attr:eq("+v+")").removeClass("hover"),v=-1}var l,c,d,h,u,f,p,v,m=i(1),g=i(3),y={unchecked:"",checked:""},b={up:"",down:""},_=m(".brand .default"),x=m("#brand-search-input"),C=m(".brand .brand-panel"),w=C.find(".attr"),k=m("#brand-more"),S=m("#brand-multi"),I=m(".brands-index"),j=m(".ud-price-range"),T=/^\d+$/,E=m(".sort-sub-wrap"),O=m(".senior-sub-wrap"),P=m(".senior-attr-wrap"),q='{{# size}}<a class="attr {{#if checked}}checked{{/if}}" href="{{href}}">{{name}}</a>{{/ size}}',z={},L=m(".filter-box .size");q=g.compile(q),m(".filter-box").on("selectstart",".attr, .brands-index span",function(){return!1}),m(".sort-pre").on("click","li",function(){var t=m(this),e=t.index(),i=t.data("id");return t.hasClass("active")?(t.removeClass("active"),E.children(":eq("+e+")").addClass("hide"),void L.addClass("hide")):(t.siblings(".active").removeClass("active"),t.addClass("active"),E.children(":not(.hide)").addClass("hide"),E.children(":eq("+e+")").removeClass("hide"),void(L.data("load")||(z[i]?(L.find(".attr-content").html(z[i]),L.removeClass("hide")):m.ajax({url:"/product/search/sortSize",data:{msort:i}}).then(function(t){"array"===m.type(t)&&t.length?(z[i]=q({size:t}),L.find(".attr-content").html(z[i]),L.removeClass("hide")):L.addClass("hide")}))))}),k.length>0&&(l=k.children("em"),c=k.children(".iconfont")),S.click(function(){"none"===C.css("display")&&k.trigger("click"),s(),C.removeClass("hide").addClass("multi"),m(this).addClass("hide"),k.addClass("hide")}),k.click(function(){var t=m(this);t.hasClass("more")?(o(),l.text("更多"),c.html(b.down),x.val("").trigger("keyup")):(s(),l.text("收起"),c.html(b.up)),m(this).toggleClass("more")}),I.on("mouseenter","span",function(){var t=m(this),e=t.data("index");t.hasClass("hover")||setTimeout(function(){t.siblings("span.hover").removeClass("hover"),t.addClass("hover"),0===t.index()?w.removeClass("hide"):w.addClass("hide").filter("[data-index="+e+"]").removeClass("hide")},120)}),x.keyup(function(){var t=m(this).val().toLowerCase();""===t?w.removeClass("hide"):w.addClass("hide").filter('[data-key*="'+t+'"]').removeClass("hide")}),m("#brand-multi-ok").click(function(){var t=[];m(this).hasClass("dis")||(C.find("span.checked").each(function(){t.push(m(this).data("id"))}),a("brand",t.join(",")))}),m(".multi-select-cancel").click(function(){var t=m(this).closest(".multi");t.hasClass("brand-panel")&&(S.removeClass("hide"),k.trigger("click"),k.removeClass("hide"),x.val("").trigger("keyup"),o()),t.addClass("hide").removeClass("multi"),n(t.find(".checkbox.checked"),t.find(".attr.checked")),m(this).siblings(".multi-select-ok").addClass("dis")}),m(".check-container").on("click",".attr",function(){var t=m(this),e=t.find(".checkbox"),i=t.closest(".brand-panel, .senior-sub").find(".multi-select-ok");e.toggleClass("checked"),e.hasClass("checked")?e.html(y.checked):e.html(y.unchecked),e.hasClass("checked")||t.siblings(".attr").find(".checked").length>0?i.removeClass("dis"):i.addClass("dis")}),m(".brand, .senior").on("click",".attr > a",function(t){m(this).closest(".multi").length>0&&t.preventDefault()}),m(".filter-box").on("click","li.checked, a.checked",function(t){t.preventDefault()}),j.length>0&&(d=j.find(".limit"),h=d.filter(".min"),u=d.filter(".max"),f=j.find(".price-sure"),d.keyup(function(){var t,e,i,n=m.trim(m(this).val()),s=T.test(n);s||(t=parseInt(n,10),m(this).val(isNaN(t)?"":t)),e=m.trim(h.val()),i=m.trim(u.val()),""!==e||""!==i?f.removeClass("hide"):f.addClass("hide")}),f.click(function(){var t,e=m.trim(h.val()),i=m.trim(u.val());""!==e&&""!==i&&+e>+i&&(t=i,i=e,e=t),a("price",e+","+i)})),P.on("mouseenter",".attr",function(){var t=m(this),e=t.index();t.hasClass("no-sub")||(t.addClass("hover").siblings().removeClass("hover"),O.children(".senior-sub:eq("+e+")").removeClass("hide").siblings().addClass("hide"))}).on("mouseleave",".attr",function(){var t=m(this),e=t.index();t.hasClass("no-sub")||(v=e,p=setTimeout(function(){r()},100))}),m(".senior-sub").on("click",".multi-select",function(){m(this).closest(".senior-sub").addClass("multi")}).on("click",".multi-select-ok",function(){var t=m(this),e=t.closest(".senior-sub"),i=[];t.hasClass("dis")||(e.find("span.checked").each(function(){i.push(m(this).data("id"))}),a(e.data("attr"),i.join(",")))}).on("mouseenter",function(){clearTimeout(p)}).on("mouseleave",function(){r()})},function(t,e,i){var n=i(1),s=n("#count-per-page"),o=s.next("ul"),a=200;n(document).click(function(t){n(t.target).closest(".page-count").length>0||o&&o.slideUp(a)}),s.click(function(){"none"===o.css("display")?o.slideDown(a):o.slideUp(a)})},function(t,e){var i,n={"[object Array]":"array","[object Boolean]":"boolean","[object Date]":"date","[object Function]":"function","[object Number]":"number","[object Object]":"object","[object RegExp]":"regexp","[object String]":"string"},s={__Index:0,list:[],get:function(t){return void 0===t?this.list:this.list[t]},fn:function(){},inherit:function(t,e){var i=s.fn;i.prototype=e.prototype,t.prototype=new i,t.prototype.constructor=t,t.superclass=e.prototype,t.prototype.constructor===Object.prototype.constructor&&(t.prototype.constructor=e)},extend:function(t,e){var i;for(i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t},copy:function(t,e,i){var n,o,a;if("object"!=typeof e)return e;if(n=e.valueOf(),e!==n)return new e.constructor(n);if(e instanceof e.constructor&&e.constructor!==Object){o=t?new t:s.clone(e.constructor.prototype);for(a in e)(t||e.hasOwnProperty(a))&&(o[a]=e[a])}else{o={};for(a in e)o.hasOwnProperty(a)&&(o[a]=e[a])}if(i)for(a in i)o.hasOwnProperty(a)&&(o[a]=i[a]);return o},clone:function(t){return s.__cloneFunc.prototype=t,new s.__cloneFunc},__cloneFunc:function(){},delegate:function(t,e){var i;return e=e||window,arguments.length>2?(i=Array.prototype.slice.call(arguments,2),function(){return t.apply(e,i)}):function(){return t.call(e)}},dom:function(t,e){var i,n,s=t,o={wrap:s},a=s[0].getElementsByTagName("*"),r=a.length;for(n=0;r>n;n++)i=a[n].className,i.indexOf(e)>-1&&(i=i.split(e)[1]),i&&(o[i]=s.find(a[n]));return o},template:function(){var t,e,i,n,o=arguments;if(o.length>0&&s.isString(o[0]))if(t=o[0],2===o.length&&s.isObject(o[1]))for(e in o[1])void 0!==o[1][e]&&(i=new RegExp("({"+e+"})","g"),t=t.replace(i,o[1][e]));else for(n=1;n<o.length;n++)void 0!==o[n]&&(i=new RegExp("({["+(n-1)+"]})","g"),t=t.replace(i,o[n]));return t},__type:function(t){return null==t?String(t):n[Object.prototype.toString.call(t)]||"object"},isObject:function(t){return this.isFunction(t)||!(!t||"object"!=typeof t)},isFunction:function(t){return"function"===this.__type(t)},isArray:Array.isArray||function(t){return"array"===this.__type(t)},isNum:function(t){return!isNaN(parseFloat(t))&&isFinite(t)},isString:function(t){return"string"===this.__type(t)},each:function(t,e,i){var n,o;if(s.isArray(t))for(n=0,o=t.length;o>n&&e.call(t[n],n,t[n],i)!==!1;n++);else for(n in t)if(e.call(t[n],n,t[n],i)===!1)break},funManager:{__loadList:{},__loadFun:function(t,e,i){t.methord&&s.isFunction(t.methord())&&(i=i||window,t.methord()(t,function(){e()},i))},load:function(t,e,i,n){n=n||0,t[n]&&s.funManager.__loadFun(t[n],function(){s.funManager.load(t,e,i,n+1)},i),e(n,i)},get:function(t){return this.__loadList[t]}},log:function(t){var e=window.console||{log:function(){}};e.log(t)},Event:{mousewheel:function(t){var e=t.originalEvent,i=e.detail?-1*e.detail:e.wheelDelta/40,n=0>i?-1:1;return{direction:n,unit:i}},__:function(t,e,i,n){var s;for(s in t)if(window[t[s].validator]){e[t[s].validator](t[s].prefix+i,n,!1);break}},add:function(t,e,i){var n=[{validator:"addEventListener",prefix:""},{validator:"attachEvent",prefix:"on"}];this.__(n,t,e,i)},remove:function(t,e,i){var n=[{validator:"removeEventListener",prefix:""},{validator:"detachEvent",prefix:"on"}];this.__(n,t,e,i)}},getUid:function(t){return s.template("me-{0}{1}-{2}",t,(new Date).getTime(),s.__Index++)},Browser:{isTouch:function(){var t=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture;return!!("ontouchstart"in window||t||window.DocumentTouch)},Prefix:function(){var t,e=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"],i=document.createElement("div");for(t in e)if(void 0!==i.style[e[t]])return s.template("-{0}-",e[t].replace("Perspective","").toLowerCase())},parseURL:function(t){var e,i,n,s,o,a=document.createElement("a");return a.href=t,{source:t,protocol:a.protocol.replace(":",""),host:a.hostname,port:a.port,query:a.search,params:function(){for(e={},i=a.search.replace(/^\?/,"").split("&"),n=i.length,s=0,o;n>s;s++)i[s]&&(o=i[s].split("="),e[o[0]]=o[1]);return e}(),file:(a.pathname.match(/\/([^\/?#]+)$/i)||[null,""])[1],hash:a.hash.replace("#",""),path:a.pathname.replace(/^([^\/])/,"/$1"),relative:(a.href.match(/tps?:\/\/[^\/]+(.+)/)||[null,""])[1],segments:a.pathname.replace(/^\//,"").split("/")}}},Array:{indexOf:function(t,e){var i;for(i=0;i<t.length;i++)if(this[i]===e)return i;return-1},remove:function(t,e){var i=this.indexOf(t,e);return i>-1&&t.splice(i,1),t}}};i=function(t){this.initialized=!1,this.registerEvent={before:[],change:[],after:[]},this.options=t,this.init(t)},i.output=function(){s.log(s.list)},i.prototype.oninit=s.fn,i.prototype.init=function(t){this.initialized=!0,this.__Uid=s.getUid("me"),this.oninit(t),s.list[this.__Uid]=this},i.prototype.destory=function(){this.initialized=!1,delete s.list[this.__Uid]},i.prototype.getUid=function(){return this.__Uid},i.prototype.getOptions=function(){return this.options},i.prototype.config=function(){if(!(arguments.length>0))return this.options;if("string"==typeof arguments[0]){if(!(arguments.length>1))return this.options[name];this.options[arguments[0]]=arguments[1]}},i.prototype.on=function(t,e){var i=this,n=i.registerEvent[t];return n&&n.push(e),n},i.prototype.off=function(t,e){var i=this,n=i.registerEvent[t],o=[];s.each(n,function(t,i){i===e&&o.push(t)}),s.each(o.reverse(),function(t,e){n.splice(e,1)})},s.assembly=i,t.exports=s},function(t,e,i){var n=i(8),s=function(t){this.__lastTime=null,this.__isStop=!1,t=n.extend(this.defaults,t),s.superclass.constructor.call(this,t)};n.inherit(s,n.assembly),s.prototype.oninit=function(){var t=this,e=t.options;return e.auto&&t.play(),t.go(e.index),this},s.prototype.go=function(t,e){var i,n,s,o,a,r,l,c,d=this,h=d.options;d.__lastTime&&(clearTimeout(d.__lastTime),d.__lastTime=null),e="undefined"==typeof e?h.index:e,i=t===e?0:t>e?1:-1,n=h.loop,o=h.length-1,a=t,t=n?t>o?t-o-1:0>t?t+o+1:t:t>o?o:0>t?0:t,s=h.index=t,r={from:e,to:t,originalto:a,direction:i};for(l in d.registerEvent)if(d.registerEvent[l].length>0)for(c in d.registerEvent[l])d.registerEvent[l].hasOwnProperty(c)&&d.registerEvent[l][c](r);s!==o||t?!d.__isStop&&h.auto&&d.play():d.__lastTime&&clearTimeout(d.__lastTime)},s.prototype.play=function(){var t=this,e=t.options;return t.__lastTime=setTimeout(function(){t.next()},1e3*e.timeout),this},s.prototype.next=function(){var t=this,e=t.options,i=e.index,n=i+e.step;t.go(n,i)},s.prototype.prev=function(){var t=this,e=t.options,i=e.index,n=i-e.step;t.go(n,i)},s.prototype.pause=function(){var t=this;t.__lastTime&&clearTimeout(t.__lastTime),t.__isStop=!0},s.prototype.resume=function(){var t=this;t.__isStop=!1,t.play()},s.prototype.defaults={index:0,timeout:5,step:1,per:1,auto:!1,loop:!1},t.exports=s},function(t,e,i){function n(){this.handlers={}}var s=i(1);n.prototype={constructor:n,addHandler:function(t,e){"undefined"==typeof this.handlers[t]&&(this.handlers[t]=[]),this.handlers[t].push(e)},fire:function(t){var e,i;if(t.target||(t.target=this),this.handlers[t.type]instanceof Array)for(e=this.handlers[t.type],i=0;i<e.length;i++)e[i](t)},removeHandler:function(t,e){var i,n;if(this.handlers[t]instanceof Array){for(i=this.handlers[t],n=0;n<i.length&&i[n]!==e;n++);i.splice(n,1)}}},t.exports=function(t,e){function i(t){var i,n=0,h=0,u=e,f=0,p="",v=0,m=0;switch(t.type){case"mouseenter":i=s(this),o=setTimeout(function(){a=!0,p=i.clone(),f=i.index()+1,n=f%u===0?u:f%u,h=Math.ceil(f/u),v=i.offset().left,m=d-(v+l),r.fire({type:"MouseEnter",target:i,targetWidth:l,targetHeight:c,targetX:n,targetY:h,rowWidth:u,activeIndex:f,targetDuplicate:p,offsetL:v,offsetR:m})},150);break;case"mouseleave":a||(o&&clearTimeout(o),r.fire({type:"MouseLeave"})),a=!1}}var o,a,r=new n,l=t.eq(0).width(),c=t.eq(0).height(),d=s(window).width();return t.bind({mouseenter:i,mouseleave:i}),r}},function(t,e,i){var n,s=i(1),o=i(2),a=i(3),r=i(10),l=s(".goods-container"),c=l.find(".good-info"),d=l.find(".good-item-wrapper"),h=l.find(".good-info-main"),u=l.find(".good-select-color"),f=s(".product-list-nav");o(s("img.lazy")),e.init=function(t){function e(t,e){var i,n,s,o="",a=t.length,r=4,l=Math.ceil(a/r),c=0;for(i=0;l>i;i++)for(o+="<ul>",n=0;r>n&&(s=i*r+n,s!==a);n++)o+='<li><a target="_blank" href="'+t[i*r+n].url+e+'"><img src="'+t[i*r+n].src+'" data-cover="'+t[i*r+n].coverImg+'" /></a></li>',n===r-1&&(o+="</ul>",c++);return l>c&&(o+="</ul>"),{colorListStr:o,ulNum:l}}function i(){h.html(""),u.html(""),d.css({display:"none"})}n=null,c.unbind(),n=r(c,t),n.addHandler("MouseEnter",function(t){var n,o,a,r,c,f,p,v,m,g,y,b,_=10,x=35,C=t.target.attr("data-from")||"";a=[],t.target.find(".hideList > li").each(function(){o=s(this).data(),o.coverImg=o.src,a.push(o)}),n=e(a,C),i(),c=n.colorListStr,r=n.ulNum,h.append(t.targetDuplicate),u.append(s(c)),g=d.css("paddingLeft"),y=d.css("paddingTop"),b=l.css("paddingTop"),f=10+65*r+t.targetWidth,v=(t.targetX-1)*(t.targetWidth+_)-(parseInt(g,10)+1),m=(t.targetY-1)*(t.targetHeight+x)+parseInt(b,10)-(parseInt(y,10)+1),p=t.offsetR-(65*r+25),0>=p&&(v=v+p-25),d.css({width:f,left:v,top:m,display:"inline-block"}),a[0]&&a[0].src&&h.find(".good-thumb img").attr("src",a[0].src)}),n.addHandler("MouseLeave",function(){i()}),d.mouseleave(function(){i()})},s(document).on("mouseenter",".good-select-color li",function(){var t=s(this).find("img").attr("data-cover"),e=s(this).closest(".good-item-wrapper").find(".good-detail-img img");e.attr("src",t)}),f.find("h3").click(function(){var t=s(this).closest(".product-list-nav");t.hasClass("active")?t.find(".sort-child-list").stop(!0,!0).slideUp():t.find(".sort-child-list").stop(!0,!0).slideDown(),t.toggleClass("active")}),function(){var t,e=s("#brand-card"),i=s("#brand-favor");e.length&&s.ajax({type:"POST",url:"/product/index/getNodeContent",data:{node:e.data("node")}}).then(function(t){e.html(t)}),i.length&&(t=s("#pic-link-tpl").html(),s.ajax({type:"POST",url:"/product/index/getAdnav",data:{brandId:i.data("id")}}).then(function(e){e&&s("#brand-ad").html(a.compile(t)({picLink:e}))}))}()},,,,,,,,,,,function(t,e,i){var n,s,o=i(9),a=i(1),r=a(".sale-list-banner"),l=r.find("li"),c=0,d="",h="",u=!0;for(n=0;n<l.length;n++)d+=0===n?'<span class="active"></span>':"<span></span>";h='<div class="sale-list-pagation"><div>'+d+"</div></div>",l.length>1&&r.append(a(h)),s=new o({length:l.length,loop:!0,auto:!0,timeout:2,index:0}),l.length>1&&s.on("change",function(t){u&&(u=!1,c++,a(".sale-list-pagation").find("span").removeClass("active"),l.eq(t.from).animate({opacity:0},300),l.eq(t.to).css({zIndex:c}).animate({opacity:1},300,function(){u=!0}),a(".sale-list-pagation").find("span").eq(t.to).addClass("active"))}),r.hover(function(){u&&s.pause()},function(){s.resume()}),a(".sale-list-pagation span").click(function(){var t=a(this).index();u&&s.go(t)}),s.init()}]); |
|
|
\ No newline at end of file |
...
|
...
|
|