text: 
    !function(t){function e(i){if(a[i])return a[i].exports;var s=a[i]={exports:{},id:i,loaded:!1};return t[i].call(s.exports,s,s.exports,e),s.loaded=!0,s.exports}var a={};return e.m=t,e.c=a,e.p=&quot;&quot;,e(0)}([function(t,e,a){t.exports=a(1)},function(t,e,a){a(2),a(3),function(t){function e(a){var i,s,o=a;return 0===o.length?o:o.length&gt;1?(o.each(function(){e(t(this))}),o):(o.addClass(&quot;filter-list-row-&quot;+Math.ceil(o.find(&quot;dd&quot;).length/6)),i=o.closest(&quot;.filter-list-wrap&quot;),s=t('
    <a class="more J_filterToggle" href="javascript: void(0);">更多<i class="iconfont"></i></a>').appendTo(i),void s.on(&quot;click&quot;,function(){i.toggleClass(&quot;filter-list-wrap-toggled&quot;)}))}function a(){&quot;string&quot;==typeof SEARCH_WORDS&amp;&amp;(t(&quot;#search&quot;).val(t(&quot;
    <div>
     &quot;).html(SEARCH_WORDS).text()),t(&quot;#J_searchForm&quot;).find(&quot;.search-hot-words&quot;).hide())}var i=t(&quot;.filter-list&quot;),s=t(&quot;.filter-list-wrap&quot;),o=t(&quot;.J_filterListToggle&quot;),n=t(&quot;.thumb-list&quot;);a(),e(i.filter(function(){return t(this).find(&quot;&gt; dd&quot;).length&gt;6})),o.on(&quot;click&quot;,function(e){e.preventDefault(),t(this).hasClass(&quot;toggled&quot;)?(t(this).removeClass(&quot;toggled&quot;),s.filter(function(t){return t&gt;2}).addClass(&quot;hide&quot;)):(t(this).addClass(&quot;toggled&quot;),s.removeClass(&quot;hide&quot;))}),n.filter(function(){return t(this).find(&quot;&gt; li&quot;).length&gt;5}).carousel({itemPerSlide:5,containerSelector:&quot;.thumbs&quot;,speed:200,controlsClass:&quot;xm-controls-small&quot;,easing:&quot;linear&quot;}),n.filter(function(){return t(this).find(&quot;&gt; li&quot;).length&gt;1}).find(&quot;&gt; li&quot;).on(&quot;mouseenter&quot;,function(){var e=t(this),a=e.closest(&quot;.goods-item, .goods-detail-item&quot;),i=a.find(&quot;.J_likeGoods&quot;),s=e.data(&quot;config&quot;),o=&quot;&quot;;e.addClass(&quot;active&quot;).siblings().removeClass(&quot;active&quot;),&quot;0&quot;!==s.discount&amp;&amp;(o+='
     <div class="flag flag-saleoff">
      '+s.discount+&quot;折促销
     </div>&quot;),s.postfree&amp;&amp;(o+='
     <div class="flag flag-postfree">
      '+(2===s.postfreenum?&quot;2件&quot;:&quot;&quot;)+&quot;包邮
     </div>&quot;),s.hasgift&amp;&amp;(o+='
     <div class="flag flag-gift">
      有赠品
     </div>'),s[&quot;new&quot;]&amp;&amp;(o+='
     <div class="flag flag-new">
      新品上架
     </div>');var n=s.cfrom||&quot;list&quot;;a.find(&quot;.price&quot;).html(s.price).end().find(&quot;.figure-img img&quot;).attr(&quot;src&quot;,t(this).find(&quot;img&quot;).attr(&quot;src&quot;).replace(&quot;34x34&quot;,&quot;200x200&quot;)).end().find(&quot;.figure-img a, .title a&quot;).attr(&quot;href&quot;,MI.GLOBAL_CONFIG.itemSite+&quot;/&quot;+s.cid+&quot;.html?cfrom=&quot;+n).end().find(&quot;.flags&quot;).html(o),s[&quot;is-cos&quot;]?a.find(&quot;.J_buyGoods&quot;).addClass(&quot;btn-buy-detail&quot;).attr(&quot;href&quot;,MI.GLOBAL_CONFIG.orderSite+&quot;/misc/subscribe/goods/&quot;+s.gid).html('
     <span>到货提醒</span> 
     <i class="iconfont"></i>'):s[&quot;package&quot;]?a.find(&quot;.J_buyGoods&quot;).addClass(&quot;btn-buy-detail&quot;).attr(&quot;href&quot;,MI.GLOBAL_CONFIG.itemSite+&quot;/&quot;+s.cid+&quot;.html?cfrom=list&quot;).html('
     <span>查看详情</span> 
     <i class="iconfont"></i>'):a.find(&quot;.J_buyGoods&quot;).removeClass(&quot;btn-buy-detail&quot;).attr({href:MI.GLOBAL_CONFIG.cartSite+&quot;/cart/add/&quot;+s.gid+&quot;-0-1&quot;,&quot;data-gid&quot;:s.gid}).html('
     <span>加入购物车</span> 
     <i class="iconfont"></i>'),i.attr(&quot;data-cid&quot;,s.cid),&quot;1&quot;===e.attr(&quot;data-liked&quot;)?i.addClass(&quot;btn-liked&quot;).find(&quot;.iconfont&quot;).html(&quot;&quot;):i.removeClass(&quot;btn-liked&quot;).find(&quot;.iconfont&quot;).html(&quot;&quot;)}),t(&quot;.J_likeGoods&quot;).on(&quot;click&quot;,function(e){function a(e,a){var i;if(&quot;add&quot;===a)i=MI.GLOBAL_CONFIG.orderSite+&quot;/favorite/add/id/&quot;+o;else{if(&quot;drop&quot;!==a)return!1;i=MI.GLOBAL_CONFIG.orderSite+&quot;/favorite/drop/id/&quot;+o}t.ajax({type:&quot;GET&quot;,url:i,dataType:&quot;jsonp&quot;,jsonp:&quot;jsonpcallback&quot;,success:function(t){e.removeClass(&quot;disable&quot;),1===t.code?&quot;add&quot;===a?(e.addClass(&quot;btn-liked&quot;).find(&quot;.iconfont&quot;).html(&quot;&quot;),s.find('.thumb-list &gt; [data-cid=&quot;'+o+'&quot;]').attr(&quot;data-liked&quot;,1)):(e.removeClass(&quot;btn-liked&quot;).find(&quot;.iconfont&quot;).html(&quot;&quot;),s.find('.thumb-list &gt; [data-cid=&quot;'+o+'&quot;]').attr(&quot;data-liked&quot;,0)):alert(t.msg)}})}var i=t(this),s=i.closest(&quot;.goods-item, .goods-detail-item&quot;),o=i.attr(&quot;data-cid&quot;);return e.preventDefault(),i.hasClass(&quot;disable&quot;)?!1:(i.addClass(&quot;disable&quot;),void(i.hasClass(&quot;btn-liked&quot;)?a(i,&quot;drop&quot;):a(i,&quot;add&quot;)))}),t(&quot;.J_buyGoods&quot;).on(&quot;click&quot;,function(e){var a=t(this),i=a.closest(&quot;.goods-item, .goods-detail-item&quot;);return a.hasClass(&quot;disabled&quot;)?!1:void(a.hasClass(&quot;btn-buy-detail&quot;)||(e.preventDefault(),MI.addShopCart(a.attr(&quot;data-gid&quot;),function(t){function e(){i.removeClass(&quot;goods-item-notice&quot;),setTimeout(function(){a.removeClass(&quot;disabled&quot;),i.find(&quot;.notice&quot;).empty()},500)}1===t.code?(i.addClass(&quot;goods-item-notice&quot;).find(&quot;.notice&quot;).empty().append('
     <a class="btn btn-block btn-green btn-notice" href="javascript: void(0);">成功加入购物车</a>'),i.find(&quot;.btn-notice&quot;).one(&quot;click&quot;,e),setTimeout(function(){e()},1e3)):(a.removeClass(&quot;disabled&quot;),alert(t.msg))})))}),t(&quot;#J_renovateWrap&quot;).miRecommend({type:2,gid:0,title:&quot;为你推荐&quot;,page:SITE_ID||&quot;List&quot;}),t(&quot;#J_renovateWrap&quot;).after('
     <div id="J_historyWrap" class="xm-recommend-container"></div>'),t(&quot;#J_historyWrap&quot;).miRecommend({type:4,title:&quot;您还看了&quot;,page:SITE_ID||&quot;List&quot;})}(jQuery)},function(t,e){!function(t){function e(e){function a(){return 0&gt;=b?!1:(x&amp;&amp;clearInterval(x),void(x=setTimeout(function(){var t=_===b-1?0:_+1;i(t),a()},p.pause)))}function i(t){return _===t?!1:(C.css({marginLeft:-g*h*t,transition:&quot;margin-left &quot;+p.speed/1e3+&quot;s &quot;+p.easing}),p.controls&amp;&amp;(0===t?d.addClass(&quot;control-disabled&quot;):d.removeClass(&quot;control-disabled&quot;),t===b-1?f.addClass(&quot;control-disabled&quot;):f.removeClass(&quot;control-disabled&quot;)),p.pager&amp;&amp;m.find(&quot;li&quot;).eq(t).addClass(&quot;pager-active&quot;).siblings().removeClass(&quot;pager-active&quot;),void(_=t))}function s(){for(var e='
     <ul class="xm-pagers">
      ',a=0,s=b;s&gt;a;a+=1)e+='
      <li class="pager'+(0===a?" pager-active":"")+'"=""><span class="dot">'+(a+1)+&quot;</span></li>&quot;;e+=&quot;
     </ul>&quot;,m.html(e),m.find(&quot;li&quot;).off(&quot;.carousel&quot;).on(&quot;click.carousel&quot;,function(){t(this).addClass(&quot;pager-active&quot;).siblings().removeClass(&quot;pager-active&quot;),i(m.find(&quot;li&quot;).index(t(this)))})}function o(){h=p.itemPerSlide||Math.ceil(r.width()/g),b=Math.ceil(l.length/h),1&gt;=b||(i(0),p.pager&amp;&amp;s(),p.auto&amp;&amp;(a(),p.controls&amp;&amp;c.find(&quot;.control&quot;).off(&quot;.carousel&quot;).on({&quot;mouseenter.carousel&quot;:function(){x&amp;&amp;clearTimeout(x)},&quot;mouseleave.carousel&quot;:function(){a()}}),p.pager&amp;&amp;m.find(&quot;.pager&quot;).off(&quot;.carousel&quot;).on({&quot;mouseenter.carousel&quot;:function(){x&amp;&amp;clearTimeout(x)},&quot;mouseleave.carousel&quot;:function(){a()}})))}var n,r,l,c,d,f,m,u,p,h,g,v,b,C=t(this),x=0,_=-1;return u={itemSelector:&quot;&gt; li&quot;,itemWidth:null,itemHeight:null,itemPerSlide:null,containerSelector:null,controlsSelector:null,pagersSelector:null,speed:500,easing:&quot;ease&quot;,auto:!1,pause:5e3,controls:!0,controlsClass:&quot;xm-controls-line-small&quot;,pager:!1,onLoad:t.noop},p=t.extend({},u,e),l=C.find(p.itemSelector),p.itemPerSlide&amp;&amp;l.length&lt;=p.itemPerSlide?this:(g=p.itemWidth||l.outerWidth(!0),v=p.itemHeight||l.outerHeight(),n=p.containerSelector?C.closest(p.containerSelector):C.parent(),n.addClass(&quot;xm-carousel-container&quot;),r=C.wrap('
     <div class="xm-carousel-wrapper"></div>').closest(&quot;.xm-carousel-wrapper&quot;).css({height:v,overflow:&quot;hidden&quot;}),C.css(&quot;width&quot;,g*l.length),p.controls&amp;&amp;(c=t('
     <div class="xm-controls '+p.controlsClass+' xm-carousel-controls">
      <a class="control control-prev iconfont" href="javascript: void(0);"></a>
      <a class="control control-next iconfont" href="javascript: void(0);"></a>
     </div>'),p.controlsSelector?n.find(p.controlsSelector).append(c):c.insertAfter(r),d=c.find(&quot;.control-prev&quot;),f=c.find(&quot;.control-next&quot;),d.on(&quot;click&quot;,function(e){e.preventDefault(),t(this).hasClass(&quot;control-disabled&quot;)||i(_-1)}),f.on(&quot;click&quot;,function(e){e.preventDefault(),t(this).hasClass(&quot;control-disabled&quot;)||i(_+1)})),p.pager&amp;&amp;(m=t('
     <div class="xm-pagers-wrapper"></div>'),p.pagersSelector?n.find(p.pagersSelector).append(m):m.insertAfter(r)),o(),p.onLoad(C),void t(window).on(&quot;resize&quot;,o))}t.fn.carousel=function(t){return this.each(function(){e.call(this,t)}),this}}(jQuery)},function(t,e,a){a(2),a(4),function(t){&quot;use strict&quot;;function e(e){var s,n=l[o.type],r=t.cookie(&quot;userId&quot;)||&quot;&quot;,c=t.cookie(&quot;mstuid&quot;);switch(o.type){case 2:var d=&quot;?u=&quot;+c+&quot;&amp;i=&quot;+r+&quot;&amp;a=&quot;+o.cid;s=o.apiHost[2]+d,&quot;Home&quot;===o.page&amp;&amp;(s+=&quot;&amp;c=AA&quot;);break;case 4:s=o.apiHost[o.type]+&quot;?mstuid=&quot;+c+&quot;∣=&quot;+r;break;default:s=o.apiHost[o.type]+&quot;?a=&quot;+o.cid+&quot;&amp;cid=&quot;+o.gid}t.ajax({dataType:&quot;JSONP&quot;,url:s,jsonpCallback:n,cache:!0,params:o,success:function(s){if(s.type=this.params.type,s.title=this.params.title,s.global=MI.GLOBAL_CONFIG,s.iHost=this.params.iHost,s.isBuy=this.params.isBuy,s.r.length
     <this.params.showmin)return!1;var o="t(e),n=a(5);o.addClass(&quot;container&quot;).html(n(s));var" r="o.find(&quot;ul[data-carousel-list=true]&quot;).eq(0);i(o,r,this.params),null!==this.params.callback&amp;&amp;&quot;function&quot;==typeof" this.params.callback&&this.params.callback()}})}function="" i(e,a,i){3!="=i.type&amp;&amp;i.useCarousel&amp;&amp;a.carousel({containerSelector:e,controls:i.carouselControl,pager:i.carouselPage,itemHeight:320}),i.isBuy&amp;&amp;(t(&quot;.J_xm-recommend-list&quot;).hover(function(){t(this).find(&quot;.J_xm-recommend-btn&quot;).show()},function(){t(this).find(&quot;.J_xm-recommend-btn&quot;).hide()}),t(&quot;.J_xm-recommend-btn&quot;).off(&quot;.addcart&quot;).on(&quot;click.addcart&quot;,function(){function" e(){s.removeclass("xm-recommend-notice-active"),settimeout(function(){a.removeclass("disabled"),s.empty()},500)}var="" a="t(this),s=a.parent().siblings(&quot;.xm-recommend-notice&quot;);return" a.hasclass("disabled")?!1:(mi.addshopcart(a.attr("data-stat-gid"),function(t){1="==t.code?&quot;Cart&quot;!==i.page?(s.addClass(&quot;xm-recommend-notice-active&quot;).empty().append('&lt;a" class="btn btn-block btn-green btn-notice" href="javascript: void(0);">
      成功加入购物车'),s.find(&quot;.btn-notice&quot;).one(&quot;click&quot;,e),setTimeout(function(){e()},1e3)):location.href=MI.GLOBAL_CONFIG.staticSite+&quot;/cart/&quot;:alert(t.msg)}),!1)}));var o=r.page[i.page],n=r.api[i.type];s(e,o,n),t.isFunction(t(&quot;body&quot;).linkSign)&amp;&amp;e.linkSign({live:!0});var l=e.attr(&quot;id&quot;),c=&quot;re-&quot;+o+&quot;.&quot;+n;t.force_appear(),e.appear(),e.one(&quot;appear&quot;,function(){&quot;undefined&quot;!=typeof _msq&amp;&amp;_msq.push([&quot;trackPanelShow&quot;,l,c])})}function s(e,a,i){var s=e.find(&quot;a&quot;);t.each(s,function(e,s){var o,n=t(s).attr(&quot;data-stat-index&quot;),r=c(t(s).attr(&quot;data-stat-text&quot;)),l=t(s).attr(&quot;data-stat-method&quot;),d=t(s).attr(&quot;data-stat-addcart&quot;);o=d?&quot;stat_&quot;+a+d+&quot;.&quot;+i+&quot;_&quot;+n+&quot;_&quot;+l:&quot;stat_&quot;+a+&quot;.&quot;+i+&quot;_&quot;+n+&quot;_&quot;+l,t(s).attr({&quot;data-stat-pid&quot;:o,&quot;data-stat-aid&quot;:r})})}var o,n={cid:2,type:1,gid:&quot;1152300005&quot;,title:&quot;&quot;,showMin:5,apiHost:[&quot;//rec.www.mi.com/alsoview/get&quot;,&quot;//rec.www.mi.com/alsobuy/get&quot;,&quot;//rec.www.mi.com/guesslike/get&quot;,&quot;//rec.www.mi.com/cartbuy/get&quot;,&quot;//rec.www.mi.com/viewlist/get&quot;],page:&quot;Cart&quot;,iHost:&quot;//i1.mifile.cn/a1/&quot;,isBuy:!1,useCarousel:!0,carouselControl:!1,carouselPage:!0,callback:null},r={page:{Home:&quot;首页&quot;,ItemTail:&quot;单品页底部&quot;,ComAll:&quot;全部评论页&quot;,ComSuc:&quot;评论成功页&quot;,AskAll:&quot;全部提问页&quot;,AskDetail:&quot;提问详情页&quot;,List:&quot;列表页&quot;,Cart:&quot;购物车&quot;,CartSuc:&quot;加购成功&quot;,Saleoff:&quot;下架页&quot;,Search:&quot;搜索页&quot;,ErrorTip:&quot;报错页&quot;},api:[&quot;看了还看&quot;,&quot;买了还买&quot;,&quot;猜你喜欢&quot;,&quot;购物车推荐&quot;,&quot;您还看了&quot;]},l=[&quot;recommend_alsoview&quot;,&quot;recommend_alsobuy&quot;,&quot;recommend_guesslike&quot;,&quot;recommend_cart&quot;,&quot;recommend_history&quot;],c=function(t){try{return t.replace(/\s/g,&quot;&quot;)}catch(e){return t}};t.fn.miRecommend=function(a){o=t.extend(n,a),e(this)}}(jQuery)},function(t,e){!function(t){function e(){o=!1;for(var e=0,s=i.length;s&gt;e;e++){var n=t(i[e]).filter(function(){return t(this).is(&quot;:appeared&quot;)});if(n.trigger(&quot;appear&quot;,[n]),a){var r=a.not(n);r.trigger(&quot;disappear&quot;,[r])}a=n}}var a,i=[],s=!1,o=!1,n={interval:250,force_process:!1},r=t(window);t.expr[&quot;:&quot;].appeared=function(e){var a=t(e);if(!a.is(&quot;:visible&quot;))return!1;var i=r.scrollLeft(),s=r.scrollTop(),o=a.offset(),n=o.left,l=o.top;return l+a.height()&gt;=s&amp;&amp;l-(a.data(&quot;appear-top-offset&quot;)||0)&lt;=s+r.height()&amp;&amp;n+a.width()&gt;=i&amp;&amp;n-(a.data(&quot;appear-left-offset&quot;)||0)&lt;=i+r.width()?!0:!1},t.fn.extend({appear:function(a){var r=t.extend({},n,a||{}),l=this.selector||this;if(!s){var c=function(){o||(o=!0,setTimeout(e,r.interval))};t(window).scroll(c).resize(c),s=!0}return r.force_process&amp;&amp;setTimeout(e,r.interval),i.push(l),t(l)}}),t.extend({force_appear:function(){return s?(e(),!0):!1}})}(jQuery)},function(t,e){t.exports=function(t){var e=&quot;&quot;;t.title&amp;&amp;(e+='
      <h2 class="xm-recommend-title"><span>'+t.title+&quot;</span></h2>&quot;),e+='
      <div class="xm-recommend">
       <ul class="',e+=3!==t.type&amp;&amp;t.useCarousel?" xm-carousel-col-5-list="" xm-carousel-list="" clearfix":"row",e+="&quot; data-carousel-list=&quot;true&quot;&gt;" ;var="" a="t.r;if(a)for(var" i,s="-1,o=a.length-1;o">
        s;)i=a[s+=1],e+=' 
        <li class="J_xm-recommend-list',3!==t.type&amp;&amp;t.useCarousel||(e+=" span4"),e+="&quot;&gt; &lt;dl&gt; &lt;dt&gt; &lt;a href=&quot;" +t.global.itemsite+"="" +i.c+'.html"="" data-stat-method="'+t.v+" _"+i.a+'"="" data-stat-index="+s+" data-stat-text="'+i.n+'" target="_blank"> <img src="'+t.iHost+i.i+'?width=140&amp;height=140" srcset="'+t.iHost+i.i+'?width=280&amp;height=280 2x" alt="'+i.n+'" />   
         <dd class="xm-recommend-name"> 
          <a href="'+t.global.itemSite+" +i.c+'.html"="" data-stat-method="'+t.v+" _"+i.a+'"="" data-stat-index="+s+" data-stat-text="'+i.n+'" target="_blank"> '+i.n+' </a> 
         </dd> 
         <dd class="xm-recommend-price">
          '+i.p+'元
         </dd> 
         <dd class="xm-recommend-tips">
           ',i.l&amp;&amp;4!==t.type&amp;&amp;(e+=&quot;&quot;+i.l+&quot;人好评&quot;),e+=&quot; &quot;,t.isBuy===!0&amp;&amp;(e+=' 
          <a href="'+t.global.cartSite+" art="" dd="" +i.g+'-0-1"="" data-stat-gid="'+i.g+'" data-stat-method="'+t.v+" _"+i.a+'"="" data-stat-index="+s+" data-stat-text="'+i.n+'" data-stat-addcart="加购" class="btn btn-small btn-line-primary J_xm-recommend-btn">加入购物车</a> '),e+=' 
         </dd> 
         <dd class="xm-recommend-notice"></dd>  </li>';return e+=&quot;
       </ul>
      </div>&quot;}}]);
     </this.params.showmin)return!1;var>
    </div>